Re: A model/buffer for GtkEntry

2009-04-02 Thread Stef Walter
Matthias Clasen wrote: On Thu, Mar 26, 2009 at 5:38 PM, Stef Walter stef- That may be the case, and I thought about this myself. One thing in favor of doing the conversion of 'real text' - 'display text' in the model is that it allows subclassed models to do some quite interesting stuff in

Re: A model/buffer for GtkEntry

2009-03-30 Thread Matthias Clasen
On Thu, Mar 26, 2009 at 5:38 PM, Stef Walter stef- That may be the case, and I thought about this myself. One thing in favor of doing the conversion of 'real text' - 'display text' in the model is that it allows subclassed models to do some quite interesting stuff in the conversion. For

Re: A model/buffer for GtkEntry

2009-03-26 Thread Stef Walter
Tristan Van Berkom wrote: * gtk_entry_buffer_get_visibility * gtk_entry_buffer_set_visibility * gtk_entry_buffer_get_invisible_char * gtk_entry_buffer_set_invisible_char * gtk_entry_buffer_unset_invisible_char * gtk_entry_buffer_have_invisible_char I have a feeling these apis

A model/buffer for GtkEntry

2009-03-25 Thread Stef Walter
A while back [1] I tackled the possibility of having GtkEntry store it's text in a application configurable memory buffer. This makes GtkEntry very useful for use with gnome-keyring and seahorse passwords/secrets [2]. I've given it another shot, and come up with what I think is a much better

Re: A model/buffer for GtkEntry

2009-03-25 Thread Tristan Van Berkom
On Thu, Mar 26, 2009 at 12:41 AM, Stef Walter stef-l...@memberwebs.com wrote: A while back [1] I tackled the possibility of having GtkEntry store it's text in a application configurable memory buffer. This makes GtkEntry very useful for use with gnome-keyring and seahorse passwords/secrets [2].