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

Widget management



Hi!

I'm wondering how widgets are actually managed by GTK.

If I call gtk_widget_destroy(wdg), are all the sub-widgets
attached to wdg destroyed too? (If so what if I attach a
widget to two others?)
I don't quite understand ref and unref. Is there a kind
of garbage-collection in the gtk_main loop?

I'd like to know how this all works (basically)
cos I've got no idea if my widgets are all correctly
destroyed or if there are 'ghost widgets haunting around'

Thanks for a bit of light...

Eric.



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