Re: How to tear off a toolbar?

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

 



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.
_______________________________________________
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