Re: User data in GtkText?




Thomas Mailund Jensen <mailund@daimi.aau.dk> writes:

> A little while ago (Jul 20) I uploaded a patch to the text widget that
> made it possible to associate arbitrary user data to the text
> properties.  So I am wondering whether this patch will be applied, or
> perhaps some other implementation of the same functionality is beeing
> considered?
> 
> Some of the things I'm working on really needs this feature, so if the
> patch wont be applied, I will have to move my implementation from the
> text widget to my application.  But since this will cause a lot of
> duplicated work, and since user data in the text widget is generally
> useful, I really feel that gtktext is the place to put it.
> 
> I'm not sure my implementation of this facility is the way to do it,
> but the idear I think is sound.

The idea makes sense.

The Text widget is completely broken and needs to be rewritten
from scratch.

Hence, I haven't been to agressive about applying patches to it,
since the rewrite will probably have a somewhat different API, and
anything we add now will either require emulation, or break
in the future.

I'm not going to have a chance to start on that, until at
least after 1.2, however, so it might be worth adding stuff
anyways.

Regards,
                                        Owen



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