Re: Non-editable GtkComboBoxEntry?

2006-03-10 Thread Matthias Clasen
On 3/9/06, Murray Cumming [EMAIL PROTECTED] 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.


Hmm, we don't currently have a good (or any) solution to insensitive, but
selectable.

Matthias
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Non-editable GtkComboBoxEntry?

2006-03-09 Thread Micah Carrick
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.

 



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list