I just could not get it to work with a GtkComboBox (on perl-Gtk3 0.006). But I've got success with GtkComboBoxText, which is enough for this app.
(In case anyone's interested in that code: my $cb= get "videodev_combobox"; # get from glade, a GtkComboBoxText now { $cb->remove_all; my $alldevs= ...; my $i=0; for my $dev (sort keys %$alldevs) { $cb->append($i++,$dev); } # add editable/selected entry my $entry= $cb->get_child; $entry->set_text($$cfg{videodev}); } then to read it, my $devtext= $cb->get_active_text; .) Christian.
_______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list