Re: GtkEditable and GtkTextView



Robert Brady <robert suse co uk> writes: 
> Options -
> 
>   * Do nothing. Porting from Text to TextView/Buffer remains a hassle.
> 
>   * Remove the troublesome signals from the interface.  This will be only
>     one of quite a few Editable changes... (How much code depends on being 
>     able to attach insert_text and delete_text to a generic GtkText - 
>     not much, I'll warrant)
>

Yep. Have to pick one of these.
 
>   * When the signal is connected on the View, we hook up to the
>     insert_text on the buffer, and then after converting iter->offset,
>     call Editable::insert_text. (Does that even remotely make sense?)
> 

It works for notification (in the same way "changed" works fine), the
problem is that it doesn't work for the filtering.

Havoc




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