Re: [gtk-list] radio menu items in itemfactory
- From: Robert_Gasch/PeopleSoft peoplesoft com
- To: gtk-list redhat com
- Subject: Re: [gtk-list] radio menu items in itemfactory
- Date: Mon, 19 Apr 1999 14:52:52 +0200
I had the same problem and solved it by keeping an
extra link to the widget around by building a hash table.
hashTable = new Glib_Hash (hashfunc, hashcmp);
s = strdup (MENU_PATH);
hashTable.insert (s, itemFactory->create_item (s, ...));
This keeps a value pair of (s,widget) which you can access
later to do a set_sensitive or other things ...
Pardon my C++ness, the translation to C should be obvious ...
Marsel Osipov <firstname.lastname@example.org> on 04/18/99 09:51:51 AM
Please respond to email@example.com
To: Gtk list <firstname.lastname@example.org>
cc: (bcc: Robert Gasch/PeopleSoft)
Subject: [gtk-list] radio menu items in itemfactory
I have some radiomenuitems in the itemfactory, and I can not find any
info on how to manipulate them(like set the state, etc..). Can anyone
point me to some info?
To unsubscribe: mail -s unsubscribe email@example.com < /dev/null
] [Thread Prev