Configuration
PBMessageConfigChanged
Structure:
Fields
domain (referenced string): The configuration domain in which a property changed.
PBSystemPropertyIndex
Enumeration/bitset of type uint32_t:
Constants
PBSystemProperty_DOUBLE_CLICK_THRESHOLD
PBSystemProperty_DOUBLE_CLICK_THRESHOLD = 0
The maximum time in seconds between mouse clicks for it to be registered as a double (or triple) click.
PBSystemProperty_DRAG_THRESHOLD
PBSystemProperty_DRAG_THRESHOLD = 1
The minimum distance in dps the mouse must be moved after holding a button for a drag to be registered. See PBMouseInput_PASSED_DRAG_MOVEMENT_THRESHOLD.
PBSystemProperty_KEY_REPEAT_DELAY
PBSystemProperty_KEY_REPEAT_DELAY = 2
The delay in seconds after holding a key until the first key repeat event.
PBSystemProperty_KEY_REPEAT_RATE
PBSystemProperty_KEY_REPEAT_RATE = 3
The delay in seconds between successive key repeat events.
PBSystemProperty_CARET_THICKNESS
PBSystemProperty_CARET_THICKNESS = 4
The thickness of a text caret in dps. For horizontal text, this gives the width of the caret.
PBSystemProperty_CLICK_TO_FOCUS
PBSystemProperty_CLICK_TO_FOCUS = 5
A boolean value, 0 (false) or 1 (true). When true, buttons, sliders and similar UI elements will set keyboard focus to themselves when the user clicks on them. Elements that require keyboard focus, such as text, input fields, will set focus to themselves on click regardless of this setting.
PBSystemProperty_TRANSIENT_SCROLL_BARS
PBSystemProperty_TRANSIENT_SCROLL_BARS = 6
A boolean value, 0 (false) or 1 (true). When true, scroll bars will automatically show and hide themselves as necessary.
PBSystemProperty_OLD_STYLE_MENU_KEYS
PBSystemProperty_OLD_STYLE_MENU_KEYS = 7
A boolean value, 0 (false) or 1 (true). When true, menu items can be activated with a single key press.
PBSystemProperty_REDUCE_MOTION
PBSystemProperty_REDUCE_MOTION = 8
A boolean value, 0 (false) or 1 (true). When true, animations and transitions should complete instantly.
PBSystemProperty_COUNT
PBSystemProperty_COUNT = 9
PBSystemPropertyRead
Function: Read the value of a system property.
Syntax (C/C++)
double PBSystemPropertyRead(PBSystemPropertyIndex index);
Syntax (Python)
SystemPropertyRead(index) -> (currentValue)
Parameters and Return Values
[in] index (PBSystemPropertyIndex): The index of the property.
[out] currentValue (double
): Its value. See PBSystemPropertyIndex for the units of each value.
PBWorkspaceConfigurationRead
Function:
Syntax (C/C++)
MutStr PBWorkspaceConfigurationRead(ConstStr domain, ConstStr key);
Syntax (Python)
WorkspaceConfigurationRead(domain, key) -> (value)
Parameters and Return Values
[in] domain (referenced string):
[in] key (referenced string):
[out] value (owned string):
PBWorkspaceConfigurationReadU64
Function:
Syntax (C/C++)
uint64_t PBWorkspaceConfigurationReadU64(ConstStr domain, ConstStr key,
uint64_t defaultValue);
Syntax (Python)
WorkspaceConfigurationReadU64(domain, key, defaultValue) -> (value)
Parameters and Return Values
[in] domain (referenced string):
[in] key (referenced string):
[in] defaultValue (uint64_t
):
[out] value (uint64_t
):