gtk: resizing option menu button when updating its child menu



Hi,

I have an option menu in a hbox. I sometimes changes the contents of
its child menu. In fact it starts out being empty. This means that the
option menu button is sized so small that the text of the selected
menuitem is not visible at all.

How do you make sure the option menu button is resized when the child
menu is updated?

Thanks in advance
/erik
-- 
 \|/ ____ \|/  Erik M. Hansen <martino@daimi.aau.dk>
 "@'/ oo \`@"  http://www.daimi.aau.dk/~martino/
 /_| \__/ |_\  Fuglesangsalle 69, DK-8210 Århus V, Denmark. 
    \__U_/     Phone home 86106814



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