ooxcb.contrib.icccm
This module contains some helper functions for the icccm standard.
-
class ooxcb.contrib.icccm.WMHints(flags, input, initial_state, icon_pixmap, icon_window, icon_x, icon_y, icon_mask)
a container class for the WM_HINTS property.
-
flags
- a mask of the WMHintsFlags values
-
input
- The client’s input model (True/False)
-
initial_state
- The state when first mapped
-
icon_pixmap
- The pixmap for the icon image
-
icon_window
- The window for the icon image
-
icon_x
- X coordinate of the icon location
-
icon_y
- Y coordinate of the icon location
-
icon_mask
- The mask for the icon shape
-
class ooxcb.contrib.icccm.WMState(state, icon)
container class for the WM_STATE property.
-
state
- one member of ooxcb.xproto.WMState
-
icon
- The icon window, either a ooxcb.xproto.Window instance
or None.
-
ooxcb.contrib.icccm.icccm_get_wm_hints(window)
- return a WMHints instance or None if there is no
WM_HINTS property or the value is invalid.
-
ooxcb.contrib.icccm.icccm_get_wm_state(window)
- return a WMState instance or None if
there is no WM_STATE property.