[Gtk-sharp-list] Widget absolute screen position

Chris Howie cdhowie at gmail.com
Wed Jul 15 12:43:10 EDT 2009

On Wed, Jul 15, 2009 at 12:30 PM, Piotr Budny<piotr.budny at gmail.com> wrote:
> Hello,
> is there any way to get widget's X and Y coordinates according to the current
> screen resolution?

int x, y;
yourWidget.GdkWindow.GetOrigin(out x, out y);

Chris Howie

More information about the Gtk-sharp-list mailing list