Re: pack_start() position?



After doing pack_start try reorder_child();

for instance:
  vbox->pack_start(*myWidget, Gtk::PACK_SHRINK, 0);
  vbox->reorder_child(*myWidget, 2);

after this, myWidget will be reordered to position 2


On Tue, 2005-09-06 at 19:58 +0200, Andreas Volz wrote:
> Am Tue, 6 Sep 2005 13:27:27 +0200 schrieb Andreas Volz:
> 
> > Hi,
> > 
> > is it possible to define a position in a vbox where to pack the
> > widget? Or is the call of pack_start() order the only way? I ask
> > because I like to place a widget "between" the Glade created widgets.
> 
> Ok, it seems there's no way to do this. So I tried to use the custom
> widget from libglademm. I created the widget create function, but glade
> reports this:
> 
> (lt-makeh_gtk2:4705): libglade-WARNING **: could not find widget
> creation function
> 
> Why does this happen? There is no working libglademm custom widget
> example available. And docs are not really much at this point. So has
> someone an answer or a working example? Any help would be great.
> 
> regards
> Andreas
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
-- 
   Igor Jovanovic
 PixelThorn Studios
<www.pixelthorn.com>




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