[Gtk2] GTK2 Combobox Question

Andrew Haines AndrewD207 at aol.com
Mon Mar 17 16:00:08 CET 2008


Funky Beast wrote:
> Hi,
> 
> Just out of curiosity, why is GTK2 Combobox's list a Menu instead of a
> Listbox?
> 
> Thank you for enlightening,
> Funky Beast
> 
> 

It's just a change of the gtk2 widget itself. It also is changable
depending on your theme afaik.

>From the gtk2 docs:

A GtkComboBox is a widget that allows the user to choose from a list of
valid choices. The GtkComboBox displays the selected choice. When
activated, the GtkComboBox displays a popup which allows the user to
make a new choice. The style in which the selected value is displayed,
and the style of the popup is determined by the current theme. It may be
similar to a GtkOptionMenu, or similar to a Windows-style combo box.

Andrew



More information about the Gtk2 mailing list