Re: Position of Gtk+ button

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

 



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@xxxxxxxxx> 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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux