Window
objects have additional objects, see Resource and Drawable.
Window
: create_window ( x, y, width, height, border_width, depth, window_class = X.CopyFromParent, visual = X.CopyFromParent, **keys ) ¶Returns Window
Window
: change_attributes ( onerror = None, **keys ) ¶Window
: get_attributes ( ) ¶Returns Card8(’backing_store’), Card32(’visual’), Card16(’class’), Card8(’bit_gravity’), Card8(’win_gravity’), Card32(’backing_bit_planes’), Card32(’backing_pixel’), Card8(’save_under’), Card8(’map_is_installed’), Card8(’map_state’), Card8(’override_redirect’), Colormap(’colormap’, (X.NONE, )), Card32(’all_event_masks’), Card32(’your_event_mask’), Card16(’do_not_propagate_mask’),
Window
: destroy ( onerror = None ) ¶Window
: destroy_sub_windows ( onerror = None ) ¶Window
: change_save_set ( mode, onerror = None ) ¶Window
: reparent ( parent, x, y, onerror = None ) ¶Window
: map ( onerror = None ) ¶Window
: map_sub_windows ( onerror = None ) ¶Window
: unmap ( onerror = None ) ¶Window
: unmap_sub_windows ( onerror = None ) ¶Window
: configure ( onerror = None, **keys ) ¶Window
: circulate ( direction, onerror = None ) ¶Window
: query_tree ( ) ¶Returns Window(’root’), Window(’parent’, (X.NONE, )), List(’children’, WindowObj),
Window
: change_property ( property, type, format, data, mode = X.PropModeReplace, onerror = None ) ¶Window
: delete_property ( property, onerror = None ) ¶Window
: get_property ( property, type, offset, length, delete = 0 ) ¶Returns None or Card32(’property_type’), Card8(’format’), PropertyData(’value’), Card32(’bytes_after’),
Window
: get_full_property ( property, type, sizehint = 10 ) ¶Returns None or Card32(’property_type’), Card8(’format’), PropertyData(’value’), Card32(’bytes_after’),
Window
: list_properties ( ) ¶Returns List(’atoms’, Card32Obj),
Window
: set_selection_owner ( selection, time, onerror = None ) ¶Window
: convert_selection ( selection, target, property, time, onerror = None ) ¶Window
: send_event ( event, event_mask = 0, propagate = 0, onerror = None ) ¶Window
: grab_pointer ( owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor, time ) ¶Returns Card8(’status’),
Window
: grab_button ( button, modifiers, owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor, onerror = None ) ¶Window
: ungrab_button ( button, modifiers, onerror = None ) ¶Window
: grab_keyboard ( owner_events, pointer_mode, keyboard_mode, time ) ¶Returns Card8(’status’),
Window
: grab_key ( key, modifiers, owner_events, pointer_mode, keyboard_mode, onerror = None ) ¶Window
: ungrab_key ( key, modifiers, onerror = None ) ¶Window
: query_pointer ( ) ¶Returns Card8(’same_screen’), Window(’root’), Window(’child’, (X.NONE, )), Int16(’root_x’), Int16(’root_y’), Int16(’win_x’), Int16(’win_y’), Card16(’mask’),
Window
: get_motion_events ( start, stop ) ¶Returns List(’events’, structs.TimeCoord),
Window
: translate_coords ( src_window, src_x, src_y ) ¶Returns Window(’child’, (X.NONE, )), Int16(’x’), Int16(’y’),
Window
: warp_pointer ( x, y, src_window = 0, src_x = 0, src_y = 0, src_width = 0, src_height = 0, onerror = None ) ¶Window
: set_input_focus ( revert_to, time, onerror = None ) ¶Window
: clear_area ( x = 0, y = 0, width = 0, height = 0, exposures = 0, onerror = None ) ¶Window
: create_colormap ( visual, alloc ) ¶Returns Colormap.
Window
: list_installed_colormaps ( ) ¶Returns List(’cmaps’, ColormapObj),
Window
: rotate_properties ( properties, delta, onerror = None ) ¶Window
: set_wm_name ( name, onerror = None ) ¶Window
: get_wm_name ( ) ¶Returns None or string.
Window
: set_wm_icon_name ( name, onerror = None ) ¶Window
: get_wm_icon_name ( ) ¶Returns None or string.
Window
: set_wm_class ( inst, cls, onerror = None ) ¶Window
: get_wm_class ( ) ¶Returns None or (instance, class)
Window
: set_wm_transient_for ( window, onerror = None ) ¶Window
: get_wm_transient_for ( ) ¶Returns None or Window.
Window
: set_wm_protocols ( protocols, onerror = None ) ¶Window
: get_wm_protocols ( ) ¶Returns list of atoms.
Window
: set_wm_colormap_windows ( windows, onerror = None ) ¶Window
: get_wm_colormap_windows ( ) ¶Returns list of Windows.
Window
: set_wm_client_machine ( name, onerror = None ) ¶Window
: get_wm_client_machine ( ) ¶Returns None or string.
Window
: set_wm_normal_hints ( hints = , onerror = None, **keys ) ¶Window
: get_wm_normal_hints ( ) ¶Returns Card32(’flags’), Int32(’min_width’, default = 0), Int32(’min_height’, default = 0), Int32(’max_width’, default = 0), Int32(’max_height’, default = 0), Int32(’width_inc’, default = 0), Int32(’height_inc’, default = 0), Object(’min_aspect’, Aspect, default = (0, 0)), Object(’max_aspect’, Aspect, default = (0, 0)), Int32(’base_width’, default = 0), Int32(’base_height’, default = 0), Int32(’win_gravity’, default = 0),
Window
: set_wm_hints ( hints = , onerror = None, **keys ) ¶Window
: get_wm_hints ( ) ¶Returns Card32(’flags’), Card32(’input’, default = 0), Set(’initial_state’, 4, ( Xutil.NormalState, Xutil.IconicState ), default = Xutil.NormalState), Pixmap(’icon_pixmap’, default = 0), Window(’icon_window’, default = 0), Int32(’icon_x’, default = 0), Int32(’icon_y’, default = 0), Pixmap(’icon_mask’, default = 0), Window(’window_group’, default = 0),
Window
: set_wm_state ( hints = , onerror = None, **keys ) ¶Window
: get_wm_state ( ) ¶Returns Set(’state’, 4, ( Xutil.WithdrawnState, Xutil.NormalState, Xutil.IconicState )), Window(’icon’, ( X.NONE, )),
Window
: set_wm_icon_size ( hints = , onerror = None, **keys ) ¶Window
: get_wm_icon_size ( ) ¶Returns Card32(’min_width’), Card32(’min_height’), Card32(’max_width’), Card32(’max_height’), Card32(’width_inc’), Card32(’height_inc’),