Re:Combo-Box



I did not see an answer to this, so I'll make a suggestion. The get_popup
method of the combo box returns a Gtk::ScrolledWindow. I suspect you can set its height with set_usize or similar.

--john


Have the following problem:

my $combo_idocnum=3Dnew Gtk::Combo();
$combo_idocnum->set_popdown_strings( @idoc_nummern );
$combo_idocnum->entry->signal_connect("changed", \&idocnummer);
$combo_idocnum->show();
there are about 30 entries in the combo-box, but i want restrict the
> box
> to 15 visible entries. to get the other 15 entries, i will use the
> scrollbar.



--
John McDermott
Writer, Educator, Consultant
jjm jkintl com
V +1 505/377-6293 F +1 505/377-6313




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