GtkItemFactory
| From: | Michael Waples | Date: | Fri, 08 Mar 2002 08:21:53 +0000 |
| Subject: | GtkItemFactory | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1463@lists.php.net to get a copy of this message | ||
I'm trying to understand the create_items() function.
From this example from http://www.miester.org/folders/steph/itemfactory.phps
example I see the argument's an array,
Im just trying to understand what must go into the array.
Does anyone have an explanation for the 5 elements in this array ?
I understand the first, third and fifth but not the second and fourth.
from the example
$menu_items = array(
array("/File","",NULL,0,"<Branch>"),
array("/File/Click me","",click_me,0,""),
array("/File/Me too","",me_too,0,""),
array("/Next","",NULL,0,"<Branch>"),
array("/Next/OptionMenu","",opt_bar,0,""),
array("/Way out","",shutdown,0,"<Item>")
);
Does anyone have a more detailed GtkFactoryItem example ? possibly with radio
and toggle items.