I don want the user of my applications to enter text into a GtkCombo. Any idea?
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_entry_set_editable() function: void gtk_entry_set_editable(GtkEntry *entry, gboolean editable); Set the editable parameter to FALSE to disable typing into the entry.
Related Questions
- Why can I click on items in the menu bar in Microsoft Office applications and why can I enter text into Microsoft Excel fields after using Alt-Tab to switch to a native Linux application?
- If I amdebugging a program that uses
to interact with the user,in which windowdo I enter the text so that the program running in PerlWiz canread from the keyboard? - How can I submit text in web applications as Facebook chat without any Submit/Enter button?