[Gtk2] autosize question

Henry Vermaak henry.vermaak at gmail.com
Wed Dec 9 16:47:24 CET 2009


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?

Henry




More information about the Gtk2 mailing list