combo box



Is it required to use set_active($index) after creating a ComboBox? Isn't that index=0 is the default?
Without activated, it drop down will be displayed but no text was printed.

my $combo = Gtk2::ComboBox->new_text;
$combo->append_text("No");
$combo->append_text("Yes");
#$combo->set_active(0);

--beast





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