Re: How to tear off a toolbar?

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

 



On Wed, 14 Jul 2010 18:09:35 -0400
Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Jul 14, 2010 at 5:52 PM, Chris Vine
> <chris@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > On Thu, 15 Jul 2010 03:18:09 +0800
> > "Bruce" <bruce1914@xxxxxxxxxxxx> wrote:
> >>       Can anyone tell me how can I tear off a toolbar?
> >>       I can tear off a menu using gtk_tearoff_menu_item_new, but I
> >> still want to get a toolbar that can be tear off from the main
> >> window and attach to it again.
> >
> > You can use a GtkHandleBox (or at least you certainly used to be
> > able to do so - I used it for that purpose some years ago but it
> > has gone out of fashion now, for good reason in my view).
> 
> the HB leaves space behind ... not so great.
> 
> i looked at sodipodi years ago for inspiration because they had real
> tearoffs - remove them and the space they occupied vanishes until they
> are reattached. ardour uses a C++ implementation of the same idea. its
> fairly complex too implement.

For a toolbar I don't think this really matters.  At any rate it didn't
particularly bother me in the use to which I put it.  But as a GUI
design, tearoff toolbars seem to me to be a poor choice anyway.  I
agree though that for the purposes for which ardour is likely to use
tearoffs, collapsing the space is probably essential.

Chris
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux