GTK+ FAQ | ||
---|---|---|
<<< Previous | Development with GTK+: widget specific questions | Next >>> |
A GtkCombo has an associated entry which can be accessed using the following expression:
GTK_COMBO(combo_widget)->entry |
If you don't want the user to be able to modify the content of this entry, you can use the gtk_editable_set_editable() function:
void gtk_editable_set_editable (GtkEditable *editable, gboolean is_editable); |
Set the is_editable parameter to FALSE to disable typing into the entry.
<<< Previous | Home | Next >>> |
How do I stop the column headings of a GtkCList disappearing when the list is scrolled? | Up | How do I catch a combo box change? |