Creates a new drawer with the given size on the specified edge of the parent window.
Original signature is '- (id)initWithContentSize:(NSSize)contentSize preferredEdge:(NSRectEdge)edge'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSDrawer( NSSize contentSize, NSRectEdge edge )
Public Sub New ( _ contentSize As NSSize, _ edge As NSRectEdge _ )
public: NSDrawer( NSSize contentSize, NSRectEdge edge )
Parameters
- contentSize (NSSize)
- The size of the new drawer.
- edge (NSRectEdge)
- The edge to which to attach the new drawer.
Return Value
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)