protected override bool OnMotionNotifyEvent(Gdk.EventMotion args)
{
double x = args.X + Allocation.X;
double y = args.Y + Allocation.Y;
GRect box = glass.Bounds ();
if (glass.Dragging) {
glass.UpdateDrag (x, y);
} else {
if (glass.IsInside (x, y))
glass.State = StateType.Prelight;
else
glass.State = StateType.Normal;
}
return base.OnMotionNotifyEvent (args);
}