Re: Gtk::HPaned size and divider



Matthias,

sorry for confusion - must have been very late at night 
when I wrote it:

pane.signal_size_allocate ().connect (
> >              mem_fun (*foobar, &FooBar::geom_changed_cb));
> > 
> > void FooBar::geom_change_cb (Gtk::Allocation& allocation_)
> > {
> >  	pane.set_position( allocation_.get_width() / 2 );
> > }
> > 

-- 
_____________________________________________________________
Vladislav Grinchenko       http://home.comcast.net/~3rdshift/
                                 e-mail: 3rdshift comcast net
                                                   
      Focus on quality, and productivity will follow.
_____________________________________________________________




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