Re: User data in GtkText?
- From: Thomas Mailund Jensen <mailund daimi aau dk>
- To: gtk-devel-list redhat com
- Subject: Re: User data in GtkText?
- Date: 03 Aug 1998 17:04:23 +0200
>>>>> "OT" == Owen Taylor <otaylor@redhat.com> writes:
OT> 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.
OT> The idea makes sense.
OT> The Text widget is completely broken and needs to be rewritten
OT> from scratch.
Yeah...I've noticed a few inconvenient "features" :)
OT> Hence, I haven't been to agressive about applying patches to it,
OT> since the rewrite will probably have a somewhat different API,
OT> and anything we add now will either require emulation, or break
OT> in the future.
OT> I'm not going to have a chance to start on that, until at least
OT> after 1.2, however, so it might be worth adding stuff anyways.
In that case, I would really appreciate adding user data ASAP, since
it is currently necessary to patch the text widget to use my editor
widget. Having to re-write the editor later is OK. These things
happens. Not being compatible with the main branch of widgets is
something all together different. Applications using the editor
widget, as the next version of gIDE I hope, cannot expect people to
patch their gtk installation.
As a side note, what is the policy of adding new widgets to CVS?
/mailund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]