spacr.qt.widgets.cursor_policy

Keep the operating system’s standard arrow in every interactive context.

Functions

arrow_cursor([active])

Return the native OS arrow without customizing its artwork or size.

install_cursor_policy([application])

Install the native-arrow policy once; leave all gestures unchanged.

Module Contents

spacr.qt.widgets.cursor_policy.arrow_cursor(active=False)[source]

Return the native OS arrow without customizing its artwork or size.

Parameters:

active – retained for compatibility; both states use the OS arrow.

Returns:

a native arrow that follows the user’s OS pointer preferences.

spacr.qt.widgets.cursor_policy.install_cursor_policy(application=None)[source]

Install the native-arrow policy once; leave all gestures unchanged.