Re: Hide/Show an NSView???
Re: Hide/Show an NSView???
- Subject: Re: Hide/Show an NSView???
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 5 May 2003 16:18:05 +0200
On lundi, mai 5, 2003, at 14:57 Europe/Paris, M. Uli Kusterer wrote:
Hi,
this is probably an FAQ), but for the life of me I can't find a way
to hide an NSView. I have a window containing an NSImageView and an
NSMovieView, and depending on what data I'm currently displaying, I
want to show either, but never both.
How can I do that? I tried setIsVisible, setVisible, show, hide,
showView, hideView, ... none of these are supported by NSView. And the
docs only mention isVisible, which tells me whether a view is
onscreen, not whether it's shown or hidden.
Am I just too sunburnt today, or is this hidden away too good?
The common solution is to add/remove the widget from its superview.
_______________________________________________
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.