Bonobo toolbars.





Damon Chaplin <damon@helixcode.com> writes:

> Nat Friedman wrote:
> > 
> > John Sullivan <sullivan@eazel.com> writes:
> > 
> > > > But honestly, components cannot reliably use Bonobo toolbars until we
> > > > have a new GtkToolbar.  So I see there being basically two options:
> > > > fix GtkToolbar, or forget about Bonobo toolbars.
> > >
> > > I hadn't realized the situation was this dire until today. Now I realize.
> > 
> > The main issue is that you can't remove items from the toolbars; the
> > space the items were taking up stays blank.  The toolbar has to be
> > fixed to relayout every time its child count changes.  This really
> > can't be that hard.
> 
> I don't know if this helps but Glade seems to manage removing items from
> toolbars OK, just by calling gtk_widget_destroy() on the items.
> 
> Have you tried queueing a resize on the toolbar after removing the item?
> I had to do that kind of thing quite a bit in Glade to get things to work.

Oh!  This is a good idea.

Nat



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