Re: Position of Gtk+ button



actually, this information is stored in the widget data structure itself:

widget->allocation.y
widget->allocation.x

no need to use a routine, just access the data structure directly for the info you require (there's other info there too).

On 7/21/07, vkrejcirik <vkrejcirik gmail com> wrote:
Hello,

I need find position (x and y coordinates) of GtkButton in my GtkWindow.
I looked for same function in C in GTk+ Reference Manual which do it, but
didn't find it.
Please can somebody help me?
thanks.

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



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