Test for whether a widget has children



Does such a thing exist in Gtk? eg: if I do something like

foreach my $widget ($vbox->get_children){
print $widget
}
It will fail if there are any widgets that dont have children such as
a label or a GTkEntry

I've googled and searched API docs but cant see anything



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