Re: Non-editable GtkComboBoxEntry?



Can you maybe return TRUE from some of the GtkWidget signals to prevent further handling... like the enter-event and grab-focus or something along those lines? I'm not sure what/when all those events do what they do. But just an idea.

- Micah

Murray Cumming wrote:

Is there any good way to make a GtkComboBoxEntry non-editable?

Calling gtk_entry_set_editable() on the child GtkEntry isn't enough. The
user can still change the contents of the GtkEntry by choosing something
from the drop-down menu.

Calling gtk_widget_set_sensitive() on the GtkComboBoxEntry isn't enough,
because the user then can't select the text to copy it.





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