Re: Position of Gtk+ button
- Date: Sat, 21 Jul 2007 22:29:17 +0200
- From: "richard boaz" <ivor.boaz@xxxxxxxxx>
- Subject: 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@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
- References:
- Position of Gtk+ button
- From: vkrejcirik
- Position of Gtk+ button
- Prev by Date: Issue when launching configure for GTK 2.8
- Next by Date: Re: Issue when launching configure for GTK 2.8
- Previous by thread: Position of Gtk+ button
- Next by thread: picture as background in listbox
- Index(es):