• 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
Re: Change window contents at runtime?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change window contents at runtime?


  • Subject: Re: Change window contents at runtime?
  • From: "Shawn Erickson" <email@hidden>
  • Date: Wed, 31 May 2006 15:04:47 -0700

On 5/31/06, Alex Valys <email@hidden> wrote:
I'm sure this is a stupid question, but I've searched high and low
and not found the answer.

How can I change the contents of a window at runtime?  Like what
happens in the Network Preferences panel when you change the
selection in the "Show" drop-down menu.

One simple technique is to use a tab-less NSTabView and switch between the tab views programatically. The other is to add/remove views from the view hierarchy as needed.

For the later review...

<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/WorkingWithAViewHierarchy/chapter_4_section_1.html>

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Change window contents at runtime? (From: Alex Valys <email@hidden>)

  • Prev by Date: Change window contents at runtime?
  • Next by Date: Re: Change window contents at runtime?
  • Previous by thread: Change window contents at runtime?
  • Next by thread: Re: Change window contents at runtime?
  • Index(es):
    • Date
    • Thread