number of GtkContainer childs ?
- From: Peter Lerner <peter lerner bnbt de>
- To: gtk-list redhat com
- Subject: number of GtkContainer childs ?
- Date: Tue, 29 Jun 1999 17:04:37 +0200
hi,
is there a way with gtk+ or gtk-- to get the number
of the children of a container?
to be more explicit:
is there a way to get the number of items in a GtkList?
with gtk-- i would like to write in analogy to
C++'s STL ..
Gtk_Menu my_menu;
// .. add some menuitems
Gtk_Container *container = my_menu;
guint num = container.size();
with gtk+ i would look for a function like
guint gtk_list_get_number_of_items(GtkList *)
any clue?
do i have to use gtk_container_forall() ?
mfg
peter lerner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]