private void OnAllocated(object o, EventArgs args) { var a = widget.Allocation; var bounds = new Atk.Rectangle { X = a.X, Y = a.Y, Width = a.Width, Height = a.Height }; GLib.Signal.Emit(this, "bounds_changed", bounds); }
void OnAllocated(object o, EventArgs args) { var a = widget.Allocation; var bounds = new Atk.Rectangle() { X = a.X, Y = a.Y, Width = a.Width, Height = a.Height }; GLib.Signal.Emit(this, "bounds_changed", bounds); /*var handler = BoundsChanged; * if (handler != null) { * handler (this, new BoundsChangedArgs () { Args = new object [] { bounds } }); * }*/ }
private void OnAllocated (object o, EventArgs args) { var a = widget.Allocation; var bounds = new Atk.Rectangle { X = a.X, Y = a.Y, Width = a.Width, Height = a.Height }; GLib.Signal.Emit (this, "bounds_changed", bounds); }
private void OnAllocated(object o, EventArgs args) { var a = widget.Allocation; var bounds = new Atk.Rectangle () { X = a.X, Y = a.Y, Width = a.Width, Height = a.Height }; GLib.Signal.Emit (this, "bounds_changed", bounds); /*var handler = BoundsChanged; if (handler != null) { handler (this, new BoundsChangedArgs () { Args = new object [] { bounds } }); }*/ }