Test for whether a widget has children
- From: Mike Martin <mike redtux org uk>
- To: gtk-perl-list gnome org
- Subject: Test for whether a widget has children
- Date: Fri, 23 Jul 2010 02:05:53 +0100
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]