• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
2-moded window question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2-moded window question


  • Subject: 2-moded window question
  • From: "Nathan V. Roberts" <email@hidden>
  • Date: Fri, 29 Jun 2001 22:37:07 -0500

Hi, a quick what's-the-Cocoa-way-to-do-this question:

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

_____________________________
| |
| Main stuff |
| X | <-- X is the detail mode toggle
| _________________________ |
| |
| Advanced settings stuff |
| _________________________ |
| Button 1 Button 2 |
|___________________________|

And in simple mode, it's like

_____________________________
| |
| Main stuff |
| X |
| _________________________ |
| Button 1 Button 2 |
|___________________________|

What's the best way to do this within Cocoa?

Thanks,

Nate Roberts


  • Follow-Ups:
    • Re: 2-moded window question
      • From: "Erik M. Buck" <email@hidden>
    • Re: 2-moded window question
      • From: "David P. Henderson" <email@hidden>
  • Prev by Date: Re: Apple Events in Cocoa
  • Next by Date: Re: Is awakeFromNib REALLY first to run?
  • Previous by thread: Re: Is awakeFromNib REALLY first to run?
  • Next by thread: Re: 2-moded window question
  • Index(es):
    • Date
    • Thread