Structure

NSToolbarItem.Identifier

No overview available.

Declaration

struct Identifier

Topics

Toolbar Items

static let customizeToolbar: NSToolbarItem.Identifier

The Customize item. Shows the customization palette.

Deprecated
static let print: NSToolbarItem.Identifier

The Print item. Sends printDocument: to firstResponder.

static let showColors: NSToolbarItem.Identifier

The Colors item. Shows the color panel.

static let showFonts: NSToolbarItem.Identifier

The Fonts item. Shows the font panel.

static let toggleSidebar: NSToolbarItem.Identifier

The standard toolbar item identifier for a sidebar. It sends toggleSidebar: to firstResponder.

Relationships

See Also

Managing attributes

var toolbar: NSToolbar?

The toolbar that is using the receiver.

var label: String

The receiver’s label.

var paletteLabel: String

The label that appears when the receiver is in the customization palette.

var toolTip: String?

The tooltip used when the receiver is displayed in the toolbar.

var menuFormRepresentation: NSMenuItem?

The receiver’s menu form representation.

var tag: Int

The receiver’s tag.

var target: AnyObject?

The receiver’s target.

var action: Selector?

The receiver’s action.

var isEnabled: Bool

A Boolean value that indicates whether the receiver is enabled.

var image: NSImage?

The image of the receiver.

var view: NSView?

The receiver’s view.

var minSize: NSSize

The receiver’s minimum size.

var maxSize: NSSize

The receiver’s maximum size.