Instance Property

movableByWindowBackground

A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background.

Declaration

@property(getter=isMovableByWindowBackground) BOOL movableByWindowBackground;

Discussion

The value of this property is YES when the window is movable by clicking and dragging anywhere in its background; otherwise, NO.

A window with a style mask of NSTexturedBackgroundWindowMask is movable by background by default. Sheets and drawers cannot be movable by window background.

See Also

Moving Windows

movable

A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background.

- center

Sets the window’s location to the center of the screen.