Up
Authors
- Generated by Gregory John Casamento,,,
-
Date: Generated at 2023-12-22 15:07:50 -0500
- Declared in:
- AppKit/NSPopover.h
Availability: MacOS-X 10.7.0
Description forthcoming.
Instance Variables
Method summary
- (BOOL)
animates;
Availability: MacOS-X 10.7.0
Returns current value of the animate flag.
- (
NSPopoverAppearance)
appearance;
Availability: MacOS-X 10.7.0
Returns the current appearance setting.
- (
NSPopoverBehavior)
behavior;
Availability: MacOS-X 10.7.0
Returns current behavior setting
- (void)
close;
Availability: MacOS-X 10.7.0
Close the popover.
- (NSSize)
contentSize;
Availability: MacOS-X 10.7.0
Returns an NSSize representing the size of the
NSPopover content view.
- (
NSViewController*)
contentViewController;
Availability: MacOS-X 10.7.0
Returns the current contentViewController.
- (id)
delegate;
Availability: MacOS-X 10.7.0
Return delegate
- (BOOL)
isShown;
Availability: MacOS-X 10.7.0
Is the popover being shown.
- (IBAction)
performClose: (id)sender;
Availability: MacOS-X 10.7.0
Close the popover as an IBAction.
- (NSRect)
positioningRect;
Availability: MacOS-X 10.7.0
Return the NSRect.
- (void)
setAnimates: (BOOL)flag;
Availability: MacOS-X 10.7.0
Sets the animate flag. If YES
then the popover will animate when it appears or
disappears.
- (void)
setAppearance: (
NSPopoverAppearance)value;
Availability: MacOS-X 10.7.0
Sets ths appearance of the popover. Minimal is the
default. HUD is not supported.
- (void)
setBehavior: (
NSPopoverBehavior)value;
Availability: MacOS-X 10.7.0
Sets current popup behavior. Valid settings are:
NSPopupBehaviorApplicationDefined,
NSPopupBehaviorTransient,
NSPopupBehaviorSemiTransient.
- (void)
setContentSize: (NSSize)value;
Availability: MacOS-X 10.7.0
Accepts an NSSize value for the current
content size.
- (void)
setContentViewController: (
NSViewController*)controller;
Availability: MacOS-X 10.7.0
Sets the contentViewController. If in a storyboard
this is automatically set but if this is in a model
that is NOT a storyboard (nib, xib, gorm, etc) then
there must be a model with the same name as the class
name of the contentViewController. Also, This model
must have the "view" outlet set to the view that will
be shown in the popup, if both of these conditions are
not met, then the code will throw an
NSInternalInconsistency exception
to report the issue back to the user.
- (void)
setDelegate: (id)value;
Availability: MacOS-X 10.7.0
Set delegate
- (void)
setPositioningRect: (NSRect)value;
Availability: MacOS-X 10.7.0
Set relative position of the popup to the view it is
associated with.
- (void)
showRelativeToRect: (NSRect)positioningRect
ofView: (
NSView*)positioningView
preferredEdge: (NSRectEdge)preferredEdge;
Availability: MacOS-X 10.7.0
Show the popover relative to the specified rect on the
edge specified.
Instance Variables for NSPopover Class
@protected BOOL _animates;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSPopoverAppearance _appearance;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSPopoverBehavior _behavior;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _contentSize;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSViewController* _contentViewController;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _delegate;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRect _positioningRect;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSPanel* _realPanel;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL _shown;
Availability: MacOS-X 10.7.0
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSPopover.h
Availability: MacOS-X 10.7.0
Description forthcoming.
Method summary
- (
NSWindow*)
detachableWindowForPopover: (
NSPopover*)popover;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (void)
popoverDidClose: (NSNotification*)notification;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (void)
popoverDidShow: (NSNotification*)notification;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (BOOL)
popoverShouldClose: (
NSPopover*)popover;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (void)
popoverWillClose: (NSNotification*)notification;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (void)
popoverWillShow: (NSNotification*)notification;
Availability: MacOS-X 10.7.0
Description forthcoming.
- Declared in:
- AppKit/NSPopover.h
Availability: MacOS-X 10.7.0
Description forthcoming.
Up