Re: One more NSToolbar question
Re: One more NSToolbar question
- Subject: Re: One more NSToolbar question
- From: Matt Ridley <email@hidden>
- Date: Wed, 9 May 2001 19:53:46 +0100
On Wednesday, May 9, 2001, at 07:36 pm, Arno Gourdol wrote:
Interestingly, using the Hide/Show Toolbar command in Mail
does visually highlight the widget, but using the same command
in the Finder doesn't. Maybe the Finder needs updated to use
toggleToolbarShown, or some such thing.
The Finder is a Carbon app, not a Cocoa app. It uses its own
implementation of the toolbar.
I was more remarking that it seems possible to change the
visibility of an NSToolbar without automatically visually
toggling the widget. Granted that the Finder was an incorrect
example as it's not a Cocoa application, but it does at least
show the (lack of) effect I mean. Anyway, no matter.
toggleToolbarShown: works as desired, and I may have imagined
the whole thing with setVisible:.
On a vaguely-related note, I'd be interested in the possibility
of being able to drop file system items (folders, applications,
documents) onto an NSToolbar, as in the Finder. Is that entirely
a facet of the Finder's own implementation (which surely can't
be far from NSToolbar), or is it feasible for NSToolbars too?
-M
--
Matt Ridley
<
http://www.mattridley.com/>