ooxcb.contrib.sizehints

class ooxcb.contrib.sizehints.SizeHints(**kwargs)

SizeHints is a convenience class for parsing the WM_NORMAL_HINTS property (as defined in the icccm)

properties

The tuple of allowed property values.

('flags', 'x', 'y', 'width', 'height', 'min_width', 
  'min_height', 'max_width', 'max_height', 'width_inc',
  'height_inc', 'min_aspect_num', 'min_aspect_den',
  'max_aspect_num', 'max_aspect_den', 'base_width', 
  'base_height', 'win_gravity')
compute(geom)

compute geom in-place. If self is not valid, nothing is changed.

classmethod from_values(values)

create a SizeHints instance from a list of integers, e.g. from a GetPropertyReply