Go to the first, previous, next, last section, table of contents.
Display information retrieval methods:
- Method: Display get_display_name ( )
-
- Method: Display fileno ( )
-
- Method: Display close ( )
-
- Method: Display set_error_handler ( handler )
-
- Method: Display flush ( )
-
- Method: Display sync ( )
-
- Method: Display next_event ( )
-
- Method: Display pending_events ( )
-
- Method: Display has_extension ( extension )
-
- Method: Display create_resource_object ( type, id )
-
- Method: Display screen ( sno = None )
-
- Method: Display screen_count ( )
-
- Method: Display get_default_screen ( )
-
- Method: Display keycode_to_keysym ( keycode, index )
-
- Method: Display keysym_to_keycode ( keysym )
-
- Method: Display keysym_to_keycodes ( keysym )
-
- Method: Display refresh_keyboard_mapping ( evt )
-
- Method: Display lookup_string ( keysym )
-
- Method: Display rebind_string ( keysym, newstring )
-
X requests methods:
- Method: Display intern_atom ( name, only_if_exists = 0 )
-
Returns Card32(atom)
- Method: Display get_atom_name ( atom )
-
Returns String(name)
- Method: Display get_selection_owner ( selection )
-
Returns Window(owner, (X.NONE, ))
- Method: Display send_event ( destination, event, event_mask = 0, propagate = 0, onerror = None )
-
- Method: Display ungrab_pointer ( time, onerror = None )
-
- Method: Display change_active_pointer_grab ( event_mask, cursor, time, onerror = None )
-
- Method: Display ungrab_keyboard ( time, onerror = None )
-
- Method: Display allow_events ( mode, time, onerror = None )
-
- Method: Display grab_server ( onerror = None )
-
- Method: Display ungrab_server ( onerror = None )
-
- Method: Display warp_pointer ( x, y, src_window = 0, src_x = 0, src_y = 0, src_width = 0, src_height = 0, onerror = None )
-
- Method: Display set_input_focus ( focus, revert_to, time, onerror = None )
-
- Method: Display get_input_focus ( )
-
Returns Card8('revert_to'), Window('focus', (X.NONE, X.PointerRoot))
- Method: Display query_keymap ( )
-
Returns FixedList('map', 32, Card8Obj)
- Method: Display open_font ( name )
-
Returns Font or None.
- Method: Display list_fonts ( pattern, max_names )
-
Returns List('fonts', Str)
- Method: Display list_fonts_with_info ( pattern, max_names )
-
Returns a list of
Object('min_bounds', structs.CharInfo),
Object('max_bounds', structs.CharInfo),
Card16('min_char_or_byte2'),
Card16('max_char_or_byte2'),
Card16('default_char'),
Card8('draw_direction'),
Card8('min_byte1'),
Card8('max_byte1'),
Card8('all_chars_exist'),
Int16('font_ascent'),
Int16('font_descent'),
Card32('replies_hint'),
List('properties', structs.FontProp),
String8('name'),
- Method: Display set_font_path ( path, onerror = None )
-
- Method: Display get_font_path ( )
-
Returns List('paths', Str)
- Method: Display query_extension ( name )
-
Returns None, or Card8('major_opcode'),
Card8('first_event'),
Card8('first_error'),
- Method: Display list_extensions ( )
-
Returns List('names', Str)
- Method: Display change_keyboard_mapping ( first_keycode, keysyms, onerror = None )
-
- Method: Display get_keyboard_mapping ( first_keycode, count )
-
Returns KeyboardMapping('keysyms'),
- Method: Display change_keyboard_control ( onerror = None, **keys )
-
- Method: Display get_keyboard_control ( )
-
- Method: Display bell ( percent = 0, onerror = None )
-
- Method: Display change_pointer_control ( accel = None, threshold = None, onerror = None )
-
accel should be
None
or (num, denum)
.
- Method: Display get_pointer_control ( )
-
Returns
Card16('accel_num'),
Card16('accel_denom'),
Card16('threshold'),
- Method: Display set_screen_saver ( timeout, interval, prefer_blank, allow_exposures, onerror = None )
-
- Method: Display get_screen_saver ( )
-
Returns
Card16('timeout'),
Card16('interval'),
Card8('prefer_blanking'),
Card8('allow_exposures'),
- Method: Display change_hosts ( mode, host_family, host, onerror = None )
-
- Method: Display list_hosts ( )
-
Returns
Card8('mode'),
List('hosts', structs.Host),
- Method: Display set_access_control ( mode, onerror = None )
-
- Method: Display set_close_down_mode ( mode, onerror = None )
-
- Method: Display force_screen_saver ( mode, onerror = None )
-
- Method: Display set_pointer_mapping ( map )
-
Returns Card8('status'),
- Method: Display get_pointer_mapping ( )
-
Returns List('map', Card8Obj),
- Method: Display set_modifier_mapping ( keycodes )
-
Returns Card8('status'),
- Method: Display get_modifier_mapping ( )
-
Returns ModifierMapping('keycodes')
- Method: Display no_operation ( onerror = None )
-
Go to the first, previous, next, last section, table of contents.