GTK Menu Item Labels
- From: Shaw Terwilliger <sterwill abisource com>
- To: gtk-list redhat com
- Subject: GTK Menu Item Labels
- Date: Wed, 11 Nov 1998 13:31:49 -0600
I've got a GTK Item Factory full of menu items (menu
factory). I want to be able to change the text in the
label for a given menu item at run-time. Other than
destroying menu objects and adding them again, is there any
way to change what's in each menu object's label object?
I can get a pointer to the menu widget from the item
factory (through the path string); is it safe to be
twiddling with the menu's label at this point?
Is it also possible that I should be deleting the label
item from the menu container and re-adding another?
If this is correct (and it would suit me fine),
how do I go about getting a pointer to the label in
the container (menu object) so I can destroy it?
Since this menu was built from a factory, I don't have
pointers to the labels I attached to the menu items.
--
Shaw Terwilliger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]