Hello and a question
- From: January Weiner 3 <jweiner1 ix urz uni-heidelberg de>
- To: gtk-app-devel-list gnome org
- Subject: Hello and a question
- Date: Fri, 30 Mar 2001 11:59:05 +0200 (METDST)
Hello everyone on this mailing list,
my name is January, I am a graduate student in biology working on a
small gtk based launcher / wrapper for command line programs
(mostly biology related stuff). So much for introduction :-)
My first question -- and the reason I finally subscribed to this mailing
list -- is about GtkItemFactory. Please, don't flame me -- I have really
tried to find out the answer using FAQs, archives, tutorial and google,
short of reading the sources.
I have a following problem: there is a menu bar with a menu called
"Programs". There are several entries in this menu, some of them are menus,
some of them are menu items. I would like to allow the user to delete some
of those items. However, it does not work. Not really.
For example, I have something like that:
const char *itempath = "/Programs/unix utilities/wc" ;
Now, when I delete this item:
gtk_item_factory_delete_item(myfactory, itempath) ;
...the entry "wc" gets deleted, but the entry "...unix utilities" remains.
OK, I think, and I do the following:
gtk_item_factory_delete_item(myfactory, "/Programs/unix utilities") ;
However, this doesn't work. I'm still stuck with those damned unix
utilities menu (empty now).
gtk_item_factory_delete_item(myfactory, "/Programs/unix utilities/") ;
..doesn't work either.
So, here is the question: what should I do?
Cheers,
j.
----)-\//-///-----------------------------------January-Weiner-3-------
The subtle irony of a neurotoxin like acrylamide is that you are the
last one to realize that you should have worn gloves.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]