2008/3/4, Olivier Delhomme <[EMAIL PROTECTED]>: > > > Hello, > > Is there a convenient way to retrieve the label of a GtkMenuItem > created with gtk_menu_item_new_with_label("my label") ?
I found this, which should solve the problem : GtkLabel *label = NULL; gchar *text = NULL; label = GTK_LABEL(gtk_bin_get_child(GTK_BIN(menu_item))); text = gtk_label_get_text(label); Olivier. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list