Re: GtkEditable and GtkTextView



On 19 Oct 2000, Havoc Pennington wrote:

> 
> 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.

ok apart from the signature, which should be solvable by a rename,
the main problem is that of a container obejct wanting to proxy the
signal of an aggregate object...?
lemme think about that.

> 
> Havoc
> 

---
ciaoTJ





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