Re: Display only X lines in GtkComboBox



Eduardo M KALINOWSKI wrote:

    I'm using a GtkComboBox to display some strings (stored in a 
GtkListStore). The number of strings can become large, but I'd like the 
box to display only a small number of them at a time (something like 5), 
instead of showing "as many as fits the screen". Is it possible to do 
that? I didn't find any function for that in the documentation.

This is a GTK+/GNOME policy.  Since you popped down the combo box, you
probably want to see what you can select.  Then why make things more
difficult (i.e. force you to scroll?)

I have seen a few particularly badly designed applications (non-GTK+)
where you had a combo box with hundreds of strings and only some 3 of
them visible at a time.  Not particularly usable, eh?

Paul



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