Use standard Mac “hide toolbar” widget

Bug #202321 reported by Lukáš 'Spike' Polívka
2
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
Wishlist
Mats

Bug Description

I suggest to use the standard “hide toolbar“ widget on Mac instead of the “triangle” to show/hide toolbars at the top of Coccinella windows. It is the oval button on the right side of window title bar.
Of course – if Tk can do this at all.

Additional information by Sander: the RMB context menu when clicking on the “triangle” should be a context menu for the whole toolbar. See e.g. Finder.

Tags: mac
sander (s-devrieze)
description: updated
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Wishlist
Revision history for this message
Mats (matsben) wrote : Re: [Bug 202321] Re: Use standard Mac “hide toolbar” widget

The idea is right but there is no support for it in AquaTk,
see file:///Users/mats/Docs/Tk/TkCmd/wm.htm#M8If you can find the Apple API
which controls this it would help, and perhaps I could make a patch myself.

Sander: do you mean RMB anywhere in toolbar should post menu?

Revision history for this message
sander (s-devrieze) wrote :

> Sander: do you mean RMB anywhere in toolbar should post menu?

yes

Revision history for this message
Mats (matsben) wrote :
Revision history for this message
Mats (matsben) wrote :

RMB now added to complete toolbar except to the actual buttons. Note,
however, that the buttons extend slightly outside the region where they are
displaying something. This is their padding.

Revision history for this message
Mats (matsben) wrote :

Searched a bit in
http://developer.apple.com/documentation/Carbon/Reference/Window_Manager/Reference/reference.htmlbut
can't find any relevant parts. Seems it is called the "toolbar
control",
but this name is generic for all toolbar buttons.

Revision history for this message
Mats (matsben) wrote :

Found it! Minimal testing!

Changed in coccinella:
milestone: none → 0.96.8
status: New → Fix Committed
sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.