Module properties

Source
Expand description

Utility functions for working with X11 properties

MacrosΒ§

property_cookie πŸ”’

StructsΒ§

AspectRatio
An aspect ratio numerator / denominator.
WmClass
The value of a window’s WM_CLASS property.
WmClassCookie
A cookie for getting a window’s WM_CLASS property.
WmHints
A structure representing a WM_HINTS property.
WmHintsCookie
A cookie for getting a window’s WM_HINTS property.
WmSizeHints
A structure representing a WM_SIZE_HINTS property.
WmSizeHintsCookie
A cookie for getting a window’s WM_SIZE_HINTS property.

EnumsΒ§

WmHintsState
The possible values for a WM_STATE’s state field.
WmSizeHintsSpecification
Representation of whether some part of WM_SIZE_HINTS was user/program specified.

ConstantsΒ§

HINT_ICON_MASK πŸ”’
HINT_ICON_PIXMAP πŸ”’
HINT_ICON_POSITION πŸ”’
HINT_ICON_WINDOW πŸ”’
HINT_INPUT πŸ”’
HINT_STATE πŸ”’
HINT_URGENCY πŸ”’
HINT_WINDOW_GROUP πŸ”’
NUM_WM_HINTS_ELEMENTS πŸ”’
NUM_WM_SIZE_HINTS_ELEMENTS πŸ”’
P_ASPECT πŸ”’
P_BASE_SIZE πŸ”’
P_MAX_SIZE πŸ”’
P_MIN_SIZE πŸ”’
P_RESIZE_INCREMENT πŸ”’
P_S_POSITION πŸ”’
P_S_SIZE πŸ”’
P_WIN_GRAVITY πŸ”’
U_S_POSITION πŸ”’
U_S_SIZE πŸ”’

FunctionsΒ§

parse_with_flag πŸ”’
Parse an element of type T and turn it into an Option by checking if the given bit is set in flags.