• 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
Preopen a drawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preopen a drawer


  • Subject: Preopen a drawer
  • From: "Mathieu Routhier" <email@hidden>
  • Date: Tue, 29 Jan 2002 15:08:41 -0500

Hi,

I have a drawer attached to a window. I would like this drawer to be
opened when the window shows up. So I have implemented awakeFromNib and
called [drawer open] but the drawer does not appear.

I have added a test button that calls [drawer toggle:self]. It works
but it looks like there is a problem with the drawer state. The first
time I press the button, it does nothing. The internal state of the
drawer must be set to 'open' prior to toggle (because I have called open
in awakeFromNib) so the drawer gets closed. The second time I press the
button, the drawer comes out.

Anyway, my question is "How can I have my drawer open at startup?"

Mathieu Routhier


  • Prev by Date: Re: How do I implement contextual-menu to NSTableView/NSOutlineView
  • Next by Date: Re: Compiling Shared Objects/Libraries
  • Previous by thread: Re: Simple C Question
  • Next by thread: Re: Compiling Shared Objects/Libraries
  • Index(es):
    • Date
    • Thread