Problem with Gtk2::Combobox->new_with_model
- From: Mike Martin <redtux1 gmail com>
- To: gtk-perl-list gnome org
- Subject: Problem with Gtk2::Combobox->new_with_model
- Date: Fri, 3 Sep 2010 04:56:19 +0100
Hi - getting confused
I have a liststore
my $dvd_modelx=Gtk2::ListStore->new('Glib::String');
foreach my $list (keys %cds){
my $iter=$dvd_modelx->append();
$dvd_modelx->set($iter, 0,$list )
}
my $wid=Gtk2::ComboBox->new_with_model($dvd_modelx);# fails to add to combobox
my $wid=Gtk2::ComboBoxEntry->new_with_model($dvd_modelx);# succeeds in
add to combobox
What am i missing here
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]