FSpot.MainWindow.GetWidgetPosition C# (CSharp) Method

GetWidgetPosition() public method

public GetWidgetPosition ( Gtk.Widget widget, int &x, int &y ) : void
widget Gtk.Widget
x int
y int
return void
		public void GetWidgetPosition (Widget widget, out int x, out int y)
		{
			main_window.GdkWindow.GetOrigin (out x, out y);

			x += widget.Allocation.X;
			y += widget.Allocation.Y;
		}
MainWindow