Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I don want the user of my applications to enter text into a GtkCombo. Any idea?

0
Posted

I don want the user of my applications to enter text into a GtkCombo. Any idea?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123