Re: gtk combo question



 On Monday, January 26, 2004, at 03:53PM, Luiz Rafael Culik Guimaraes <culikr brturbo com> wrote:

>Dear Friends
>
>how to set an combo box to not allow text entry

See here:
http://www.gtk.org/faq/#AEN753

OTOH, you should probably look into using an option menu.  To quote the API reference (see the common questions part of the first section):

"With GTK+, a GtkOptionMenu is recommended instead of a combo box, if the user is selecting from a fixed set of options. That is, non-editable combo boxes are not encouraged. GtkOptionMenu is much easier to use than GtkCombo as well. Use GtkCombo only when you  need the editable text entry. "
 

-- 
Ken Sodemann
E-Mail: stuffle mac com
MSN Messenger: stuffle charter net
http://webpages.charter.net/stuffle



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