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);
        }
Exemple #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 } });
             * }*/
        }
		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);
		}
Exemple #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 } });
     }*/
 }