Re: 2-moded window question
Re: 2-moded window question
- Subject: Re: 2-moded window question
- From: "David P. Henderson" <email@hidden>
- Date: Sat, 30 Jun 2001 00:13:09 -0400
On Friday, June 29, 2001, at 11:37 , Nathan V. Roberts wrote:
>
a quick what's-the-Cocoa-way-to-do-this question:
>
Drawers :)
>
I have a window on which I'd like a simple mode and a details
>
mode--where the detail area of the window disappears in simple mode.
>
Drawers would be acceptable, except that I don't feel that the metaphor
>
is quite appropriate here, and I'd like to display some buttons at the
>
"absolute bottom" of the window. So, in detail mode, the window looks
>
sorta like
>
This is exactly how drawers are intended to be used. Essentially, you
have some controls you want attached to your window, but they don't need
to always be visible just readily accessible.
Otherwise, you need to resize the window, add and remove views, and set
up the views in the window correctly spaced etc...
Personally, I would use a drawer.
Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl