Skip to content

MouseCursor

MouseCursor #

Bases: Enum

Various mouse cursor types that represent different operations or states.

ALIAS = 'alias' #

A cursor indicating that the current operation will create an alias of, or a shortcut of the item. Typically the shape of an arrow with a shortcut icon at the corner.

ALL_SCROLL = 'allScroll' #

A cursor indicating scrolling in any direction. Typically the shape of a dot surrounded by 4 arrows.

BASIC = 'basic' #

The platform-dependent basic cursor. Typically the shape of an arrow.

CELL = 'cell' #

A cursor indicating selectable table cells. Typically the shape of a hollow plus sign.

CLICK = 'click' #

A cursor that emphasizes an element being clickable, such as a hyperlink. Typically the shape of a pointing hand.

CONTEXT_MENU = 'contextMenu' #

A cursor indicating somewhere the user can trigger a context menu. Typically the shape of an arrow with a small menu at the corner.

COPY = 'copy' #

A cursor indicating that the current operation will copy the item. Typically the shape of an arrow with a boxed plus sign at the corner.

DISAPPEARING = 'disappearing' #

A cursor indicating that the current operation will result in the disappearance of the item. Typically the shape of an arrow with a cloud of smoke at the corner.

FORBIDDEN = 'forbidden' #

A cursor indicating an operation that will not be carried out. Typically the shape of a circle with a diagonal line.

GRAB = 'grab' #

A cursor indicating something that can be dragged. Typically the shape of an open hand.

GRABBING = 'grabbing' #

A cursor indicating something that is being dragged. Typically the shape of a closed hand.

HELP = 'help' #

A cursor indicating help information. Typically the shape of a question mark, or an arrow therewith.

MOVE = 'move' #

A cursor indicating moving something. Typically the shape of four-way arrow.

NONE = 'none' #

Hide the cursor.

NO_DROP = 'noDrop' #

A cursor indicating somewhere that the current item may not be dropped. Typically the shape of a hand with a forbidden sign at the corner.

PRECISE = 'precise' #

A cursor indicating precise selection, such as selecting a pixel in a bitmap. Typically the shape of a crosshair.

PROGRESS = 'progress' #

A cursor indicating the status that the program is busy but can still be interacted with. Typically the shape of an arrow with an hourglass or a watch at the corner.

RESIZE_COLUMN = 'resizeColumn' #

A cursor indicating resizing a column, or an item horizontally. Typically the shape of arrows pointing left and right with a vertical bar separating them.

RESIZE_DOWN = 'resizeDown' #

A cursor indicating resizing an object from its bottom edge. Typically the shape of an arrow pointing down.

RESIZE_DOWN_LEFT = 'resizeDownLeft' #

A cursor indicating resizing an object from its bottom-left corner. Typically the shape of an arrow pointing lower left.

RESIZE_DOWN_RIGHT = 'resizeDownRight' #

A cursor indicating resizing an object from its bottom-right corner. Typically the shape of an arrow pointing lower right.

RESIZE_LEFT = 'resizeLeft' #

A cursor indicating resizing an object from its left edge. Typically the shape of an arrow pointing left.

RESIZE_LEFT_RIGHT = 'resizeLeftRight' #

A cursor indicating resizing an object bidirectionally from its left or right edge. Typically the shape of a bidirectional arrow pointing left and right.

RESIZE_RIGHT = 'resizeRight' #

A cursor indicating resizing an object from its right edge. Typically the shape of an arrow pointing right.

RESIZE_ROW = 'resizeRow' #

A cursor indicating resizing a row, or an item vertically. Typically the shape of arrows pointing up and down with a horizontal bar separating them.

RESIZE_UP = 'resizeUp' #

A cursor indicating resizing an object from its top edge. Typically the shape of an arrow pointing up.

RESIZE_UP_DOWN = 'resizeUpDown' #

A cursor indicating resizing an object bidirectionally from its top or bottom edge. Typically the shape of a bidirectional arrow pointing up and down.

RESIZE_UP_LEFT = 'resizeUpLeft' #

A cursor indicating resizing an object from its top-left corner. Typically the shape of an arrow pointing upper left.

RESIZE_UP_LEFT_DOWN_RIGHT = 'resizeUpLeftDownRight' #

A cursor indicating resizing an object bidirectionally from its top left or bottom right corner. Typically the shape of a bidirectional arrow pointing upper left and lower right.

RESIZE_UP_RIGHT = 'resizeUpRight' #

A cursor indicating resizing an object from its top-right corner. Typically the shape of an arrow pointing upper right.

RESIZE_UP_RIGHT_DOWN_LEFT = 'resizeUpRightDownLeft' #

A cursor indicating resizing an object bidirectionally from its top right or bottom left corner. Typically the shape of a bidirectional arrow pointing upper right and lower left.

TEXT = 'text' #

A cursor indicating selectable text. Typically the shape of a capital I.

VERTICAL_TEXT = 'verticalText' #

A cursor indicating selectable vertical text. Typically the shape of a capital I rotated to be horizontal.

WAIT = 'wait' #

A cursor indicating the status that the program is busy and therefore can not be interacted with. Typically the shape of an hourglass or a watch.

This cursor is not available as a system cursor on macOS. Although macOS displays a "spinning ball" cursor when busy, it's handled by the OS and not exposed for applications to choose.

ZOOM_IN = 'zoomIn' #

A cursor indicating zooming in. Typically a magnifying glass with a plus sign.

ZOOM_OUT = 'zoomOut' #

A cursor indicating zooming out. Typically a magnifying glass with a minus sign.