[Gtk-sharp-list] Widget absolute screen position

Piotr Budny piotr.budny at gmail.com
Sun Jul 19 05:14:08 EDT 2009


Dnia środa, 15 lipca 2009, napisałeś:
> 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);

Almost forget to thank you.

Thanks!

Regards,
vip;


More information about the Gtk-sharp-list mailing list