RE: Stock menu items



How do I do this with item factory?

      I would try something like this:

     { "/_File",            NULL,      NULL,
0,"<Branch>",
NULL },
     { "/File/_Open",        "<CTRL>O", NULL,  1,"<StockItem>",
"gtk-open"
},
     { "/_Notes",            NULL,      NULL,
0,"<Branch>",
NULL },
     { "/Notes/O_pen",        "<CTRL>p", NULL,  1,"<StockItem>", "gtk-
open"  },


Yes, this looks about right, however, I always had problems actually
trying to load my own image (not a stock image).  This is why I too do
not use the GtkItemFactory stuff.

Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]