Re: containers in toolbars



Nils Rennebarth writes:
 > I want to place a widget in my toolbar containing of a label and a
 > combo box, so I create a HBox, add label and combo box and
 > use gtk_toolbar_append_widget to put it into the toolbar.
 > 
 > This doesn't work, the widget never shows up. If I add an
 > gtk_widget_show_all(h) (h ist the HBox), it works, but before displaying 
 > the main window it shows an ugly undecorated window somewhere on the screen.
 > 
 > Is this a bug? (Version is libgtk 1.2.7)
 > 
 > Nils
 > 
 > -- 
 > Quotes from the net, featuring John Lapeyre[L] and Christopher F. Miller [M]:
 > M> I'm not sure what the right words are to describe Upside.  Last month they
 > M> mentioned the sendmail **web server** as an example of the failure of the
 > M> open source process....
 > L> Well, sendmail does a lousy job of serving webpages.
Haye you done gtk_widget_show on your label, and combo ?

-- Florent




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