[Gtk2] autosize question

Henry Vermaak henry.vermaak at gmail.com
Thu Dec 10 15:11:29 CET 2009


2009/12/9 Henry Vermaak <henry.vermaak at gmail.com>:
> 2009/12/8 Henry Vermaak <henry.vermaak at gmail.com>:
>> 2009/12/8 Mattias Gaertner <nc-gaertnma at netcologne.de>:
>>>
>>> I don't know. Maybe you can create an example.
>>
>> I've attached a simple diff.
>
> No luck with this, but I got it to work if I set a flag in the
> style-set and then check that flag in an event-after handler,
> invalidating and sending a size message as necessary.  I just tested
> this with buttons, but it should be possible for a generic case.  I'm
> just not sure what the best way is to integrate this into the lcl.  Is
> this something you're interested in for the lcl?

Any thoughts?




More information about the Gtk2 mailing list