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);
        }
Пример #2
0
        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 } });
             * }*/
        }
Пример #3
0
		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);
		}
Пример #4
0
 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 } });
     }*/
 }