Nathan,
You can look at Tony Gale's & Ian Main's gtk tutorial
http://www.gtk.org/tutorial/gtk_tut-13.html#ss13.3
for an example of using the gtk_item_factory
functions.
I've looked at the source code to Gtk+ and the only
currently valid values for the "type" string are:
"<Item>",
"<Title>",
"<RadioItem>",
"<CheckItem>",
"<ToggleItem>",
"<Tearoff>",
"<Separator>",
"<Branch>",
"<LastBranch>"
I've not looked at the details of the RadioItem
widget, but this seems to be one you could use for
options.
Yours,
Craig.
--- "Neulinger, Nathan R." <[EMAIL PROTECTED]> wrote: >
I've got itemfactory working great with regular
> menus, but I am having
> difficulty getting it to work with option menus. The
> option menu comes up
> blank and cores with a null widget when I click on
> it.
>
> When should one use the "<Title>" type instead of
> "<Branch>"?
>
> Does anyone have a sample snippet of code that does
> option menus with i/f?
>
> -- Nathan
=====
"Windows 95: 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit of
competition." -- Unknown
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null