Re: [inti] OptionMenu width ?

Jeff Franks <[email protected]> Mon, 05 Jan 2004 00:24:55 +1100
Newsgroups gmane.comp.gnome.inti
Message-ID <[email protected]>
Bo Lorentsen wrote:

> Hi ...
>
> I have been playing around using Inti (Gtk2 really :-)), and I have 
> made a small interface containing some OptionMenu widgets (amongst 
> others), where the content depend on each other.
>
> Now this works just nicely, but. When I fill up the first one (when 
> the dialog is hidden) its width is not set the propper way until the 
> user access the OptionMenu for the first time. This works Ok, but it 
> do'snt look that nice, and I like to fix this, but how !
>
> So to sum things up, how does one force the OptionMenu to recalculate 
> its width, after inserting data into it ?
>
>
First message in ages!

What about calling option_menu->queue_resize();

Regards
Jeff Franks.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click