Re: GtkBox vs GtkGrid



Hi Tom,

On 2 June 2013 13:12, Thomas A. Moulton <tom moulton us> wrote:
Am I missing something?

If I use GtkBox it seems that once I add a child I can't get access to it's
address any more (GtkWidget *)

So if I create a box with some things in it in glade I really can't do much
with them.
(Other than giving them specific names and using the builder object to look
them up)

GtkBox is a subclass of GtkContainer, so you can use all those methods
to look up children or loop over them:

https://developer.gnome.org/gtk3/stable/GtkContainer.html

John


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