Optionmenuitem and labels

i build a option menu like in the gtk-docs and it works fine. Now i want to 
retrieve the label of the selected menuitem.
my code
ConfDatei.NewEntry ("Language", gtk_label_get_text 

Theoretically this should work and it should give me the label.
Compiling runs without any warning.
But i get this during execution:

(trollhunter:7444): Gtk-CRITICAL **: file ../../gtk/gtklabel.c: line 1142 
(gtk_label_get_text): assertion `GTK_IS_LABEL (label)' failed
Aborted (core dumped)

Thanks for help

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