Re: Opening panel
Re: Opening panel
- Subject: Re: Opening panel
- From: "Tomas Zahradnicky, Jr." <email@hidden>
- Date: Mon, 18 Mar 2002 19:42:33 +0100
On Monday, March 18, 2002, at 08:58 , Tomas Zahradnicky, Jr. wrote:
perhaps I didn't understand it, but I don't know how to open a
panel. First window is opened due to be first responder, right, but
what if I want to open another window --- a prefs panel stored in
nib? I cannot find any class method in NSPanel or NSWindow. Is it
"hidden" somewhere else?
Uh-oh?
Just plain -orderFront: or, for panel more probably, -makeKeyAndOrderFront:
Ondra,
the problem is that I don't have NSPanel* to send this message to.
Can I assume that If I create some controller class in IB and then
link controller's window to my panel, will [[mycontroller alloc]
init] display the panel (or at least have NSPanel*) to tell it to
display?
-Tomas
--
# Tomas Zahradnicky, Jr
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.