[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.6 Window

Window objects have additional objects, see Resource and Drawable.

Method on Window: create_window ( x, y, width, height, border_width, depth, window_class = X.CopyFromParent, visual = X.CopyFromParent, **keys )

Returns Window

Method on Window: change_attributes ( onerror = None, **keys )
Method on 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’),

Method on Window: destroy ( onerror = None )
Method on Window: destroy_sub_windows ( onerror = None )
Method on Window: change_save_set ( mode, onerror = None )
Method on Window: reparent ( parent, x, y, onerror = None )
Method on Window: map ( onerror = None )
Method on Window: map_sub_windows ( onerror = None )
Method on Window: unmap ( onerror = None )
Method on Window: unmap_sub_windows ( onerror = None )
Method on Window: configure ( onerror = None, **keys )
Method on Window: circulate ( direction, onerror = None )
Method on Window: query_tree ( )

Returns Window(’root’), Window(’parent’, (X.NONE, )), List(’children’, WindowObj),

Method on Window: change_property ( property, type, format, data, mode = X.PropModeReplace, onerror = None )
Method on Window: delete_property ( property, onerror = None )
Method on Window: get_property ( property, type, offset, length, delete = 0 )

Returns None or Card32(’property_type’), Card8(’format’), PropertyData(’value’), Card32(’bytes_after’),

Method on Window: get_full_property ( property, type, sizehint = 10 )

Returns None or Card32(’property_type’), Card8(’format’), PropertyData(’value’), Card32(’bytes_after’),

Method on Window: list_properties ( )

Returns List(’atoms’, Card32Obj),

Method on Window: set_selection_owner ( selection, time, onerror = None )
Method on Window: convert_selection ( selection, target, property, time, onerror = None )
Method on Window: send_event ( event, event_mask = 0, propagate = 0, onerror = None )
Method on Window: grab_pointer ( owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor, time )

Returns Card8(’status’),

Method on Window: grab_button ( button, modifiers, owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor, onerror = None )
Method on Window: ungrab_button ( button, modifiers, onerror = None )
Method on Window: grab_keyboard ( owner_events, pointer_mode, keyboard_mode, time )

Returns Card8(’status’),

Method on Window: grab_key ( key, modifiers, owner_events, pointer_mode, keyboard_mode, onerror = None )
Method on Window: ungrab_key ( key, modifiers, onerror = None )
Method on 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’),

Method on Window: get_motion_events ( start, stop )

Returns List(’events’, structs.TimeCoord),

Method on Window: translate_coords ( src_window, src_x, src_y )

Returns Window(’child’, (X.NONE, )), Int16(’x’), Int16(’y’),

Method on Window: warp_pointer ( x, y, src_window = 0, src_x = 0, src_y = 0, src_width = 0, src_height = 0, onerror = None )
Method on Window: set_input_focus ( revert_to, time, onerror = None )
Method on Window: clear_area ( x = 0, y = 0, width = 0, height = 0, exposures = 0, onerror = None )
Method on Window: create_colormap ( visual, alloc )

Returns Colormap.

Method on Window: list_installed_colormaps ( )

Returns List(’cmaps’, ColormapObj),

Method on Window: rotate_properties ( properties, delta, onerror = None )
Method on Window: set_wm_name ( name, onerror = None )
Method on Window: get_wm_name ( )

Returns None or string.

Method on Window: set_wm_icon_name ( name, onerror = None )
Method on Window: get_wm_icon_name ( )

Returns None or string.

Method on Window: set_wm_class ( inst, cls, onerror = None )
Method on Window: get_wm_class ( )

Returns None or (isntance, class)

Method on Window: set_wm_transient_for ( window, onerror = None )
Method on Window: get_wm_transient_for ( )

Returns None or Window.

Method on Window: set_wm_protocols ( protocols, onerror = None )
Method on Window: get_wm_protocols ( )

Returns list of atoms.

Method on Window: set_wm_colormap_windows ( windows, onerror = None )
Method on Window: get_wm_colormap_windows ( )

Returns list of Windows.

Method on Window: set_wm_client_machine ( name, onerror = None )
Method on Window: get_wm_client_machine ( )

Returns None or string.

Method on Window: set_wm_normal_hints ( hints = , onerror = None, **keys )
Method on 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),

Method on Window: set_wm_hints ( hints = , onerror = None, **keys )
Method on 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),

Method on Window: set_wm_state ( hints = , onerror = None, **keys )
Method on Window: get_wm_state ( )

Returns Set(’state’, 4, ( Xutil.WithdrawnState, Xutil.NormalState, Xutil.IconicState )), Window(’icon’, ( X.NONE, )),

Method on Window: set_wm_icon_size ( hints = , onerror = None, **keys )
Method on Window: get_wm_icon_size ( )

Returns Card32(’min_width’), Card32(’min_height’), Card32(’max_width’), Card32(’max_height’), Card32(’width_inc’), Card32(’height_inc’),


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on September 16, 2020 using texi2html 5.0.