protected OnButtonReleaseEvent ( Gdk args ) : bool | ||
args | Gdk | |
return | bool |
protected override bool OnButtonReleaseEvent(Gdk.EventButton args)
{
double x = args.X + Allocation.X;
double y = args.Y + Allocation.Y;
if (glass.Dragging)
glass.EndDrag (x, y);
return base.OnButtonReleaseEvent (args);
}