Changing label of menuitem?



hi

in my program, I'm trying to change the text in a menuitem. right now the
code use GtkItemFactory. So to create a menuitem, I use GtkItemFactoryEntry.
now when I want to change the label, is there way to just do a 

gtk_label_set_label (entry->some_struct.the_label_widget)

rather than what I'm doing right now, which is

gtk_item_factory_delete_entry (blah);
entry.path = new_path;
gtk_item_factory_create_item (blah);

Cheers!
Archit Baweja



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