Re: Change window contents at runtime?
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