private HandleMotionNotifyEvent ( object o, Gtk.MotionNotifyEventArgs args ) : void | ||
o | object | |
args | Gtk.MotionNotifyEventArgs | |
Результат | void |
void HandleMotionNotifyEvent(object o, MotionNotifyEventArgs args)
{
var a = this.Allocation;
var x = args.Event.X;
var y = args.Event.Y;
if (x > (a.X + a.Width - 15) && x < (a.X + a.Width))
{
if (y > (a.Y + a.Height - 15) && y < (a.Y + a.Height))
{
args.Event.Window.Cursor = m_resizeCursor;
args.RetVal = true;
}
}
args.Event.Window.Cursor = null;
}