menu from glade
- From: Michal ROMAN <michal roman nov sk>
- To: gtk-app-devel-list gnome org
- Subject: menu from glade
- Date: 16 Nov 2001 12:21:01 +0100
I create menu from glade file :
xml = glade_xml_new (file, rootnode);
menubar = glade_xml_get_widget(xml, rootnode);
Then I add some data to all items :
item = glade_xml_get_widget (xml, item1_name);
gtk_object_set_data (GTK_OBJECT (item), "data", g_strdup(data));
...
How can I free this memory at the end of my program?
Or how can I find item in GtkMenu?
Thank you.
Michal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]