Re: [gtk-list] position



On Sat, 26 Jun 1999, Harold Campbell wrote:

> Is there a dependable way to find the physical x/y coordinates of a
> widget?

a widget relative to its parent?
widget->allocation.x/y
a widget's window relative to the root window?
gdk_window_get_geometry (widget->window,...)
a window widgets window manager frame position (i.e. for --geometry option)?
gdk_window_get_deskrelative_origin (widget->window,...)

> 
> --
> Harold
> 

---
ciaoTJ



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