Re: translating coordinate from client to screen



This should tell you where your "top-level" window is:

http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-get-position

Cheers,
        -Tristan

Jim Crafton wrote:

Hi
Is there a way to translate client coordinates of a given widget to
screen (or the default root widnow) coordindates?
in xlib I can call XTranslateCoordinates(). Is this what I should use in
gtk or is there a gtk api call that handles this?

Thanks

Jim

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]