[Glade-devel] get_children() get_internal_child() CleanUp

On Sat, 2007-04-07 at 21:11 -0300, Juan Pablo Ugarte wrote:
The patch is a draft because i wanted to hear your opinion about it
before finishing it because i migth be omiting some important special
case wich makes trying to get rid of them imposible :)

Ok well, consider that internal children arent always accessible
through the gtkcontainer api - sometimes an internal child is
a widget in a popup window that is created on the parent's widget's
behalf for instance. Or - the label widget of a GtkFrame, is not
guaranteed to be returned by an api like gtk_container_forall()
(even though the GtkFrame's label happens to be, it is not
always guaranteed), and - what if a widget like the frame's label
isnt already created at initialization time - what if its dynamically
added because of some conditional property ?

These are the kind of things you have to take into consideration
in order to not break glade for load/save/copy/paste etc.


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