XCB
1.12
|
XCB Protocol Implementation. More...
Enumerations | |
enum | xcb_visual_class_t { XCB_VISUAL_CLASS_STATIC_GRAY = 0, XCB_VISUAL_CLASS_GRAY_SCALE = 1, XCB_VISUAL_CLASS_STATIC_COLOR = 2, XCB_VISUAL_CLASS_PSEUDO_COLOR = 3, XCB_VISUAL_CLASS_TRUE_COLOR = 4, XCB_VISUAL_CLASS_DIRECT_COLOR = 5 } |
enum | xcb_event_mask_t { XCB_EVENT_MASK_NO_EVENT = 0, XCB_EVENT_MASK_KEY_PRESS = 1, XCB_EVENT_MASK_KEY_RELEASE = 2, XCB_EVENT_MASK_BUTTON_PRESS = 4, XCB_EVENT_MASK_BUTTON_RELEASE = 8, XCB_EVENT_MASK_ENTER_WINDOW = 16, XCB_EVENT_MASK_LEAVE_WINDOW = 32, XCB_EVENT_MASK_POINTER_MOTION = 64, XCB_EVENT_MASK_POINTER_MOTION_HINT = 128, XCB_EVENT_MASK_BUTTON_1_MOTION = 256, XCB_EVENT_MASK_BUTTON_2_MOTION = 512, XCB_EVENT_MASK_BUTTON_3_MOTION = 1024, XCB_EVENT_MASK_BUTTON_4_MOTION = 2048, XCB_EVENT_MASK_BUTTON_5_MOTION = 4096, XCB_EVENT_MASK_BUTTON_MOTION = 8192, XCB_EVENT_MASK_KEYMAP_STATE = 16384, XCB_EVENT_MASK_EXPOSURE = 32768, XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536, XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072, XCB_EVENT_MASK_RESIZE_REDIRECT = 262144, XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288, XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576, XCB_EVENT_MASK_FOCUS_CHANGE = 2097152, XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304, XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608, XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216 } |
enum | xcb_backing_store_t { XCB_BACKING_STORE_NOT_USEFUL = 0, XCB_BACKING_STORE_WHEN_MAPPED = 1, XCB_BACKING_STORE_ALWAYS = 2 } |
enum | xcb_image_order_t { XCB_IMAGE_ORDER_LSB_FIRST = 0, XCB_IMAGE_ORDER_MSB_FIRST = 1 } |
enum | xcb_mod_mask_t { XCB_MOD_MASK_SHIFT = 1, XCB_MOD_MASK_LOCK = 2, XCB_MOD_MASK_CONTROL = 4, XCB_MOD_MASK_1 = 8, XCB_MOD_MASK_2 = 16, XCB_MOD_MASK_3 = 32, XCB_MOD_MASK_4 = 64, XCB_MOD_MASK_5 = 128, XCB_MOD_MASK_ANY = 32768 } |
enum | xcb_key_but_mask_t { XCB_KEY_BUT_MASK_SHIFT = 1, XCB_KEY_BUT_MASK_LOCK = 2, XCB_KEY_BUT_MASK_CONTROL = 4, XCB_KEY_BUT_MASK_MOD_1 = 8, XCB_KEY_BUT_MASK_MOD_2 = 16, XCB_KEY_BUT_MASK_MOD_3 = 32, XCB_KEY_BUT_MASK_MOD_4 = 64, XCB_KEY_BUT_MASK_MOD_5 = 128, XCB_KEY_BUT_MASK_BUTTON_1 = 256, XCB_KEY_BUT_MASK_BUTTON_2 = 512, XCB_KEY_BUT_MASK_BUTTON_3 = 1024, XCB_KEY_BUT_MASK_BUTTON_4 = 2048, XCB_KEY_BUT_MASK_BUTTON_5 = 4096 } |
enum | xcb_window_enum_t { XCB_WINDOW_NONE = 0 } |
enum | xcb_button_mask_t { XCB_BUTTON_MASK_1 = 256, XCB_BUTTON_MASK_2 = 512, XCB_BUTTON_MASK_3 = 1024, XCB_BUTTON_MASK_4 = 2048, XCB_BUTTON_MASK_5 = 4096, XCB_BUTTON_MASK_ANY = 32768 } |
enum | xcb_motion_t { XCB_MOTION_NORMAL = 0, XCB_MOTION_HINT = 1 } |
enum | xcb_notify_detail_t { XCB_NOTIFY_DETAIL_ANCESTOR = 0, XCB_NOTIFY_DETAIL_VIRTUAL = 1, XCB_NOTIFY_DETAIL_INFERIOR = 2, XCB_NOTIFY_DETAIL_NONLINEAR = 3, XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, XCB_NOTIFY_DETAIL_POINTER = 5, XCB_NOTIFY_DETAIL_POINTER_ROOT = 6, XCB_NOTIFY_DETAIL_NONE = 7 } |
enum | xcb_notify_mode_t { XCB_NOTIFY_MODE_NORMAL = 0, XCB_NOTIFY_MODE_GRAB = 1, XCB_NOTIFY_MODE_UNGRAB = 2, XCB_NOTIFY_MODE_WHILE_GRABBED = 3 } |
enum | xcb_visibility_t { XCB_VISIBILITY_UNOBSCURED = 0, XCB_VISIBILITY_PARTIALLY_OBSCURED = 1, XCB_VISIBILITY_FULLY_OBSCURED = 2 } |
enum | xcb_place_t { XCB_PLACE_ON_TOP = 0, XCB_PLACE_ON_BOTTOM = 1 } |
enum | xcb_property_t { XCB_PROPERTY_NEW_VALUE = 0, XCB_PROPERTY_DELETE = 1 } |
enum | xcb_time_t { XCB_TIME_CURRENT_TIME = 0 } |
enum | xcb_atom_enum_t { XCB_ATOM_NONE = 0, XCB_ATOM_ANY = 0, XCB_ATOM_PRIMARY = 1, XCB_ATOM_SECONDARY = 2, XCB_ATOM_ARC = 3, XCB_ATOM_ATOM = 4, XCB_ATOM_BITMAP = 5, XCB_ATOM_CARDINAL = 6, XCB_ATOM_COLORMAP = 7, XCB_ATOM_CURSOR = 8, XCB_ATOM_CUT_BUFFER0 = 9, XCB_ATOM_CUT_BUFFER1 = 10, XCB_ATOM_CUT_BUFFER2 = 11, XCB_ATOM_CUT_BUFFER3 = 12, XCB_ATOM_CUT_BUFFER4 = 13, XCB_ATOM_CUT_BUFFER5 = 14, XCB_ATOM_CUT_BUFFER6 = 15, XCB_ATOM_CUT_BUFFER7 = 16, XCB_ATOM_DRAWABLE = 17, XCB_ATOM_FONT = 18, XCB_ATOM_INTEGER = 19, XCB_ATOM_PIXMAP = 20, XCB_ATOM_POINT = 21, XCB_ATOM_RECTANGLE = 22, XCB_ATOM_RESOURCE_MANAGER = 23, XCB_ATOM_RGB_COLOR_MAP = 24, XCB_ATOM_RGB_BEST_MAP = 25, XCB_ATOM_RGB_BLUE_MAP = 26, XCB_ATOM_RGB_DEFAULT_MAP = 27, XCB_ATOM_RGB_GRAY_MAP = 28, XCB_ATOM_RGB_GREEN_MAP = 29, XCB_ATOM_RGB_RED_MAP = 30, XCB_ATOM_STRING = 31, XCB_ATOM_VISUALID = 32, XCB_ATOM_WINDOW = 33, XCB_ATOM_WM_COMMAND = 34, XCB_ATOM_WM_HINTS = 35, XCB_ATOM_WM_CLIENT_MACHINE = 36, XCB_ATOM_WM_ICON_NAME = 37, XCB_ATOM_WM_ICON_SIZE = 38, XCB_ATOM_WM_NAME = 39, XCB_ATOM_WM_NORMAL_HINTS = 40, XCB_ATOM_WM_SIZE_HINTS = 41, XCB_ATOM_WM_ZOOM_HINTS = 42, XCB_ATOM_MIN_SPACE = 43, XCB_ATOM_NORM_SPACE = 44, XCB_ATOM_MAX_SPACE = 45, XCB_ATOM_END_SPACE = 46, XCB_ATOM_SUPERSCRIPT_X = 47, XCB_ATOM_SUPERSCRIPT_Y = 48, XCB_ATOM_SUBSCRIPT_X = 49, XCB_ATOM_SUBSCRIPT_Y = 50, XCB_ATOM_UNDERLINE_POSITION = 51, XCB_ATOM_UNDERLINE_THICKNESS = 52, XCB_ATOM_STRIKEOUT_ASCENT = 53, XCB_ATOM_STRIKEOUT_DESCENT = 54, XCB_ATOM_ITALIC_ANGLE = 55, XCB_ATOM_X_HEIGHT = 56, XCB_ATOM_QUAD_WIDTH = 57, XCB_ATOM_WEIGHT = 58, XCB_ATOM_POINT_SIZE = 59, XCB_ATOM_RESOLUTION = 60, XCB_ATOM_COPYRIGHT = 61, XCB_ATOM_NOTICE = 62, XCB_ATOM_FONT_NAME = 63, XCB_ATOM_FAMILY_NAME = 64, XCB_ATOM_FULL_NAME = 65, XCB_ATOM_CAP_HEIGHT = 66, XCB_ATOM_WM_CLASS = 67, XCB_ATOM_WM_TRANSIENT_FOR = 68 } |
enum | xcb_colormap_state_t { XCB_COLORMAP_STATE_UNINSTALLED = 0, XCB_COLORMAP_STATE_INSTALLED = 1 } |
enum | xcb_colormap_enum_t { XCB_COLORMAP_NONE = 0 } |
enum | xcb_mapping_t { XCB_MAPPING_MODIFIER = 0, XCB_MAPPING_KEYBOARD = 1, XCB_MAPPING_POINTER = 2 } |
enum | xcb_window_class_t { XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0, XCB_WINDOW_CLASS_INPUT_OUTPUT = 1, XCB_WINDOW_CLASS_INPUT_ONLY = 2 } |
enum | xcb_cw_t { XCB_CW_BACK_PIXMAP = 1, XCB_CW_BACK_PIXEL = 2, XCB_CW_BORDER_PIXMAP = 4, XCB_CW_BORDER_PIXEL = 8, XCB_CW_BIT_GRAVITY = 16, XCB_CW_WIN_GRAVITY = 32, XCB_CW_BACKING_STORE = 64, XCB_CW_BACKING_PLANES = 128, XCB_CW_BACKING_PIXEL = 256, XCB_CW_OVERRIDE_REDIRECT = 512, XCB_CW_SAVE_UNDER = 1024, XCB_CW_EVENT_MASK = 2048, XCB_CW_DONT_PROPAGATE = 4096, XCB_CW_COLORMAP = 8192, XCB_CW_CURSOR = 16384 } |
enum | xcb_back_pixmap_t { XCB_BACK_PIXMAP_NONE = 0, XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 } |
enum | xcb_gravity_t { XCB_GRAVITY_BIT_FORGET = 0, XCB_GRAVITY_WIN_UNMAP = 0, XCB_GRAVITY_NORTH_WEST = 1, XCB_GRAVITY_NORTH = 2, XCB_GRAVITY_NORTH_EAST = 3, XCB_GRAVITY_WEST = 4, XCB_GRAVITY_CENTER = 5, XCB_GRAVITY_EAST = 6, XCB_GRAVITY_SOUTH_WEST = 7, XCB_GRAVITY_SOUTH = 8, XCB_GRAVITY_SOUTH_EAST = 9, XCB_GRAVITY_STATIC = 10 } |
enum | xcb_map_state_t { XCB_MAP_STATE_UNMAPPED = 0, XCB_MAP_STATE_UNVIEWABLE = 1, XCB_MAP_STATE_VIEWABLE = 2 } |
enum | xcb_set_mode_t { XCB_SET_MODE_INSERT = 0, XCB_SET_MODE_DELETE = 1 } |
enum | xcb_config_window_t { XCB_CONFIG_WINDOW_X = 1, XCB_CONFIG_WINDOW_Y = 2, XCB_CONFIG_WINDOW_WIDTH = 4, XCB_CONFIG_WINDOW_HEIGHT = 8, XCB_CONFIG_WINDOW_BORDER_WIDTH = 16, XCB_CONFIG_WINDOW_SIBLING = 32, XCB_CONFIG_WINDOW_STACK_MODE = 64 } |
enum | xcb_stack_mode_t { XCB_STACK_MODE_ABOVE = 0, XCB_STACK_MODE_BELOW = 1, XCB_STACK_MODE_TOP_IF = 2, XCB_STACK_MODE_BOTTOM_IF = 3, XCB_STACK_MODE_OPPOSITE = 4 } |
enum | xcb_circulate_t { XCB_CIRCULATE_RAISE_LOWEST = 0, XCB_CIRCULATE_LOWER_HIGHEST = 1 } |
enum | xcb_prop_mode_t { XCB_PROP_MODE_REPLACE = 0, XCB_PROP_MODE_PREPEND = 1, XCB_PROP_MODE_APPEND = 2 } |
enum | xcb_get_property_type_t { XCB_GET_PROPERTY_TYPE_ANY = 0 } |
enum | xcb_send_event_dest_t { XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0, XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 } |
enum | xcb_grab_mode_t { XCB_GRAB_MODE_SYNC = 0, XCB_GRAB_MODE_ASYNC = 1 } |
enum | xcb_grab_status_t { XCB_GRAB_STATUS_SUCCESS = 0, XCB_GRAB_STATUS_ALREADY_GRABBED = 1, XCB_GRAB_STATUS_INVALID_TIME = 2, XCB_GRAB_STATUS_NOT_VIEWABLE = 3, XCB_GRAB_STATUS_FROZEN = 4 } |
enum | xcb_cursor_enum_t { XCB_CURSOR_NONE = 0 } |
enum | xcb_button_index_t { XCB_BUTTON_INDEX_ANY = 0, XCB_BUTTON_INDEX_1 = 1, XCB_BUTTON_INDEX_2 = 2, XCB_BUTTON_INDEX_3 = 3, XCB_BUTTON_INDEX_4 = 4, XCB_BUTTON_INDEX_5 = 5 } |
enum | xcb_grab_t { XCB_GRAB_ANY = 0 } |
enum | xcb_allow_t { XCB_ALLOW_ASYNC_POINTER = 0, XCB_ALLOW_SYNC_POINTER = 1, XCB_ALLOW_REPLAY_POINTER = 2, XCB_ALLOW_ASYNC_KEYBOARD = 3, XCB_ALLOW_SYNC_KEYBOARD = 4, XCB_ALLOW_REPLAY_KEYBOARD = 5, XCB_ALLOW_ASYNC_BOTH = 6, XCB_ALLOW_SYNC_BOTH = 7 } |
enum | xcb_input_focus_t { XCB_INPUT_FOCUS_NONE = 0, XCB_INPUT_FOCUS_POINTER_ROOT = 1, XCB_INPUT_FOCUS_PARENT = 2, XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3 } |
enum | xcb_font_draw_t { XCB_FONT_DRAW_LEFT_TO_RIGHT = 0, XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 } |
enum | xcb_gc_t { XCB_GC_FUNCTION = 1, XCB_GC_PLANE_MASK = 2, XCB_GC_FOREGROUND = 4, XCB_GC_BACKGROUND = 8, XCB_GC_LINE_WIDTH = 16, XCB_GC_LINE_STYLE = 32, XCB_GC_CAP_STYLE = 64, XCB_GC_JOIN_STYLE = 128, XCB_GC_FILL_STYLE = 256, XCB_GC_FILL_RULE = 512, XCB_GC_TILE = 1024, XCB_GC_STIPPLE = 2048, XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096, XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192, XCB_GC_FONT = 16384, XCB_GC_SUBWINDOW_MODE = 32768, XCB_GC_GRAPHICS_EXPOSURES = 65536, XCB_GC_CLIP_ORIGIN_X = 131072, XCB_GC_CLIP_ORIGIN_Y = 262144, XCB_GC_CLIP_MASK = 524288, XCB_GC_DASH_OFFSET = 1048576, XCB_GC_DASH_LIST = 2097152, XCB_GC_ARC_MODE = 4194304 } |
enum | xcb_gx_t { XCB_GX_CLEAR = 0, XCB_GX_AND = 1, XCB_GX_AND_REVERSE = 2, XCB_GX_COPY = 3, XCB_GX_AND_INVERTED = 4, XCB_GX_NOOP = 5, XCB_GX_XOR = 6, XCB_GX_OR = 7, XCB_GX_NOR = 8, XCB_GX_EQUIV = 9, XCB_GX_INVERT = 10, XCB_GX_OR_REVERSE = 11, XCB_GX_COPY_INVERTED = 12, XCB_GX_OR_INVERTED = 13, XCB_GX_NAND = 14, XCB_GX_SET = 15 } |
enum | xcb_line_style_t { XCB_LINE_STYLE_SOLID = 0, XCB_LINE_STYLE_ON_OFF_DASH = 1, XCB_LINE_STYLE_DOUBLE_DASH = 2 } |
enum | xcb_cap_style_t { XCB_CAP_STYLE_NOT_LAST = 0, XCB_CAP_STYLE_BUTT = 1, XCB_CAP_STYLE_ROUND = 2, XCB_CAP_STYLE_PROJECTING = 3 } |
enum | xcb_join_style_t { XCB_JOIN_STYLE_MITER = 0, XCB_JOIN_STYLE_ROUND = 1, XCB_JOIN_STYLE_BEVEL = 2 } |
enum | xcb_fill_style_t { XCB_FILL_STYLE_SOLID = 0, XCB_FILL_STYLE_TILED = 1, XCB_FILL_STYLE_STIPPLED = 2, XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 } |
enum | xcb_fill_rule_t { XCB_FILL_RULE_EVEN_ODD = 0, XCB_FILL_RULE_WINDING = 1 } |
enum | xcb_subwindow_mode_t { XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0, XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 } |
enum | xcb_arc_mode_t { XCB_ARC_MODE_CHORD = 0, XCB_ARC_MODE_PIE_SLICE = 1 } |
enum | xcb_clip_ordering_t { XCB_CLIP_ORDERING_UNSORTED = 0, XCB_CLIP_ORDERING_Y_SORTED = 1, XCB_CLIP_ORDERING_YX_SORTED = 2, XCB_CLIP_ORDERING_YX_BANDED = 3 } |
enum | xcb_coord_mode_t { XCB_COORD_MODE_ORIGIN = 0, XCB_COORD_MODE_PREVIOUS = 1 } |
enum | xcb_poly_shape_t { XCB_POLY_SHAPE_COMPLEX = 0, XCB_POLY_SHAPE_NONCONVEX = 1, XCB_POLY_SHAPE_CONVEX = 2 } |
enum | xcb_image_format_t { XCB_IMAGE_FORMAT_XY_BITMAP = 0, XCB_IMAGE_FORMAT_XY_PIXMAP = 1, XCB_IMAGE_FORMAT_Z_PIXMAP = 2 } |
enum | xcb_colormap_alloc_t { XCB_COLORMAP_ALLOC_NONE = 0, XCB_COLORMAP_ALLOC_ALL = 1 } |
enum | xcb_color_flag_t { XCB_COLOR_FLAG_RED = 1, XCB_COLOR_FLAG_GREEN = 2, XCB_COLOR_FLAG_BLUE = 4 } |
enum | xcb_pixmap_enum_t { XCB_PIXMAP_NONE = 0 } |
enum | xcb_font_enum_t { XCB_FONT_NONE = 0 } |
enum | xcb_query_shape_of_t { XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0, XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1, XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 } |
enum | xcb_kb_t { XCB_KB_KEY_CLICK_PERCENT = 1, XCB_KB_BELL_PERCENT = 2, XCB_KB_BELL_PITCH = 4, XCB_KB_BELL_DURATION = 8, XCB_KB_LED = 16, XCB_KB_LED_MODE = 32, XCB_KB_KEY = 64, XCB_KB_AUTO_REPEAT_MODE = 128 } |
enum | xcb_led_mode_t { XCB_LED_MODE_OFF = 0, XCB_LED_MODE_ON = 1 } |
enum | xcb_auto_repeat_mode_t { XCB_AUTO_REPEAT_MODE_OFF = 0, XCB_AUTO_REPEAT_MODE_ON = 1, XCB_AUTO_REPEAT_MODE_DEFAULT = 2 } |
enum | xcb_blanking_t { XCB_BLANKING_NOT_PREFERRED = 0, XCB_BLANKING_PREFERRED = 1, XCB_BLANKING_DEFAULT = 2 } |
enum | xcb_exposures_t { XCB_EXPOSURES_NOT_ALLOWED = 0, XCB_EXPOSURES_ALLOWED = 1, XCB_EXPOSURES_DEFAULT = 2 } |
enum | xcb_host_mode_t { XCB_HOST_MODE_INSERT = 0, XCB_HOST_MODE_DELETE = 1 } |
enum | xcb_family_t { XCB_FAMILY_INTERNET = 0, XCB_FAMILY_DECNET = 1, XCB_FAMILY_CHAOS = 2, XCB_FAMILY_SERVER_INTERPRETED = 5, XCB_FAMILY_INTERNET_6 = 6 } |
enum | xcb_access_control_t { XCB_ACCESS_CONTROL_DISABLE = 0, XCB_ACCESS_CONTROL_ENABLE = 1 } |
enum | xcb_close_down_t { XCB_CLOSE_DOWN_DESTROY_ALL = 0, XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1, XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 } |
enum | xcb_kill_t { XCB_KILL_ALL_TEMPORARY = 0 } |
enum | xcb_screen_saver_t { XCB_SCREEN_SAVER_RESET = 0, XCB_SCREEN_SAVER_ACTIVE = 1 } |
enum | xcb_mapping_status_t { XCB_MAPPING_STATUS_SUCCESS = 0, XCB_MAPPING_STATUS_BUSY = 1, XCB_MAPPING_STATUS_FAILURE = 2 } |
enum | xcb_map_index_t { XCB_MAP_INDEX_SHIFT = 0, XCB_MAP_INDEX_LOCK = 1, XCB_MAP_INDEX_CONTROL = 2, XCB_MAP_INDEX_1 = 3, XCB_MAP_INDEX_2 = 4, XCB_MAP_INDEX_3 = 5, XCB_MAP_INDEX_4 = 6, XCB_MAP_INDEX_5 = 7 } |
Functions | |
void | xcb_char2b_next (xcb_char2b_iterator_t *i) |
xcb_generic_iterator_t | xcb_char2b_end (xcb_char2b_iterator_t i) |
void | xcb_window_next (xcb_window_iterator_t *i) |
xcb_generic_iterator_t | xcb_window_end (xcb_window_iterator_t i) |
void | xcb_pixmap_next (xcb_pixmap_iterator_t *i) |
xcb_generic_iterator_t | xcb_pixmap_end (xcb_pixmap_iterator_t i) |
void | xcb_cursor_next (xcb_cursor_iterator_t *i) |
xcb_generic_iterator_t | xcb_cursor_end (xcb_cursor_iterator_t i) |
void | xcb_font_next (xcb_font_iterator_t *i) |
xcb_generic_iterator_t | xcb_font_end (xcb_font_iterator_t i) |
void | xcb_gcontext_next (xcb_gcontext_iterator_t *i) |
xcb_generic_iterator_t | xcb_gcontext_end (xcb_gcontext_iterator_t i) |
void | xcb_colormap_next (xcb_colormap_iterator_t *i) |
xcb_generic_iterator_t | xcb_colormap_end (xcb_colormap_iterator_t i) |
void | xcb_atom_next (xcb_atom_iterator_t *i) |
xcb_generic_iterator_t | xcb_atom_end (xcb_atom_iterator_t i) |
void | xcb_drawable_next (xcb_drawable_iterator_t *i) |
xcb_generic_iterator_t | xcb_drawable_end (xcb_drawable_iterator_t i) |
void | xcb_fontable_next (xcb_fontable_iterator_t *i) |
xcb_generic_iterator_t | xcb_fontable_end (xcb_fontable_iterator_t i) |
void | xcb_bool32_next (xcb_bool32_iterator_t *i) |
xcb_generic_iterator_t | xcb_bool32_end (xcb_bool32_iterator_t i) |
void | xcb_visualid_next (xcb_visualid_iterator_t *i) |
xcb_generic_iterator_t | xcb_visualid_end (xcb_visualid_iterator_t i) |
void | xcb_timestamp_next (xcb_timestamp_iterator_t *i) |
xcb_generic_iterator_t | xcb_timestamp_end (xcb_timestamp_iterator_t i) |
void | xcb_keysym_next (xcb_keysym_iterator_t *i) |
xcb_generic_iterator_t | xcb_keysym_end (xcb_keysym_iterator_t i) |
void | xcb_keycode_next (xcb_keycode_iterator_t *i) |
xcb_generic_iterator_t | xcb_keycode_end (xcb_keycode_iterator_t i) |
void | xcb_keycode32_next (xcb_keycode32_iterator_t *i) |
xcb_generic_iterator_t | xcb_keycode32_end (xcb_keycode32_iterator_t i) |
void | xcb_button_next (xcb_button_iterator_t *i) |
xcb_generic_iterator_t | xcb_button_end (xcb_button_iterator_t i) |
void | xcb_point_next (xcb_point_iterator_t *i) |
xcb_generic_iterator_t | xcb_point_end (xcb_point_iterator_t i) |
void | xcb_rectangle_next (xcb_rectangle_iterator_t *i) |
xcb_generic_iterator_t | xcb_rectangle_end (xcb_rectangle_iterator_t i) |
void | xcb_arc_next (xcb_arc_iterator_t *i) |
xcb_generic_iterator_t | xcb_arc_end (xcb_arc_iterator_t i) |
void | xcb_format_next (xcb_format_iterator_t *i) |
xcb_generic_iterator_t | xcb_format_end (xcb_format_iterator_t i) |
void | xcb_visualtype_next (xcb_visualtype_iterator_t *i) |
xcb_generic_iterator_t | xcb_visualtype_end (xcb_visualtype_iterator_t i) |
int | xcb_depth_sizeof (const void *_buffer) |
xcb_visualtype_t * | xcb_depth_visuals (const xcb_depth_t *R) |
int | xcb_depth_visuals_length (const xcb_depth_t *R) |
xcb_visualtype_iterator_t | xcb_depth_visuals_iterator (const xcb_depth_t *R) |
void | xcb_depth_next (xcb_depth_iterator_t *i) |
xcb_generic_iterator_t | xcb_depth_end (xcb_depth_iterator_t i) |
int | xcb_screen_sizeof (const void *_buffer) |
int | xcb_screen_allowed_depths_length (const xcb_screen_t *R) |
xcb_depth_iterator_t | xcb_screen_allowed_depths_iterator (const xcb_screen_t *R) |
void | xcb_screen_next (xcb_screen_iterator_t *i) |
xcb_generic_iterator_t | xcb_screen_end (xcb_screen_iterator_t i) |
int | xcb_setup_request_sizeof (const void *_buffer) |
char * | xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R) |
int | xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R) |
xcb_generic_iterator_t | xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R) |
char * | xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R) |
int | xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R) |
xcb_generic_iterator_t | xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R) |
void | xcb_setup_request_next (xcb_setup_request_iterator_t *i) |
xcb_generic_iterator_t | xcb_setup_request_end (xcb_setup_request_iterator_t i) |
int | xcb_setup_failed_sizeof (const void *_buffer) |
char * | xcb_setup_failed_reason (const xcb_setup_failed_t *R) |
int | xcb_setup_failed_reason_length (const xcb_setup_failed_t *R) |
xcb_generic_iterator_t | xcb_setup_failed_reason_end (const xcb_setup_failed_t *R) |
void | xcb_setup_failed_next (xcb_setup_failed_iterator_t *i) |
xcb_generic_iterator_t | xcb_setup_failed_end (xcb_setup_failed_iterator_t i) |
int | xcb_setup_authenticate_sizeof (const void *_buffer) |
char * | xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R) |
int | xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R) |
xcb_generic_iterator_t | xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R) |
void | xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i) |
xcb_generic_iterator_t | xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i) |
int | xcb_setup_sizeof (const void *_buffer) |
char * | xcb_setup_vendor (const xcb_setup_t *R) |
int | xcb_setup_vendor_length (const xcb_setup_t *R) |
xcb_generic_iterator_t | xcb_setup_vendor_end (const xcb_setup_t *R) |
xcb_format_t * | xcb_setup_pixmap_formats (const xcb_setup_t *R) |
int | xcb_setup_pixmap_formats_length (const xcb_setup_t *R) |
xcb_format_iterator_t | xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R) |
int | xcb_setup_roots_length (const xcb_setup_t *R) |
xcb_screen_iterator_t | xcb_setup_roots_iterator (const xcb_setup_t *R) |
void | xcb_setup_next (xcb_setup_iterator_t *i) |
xcb_generic_iterator_t | xcb_setup_end (xcb_setup_iterator_t i) |
void | xcb_client_message_data_next (xcb_client_message_data_iterator_t *i) |
xcb_generic_iterator_t | xcb_client_message_data_end (xcb_client_message_data_iterator_t i) |
int | xcb_create_window_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_create_window_value_list_t *_aux) |
int | xcb_create_window_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_create_window_value_list_t *_aux) |
int | xcb_create_window_value_list_sizeof (const void *_buffer, uint32_t value_mask) |
int | xcb_create_window_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_create_window_checked (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const void *value_list) |
Creates a window. More... | |
xcb_void_cookie_t | xcb_create_window (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const void *value_list) |
Creates a window. More... | |
xcb_void_cookie_t | xcb_create_window_aux_checked (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const xcb_create_window_value_list_t *value_list) |
Creates a window. More... | |
xcb_void_cookie_t | xcb_create_window_aux (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const xcb_create_window_value_list_t *value_list) |
Creates a window. More... | |
void * | xcb_create_window_value_list (const xcb_create_window_request_t *R) |
int | xcb_change_window_attributes_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_change_window_attributes_value_list_t *_aux) |
int | xcb_change_window_attributes_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_change_window_attributes_value_list_t *_aux) |
int | xcb_change_window_attributes_value_list_sizeof (const void *_buffer, uint32_t value_mask) |
int | xcb_change_window_attributes_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_change_window_attributes_checked (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const void *value_list) |
change window attributes More... | |
xcb_void_cookie_t | xcb_change_window_attributes (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const void *value_list) |
change window attributes More... | |
xcb_void_cookie_t | xcb_change_window_attributes_aux_checked (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const xcb_change_window_attributes_value_list_t *value_list) |
change window attributes More... | |
xcb_void_cookie_t | xcb_change_window_attributes_aux (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const xcb_change_window_attributes_value_list_t *value_list) |
change window attributes More... | |
void * | xcb_change_window_attributes_value_list (const xcb_change_window_attributes_request_t *R) |
xcb_get_window_attributes_cookie_t | xcb_get_window_attributes (xcb_connection_t *c, xcb_window_t window) |
Gets window attributes. More... | |
xcb_get_window_attributes_cookie_t | xcb_get_window_attributes_unchecked (xcb_connection_t *c, xcb_window_t window) |
Gets window attributes. More... | |
xcb_get_window_attributes_reply_t * | xcb_get_window_attributes_reply (xcb_connection_t *c, xcb_get_window_attributes_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_destroy_window_checked (xcb_connection_t *c, xcb_window_t window) |
Destroys a window. More... | |
xcb_void_cookie_t | xcb_destroy_window (xcb_connection_t *c, xcb_window_t window) |
Destroys a window. More... | |
xcb_void_cookie_t | xcb_destroy_subwindows_checked (xcb_connection_t *c, xcb_window_t window) |
xcb_void_cookie_t | xcb_destroy_subwindows (xcb_connection_t *c, xcb_window_t window) |
xcb_void_cookie_t | xcb_change_save_set_checked (xcb_connection_t *c, uint8_t mode, xcb_window_t window) |
Changes a client's save set. More... | |
xcb_void_cookie_t | xcb_change_save_set (xcb_connection_t *c, uint8_t mode, xcb_window_t window) |
Changes a client's save set. More... | |
xcb_void_cookie_t | xcb_reparent_window_checked (xcb_connection_t *c, xcb_window_t window, xcb_window_t parent, int16_t x, int16_t y) |
Reparents a window. More... | |
xcb_void_cookie_t | xcb_reparent_window (xcb_connection_t *c, xcb_window_t window, xcb_window_t parent, int16_t x, int16_t y) |
Reparents a window. More... | |
xcb_void_cookie_t | xcb_map_window_checked (xcb_connection_t *c, xcb_window_t window) |
Makes a window visible. More... | |
xcb_void_cookie_t | xcb_map_window (xcb_connection_t *c, xcb_window_t window) |
Makes a window visible. More... | |
xcb_void_cookie_t | xcb_map_subwindows_checked (xcb_connection_t *c, xcb_window_t window) |
xcb_void_cookie_t | xcb_map_subwindows (xcb_connection_t *c, xcb_window_t window) |
xcb_void_cookie_t | xcb_unmap_window_checked (xcb_connection_t *c, xcb_window_t window) |
Makes a window invisible. More... | |
xcb_void_cookie_t | xcb_unmap_window (xcb_connection_t *c, xcb_window_t window) |
Makes a window invisible. More... | |
xcb_void_cookie_t | xcb_unmap_subwindows_checked (xcb_connection_t *c, xcb_window_t window) |
xcb_void_cookie_t | xcb_unmap_subwindows (xcb_connection_t *c, xcb_window_t window) |
int | xcb_configure_window_value_list_serialize (void **_buffer, uint16_t value_mask, const xcb_configure_window_value_list_t *_aux) |
int | xcb_configure_window_value_list_unpack (const void *_buffer, uint16_t value_mask, xcb_configure_window_value_list_t *_aux) |
int | xcb_configure_window_value_list_sizeof (const void *_buffer, uint16_t value_mask) |
int | xcb_configure_window_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_configure_window_checked (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const void *value_list) |
Configures window attributes. More... | |
xcb_void_cookie_t | xcb_configure_window (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const void *value_list) |
Configures window attributes. More... | |
xcb_void_cookie_t | xcb_configure_window_aux_checked (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const xcb_configure_window_value_list_t *value_list) |
Configures window attributes. More... | |
xcb_void_cookie_t | xcb_configure_window_aux (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const xcb_configure_window_value_list_t *value_list) |
Configures window attributes. More... | |
void * | xcb_configure_window_value_list (const xcb_configure_window_request_t *R) |
xcb_void_cookie_t | xcb_circulate_window_checked (xcb_connection_t *c, uint8_t direction, xcb_window_t window) |
Change window stacking order. More... | |
xcb_void_cookie_t | xcb_circulate_window (xcb_connection_t *c, uint8_t direction, xcb_window_t window) |
Change window stacking order. More... | |
xcb_get_geometry_cookie_t | xcb_get_geometry (xcb_connection_t *c, xcb_drawable_t drawable) |
Get current window geometry. More... | |
xcb_get_geometry_cookie_t | xcb_get_geometry_unchecked (xcb_connection_t *c, xcb_drawable_t drawable) |
Get current window geometry. More... | |
xcb_get_geometry_reply_t * | xcb_get_geometry_reply (xcb_connection_t *c, xcb_get_geometry_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_query_tree_sizeof (const void *_buffer) |
xcb_query_tree_cookie_t | xcb_query_tree (xcb_connection_t *c, xcb_window_t window) |
query the window tree More... | |
xcb_query_tree_cookie_t | xcb_query_tree_unchecked (xcb_connection_t *c, xcb_window_t window) |
query the window tree More... | |
xcb_window_t * | xcb_query_tree_children (const xcb_query_tree_reply_t *R) |
int | xcb_query_tree_children_length (const xcb_query_tree_reply_t *R) |
xcb_generic_iterator_t | xcb_query_tree_children_end (const xcb_query_tree_reply_t *R) |
xcb_query_tree_reply_t * | xcb_query_tree_reply (xcb_connection_t *c, xcb_query_tree_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_intern_atom_sizeof (const void *_buffer) |
xcb_intern_atom_cookie_t | xcb_intern_atom (xcb_connection_t *c, uint8_t only_if_exists, uint16_t name_len, const char *name) |
Get atom identifier by name. More... | |
xcb_intern_atom_cookie_t | xcb_intern_atom_unchecked (xcb_connection_t *c, uint8_t only_if_exists, uint16_t name_len, const char *name) |
Get atom identifier by name. More... | |
xcb_intern_atom_reply_t * | xcb_intern_atom_reply (xcb_connection_t *c, xcb_intern_atom_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_get_atom_name_sizeof (const void *_buffer) |
xcb_get_atom_name_cookie_t | xcb_get_atom_name (xcb_connection_t *c, xcb_atom_t atom) |
xcb_get_atom_name_cookie_t | xcb_get_atom_name_unchecked (xcb_connection_t *c, xcb_atom_t atom) |
char * | xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R) |
int | xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R) |
xcb_generic_iterator_t | xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R) |
xcb_get_atom_name_reply_t * | xcb_get_atom_name_reply (xcb_connection_t *c, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_change_property_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_change_property_checked (xcb_connection_t *c, uint8_t mode, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint8_t format, uint32_t data_len, const void *data) |
Changes a window property. More... | |
xcb_void_cookie_t | xcb_change_property (xcb_connection_t *c, uint8_t mode, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint8_t format, uint32_t data_len, const void *data) |
Changes a window property. More... | |
void * | xcb_change_property_data (const xcb_change_property_request_t *R) |
int | xcb_change_property_data_length (const xcb_change_property_request_t *R) |
xcb_generic_iterator_t | xcb_change_property_data_end (const xcb_change_property_request_t *R) |
xcb_void_cookie_t | xcb_delete_property_checked (xcb_connection_t *c, xcb_window_t window, xcb_atom_t property) |
xcb_void_cookie_t | xcb_delete_property (xcb_connection_t *c, xcb_window_t window, xcb_atom_t property) |
int | xcb_get_property_sizeof (const void *_buffer) |
xcb_get_property_cookie_t | xcb_get_property (xcb_connection_t *c, uint8_t _delete, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint32_t long_offset, uint32_t long_length) |
Gets a window property. More... | |
xcb_get_property_cookie_t | xcb_get_property_unchecked (xcb_connection_t *c, uint8_t _delete, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint32_t long_offset, uint32_t long_length) |
Gets a window property. More... | |
void * | xcb_get_property_value (const xcb_get_property_reply_t *R) |
int | xcb_get_property_value_length (const xcb_get_property_reply_t *R) |
xcb_generic_iterator_t | xcb_get_property_value_end (const xcb_get_property_reply_t *R) |
xcb_get_property_reply_t * | xcb_get_property_reply (xcb_connection_t *c, xcb_get_property_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_list_properties_sizeof (const void *_buffer) |
xcb_list_properties_cookie_t | xcb_list_properties (xcb_connection_t *c, xcb_window_t window) |
xcb_list_properties_cookie_t | xcb_list_properties_unchecked (xcb_connection_t *c, xcb_window_t window) |
xcb_atom_t * | xcb_list_properties_atoms (const xcb_list_properties_reply_t *R) |
int | xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R) |
xcb_generic_iterator_t | xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R) |
xcb_list_properties_reply_t * | xcb_list_properties_reply (xcb_connection_t *c, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_set_selection_owner_checked (xcb_connection_t *c, xcb_window_t owner, xcb_atom_t selection, xcb_timestamp_t time) |
Sets the owner of a selection. More... | |
xcb_void_cookie_t | xcb_set_selection_owner (xcb_connection_t *c, xcb_window_t owner, xcb_atom_t selection, xcb_timestamp_t time) |
Sets the owner of a selection. More... | |
xcb_get_selection_owner_cookie_t | xcb_get_selection_owner (xcb_connection_t *c, xcb_atom_t selection) |
Gets the owner of a selection. More... | |
xcb_get_selection_owner_cookie_t | xcb_get_selection_owner_unchecked (xcb_connection_t *c, xcb_atom_t selection) |
Gets the owner of a selection. More... | |
xcb_get_selection_owner_reply_t * | xcb_get_selection_owner_reply (xcb_connection_t *c, xcb_get_selection_owner_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_convert_selection_checked (xcb_connection_t *c, xcb_window_t requestor, xcb_atom_t selection, xcb_atom_t target, xcb_atom_t property, xcb_timestamp_t time) |
xcb_void_cookie_t | xcb_convert_selection (xcb_connection_t *c, xcb_window_t requestor, xcb_atom_t selection, xcb_atom_t target, xcb_atom_t property, xcb_timestamp_t time) |
xcb_void_cookie_t | xcb_send_event_checked (xcb_connection_t *c, uint8_t propagate, xcb_window_t destination, uint32_t event_mask, const char *event) |
send an event More... | |
xcb_void_cookie_t | xcb_send_event (xcb_connection_t *c, uint8_t propagate, xcb_window_t destination, uint32_t event_mask, const char *event) |
send an event More... | |
xcb_grab_pointer_cookie_t | xcb_grab_pointer (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, xcb_timestamp_t time) |
Grab the pointer. More... | |
xcb_grab_pointer_cookie_t | xcb_grab_pointer_unchecked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, xcb_timestamp_t time) |
Grab the pointer. More... | |
xcb_grab_pointer_reply_t * | xcb_grab_pointer_reply (xcb_connection_t *c, xcb_grab_pointer_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_ungrab_pointer_checked (xcb_connection_t *c, xcb_timestamp_t time) |
release the pointer More... | |
xcb_void_cookie_t | xcb_ungrab_pointer (xcb_connection_t *c, xcb_timestamp_t time) |
release the pointer More... | |
xcb_void_cookie_t | xcb_grab_button_checked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, uint8_t button, uint16_t modifiers) |
Grab pointer button(s) More... | |
xcb_void_cookie_t | xcb_grab_button (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, uint8_t button, uint16_t modifiers) |
Grab pointer button(s) More... | |
xcb_void_cookie_t | xcb_ungrab_button_checked (xcb_connection_t *c, uint8_t button, xcb_window_t grab_window, uint16_t modifiers) |
xcb_void_cookie_t | xcb_ungrab_button (xcb_connection_t *c, uint8_t button, xcb_window_t grab_window, uint16_t modifiers) |
xcb_void_cookie_t | xcb_change_active_pointer_grab_checked (xcb_connection_t *c, xcb_cursor_t cursor, xcb_timestamp_t time, uint16_t event_mask) |
xcb_void_cookie_t | xcb_change_active_pointer_grab (xcb_connection_t *c, xcb_cursor_t cursor, xcb_timestamp_t time, uint16_t event_mask) |
xcb_grab_keyboard_cookie_t | xcb_grab_keyboard (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode) |
Grab the keyboard. More... | |
xcb_grab_keyboard_cookie_t | xcb_grab_keyboard_unchecked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode) |
Grab the keyboard. More... | |
xcb_grab_keyboard_reply_t * | xcb_grab_keyboard_reply (xcb_connection_t *c, xcb_grab_keyboard_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_ungrab_keyboard_checked (xcb_connection_t *c, xcb_timestamp_t time) |
xcb_void_cookie_t | xcb_ungrab_keyboard (xcb_connection_t *c, xcb_timestamp_t time) |
xcb_void_cookie_t | xcb_grab_key_checked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t modifiers, xcb_keycode_t key, uint8_t pointer_mode, uint8_t keyboard_mode) |
Grab keyboard key(s) More... | |
xcb_void_cookie_t | xcb_grab_key (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t modifiers, xcb_keycode_t key, uint8_t pointer_mode, uint8_t keyboard_mode) |
Grab keyboard key(s) More... | |
xcb_void_cookie_t | xcb_ungrab_key_checked (xcb_connection_t *c, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers) |
release a key combination More... | |
xcb_void_cookie_t | xcb_ungrab_key (xcb_connection_t *c, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers) |
release a key combination More... | |
xcb_void_cookie_t | xcb_allow_events_checked (xcb_connection_t *c, uint8_t mode, xcb_timestamp_t time) |
release queued events More... | |
xcb_void_cookie_t | xcb_allow_events (xcb_connection_t *c, uint8_t mode, xcb_timestamp_t time) |
release queued events More... | |
xcb_void_cookie_t | xcb_grab_server_checked (xcb_connection_t *c) |
xcb_void_cookie_t | xcb_grab_server (xcb_connection_t *c) |
xcb_void_cookie_t | xcb_ungrab_server_checked (xcb_connection_t *c) |
xcb_void_cookie_t | xcb_ungrab_server (xcb_connection_t *c) |
xcb_query_pointer_cookie_t | xcb_query_pointer (xcb_connection_t *c, xcb_window_t window) |
get pointer coordinates More... | |
xcb_query_pointer_cookie_t | xcb_query_pointer_unchecked (xcb_connection_t *c, xcb_window_t window) |
get pointer coordinates More... | |
xcb_query_pointer_reply_t * | xcb_query_pointer_reply (xcb_connection_t *c, xcb_query_pointer_cookie_t cookie, xcb_generic_error_t **e) |
void | xcb_timecoord_next (xcb_timecoord_iterator_t *i) |
xcb_generic_iterator_t | xcb_timecoord_end (xcb_timecoord_iterator_t i) |
int | xcb_get_motion_events_sizeof (const void *_buffer) |
xcb_get_motion_events_cookie_t | xcb_get_motion_events (xcb_connection_t *c, xcb_window_t window, xcb_timestamp_t start, xcb_timestamp_t stop) |
xcb_get_motion_events_cookie_t | xcb_get_motion_events_unchecked (xcb_connection_t *c, xcb_window_t window, xcb_timestamp_t start, xcb_timestamp_t stop) |
xcb_timecoord_t * | xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R) |
int | xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R) |
xcb_timecoord_iterator_t | xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R) |
xcb_get_motion_events_reply_t * | xcb_get_motion_events_reply (xcb_connection_t *c, xcb_get_motion_events_cookie_t cookie, xcb_generic_error_t **e) |
xcb_translate_coordinates_cookie_t | xcb_translate_coordinates (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y) |
xcb_translate_coordinates_cookie_t | xcb_translate_coordinates_unchecked (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y) |
xcb_translate_coordinates_reply_t * | xcb_translate_coordinates_reply (xcb_connection_t *c, xcb_translate_coordinates_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_warp_pointer_checked (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y, uint16_t src_width, uint16_t src_height, int16_t dst_x, int16_t dst_y) |
move mouse pointer More... | |
xcb_void_cookie_t | xcb_warp_pointer (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y, uint16_t src_width, uint16_t src_height, int16_t dst_x, int16_t dst_y) |
move mouse pointer More... | |
xcb_void_cookie_t | xcb_set_input_focus_checked (xcb_connection_t *c, uint8_t revert_to, xcb_window_t focus, xcb_timestamp_t time) |
Sets input focus. More... | |
xcb_void_cookie_t | xcb_set_input_focus (xcb_connection_t *c, uint8_t revert_to, xcb_window_t focus, xcb_timestamp_t time) |
Sets input focus. More... | |
xcb_get_input_focus_cookie_t | xcb_get_input_focus (xcb_connection_t *c) |
xcb_get_input_focus_cookie_t | xcb_get_input_focus_unchecked (xcb_connection_t *c) |
xcb_get_input_focus_reply_t * | xcb_get_input_focus_reply (xcb_connection_t *c, xcb_get_input_focus_cookie_t cookie, xcb_generic_error_t **e) |
xcb_query_keymap_cookie_t | xcb_query_keymap (xcb_connection_t *c) |
xcb_query_keymap_cookie_t | xcb_query_keymap_unchecked (xcb_connection_t *c) |
xcb_query_keymap_reply_t * | xcb_query_keymap_reply (xcb_connection_t *c, xcb_query_keymap_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_open_font_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_open_font_checked (xcb_connection_t *c, xcb_font_t fid, uint16_t name_len, const char *name) |
opens a font More... | |
xcb_void_cookie_t | xcb_open_font (xcb_connection_t *c, xcb_font_t fid, uint16_t name_len, const char *name) |
opens a font More... | |
char * | xcb_open_font_name (const xcb_open_font_request_t *R) |
int | xcb_open_font_name_length (const xcb_open_font_request_t *R) |
xcb_generic_iterator_t | xcb_open_font_name_end (const xcb_open_font_request_t *R) |
xcb_void_cookie_t | xcb_close_font_checked (xcb_connection_t *c, xcb_font_t font) |
xcb_void_cookie_t | xcb_close_font (xcb_connection_t *c, xcb_font_t font) |
void | xcb_fontprop_next (xcb_fontprop_iterator_t *i) |
xcb_generic_iterator_t | xcb_fontprop_end (xcb_fontprop_iterator_t i) |
void | xcb_charinfo_next (xcb_charinfo_iterator_t *i) |
xcb_generic_iterator_t | xcb_charinfo_end (xcb_charinfo_iterator_t i) |
int | xcb_query_font_sizeof (const void *_buffer) |
xcb_query_font_cookie_t | xcb_query_font (xcb_connection_t *c, xcb_fontable_t font) |
query font metrics More... | |
xcb_query_font_cookie_t | xcb_query_font_unchecked (xcb_connection_t *c, xcb_fontable_t font) |
query font metrics More... | |
xcb_fontprop_t * | xcb_query_font_properties (const xcb_query_font_reply_t *R) |
int | xcb_query_font_properties_length (const xcb_query_font_reply_t *R) |
xcb_fontprop_iterator_t | xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R) |
xcb_charinfo_t * | xcb_query_font_char_infos (const xcb_query_font_reply_t *R) |
int | xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R) |
xcb_charinfo_iterator_t | xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R) |
xcb_query_font_reply_t * | xcb_query_font_reply (xcb_connection_t *c, xcb_query_font_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_query_text_extents_sizeof (const void *_buffer, uint32_t string_len) |
xcb_query_text_extents_cookie_t | xcb_query_text_extents (xcb_connection_t *c, xcb_fontable_t font, uint32_t string_len, const xcb_char2b_t *string) |
get text extents More... | |
xcb_query_text_extents_cookie_t | xcb_query_text_extents_unchecked (xcb_connection_t *c, xcb_fontable_t font, uint32_t string_len, const xcb_char2b_t *string) |
get text extents More... | |
xcb_query_text_extents_reply_t * | xcb_query_text_extents_reply (xcb_connection_t *c, xcb_query_text_extents_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_str_sizeof (const void *_buffer) |
char * | xcb_str_name (const xcb_str_t *R) |
int | xcb_str_name_length (const xcb_str_t *R) |
xcb_generic_iterator_t | xcb_str_name_end (const xcb_str_t *R) |
void | xcb_str_next (xcb_str_iterator_t *i) |
xcb_generic_iterator_t | xcb_str_end (xcb_str_iterator_t i) |
int | xcb_list_fonts_sizeof (const void *_buffer) |
xcb_list_fonts_cookie_t | xcb_list_fonts (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern) |
get matching font names More... | |
xcb_list_fonts_cookie_t | xcb_list_fonts_unchecked (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern) |
get matching font names More... | |
int | xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R) |
xcb_str_iterator_t | xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R) |
xcb_list_fonts_reply_t * | xcb_list_fonts_reply (xcb_connection_t *c, xcb_list_fonts_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_list_fonts_with_info_sizeof (const void *_buffer) |
xcb_list_fonts_with_info_cookie_t | xcb_list_fonts_with_info (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern) |
get matching font names and information More... | |
xcb_list_fonts_with_info_cookie_t | xcb_list_fonts_with_info_unchecked (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern) |
get matching font names and information More... | |
xcb_fontprop_t * | xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R) |
int | xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R) |
xcb_fontprop_iterator_t | xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R) |
char * | xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R) |
int | xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R) |
xcb_generic_iterator_t | xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R) |
xcb_list_fonts_with_info_reply_t * | xcb_list_fonts_with_info_reply (xcb_connection_t *c, xcb_list_fonts_with_info_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_set_font_path_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_set_font_path_checked (xcb_connection_t *c, uint16_t font_qty, const xcb_str_t *font) |
xcb_void_cookie_t | xcb_set_font_path (xcb_connection_t *c, uint16_t font_qty, const xcb_str_t *font) |
int | xcb_set_font_path_font_length (const xcb_set_font_path_request_t *R) |
xcb_str_iterator_t | xcb_set_font_path_font_iterator (const xcb_set_font_path_request_t *R) |
int | xcb_get_font_path_sizeof (const void *_buffer) |
xcb_get_font_path_cookie_t | xcb_get_font_path (xcb_connection_t *c) |
xcb_get_font_path_cookie_t | xcb_get_font_path_unchecked (xcb_connection_t *c) |
int | xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R) |
xcb_str_iterator_t | xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R) |
xcb_get_font_path_reply_t * | xcb_get_font_path_reply (xcb_connection_t *c, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_create_pixmap_checked (xcb_connection_t *c, uint8_t depth, xcb_pixmap_t pid, xcb_drawable_t drawable, uint16_t width, uint16_t height) |
Creates a pixmap. More... | |
xcb_void_cookie_t | xcb_create_pixmap (xcb_connection_t *c, uint8_t depth, xcb_pixmap_t pid, xcb_drawable_t drawable, uint16_t width, uint16_t height) |
Creates a pixmap. More... | |
xcb_void_cookie_t | xcb_free_pixmap_checked (xcb_connection_t *c, xcb_pixmap_t pixmap) |
Destroys a pixmap. More... | |
xcb_void_cookie_t | xcb_free_pixmap (xcb_connection_t *c, xcb_pixmap_t pixmap) |
Destroys a pixmap. More... | |
int | xcb_create_gc_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_create_gc_value_list_t *_aux) |
int | xcb_create_gc_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_create_gc_value_list_t *_aux) |
int | xcb_create_gc_value_list_sizeof (const void *_buffer, uint32_t value_mask) |
int | xcb_create_gc_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_create_gc_checked (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const void *value_list) |
Creates a graphics context. More... | |
xcb_void_cookie_t | xcb_create_gc (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const void *value_list) |
Creates a graphics context. More... | |
xcb_void_cookie_t | xcb_create_gc_aux_checked (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const xcb_create_gc_value_list_t *value_list) |
Creates a graphics context. More... | |
xcb_void_cookie_t | xcb_create_gc_aux (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const xcb_create_gc_value_list_t *value_list) |
Creates a graphics context. More... | |
void * | xcb_create_gc_value_list (const xcb_create_gc_request_t *R) |
int | xcb_change_gc_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_change_gc_value_list_t *_aux) |
int | xcb_change_gc_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_change_gc_value_list_t *_aux) |
int | xcb_change_gc_value_list_sizeof (const void *_buffer, uint32_t value_mask) |
int | xcb_change_gc_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_change_gc_checked (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const void *value_list) |
change graphics context components More... | |
xcb_void_cookie_t | xcb_change_gc (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const void *value_list) |
change graphics context components More... | |
xcb_void_cookie_t | xcb_change_gc_aux_checked (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const xcb_change_gc_value_list_t *value_list) |
change graphics context components More... | |
xcb_void_cookie_t | xcb_change_gc_aux (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const xcb_change_gc_value_list_t *value_list) |
change graphics context components More... | |
void * | xcb_change_gc_value_list (const xcb_change_gc_request_t *R) |
xcb_void_cookie_t | xcb_copy_gc_checked (xcb_connection_t *c, xcb_gcontext_t src_gc, xcb_gcontext_t dst_gc, uint32_t value_mask) |
xcb_void_cookie_t | xcb_copy_gc (xcb_connection_t *c, xcb_gcontext_t src_gc, xcb_gcontext_t dst_gc, uint32_t value_mask) |
int | xcb_set_dashes_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_set_dashes_checked (xcb_connection_t *c, xcb_gcontext_t gc, uint16_t dash_offset, uint16_t dashes_len, const uint8_t *dashes) |
xcb_void_cookie_t | xcb_set_dashes (xcb_connection_t *c, xcb_gcontext_t gc, uint16_t dash_offset, uint16_t dashes_len, const uint8_t *dashes) |
uint8_t * | xcb_set_dashes_dashes (const xcb_set_dashes_request_t *R) |
int | xcb_set_dashes_dashes_length (const xcb_set_dashes_request_t *R) |
xcb_generic_iterator_t | xcb_set_dashes_dashes_end (const xcb_set_dashes_request_t *R) |
int | xcb_set_clip_rectangles_sizeof (const void *_buffer, uint32_t rectangles_len) |
xcb_void_cookie_t | xcb_set_clip_rectangles_checked (xcb_connection_t *c, uint8_t ordering, xcb_gcontext_t gc, int16_t clip_x_origin, int16_t clip_y_origin, uint32_t rectangles_len, const xcb_rectangle_t *rectangles) |
xcb_void_cookie_t | xcb_set_clip_rectangles (xcb_connection_t *c, uint8_t ordering, xcb_gcontext_t gc, int16_t clip_x_origin, int16_t clip_y_origin, uint32_t rectangles_len, const xcb_rectangle_t *rectangles) |
xcb_rectangle_t * | xcb_set_clip_rectangles_rectangles (const xcb_set_clip_rectangles_request_t *R) |
int | xcb_set_clip_rectangles_rectangles_length (const xcb_set_clip_rectangles_request_t *R) |
xcb_rectangle_iterator_t | xcb_set_clip_rectangles_rectangles_iterator (const xcb_set_clip_rectangles_request_t *R) |
xcb_void_cookie_t | xcb_free_gc_checked (xcb_connection_t *c, xcb_gcontext_t gc) |
Destroys a graphics context. More... | |
xcb_void_cookie_t | xcb_free_gc (xcb_connection_t *c, xcb_gcontext_t gc) |
Destroys a graphics context. More... | |
xcb_void_cookie_t | xcb_clear_area_checked (xcb_connection_t *c, uint8_t exposures, xcb_window_t window, int16_t x, int16_t y, uint16_t width, uint16_t height) |
xcb_void_cookie_t | xcb_clear_area (xcb_connection_t *c, uint8_t exposures, xcb_window_t window, int16_t x, int16_t y, uint16_t width, uint16_t height) |
xcb_void_cookie_t | xcb_copy_area_checked (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height) |
copy areas More... | |
xcb_void_cookie_t | xcb_copy_area (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height) |
copy areas More... | |
xcb_void_cookie_t | xcb_copy_plane_checked (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height, uint32_t bit_plane) |
xcb_void_cookie_t | xcb_copy_plane (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height, uint32_t bit_plane) |
int | xcb_poly_point_sizeof (const void *_buffer, uint32_t points_len) |
xcb_void_cookie_t | xcb_poly_point_checked (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points) |
xcb_void_cookie_t | xcb_poly_point (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points) |
xcb_point_t * | xcb_poly_point_points (const xcb_poly_point_request_t *R) |
int | xcb_poly_point_points_length (const xcb_poly_point_request_t *R) |
xcb_point_iterator_t | xcb_poly_point_points_iterator (const xcb_poly_point_request_t *R) |
int | xcb_poly_line_sizeof (const void *_buffer, uint32_t points_len) |
xcb_void_cookie_t | xcb_poly_line_checked (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points) |
draw lines More... | |
xcb_void_cookie_t | xcb_poly_line (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points) |
draw lines More... | |
xcb_point_t * | xcb_poly_line_points (const xcb_poly_line_request_t *R) |
int | xcb_poly_line_points_length (const xcb_poly_line_request_t *R) |
xcb_point_iterator_t | xcb_poly_line_points_iterator (const xcb_poly_line_request_t *R) |
void | xcb_segment_next (xcb_segment_iterator_t *i) |
xcb_generic_iterator_t | xcb_segment_end (xcb_segment_iterator_t i) |
int | xcb_poly_segment_sizeof (const void *_buffer, uint32_t segments_len) |
xcb_void_cookie_t | xcb_poly_segment_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t segments_len, const xcb_segment_t *segments) |
draw lines More... | |
xcb_void_cookie_t | xcb_poly_segment (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t segments_len, const xcb_segment_t *segments) |
draw lines More... | |
xcb_segment_t * | xcb_poly_segment_segments (const xcb_poly_segment_request_t *R) |
int | xcb_poly_segment_segments_length (const xcb_poly_segment_request_t *R) |
xcb_segment_iterator_t | xcb_poly_segment_segments_iterator (const xcb_poly_segment_request_t *R) |
int | xcb_poly_rectangle_sizeof (const void *_buffer, uint32_t rectangles_len) |
xcb_void_cookie_t | xcb_poly_rectangle_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles) |
xcb_void_cookie_t | xcb_poly_rectangle (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles) |
xcb_rectangle_t * | xcb_poly_rectangle_rectangles (const xcb_poly_rectangle_request_t *R) |
int | xcb_poly_rectangle_rectangles_length (const xcb_poly_rectangle_request_t *R) |
xcb_rectangle_iterator_t | xcb_poly_rectangle_rectangles_iterator (const xcb_poly_rectangle_request_t *R) |
int | xcb_poly_arc_sizeof (const void *_buffer, uint32_t arcs_len) |
xcb_void_cookie_t | xcb_poly_arc_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs) |
xcb_void_cookie_t | xcb_poly_arc (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs) |
xcb_arc_t * | xcb_poly_arc_arcs (const xcb_poly_arc_request_t *R) |
int | xcb_poly_arc_arcs_length (const xcb_poly_arc_request_t *R) |
xcb_arc_iterator_t | xcb_poly_arc_arcs_iterator (const xcb_poly_arc_request_t *R) |
int | xcb_fill_poly_sizeof (const void *_buffer, uint32_t points_len) |
xcb_void_cookie_t | xcb_fill_poly_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint8_t shape, uint8_t coordinate_mode, uint32_t points_len, const xcb_point_t *points) |
xcb_void_cookie_t | xcb_fill_poly (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint8_t shape, uint8_t coordinate_mode, uint32_t points_len, const xcb_point_t *points) |
xcb_point_t * | xcb_fill_poly_points (const xcb_fill_poly_request_t *R) |
int | xcb_fill_poly_points_length (const xcb_fill_poly_request_t *R) |
xcb_point_iterator_t | xcb_fill_poly_points_iterator (const xcb_fill_poly_request_t *R) |
int | xcb_poly_fill_rectangle_sizeof (const void *_buffer, uint32_t rectangles_len) |
xcb_void_cookie_t | xcb_poly_fill_rectangle_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles) |
Fills rectangles. More... | |
xcb_void_cookie_t | xcb_poly_fill_rectangle (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles) |
Fills rectangles. More... | |
xcb_rectangle_t * | xcb_poly_fill_rectangle_rectangles (const xcb_poly_fill_rectangle_request_t *R) |
int | xcb_poly_fill_rectangle_rectangles_length (const xcb_poly_fill_rectangle_request_t *R) |
xcb_rectangle_iterator_t | xcb_poly_fill_rectangle_rectangles_iterator (const xcb_poly_fill_rectangle_request_t *R) |
int | xcb_poly_fill_arc_sizeof (const void *_buffer, uint32_t arcs_len) |
xcb_void_cookie_t | xcb_poly_fill_arc_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs) |
xcb_void_cookie_t | xcb_poly_fill_arc (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs) |
xcb_arc_t * | xcb_poly_fill_arc_arcs (const xcb_poly_fill_arc_request_t *R) |
int | xcb_poly_fill_arc_arcs_length (const xcb_poly_fill_arc_request_t *R) |
xcb_arc_iterator_t | xcb_poly_fill_arc_arcs_iterator (const xcb_poly_fill_arc_request_t *R) |
int | xcb_put_image_sizeof (const void *_buffer, uint32_t data_len) |
xcb_void_cookie_t | xcb_put_image_checked (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t width, uint16_t height, int16_t dst_x, int16_t dst_y, uint8_t left_pad, uint8_t depth, uint32_t data_len, const uint8_t *data) |
xcb_void_cookie_t | xcb_put_image (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t width, uint16_t height, int16_t dst_x, int16_t dst_y, uint8_t left_pad, uint8_t depth, uint32_t data_len, const uint8_t *data) |
uint8_t * | xcb_put_image_data (const xcb_put_image_request_t *R) |
int | xcb_put_image_data_length (const xcb_put_image_request_t *R) |
xcb_generic_iterator_t | xcb_put_image_data_end (const xcb_put_image_request_t *R) |
int | xcb_get_image_sizeof (const void *_buffer) |
xcb_get_image_cookie_t | xcb_get_image (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint32_t plane_mask) |
xcb_get_image_cookie_t | xcb_get_image_unchecked (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint32_t plane_mask) |
uint8_t * | xcb_get_image_data (const xcb_get_image_reply_t *R) |
int | xcb_get_image_data_length (const xcb_get_image_reply_t *R) |
xcb_generic_iterator_t | xcb_get_image_data_end (const xcb_get_image_reply_t *R) |
xcb_get_image_reply_t * | xcb_get_image_reply (xcb_connection_t *c, xcb_get_image_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_poly_text_8_sizeof (const void *_buffer, uint32_t items_len) |
xcb_void_cookie_t | xcb_poly_text_8_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items) |
xcb_void_cookie_t | xcb_poly_text_8 (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items) |
uint8_t * | xcb_poly_text_8_items (const xcb_poly_text_8_request_t *R) |
int | xcb_poly_text_8_items_length (const xcb_poly_text_8_request_t *R) |
xcb_generic_iterator_t | xcb_poly_text_8_items_end (const xcb_poly_text_8_request_t *R) |
int | xcb_poly_text_16_sizeof (const void *_buffer, uint32_t items_len) |
xcb_void_cookie_t | xcb_poly_text_16_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items) |
xcb_void_cookie_t | xcb_poly_text_16 (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items) |
uint8_t * | xcb_poly_text_16_items (const xcb_poly_text_16_request_t *R) |
int | xcb_poly_text_16_items_length (const xcb_poly_text_16_request_t *R) |
xcb_generic_iterator_t | xcb_poly_text_16_items_end (const xcb_poly_text_16_request_t *R) |
int | xcb_image_text_8_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_image_text_8_checked (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const char *string) |
Draws text. More... | |
xcb_void_cookie_t | xcb_image_text_8 (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const char *string) |
Draws text. More... | |
char * | xcb_image_text_8_string (const xcb_image_text_8_request_t *R) |
int | xcb_image_text_8_string_length (const xcb_image_text_8_request_t *R) |
xcb_generic_iterator_t | xcb_image_text_8_string_end (const xcb_image_text_8_request_t *R) |
int | xcb_image_text_16_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_image_text_16_checked (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const xcb_char2b_t *string) |
Draws text. More... | |
xcb_void_cookie_t | xcb_image_text_16 (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const xcb_char2b_t *string) |
Draws text. More... | |
xcb_char2b_t * | xcb_image_text_16_string (const xcb_image_text_16_request_t *R) |
int | xcb_image_text_16_string_length (const xcb_image_text_16_request_t *R) |
xcb_char2b_iterator_t | xcb_image_text_16_string_iterator (const xcb_image_text_16_request_t *R) |
xcb_void_cookie_t | xcb_create_colormap_checked (xcb_connection_t *c, uint8_t alloc, xcb_colormap_t mid, xcb_window_t window, xcb_visualid_t visual) |
xcb_void_cookie_t | xcb_create_colormap (xcb_connection_t *c, uint8_t alloc, xcb_colormap_t mid, xcb_window_t window, xcb_visualid_t visual) |
xcb_void_cookie_t | xcb_free_colormap_checked (xcb_connection_t *c, xcb_colormap_t cmap) |
xcb_void_cookie_t | xcb_free_colormap (xcb_connection_t *c, xcb_colormap_t cmap) |
xcb_void_cookie_t | xcb_copy_colormap_and_free_checked (xcb_connection_t *c, xcb_colormap_t mid, xcb_colormap_t src_cmap) |
xcb_void_cookie_t | xcb_copy_colormap_and_free (xcb_connection_t *c, xcb_colormap_t mid, xcb_colormap_t src_cmap) |
xcb_void_cookie_t | xcb_install_colormap_checked (xcb_connection_t *c, xcb_colormap_t cmap) |
xcb_void_cookie_t | xcb_install_colormap (xcb_connection_t *c, xcb_colormap_t cmap) |
xcb_void_cookie_t | xcb_uninstall_colormap_checked (xcb_connection_t *c, xcb_colormap_t cmap) |
xcb_void_cookie_t | xcb_uninstall_colormap (xcb_connection_t *c, xcb_colormap_t cmap) |
int | xcb_list_installed_colormaps_sizeof (const void *_buffer) |
xcb_list_installed_colormaps_cookie_t | xcb_list_installed_colormaps (xcb_connection_t *c, xcb_window_t window) |
xcb_list_installed_colormaps_cookie_t | xcb_list_installed_colormaps_unchecked (xcb_connection_t *c, xcb_window_t window) |
xcb_colormap_t * | xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R) |
int | xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R) |
xcb_generic_iterator_t | xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R) |
xcb_list_installed_colormaps_reply_t * | xcb_list_installed_colormaps_reply (xcb_connection_t *c, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e) |
xcb_alloc_color_cookie_t | xcb_alloc_color (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t red, uint16_t green, uint16_t blue) |
Allocate a color. More... | |
xcb_alloc_color_cookie_t | xcb_alloc_color_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t red, uint16_t green, uint16_t blue) |
Allocate a color. More... | |
xcb_alloc_color_reply_t * | xcb_alloc_color_reply (xcb_connection_t *c, xcb_alloc_color_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_alloc_named_color_sizeof (const void *_buffer) |
xcb_alloc_named_color_cookie_t | xcb_alloc_named_color (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name) |
xcb_alloc_named_color_cookie_t | xcb_alloc_named_color_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name) |
xcb_alloc_named_color_reply_t * | xcb_alloc_named_color_reply (xcb_connection_t *c, xcb_alloc_named_color_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_alloc_color_cells_sizeof (const void *_buffer) |
xcb_alloc_color_cells_cookie_t | xcb_alloc_color_cells (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t planes) |
xcb_alloc_color_cells_cookie_t | xcb_alloc_color_cells_unchecked (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t planes) |
uint32_t * | xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R) |
int | xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R) |
xcb_generic_iterator_t | xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R) |
uint32_t * | xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R) |
int | xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R) |
xcb_generic_iterator_t | xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R) |
xcb_alloc_color_cells_reply_t * | xcb_alloc_color_cells_reply (xcb_connection_t *c, xcb_alloc_color_cells_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_alloc_color_planes_sizeof (const void *_buffer) |
xcb_alloc_color_planes_cookie_t | xcb_alloc_color_planes (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t reds, uint16_t greens, uint16_t blues) |
xcb_alloc_color_planes_cookie_t | xcb_alloc_color_planes_unchecked (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t reds, uint16_t greens, uint16_t blues) |
uint32_t * | xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R) |
int | xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R) |
xcb_generic_iterator_t | xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R) |
xcb_alloc_color_planes_reply_t * | xcb_alloc_color_planes_reply (xcb_connection_t *c, xcb_alloc_color_planes_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_free_colors_sizeof (const void *_buffer, uint32_t pixels_len) |
xcb_void_cookie_t | xcb_free_colors_checked (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t plane_mask, uint32_t pixels_len, const uint32_t *pixels) |
xcb_void_cookie_t | xcb_free_colors (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t plane_mask, uint32_t pixels_len, const uint32_t *pixels) |
uint32_t * | xcb_free_colors_pixels (const xcb_free_colors_request_t *R) |
int | xcb_free_colors_pixels_length (const xcb_free_colors_request_t *R) |
xcb_generic_iterator_t | xcb_free_colors_pixels_end (const xcb_free_colors_request_t *R) |
void | xcb_coloritem_next (xcb_coloritem_iterator_t *i) |
xcb_generic_iterator_t | xcb_coloritem_end (xcb_coloritem_iterator_t i) |
int | xcb_store_colors_sizeof (const void *_buffer, uint32_t items_len) |
xcb_void_cookie_t | xcb_store_colors_checked (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t items_len, const xcb_coloritem_t *items) |
xcb_void_cookie_t | xcb_store_colors (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t items_len, const xcb_coloritem_t *items) |
xcb_coloritem_t * | xcb_store_colors_items (const xcb_store_colors_request_t *R) |
int | xcb_store_colors_items_length (const xcb_store_colors_request_t *R) |
xcb_coloritem_iterator_t | xcb_store_colors_items_iterator (const xcb_store_colors_request_t *R) |
int | xcb_store_named_color_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_store_named_color_checked (xcb_connection_t *c, uint8_t flags, xcb_colormap_t cmap, uint32_t pixel, uint16_t name_len, const char *name) |
xcb_void_cookie_t | xcb_store_named_color (xcb_connection_t *c, uint8_t flags, xcb_colormap_t cmap, uint32_t pixel, uint16_t name_len, const char *name) |
char * | xcb_store_named_color_name (const xcb_store_named_color_request_t *R) |
int | xcb_store_named_color_name_length (const xcb_store_named_color_request_t *R) |
xcb_generic_iterator_t | xcb_store_named_color_name_end (const xcb_store_named_color_request_t *R) |
void | xcb_rgb_next (xcb_rgb_iterator_t *i) |
xcb_generic_iterator_t | xcb_rgb_end (xcb_rgb_iterator_t i) |
int | xcb_query_colors_sizeof (const void *_buffer, uint32_t pixels_len) |
xcb_query_colors_cookie_t | xcb_query_colors (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels) |
xcb_query_colors_cookie_t | xcb_query_colors_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels) |
xcb_rgb_t * | xcb_query_colors_colors (const xcb_query_colors_reply_t *R) |
int | xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R) |
xcb_rgb_iterator_t | xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R) |
xcb_query_colors_reply_t * | xcb_query_colors_reply (xcb_connection_t *c, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_lookup_color_sizeof (const void *_buffer) |
xcb_lookup_color_cookie_t | xcb_lookup_color (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name) |
xcb_lookup_color_cookie_t | xcb_lookup_color_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name) |
xcb_lookup_color_reply_t * | xcb_lookup_color_reply (xcb_connection_t *c, xcb_lookup_color_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_create_cursor_checked (xcb_connection_t *c, xcb_cursor_t cid, xcb_pixmap_t source, xcb_pixmap_t mask, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue, uint16_t x, uint16_t y) |
xcb_void_cookie_t | xcb_create_cursor (xcb_connection_t *c, xcb_cursor_t cid, xcb_pixmap_t source, xcb_pixmap_t mask, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue, uint16_t x, uint16_t y) |
xcb_void_cookie_t | xcb_create_glyph_cursor_checked (xcb_connection_t *c, xcb_cursor_t cid, xcb_font_t source_font, xcb_font_t mask_font, uint16_t source_char, uint16_t mask_char, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue) |
create cursor More... | |
xcb_void_cookie_t | xcb_create_glyph_cursor (xcb_connection_t *c, xcb_cursor_t cid, xcb_font_t source_font, xcb_font_t mask_font, uint16_t source_char, uint16_t mask_char, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue) |
create cursor More... | |
xcb_void_cookie_t | xcb_free_cursor_checked (xcb_connection_t *c, xcb_cursor_t cursor) |
Deletes a cursor. More... | |
xcb_void_cookie_t | xcb_free_cursor (xcb_connection_t *c, xcb_cursor_t cursor) |
Deletes a cursor. More... | |
xcb_void_cookie_t | xcb_recolor_cursor_checked (xcb_connection_t *c, xcb_cursor_t cursor, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue) |
xcb_void_cookie_t | xcb_recolor_cursor (xcb_connection_t *c, xcb_cursor_t cursor, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue) |
xcb_query_best_size_cookie_t | xcb_query_best_size (xcb_connection_t *c, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height) |
xcb_query_best_size_cookie_t | xcb_query_best_size_unchecked (xcb_connection_t *c, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height) |
xcb_query_best_size_reply_t * | xcb_query_best_size_reply (xcb_connection_t *c, xcb_query_best_size_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_query_extension_sizeof (const void *_buffer) |
xcb_query_extension_cookie_t | xcb_query_extension (xcb_connection_t *c, uint16_t name_len, const char *name) |
check if extension is present More... | |
xcb_query_extension_cookie_t | xcb_query_extension_unchecked (xcb_connection_t *c, uint16_t name_len, const char *name) |
check if extension is present More... | |
xcb_query_extension_reply_t * | xcb_query_extension_reply (xcb_connection_t *c, xcb_query_extension_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_list_extensions_sizeof (const void *_buffer) |
xcb_list_extensions_cookie_t | xcb_list_extensions (xcb_connection_t *c) |
xcb_list_extensions_cookie_t | xcb_list_extensions_unchecked (xcb_connection_t *c) |
int | xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R) |
xcb_str_iterator_t | xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R) |
xcb_list_extensions_reply_t * | xcb_list_extensions_reply (xcb_connection_t *c, xcb_list_extensions_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_change_keyboard_mapping_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_change_keyboard_mapping_checked (xcb_connection_t *c, uint8_t keycode_count, xcb_keycode_t first_keycode, uint8_t keysyms_per_keycode, const xcb_keysym_t *keysyms) |
xcb_void_cookie_t | xcb_change_keyboard_mapping (xcb_connection_t *c, uint8_t keycode_count, xcb_keycode_t first_keycode, uint8_t keysyms_per_keycode, const xcb_keysym_t *keysyms) |
xcb_keysym_t * | xcb_change_keyboard_mapping_keysyms (const xcb_change_keyboard_mapping_request_t *R) |
int | xcb_change_keyboard_mapping_keysyms_length (const xcb_change_keyboard_mapping_request_t *R) |
xcb_generic_iterator_t | xcb_change_keyboard_mapping_keysyms_end (const xcb_change_keyboard_mapping_request_t *R) |
int | xcb_get_keyboard_mapping_sizeof (const void *_buffer) |
xcb_get_keyboard_mapping_cookie_t | xcb_get_keyboard_mapping (xcb_connection_t *c, xcb_keycode_t first_keycode, uint8_t count) |
xcb_get_keyboard_mapping_cookie_t | xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c, xcb_keycode_t first_keycode, uint8_t count) |
xcb_keysym_t * | xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R) |
int | xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R) |
xcb_generic_iterator_t | xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R) |
xcb_get_keyboard_mapping_reply_t * | xcb_get_keyboard_mapping_reply (xcb_connection_t *c, xcb_get_keyboard_mapping_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_change_keyboard_control_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_change_keyboard_control_value_list_t *_aux) |
int | xcb_change_keyboard_control_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_change_keyboard_control_value_list_t *_aux) |
int | xcb_change_keyboard_control_value_list_sizeof (const void *_buffer, uint32_t value_mask) |
int | xcb_change_keyboard_control_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_change_keyboard_control_checked (xcb_connection_t *c, uint32_t value_mask, const void *value_list) |
xcb_void_cookie_t | xcb_change_keyboard_control (xcb_connection_t *c, uint32_t value_mask, const void *value_list) |
xcb_void_cookie_t | xcb_change_keyboard_control_aux_checked (xcb_connection_t *c, uint32_t value_mask, const xcb_change_keyboard_control_value_list_t *value_list) |
xcb_void_cookie_t | xcb_change_keyboard_control_aux (xcb_connection_t *c, uint32_t value_mask, const xcb_change_keyboard_control_value_list_t *value_list) |
void * | xcb_change_keyboard_control_value_list (const xcb_change_keyboard_control_request_t *R) |
xcb_get_keyboard_control_cookie_t | xcb_get_keyboard_control (xcb_connection_t *c) |
xcb_get_keyboard_control_cookie_t | xcb_get_keyboard_control_unchecked (xcb_connection_t *c) |
xcb_get_keyboard_control_reply_t * | xcb_get_keyboard_control_reply (xcb_connection_t *c, xcb_get_keyboard_control_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_bell_checked (xcb_connection_t *c, int8_t percent) |
xcb_void_cookie_t | xcb_bell (xcb_connection_t *c, int8_t percent) |
xcb_void_cookie_t | xcb_change_pointer_control_checked (xcb_connection_t *c, int16_t acceleration_numerator, int16_t acceleration_denominator, int16_t threshold, uint8_t do_acceleration, uint8_t do_threshold) |
xcb_void_cookie_t | xcb_change_pointer_control (xcb_connection_t *c, int16_t acceleration_numerator, int16_t acceleration_denominator, int16_t threshold, uint8_t do_acceleration, uint8_t do_threshold) |
xcb_get_pointer_control_cookie_t | xcb_get_pointer_control (xcb_connection_t *c) |
xcb_get_pointer_control_cookie_t | xcb_get_pointer_control_unchecked (xcb_connection_t *c) |
xcb_get_pointer_control_reply_t * | xcb_get_pointer_control_reply (xcb_connection_t *c, xcb_get_pointer_control_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_set_screen_saver_checked (xcb_connection_t *c, int16_t timeout, int16_t interval, uint8_t prefer_blanking, uint8_t allow_exposures) |
xcb_void_cookie_t | xcb_set_screen_saver (xcb_connection_t *c, int16_t timeout, int16_t interval, uint8_t prefer_blanking, uint8_t allow_exposures) |
xcb_get_screen_saver_cookie_t | xcb_get_screen_saver (xcb_connection_t *c) |
xcb_get_screen_saver_cookie_t | xcb_get_screen_saver_unchecked (xcb_connection_t *c) |
xcb_get_screen_saver_reply_t * | xcb_get_screen_saver_reply (xcb_connection_t *c, xcb_get_screen_saver_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_change_hosts_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_change_hosts_checked (xcb_connection_t *c, uint8_t mode, uint8_t family, uint16_t address_len, const uint8_t *address) |
xcb_void_cookie_t | xcb_change_hosts (xcb_connection_t *c, uint8_t mode, uint8_t family, uint16_t address_len, const uint8_t *address) |
uint8_t * | xcb_change_hosts_address (const xcb_change_hosts_request_t *R) |
int | xcb_change_hosts_address_length (const xcb_change_hosts_request_t *R) |
xcb_generic_iterator_t | xcb_change_hosts_address_end (const xcb_change_hosts_request_t *R) |
int | xcb_host_sizeof (const void *_buffer) |
uint8_t * | xcb_host_address (const xcb_host_t *R) |
int | xcb_host_address_length (const xcb_host_t *R) |
xcb_generic_iterator_t | xcb_host_address_end (const xcb_host_t *R) |
void | xcb_host_next (xcb_host_iterator_t *i) |
xcb_generic_iterator_t | xcb_host_end (xcb_host_iterator_t i) |
int | xcb_list_hosts_sizeof (const void *_buffer) |
xcb_list_hosts_cookie_t | xcb_list_hosts (xcb_connection_t *c) |
xcb_list_hosts_cookie_t | xcb_list_hosts_unchecked (xcb_connection_t *c) |
int | xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R) |
xcb_host_iterator_t | xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R) |
xcb_list_hosts_reply_t * | xcb_list_hosts_reply (xcb_connection_t *c, xcb_list_hosts_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_set_access_control_checked (xcb_connection_t *c, uint8_t mode) |
xcb_void_cookie_t | xcb_set_access_control (xcb_connection_t *c, uint8_t mode) |
xcb_void_cookie_t | xcb_set_close_down_mode_checked (xcb_connection_t *c, uint8_t mode) |
xcb_void_cookie_t | xcb_set_close_down_mode (xcb_connection_t *c, uint8_t mode) |
xcb_void_cookie_t | xcb_kill_client_checked (xcb_connection_t *c, uint32_t resource) |
kills a client More... | |
xcb_void_cookie_t | xcb_kill_client (xcb_connection_t *c, uint32_t resource) |
kills a client More... | |
int | xcb_rotate_properties_sizeof (const void *_buffer) |
xcb_void_cookie_t | xcb_rotate_properties_checked (xcb_connection_t *c, xcb_window_t window, uint16_t atoms_len, int16_t delta, const xcb_atom_t *atoms) |
xcb_void_cookie_t | xcb_rotate_properties (xcb_connection_t *c, xcb_window_t window, uint16_t atoms_len, int16_t delta, const xcb_atom_t *atoms) |
xcb_atom_t * | xcb_rotate_properties_atoms (const xcb_rotate_properties_request_t *R) |
int | xcb_rotate_properties_atoms_length (const xcb_rotate_properties_request_t *R) |
xcb_generic_iterator_t | xcb_rotate_properties_atoms_end (const xcb_rotate_properties_request_t *R) |
xcb_void_cookie_t | xcb_force_screen_saver_checked (xcb_connection_t *c, uint8_t mode) |
xcb_void_cookie_t | xcb_force_screen_saver (xcb_connection_t *c, uint8_t mode) |
int | xcb_set_pointer_mapping_sizeof (const void *_buffer) |
xcb_set_pointer_mapping_cookie_t | xcb_set_pointer_mapping (xcb_connection_t *c, uint8_t map_len, const uint8_t *map) |
xcb_set_pointer_mapping_cookie_t | xcb_set_pointer_mapping_unchecked (xcb_connection_t *c, uint8_t map_len, const uint8_t *map) |
xcb_set_pointer_mapping_reply_t * | xcb_set_pointer_mapping_reply (xcb_connection_t *c, xcb_set_pointer_mapping_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_get_pointer_mapping_sizeof (const void *_buffer) |
xcb_get_pointer_mapping_cookie_t | xcb_get_pointer_mapping (xcb_connection_t *c) |
xcb_get_pointer_mapping_cookie_t | xcb_get_pointer_mapping_unchecked (xcb_connection_t *c) |
uint8_t * | xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R) |
int | xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R) |
xcb_generic_iterator_t | xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R) |
xcb_get_pointer_mapping_reply_t * | xcb_get_pointer_mapping_reply (xcb_connection_t *c, xcb_get_pointer_mapping_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_set_modifier_mapping_sizeof (const void *_buffer) |
xcb_set_modifier_mapping_cookie_t | xcb_set_modifier_mapping (xcb_connection_t *c, uint8_t keycodes_per_modifier, const xcb_keycode_t *keycodes) |
xcb_set_modifier_mapping_cookie_t | xcb_set_modifier_mapping_unchecked (xcb_connection_t *c, uint8_t keycodes_per_modifier, const xcb_keycode_t *keycodes) |
xcb_set_modifier_mapping_reply_t * | xcb_set_modifier_mapping_reply (xcb_connection_t *c, xcb_set_modifier_mapping_cookie_t cookie, xcb_generic_error_t **e) |
int | xcb_get_modifier_mapping_sizeof (const void *_buffer) |
xcb_get_modifier_mapping_cookie_t | xcb_get_modifier_mapping (xcb_connection_t *c) |
xcb_get_modifier_mapping_cookie_t | xcb_get_modifier_mapping_unchecked (xcb_connection_t *c) |
xcb_keycode_t * | xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R) |
int | xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R) |
xcb_generic_iterator_t | xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R) |
xcb_get_modifier_mapping_reply_t * | xcb_get_modifier_mapping_reply (xcb_connection_t *c, xcb_get_modifier_mapping_cookie_t cookie, xcb_generic_error_t **e) |
xcb_void_cookie_t | xcb_no_operation_checked (xcb_connection_t *c) |
xcb_void_cookie_t | xcb_no_operation (xcb_connection_t *c) |
XCB Protocol Implementation.
#define XCB_ACCESS 10 |
Opcode for xcb_access.
#define XCB_ALLOC 11 |
Opcode for xcb_alloc.
#define XCB_ALLOC_COLOR 84 |
Opcode for xcb_alloc_color.
Referenced by xcb_alloc_color(), and xcb_alloc_color_unchecked().
#define XCB_ALLOC_COLOR_CELLS 86 |
Opcode for xcb_alloc_color_cells.
Referenced by xcb_alloc_color_cells(), and xcb_alloc_color_cells_unchecked().
#define XCB_ALLOC_COLOR_PLANES 87 |
Opcode for xcb_alloc_color_planes.
Referenced by xcb_alloc_color_planes(), and xcb_alloc_color_planes_unchecked().
#define XCB_ALLOC_NAMED_COLOR 85 |
Opcode for xcb_alloc_named_color.
Referenced by xcb_alloc_named_color(), and xcb_alloc_named_color_unchecked().
#define XCB_ALLOW_EVENTS 35 |
Opcode for xcb_allow_events.
Referenced by xcb_allow_events(), and xcb_allow_events_checked().
#define XCB_ATOM 5 |
Opcode for xcb_atom.
#define XCB_BELL 104 |
Opcode for xcb_bell.
Referenced by xcb_bell(), and xcb_bell_checked().
#define XCB_BUTTON_PRESS 4 |
Opcode for xcb_button_press.
#define XCB_BUTTON_RELEASE 5 |
Opcode for xcb_button_release.
#define XCB_CHANGE_ACTIVE_POINTER_GRAB 30 |
Opcode for xcb_change_active_pointer_grab.
Referenced by xcb_change_active_pointer_grab(), and xcb_change_active_pointer_grab_checked().
#define XCB_CHANGE_GC 56 |
Opcode for xcb_change_gc.
Referenced by xcb_change_gc(), xcb_change_gc_aux(), xcb_change_gc_aux_checked(), and xcb_change_gc_checked().
#define XCB_CHANGE_HOSTS 109 |
Opcode for xcb_change_hosts.
Referenced by xcb_change_hosts(), and xcb_change_hosts_checked().
#define XCB_CHANGE_KEYBOARD_CONTROL 102 |
Opcode for xcb_change_keyboard_control.
Referenced by xcb_change_keyboard_control(), xcb_change_keyboard_control_aux(), xcb_change_keyboard_control_aux_checked(), and xcb_change_keyboard_control_checked().
#define XCB_CHANGE_KEYBOARD_MAPPING 100 |
Opcode for xcb_change_keyboard_mapping.
Referenced by xcb_change_keyboard_mapping(), and xcb_change_keyboard_mapping_checked().
#define XCB_CHANGE_POINTER_CONTROL 105 |
Opcode for xcb_change_pointer_control.
Referenced by xcb_change_pointer_control(), and xcb_change_pointer_control_checked().
#define XCB_CHANGE_PROPERTY 18 |
Opcode for xcb_change_property.
Referenced by xcb_change_property(), and xcb_change_property_checked().
#define XCB_CHANGE_SAVE_SET 6 |
Opcode for xcb_change_save_set.
Referenced by xcb_change_save_set(), and xcb_change_save_set_checked().
#define XCB_CHANGE_WINDOW_ATTRIBUTES 2 |
Opcode for xcb_change_window_attributes.
Referenced by xcb_change_window_attributes(), xcb_change_window_attributes_aux(), xcb_change_window_attributes_aux_checked(), and xcb_change_window_attributes_checked().
#define XCB_CIRCULATE_NOTIFY 26 |
Opcode for xcb_circulate_notify.
#define XCB_CIRCULATE_REQUEST 27 |
Opcode for xcb_circulate_request.
#define XCB_CIRCULATE_WINDOW 13 |
Opcode for xcb_circulate_window.
Referenced by xcb_circulate_window(), and xcb_circulate_window_checked().
#define XCB_CLEAR_AREA 61 |
Opcode for xcb_clear_area.
Referenced by xcb_clear_area(), and xcb_clear_area_checked().
#define XCB_CLIENT_MESSAGE 33 |
Opcode for xcb_client_message.
#define XCB_CLOSE_FONT 46 |
Opcode for xcb_close_font.
Referenced by xcb_close_font(), and xcb_close_font_checked().
#define XCB_COLORMAP 12 |
Opcode for xcb_colormap.
#define XCB_COLORMAP_NOTIFY 32 |
Opcode for xcb_colormap_notify.
#define XCB_CONFIGURE_NOTIFY 22 |
Opcode for xcb_configure_notify.
#define XCB_CONFIGURE_REQUEST 23 |
Opcode for xcb_configure_request.
#define XCB_CONFIGURE_WINDOW 12 |
Opcode for xcb_configure_window.
Referenced by xcb_configure_window(), xcb_configure_window_aux(), xcb_configure_window_aux_checked(), and xcb_configure_window_checked().
#define XCB_CONVERT_SELECTION 24 |
Opcode for xcb_convert_selection.
Referenced by xcb_convert_selection(), and xcb_convert_selection_checked().
#define XCB_COPY_AREA 62 |
Opcode for xcb_copy_area.
Referenced by xcb_copy_area(), and xcb_copy_area_checked().
#define XCB_COPY_COLORMAP_AND_FREE 80 |
Opcode for xcb_copy_colormap_and_free.
Referenced by xcb_copy_colormap_and_free(), and xcb_copy_colormap_and_free_checked().
#define XCB_COPY_GC 57 |
Opcode for xcb_copy_gc.
Referenced by xcb_copy_gc(), and xcb_copy_gc_checked().
#define XCB_COPY_PLANE 63 |
Opcode for xcb_copy_plane.
Referenced by xcb_copy_plane(), and xcb_copy_plane_checked().
#define XCB_CREATE_COLORMAP 78 |
Opcode for xcb_create_colormap.
Referenced by xcb_create_colormap(), and xcb_create_colormap_checked().
#define XCB_CREATE_CURSOR 93 |
Opcode for xcb_create_cursor.
Referenced by xcb_create_cursor(), and xcb_create_cursor_checked().
#define XCB_CREATE_GC 55 |
Opcode for xcb_create_gc.
Referenced by xcb_create_gc(), xcb_create_gc_aux(), xcb_create_gc_aux_checked(), and xcb_create_gc_checked().
#define XCB_CREATE_GLYPH_CURSOR 94 |
Opcode for xcb_create_glyph_cursor.
Referenced by xcb_create_glyph_cursor(), and xcb_create_glyph_cursor_checked().
#define XCB_CREATE_NOTIFY 16 |
Opcode for xcb_create_notify.
#define XCB_CREATE_PIXMAP 53 |
Opcode for xcb_create_pixmap.
Referenced by xcb_create_pixmap(), and xcb_create_pixmap_checked().
#define XCB_CREATE_WINDOW 1 |
Opcode for xcb_create_window.
Referenced by xcb_create_window(), xcb_create_window_aux(), xcb_create_window_aux_checked(), and xcb_create_window_checked().
#define XCB_CURSOR 6 |
Opcode for xcb_cursor.
#define XCB_DELETE_PROPERTY 19 |
Opcode for xcb_delete_property.
Referenced by xcb_delete_property(), and xcb_delete_property_checked().
#define XCB_DESTROY_NOTIFY 17 |
Opcode for xcb_destroy_notify.
#define XCB_DESTROY_SUBWINDOWS 5 |
Opcode for xcb_destroy_subwindows.
Referenced by xcb_destroy_subwindows(), and xcb_destroy_subwindows_checked().
#define XCB_DESTROY_WINDOW 4 |
Opcode for xcb_destroy_window.
Referenced by xcb_destroy_window(), and xcb_destroy_window_checked().
#define XCB_DRAWABLE 9 |
Opcode for xcb_drawable.
#define XCB_ENTER_NOTIFY 7 |
Opcode for xcb_enter_notify.
#define XCB_EXPOSE 12 |
Opcode for xcb_expose.
#define XCB_FILL_POLY 69 |
Opcode for xcb_fill_poly.
Referenced by xcb_fill_poly(), and xcb_fill_poly_checked().
#define XCB_FOCUS_IN 9 |
Opcode for xcb_focus_in.
#define XCB_FOCUS_OUT 10 |
Opcode for xcb_focus_out.
#define XCB_FONT 7 |
Opcode for xcb_font.
#define XCB_FORCE_SCREEN_SAVER 115 |
Opcode for xcb_force_screen_saver.
Referenced by xcb_force_screen_saver(), and xcb_force_screen_saver_checked().
#define XCB_FREE_COLORMAP 79 |
Opcode for xcb_free_colormap.
Referenced by xcb_free_colormap(), and xcb_free_colormap_checked().
#define XCB_FREE_COLORS 88 |
Opcode for xcb_free_colors.
Referenced by xcb_free_colors(), and xcb_free_colors_checked().
#define XCB_FREE_CURSOR 95 |
Opcode for xcb_free_cursor.
Referenced by xcb_free_cursor(), and xcb_free_cursor_checked().
#define XCB_FREE_GC 60 |
Opcode for xcb_free_gc.
Referenced by xcb_free_gc(), and xcb_free_gc_checked().
#define XCB_FREE_PIXMAP 54 |
Opcode for xcb_free_pixmap.
Referenced by xcb_free_pixmap(), and xcb_free_pixmap_checked().
#define XCB_G_CONTEXT 13 |
Opcode for xcb_g_context.
#define XCB_GE_GENERIC 35 |
Opcode for xcb_ge_generic.
#define XCB_GET_ATOM_NAME 17 |
Opcode for xcb_get_atom_name.
Referenced by xcb_get_atom_name(), and xcb_get_atom_name_unchecked().
#define XCB_GET_FONT_PATH 52 |
Opcode for xcb_get_font_path.
Referenced by xcb_get_font_path(), and xcb_get_font_path_unchecked().
#define XCB_GET_GEOMETRY 14 |
Opcode for xcb_get_geometry.
Referenced by xcb_get_geometry(), and xcb_get_geometry_unchecked().
#define XCB_GET_IMAGE 73 |
Opcode for xcb_get_image.
Referenced by xcb_get_image(), and xcb_get_image_unchecked().
#define XCB_GET_INPUT_FOCUS 43 |
Opcode for xcb_get_input_focus.
Referenced by xcb_get_input_focus(), and xcb_get_input_focus_unchecked().
#define XCB_GET_KEYBOARD_CONTROL 103 |
Opcode for xcb_get_keyboard_control.
Referenced by xcb_get_keyboard_control(), and xcb_get_keyboard_control_unchecked().
#define XCB_GET_KEYBOARD_MAPPING 101 |
Opcode for xcb_get_keyboard_mapping.
Referenced by xcb_get_keyboard_mapping(), and xcb_get_keyboard_mapping_unchecked().
#define XCB_GET_MODIFIER_MAPPING 119 |
Opcode for xcb_get_modifier_mapping.
Referenced by xcb_get_modifier_mapping(), and xcb_get_modifier_mapping_unchecked().
#define XCB_GET_MOTION_EVENTS 39 |
Opcode for xcb_get_motion_events.
Referenced by xcb_get_motion_events(), and xcb_get_motion_events_unchecked().
#define XCB_GET_POINTER_CONTROL 106 |
Opcode for xcb_get_pointer_control.
Referenced by xcb_get_pointer_control(), and xcb_get_pointer_control_unchecked().
#define XCB_GET_POINTER_MAPPING 117 |
Opcode for xcb_get_pointer_mapping.
Referenced by xcb_get_pointer_mapping(), and xcb_get_pointer_mapping_unchecked().
#define XCB_GET_PROPERTY 20 |
Opcode for xcb_get_property.
Referenced by xcb_get_property(), and xcb_get_property_unchecked().
#define XCB_GET_SCREEN_SAVER 108 |
Opcode for xcb_get_screen_saver.
Referenced by xcb_get_screen_saver(), and xcb_get_screen_saver_unchecked().
#define XCB_GET_SELECTION_OWNER 23 |
Opcode for xcb_get_selection_owner.
Referenced by xcb_get_selection_owner(), and xcb_get_selection_owner_unchecked().
#define XCB_GET_WINDOW_ATTRIBUTES 3 |
Opcode for xcb_get_window_attributes.
Referenced by xcb_get_window_attributes(), and xcb_get_window_attributes_unchecked().
#define XCB_GRAB_BUTTON 28 |
Opcode for xcb_grab_button.
Referenced by xcb_grab_button(), and xcb_grab_button_checked().
#define XCB_GRAB_KEY 33 |
Opcode for xcb_grab_key.
Referenced by xcb_grab_key(), and xcb_grab_key_checked().
#define XCB_GRAB_KEYBOARD 31 |
Opcode for xcb_grab_keyboard.
Referenced by xcb_grab_keyboard(), and xcb_grab_keyboard_unchecked().
#define XCB_GRAB_POINTER 26 |
Opcode for xcb_grab_pointer.
Referenced by xcb_grab_pointer(), and xcb_grab_pointer_unchecked().
#define XCB_GRAB_SERVER 36 |
Opcode for xcb_grab_server.
Referenced by xcb_grab_server(), and xcb_grab_server_checked().
#define XCB_GRAPHICS_EXPOSURE 13 |
Opcode for xcb_graphics_exposure.
#define XCB_GRAVITY_NOTIFY 24 |
Opcode for xcb_gravity_notify.
#define XCB_ID_CHOICE 14 |
Opcode for xcb_id_choice.
#define XCB_IMAGE_TEXT_16 77 |
Opcode for xcb_image_text_16.
Referenced by xcb_image_text_16(), and xcb_image_text_16_checked().
#define XCB_IMAGE_TEXT_8 76 |
Opcode for xcb_image_text_8.
Referenced by xcb_image_text_8(), and xcb_image_text_8_checked().
#define XCB_IMPLEMENTATION 17 |
Opcode for xcb_implementation.
#define XCB_INSTALL_COLORMAP 81 |
Opcode for xcb_install_colormap.
Referenced by xcb_install_colormap(), and xcb_install_colormap_checked().
#define XCB_INTERN_ATOM 16 |
Opcode for xcb_intern_atom.
Referenced by xcb_intern_atom(), and xcb_intern_atom_unchecked().
#define XCB_KEY_PRESS 2 |
Opcode for xcb_key_press.
#define XCB_KEY_RELEASE 3 |
Opcode for xcb_key_release.
#define XCB_KEYMAP_NOTIFY 11 |
Opcode for xcb_keymap_notify.
#define XCB_KILL_CLIENT 113 |
Opcode for xcb_kill_client.
Referenced by xcb_kill_client(), and xcb_kill_client_checked().
#define XCB_LEAVE_NOTIFY 8 |
Opcode for xcb_leave_notify.
#define XCB_LENGTH 16 |
Opcode for xcb_length.
#define XCB_LIST_EXTENSIONS 99 |
Opcode for xcb_list_extensions.
Referenced by xcb_list_extensions(), and xcb_list_extensions_unchecked().
#define XCB_LIST_FONTS 49 |
Opcode for xcb_list_fonts.
Referenced by xcb_list_fonts(), and xcb_list_fonts_unchecked().
#define XCB_LIST_FONTS_WITH_INFO 50 |
Opcode for xcb_list_fonts_with_info.
Referenced by xcb_list_fonts_with_info(), and xcb_list_fonts_with_info_unchecked().
#define XCB_LIST_HOSTS 110 |
Opcode for xcb_list_hosts.
Referenced by xcb_list_hosts(), and xcb_list_hosts_unchecked().
#define XCB_LIST_INSTALLED_COLORMAPS 83 |
Opcode for xcb_list_installed_colormaps.
Referenced by xcb_list_installed_colormaps(), and xcb_list_installed_colormaps_unchecked().
#define XCB_LIST_PROPERTIES 21 |
Opcode for xcb_list_properties.
Referenced by xcb_list_properties(), and xcb_list_properties_unchecked().
#define XCB_LOOKUP_COLOR 92 |
Opcode for xcb_lookup_color.
Referenced by xcb_lookup_color(), and xcb_lookup_color_unchecked().
#define XCB_MAP_NOTIFY 19 |
Opcode for xcb_map_notify.
#define XCB_MAP_REQUEST 20 |
Opcode for xcb_map_request.
#define XCB_MAP_SUBWINDOWS 9 |
Opcode for xcb_map_subwindows.
Referenced by xcb_map_subwindows(), and xcb_map_subwindows_checked().
#define XCB_MAP_WINDOW 8 |
Opcode for xcb_map_window.
Referenced by xcb_map_window(), and xcb_map_window_checked().
#define XCB_MAPPING_NOTIFY 34 |
Opcode for xcb_mapping_notify.
#define XCB_MATCH 8 |
Opcode for xcb_match.
#define XCB_MOTION_NOTIFY 6 |
Opcode for xcb_motion_notify.
#define XCB_NAME 15 |
Opcode for xcb_name.
#define XCB_NO_EXPOSURE 14 |
Opcode for xcb_no_exposure.
#define XCB_NO_OPERATION 127 |
Opcode for xcb_no_operation.
Referenced by xcb_no_operation(), and xcb_no_operation_checked().
#define XCB_OPEN_FONT 45 |
Opcode for xcb_open_font.
Referenced by xcb_open_font(), and xcb_open_font_checked().
#define XCB_PIXMAP 4 |
Opcode for xcb_pixmap.
#define XCB_POLY_ARC 68 |
Opcode for xcb_poly_arc.
Referenced by xcb_poly_arc(), and xcb_poly_arc_checked().
#define XCB_POLY_FILL_ARC 71 |
Opcode for xcb_poly_fill_arc.
Referenced by xcb_poly_fill_arc(), and xcb_poly_fill_arc_checked().
#define XCB_POLY_FILL_RECTANGLE 70 |
Opcode for xcb_poly_fill_rectangle.
Referenced by xcb_poly_fill_rectangle(), and xcb_poly_fill_rectangle_checked().
#define XCB_POLY_LINE 65 |
Opcode for xcb_poly_line.
Referenced by xcb_poly_line(), and xcb_poly_line_checked().
#define XCB_POLY_POINT 64 |
Opcode for xcb_poly_point.
Referenced by xcb_poly_point(), and xcb_poly_point_checked().
#define XCB_POLY_RECTANGLE 67 |
Opcode for xcb_poly_rectangle.
Referenced by xcb_poly_rectangle(), and xcb_poly_rectangle_checked().
#define XCB_POLY_SEGMENT 66 |
Opcode for xcb_poly_segment.
Referenced by xcb_poly_segment(), and xcb_poly_segment_checked().
#define XCB_POLY_TEXT_16 75 |
Opcode for xcb_poly_text_16.
Referenced by xcb_poly_text_16(), and xcb_poly_text_16_checked().
#define XCB_POLY_TEXT_8 74 |
Opcode for xcb_poly_text_8.
Referenced by xcb_poly_text_8(), and xcb_poly_text_8_checked().
#define XCB_PROPERTY_NOTIFY 28 |
Opcode for xcb_property_notify.
#define XCB_PUT_IMAGE 72 |
Opcode for xcb_put_image.
Referenced by xcb_put_image(), and xcb_put_image_checked().
#define XCB_QUERY_BEST_SIZE 97 |
Opcode for xcb_query_best_size.
Referenced by xcb_query_best_size(), and xcb_query_best_size_unchecked().
#define XCB_QUERY_COLORS 91 |
Opcode for xcb_query_colors.
Referenced by xcb_query_colors(), and xcb_query_colors_unchecked().
#define XCB_QUERY_EXTENSION 98 |
Opcode for xcb_query_extension.
Referenced by xcb_query_extension(), and xcb_query_extension_unchecked().
#define XCB_QUERY_FONT 47 |
Opcode for xcb_query_font.
Referenced by xcb_query_font(), and xcb_query_font_unchecked().
#define XCB_QUERY_KEYMAP 44 |
Opcode for xcb_query_keymap.
Referenced by xcb_query_keymap(), and xcb_query_keymap_unchecked().
#define XCB_QUERY_POINTER 38 |
Opcode for xcb_query_pointer.
Referenced by xcb_query_pointer(), and xcb_query_pointer_unchecked().
#define XCB_QUERY_TEXT_EXTENTS 48 |
Opcode for xcb_query_text_extents.
Referenced by xcb_query_text_extents(), and xcb_query_text_extents_unchecked().
#define XCB_QUERY_TREE 15 |
Opcode for xcb_query_tree.
Referenced by xcb_query_tree(), and xcb_query_tree_unchecked().
#define XCB_RECOLOR_CURSOR 96 |
Opcode for xcb_recolor_cursor.
Referenced by xcb_recolor_cursor(), and xcb_recolor_cursor_checked().
#define XCB_REPARENT_NOTIFY 21 |
Opcode for xcb_reparent_notify.
#define XCB_REPARENT_WINDOW 7 |
Opcode for xcb_reparent_window.
Referenced by xcb_reparent_window(), and xcb_reparent_window_checked().
#define XCB_REQUEST 1 |
Opcode for xcb_request.
#define XCB_RESIZE_REQUEST 25 |
Opcode for xcb_resize_request.
#define XCB_ROTATE_PROPERTIES 114 |
Opcode for xcb_rotate_properties.
Referenced by xcb_rotate_properties(), and xcb_rotate_properties_checked().
#define XCB_SELECTION_CLEAR 29 |
Opcode for xcb_selection_clear.
#define XCB_SELECTION_NOTIFY 31 |
Opcode for xcb_selection_notify.
#define XCB_SELECTION_REQUEST 30 |
Opcode for xcb_selection_request.
#define XCB_SEND_EVENT 25 |
Opcode for xcb_send_event.
Referenced by xcb_send_event(), and xcb_send_event_checked().
#define XCB_SET_ACCESS_CONTROL 111 |
Opcode for xcb_set_access_control.
Referenced by xcb_set_access_control(), and xcb_set_access_control_checked().
#define XCB_SET_CLIP_RECTANGLES 59 |
Opcode for xcb_set_clip_rectangles.
Referenced by xcb_set_clip_rectangles(), and xcb_set_clip_rectangles_checked().
#define XCB_SET_CLOSE_DOWN_MODE 112 |
Opcode for xcb_set_close_down_mode.
Referenced by xcb_set_close_down_mode(), and xcb_set_close_down_mode_checked().
#define XCB_SET_DASHES 58 |
Opcode for xcb_set_dashes.
Referenced by xcb_set_dashes(), and xcb_set_dashes_checked().
#define XCB_SET_FONT_PATH 51 |
Opcode for xcb_set_font_path.
Referenced by xcb_set_font_path(), and xcb_set_font_path_checked().
#define XCB_SET_INPUT_FOCUS 42 |
Opcode for xcb_set_input_focus.
Referenced by xcb_set_input_focus(), and xcb_set_input_focus_checked().
#define XCB_SET_MODIFIER_MAPPING 118 |
Opcode for xcb_set_modifier_mapping.
Referenced by xcb_set_modifier_mapping(), and xcb_set_modifier_mapping_unchecked().
#define XCB_SET_POINTER_MAPPING 116 |
Opcode for xcb_set_pointer_mapping.
Referenced by xcb_set_pointer_mapping(), and xcb_set_pointer_mapping_unchecked().
#define XCB_SET_SCREEN_SAVER 107 |
Opcode for xcb_set_screen_saver.
Referenced by xcb_set_screen_saver(), and xcb_set_screen_saver_checked().
#define XCB_SET_SELECTION_OWNER 22 |
Opcode for xcb_set_selection_owner.
Referenced by xcb_set_selection_owner(), and xcb_set_selection_owner_checked().
#define XCB_STORE_COLORS 89 |
Opcode for xcb_store_colors.
Referenced by xcb_store_colors(), and xcb_store_colors_checked().
#define XCB_STORE_NAMED_COLOR 90 |
Opcode for xcb_store_named_color.
Referenced by xcb_store_named_color(), and xcb_store_named_color_checked().
#define XCB_TRANSLATE_COORDINATES 40 |
Opcode for xcb_translate_coordinates.
Referenced by xcb_translate_coordinates(), and xcb_translate_coordinates_unchecked().
#define XCB_UNGRAB_BUTTON 29 |
Opcode for xcb_ungrab_button.
Referenced by xcb_ungrab_button(), and xcb_ungrab_button_checked().
#define XCB_UNGRAB_KEY 34 |
Opcode for xcb_ungrab_key.
Referenced by xcb_ungrab_key(), and xcb_ungrab_key_checked().
#define XCB_UNGRAB_KEYBOARD 32 |
Opcode for xcb_ungrab_keyboard.
Referenced by xcb_ungrab_keyboard(), and xcb_ungrab_keyboard_checked().
#define XCB_UNGRAB_POINTER 27 |
Opcode for xcb_ungrab_pointer.
Referenced by xcb_ungrab_pointer(), and xcb_ungrab_pointer_checked().
#define XCB_UNGRAB_SERVER 37 |
Opcode for xcb_ungrab_server.
Referenced by xcb_ungrab_server(), and xcb_ungrab_server_checked().
#define XCB_UNINSTALL_COLORMAP 82 |
Opcode for xcb_uninstall_colormap.
Referenced by xcb_uninstall_colormap(), and xcb_uninstall_colormap_checked().
#define XCB_UNMAP_NOTIFY 18 |
Opcode for xcb_unmap_notify.
#define XCB_UNMAP_SUBWINDOWS 11 |
Opcode for xcb_unmap_subwindows.
Referenced by xcb_unmap_subwindows(), and xcb_unmap_subwindows_checked().
#define XCB_UNMAP_WINDOW 10 |
Opcode for xcb_unmap_window.
Referenced by xcb_unmap_window(), and xcb_unmap_window_checked().
#define XCB_VALUE 2 |
Opcode for xcb_value.
#define XCB_VISIBILITY_NOTIFY 15 |
Opcode for xcb_visibility_notify.
#define XCB_WARP_POINTER 41 |
Opcode for xcb_warp_pointer.
Referenced by xcb_warp_pointer(), and xcb_warp_pointer_checked().
#define XCB_WINDOW 3 |
Opcode for xcb_window.
enum xcb_allow_t |
enum xcb_button_index_t |
enum xcb_colormap_state_t |
enum xcb_coord_mode_t |
enum xcb_cw_t |
enum xcb_gc_t |
enum xcb_grab_mode_t |
enum xcb_input_focus_t |
enum xcb_place_t |
enum xcb_prop_mode_t |
xcb_alloc_color_cookie_t xcb_alloc_color | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint16_t | red, | ||
uint16_t | green, | ||
uint16_t | blue | ||
) |
Allocate a color.
c | The connection |
cmap | TODO |
red | The red value of your color. |
green | The green value of your color. |
blue | The blue value of your color. |
Allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware. If you are using TrueColor, you can take a shortcut and directly calculate the color pixel value to avoid the round trip. But, for example, on 16-bit color setups (VNC), you can easily get the closest supported RGB value to the RGB value you are specifying.
References XCB_ALLOC_COLOR.
xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells | ( | xcb_connection_t * | c, |
uint8_t | contiguous, | ||
xcb_colormap_t | cmap, | ||
uint16_t | colors, | ||
uint16_t | planes | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_ALLOC_COLOR_CELLS.
xcb_alloc_color_cells_reply_t* xcb_alloc_color_cells_reply | ( | xcb_connection_t * | c, |
xcb_alloc_color_cells_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_alloc_color_cells_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked | ( | xcb_connection_t * | c, |
uint8_t | contiguous, | ||
xcb_colormap_t | cmap, | ||
uint16_t | colors, | ||
uint16_t | planes | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_ALLOC_COLOR_CELLS.
xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes | ( | xcb_connection_t * | c, |
uint8_t | contiguous, | ||
xcb_colormap_t | cmap, | ||
uint16_t | colors, | ||
uint16_t | reds, | ||
uint16_t | greens, | ||
uint16_t | blues | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_ALLOC_COLOR_PLANES.
xcb_alloc_color_planes_reply_t* xcb_alloc_color_planes_reply | ( | xcb_connection_t * | c, |
xcb_alloc_color_planes_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_alloc_color_planes_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked | ( | xcb_connection_t * | c, |
uint8_t | contiguous, | ||
xcb_colormap_t | cmap, | ||
uint16_t | colors, | ||
uint16_t | reds, | ||
uint16_t | greens, | ||
uint16_t | blues | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_ALLOC_COLOR_PLANES.
xcb_alloc_color_reply_t* xcb_alloc_color_reply | ( | xcb_connection_t * | c, |
xcb_alloc_color_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_alloc_color_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_alloc_color_cookie_t xcb_alloc_color_unchecked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint16_t | red, | ||
uint16_t | green, | ||
uint16_t | blue | ||
) |
Allocate a color.
c | The connection |
cmap | TODO |
red | The red value of your color. |
green | The green value of your color. |
blue | The blue value of your color. |
Allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware. If you are using TrueColor, you can take a shortcut and directly calculate the color pixel value to avoid the round trip. But, for example, on 16-bit color setups (VNC), you can easily get the closest supported RGB value to the RGB value you are specifying.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_ALLOC_COLOR.
xcb_alloc_named_color_cookie_t xcb_alloc_named_color | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_ALLOC_NAMED_COLOR.
xcb_alloc_named_color_reply_t* xcb_alloc_named_color_reply | ( | xcb_connection_t * | c, |
xcb_alloc_named_color_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_alloc_named_color_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_ALLOC_NAMED_COLOR.
xcb_void_cookie_t xcb_allow_events | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
xcb_timestamp_t | time | ||
) |
release queued events
c | The connection |
mode | A bitmask of xcb_allow_t values. |
mode | |
time | Timestamp to avoid race conditions when running X over the network. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Releases queued events if the client has caused a device (pointer/keyboard) to freeze due to grabbing it actively. This request has no effect if time is earlier than the last-grab time of the most recent active grab for this client or if time is later than the current X server time.
References XCB_ALLOW_EVENTS.
xcb_void_cookie_t xcb_allow_events_checked | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
xcb_timestamp_t | time | ||
) |
release queued events
c | The connection |
mode | A bitmask of xcb_allow_t values. |
mode | |
time | Timestamp to avoid race conditions when running X over the network. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Releases queued events if the client has caused a device (pointer/keyboard) to freeze due to grabbing it actively. This request has no effect if time is earlier than the last-grab time of the most recent active grab for this client or if time is later than the current X server time.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_ALLOW_EVENTS.
xcb_generic_iterator_t xcb_arc_end | ( | xcb_arc_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_arc_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_arc_next | ( | xcb_arc_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_arc_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_arc_t)
xcb_generic_iterator_t xcb_atom_end | ( | xcb_atom_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_atom_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_atom_next | ( | xcb_atom_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_atom_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_atom_t)
xcb_void_cookie_t xcb_bell | ( | xcb_connection_t * | c, |
int8_t | percent | ||
) |
xcb_void_cookie_t xcb_bell_checked | ( | xcb_connection_t * | c, |
int8_t | percent | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_BELL.
xcb_generic_iterator_t xcb_bool32_end | ( | xcb_bool32_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_bool32_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_bool32_next | ( | xcb_bool32_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_bool32_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_bool32_t)
xcb_generic_iterator_t xcb_button_end | ( | xcb_button_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_button_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_button_next | ( | xcb_button_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_button_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_button_t)
xcb_void_cookie_t xcb_change_active_pointer_grab | ( | xcb_connection_t * | c, |
xcb_cursor_t | cursor, | ||
xcb_timestamp_t | time, | ||
uint16_t | event_mask | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CHANGE_ACTIVE_POINTER_GRAB.
xcb_void_cookie_t xcb_change_active_pointer_grab_checked | ( | xcb_connection_t * | c, |
xcb_cursor_t | cursor, | ||
xcb_timestamp_t | time, | ||
uint16_t | event_mask | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_ACTIVE_POINTER_GRAB.
xcb_void_cookie_t xcb_change_gc | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
change graphics context components
c | The connection |
gc | The graphics context to change. |
value_mask | A bitmask of xcb_gc_t values. |
value_mask | |
value_list | Values for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the components specified by value_mask for the specified graphics context.
References XCB_CHANGE_GC.
xcb_void_cookie_t xcb_change_gc_aux | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc, | ||
uint32_t | value_mask, | ||
const xcb_change_gc_value_list_t * | value_list | ||
) |
change graphics context components
c | The connection |
gc | The graphics context to change. |
value_mask | A bitmask of xcb_gc_t values. |
value_mask | |
value_list | Values for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the components specified by value_mask for the specified graphics context.
References XCB_CHANGE_GC.
xcb_void_cookie_t xcb_change_gc_aux_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc, | ||
uint32_t | value_mask, | ||
const xcb_change_gc_value_list_t * | value_list | ||
) |
change graphics context components
c | The connection |
gc | The graphics context to change. |
value_mask | A bitmask of xcb_gc_t values. |
value_mask | |
value_list | Values for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the components specified by value_mask for the specified graphics context.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_GC.
xcb_void_cookie_t xcb_change_gc_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
change graphics context components
c | The connection |
gc | The graphics context to change. |
value_mask | A bitmask of xcb_gc_t values. |
value_mask | |
value_list | Values for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the components specified by value_mask for the specified graphics context.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_GC.
xcb_void_cookie_t xcb_change_hosts | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
uint8_t | family, | ||
uint16_t | address_len, | ||
const uint8_t * | address | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_CHANGE_HOSTS.
xcb_void_cookie_t xcb_change_hosts_checked | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
uint8_t | family, | ||
uint16_t | address_len, | ||
const uint8_t * | address | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_HOSTS.
xcb_void_cookie_t xcb_change_keyboard_control | ( | xcb_connection_t * | c, |
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CHANGE_KEYBOARD_CONTROL.
xcb_void_cookie_t xcb_change_keyboard_control_aux | ( | xcb_connection_t * | c, |
uint32_t | value_mask, | ||
const xcb_change_keyboard_control_value_list_t * | value_list | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CHANGE_KEYBOARD_CONTROL.
xcb_void_cookie_t xcb_change_keyboard_control_aux_checked | ( | xcb_connection_t * | c, |
uint32_t | value_mask, | ||
const xcb_change_keyboard_control_value_list_t * | value_list | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_KEYBOARD_CONTROL.
xcb_void_cookie_t xcb_change_keyboard_control_checked | ( | xcb_connection_t * | c, |
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_KEYBOARD_CONTROL.
xcb_void_cookie_t xcb_change_keyboard_mapping | ( | xcb_connection_t * | c, |
uint8_t | keycode_count, | ||
xcb_keycode_t | first_keycode, | ||
uint8_t | keysyms_per_keycode, | ||
const xcb_keysym_t * | keysyms | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_CHANGE_KEYBOARD_MAPPING.
xcb_void_cookie_t xcb_change_keyboard_mapping_checked | ( | xcb_connection_t * | c, |
uint8_t | keycode_count, | ||
xcb_keycode_t | first_keycode, | ||
uint8_t | keysyms_per_keycode, | ||
const xcb_keysym_t * | keysyms | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_KEYBOARD_MAPPING.
xcb_void_cookie_t xcb_change_pointer_control | ( | xcb_connection_t * | c, |
int16_t | acceleration_numerator, | ||
int16_t | acceleration_denominator, | ||
int16_t | threshold, | ||
uint8_t | do_acceleration, | ||
uint8_t | do_threshold | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CHANGE_POINTER_CONTROL.
xcb_void_cookie_t xcb_change_pointer_control_checked | ( | xcb_connection_t * | c, |
int16_t | acceleration_numerator, | ||
int16_t | acceleration_denominator, | ||
int16_t | threshold, | ||
uint8_t | do_acceleration, | ||
uint8_t | do_threshold | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_POINTER_CONTROL.
xcb_void_cookie_t xcb_change_property | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
xcb_window_t | window, | ||
xcb_atom_t | property, | ||
xcb_atom_t | type, | ||
uint8_t | format, | ||
uint32_t | data_len, | ||
const void * | data | ||
) |
Changes a window property.
c | The connection |
mode | A bitmask of xcb_prop_mode_t values. |
mode | |
window | The window whose property you want to change. |
property | The property you want to change (an atom). |
type | The type of the property you want to change (an atom). |
format | Specifies whether the data should be viewed as a list of 8-bit, 16-bit or 32-bit quantities. Possible values are 8, 16 and 32. This information allows the X server to correctly perform byte-swap operations as necessary. |
data_len | Specifies the number of elements (see format). |
data | The property data. |
Sets or updates a property on the specified window. Properties are for example the window title (WM_NAME
) or its minimum size (WM_NORMAL_HINTS
). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME
property.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_CHANGE_PROPERTY.
xcb_void_cookie_t xcb_change_property_checked | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
xcb_window_t | window, | ||
xcb_atom_t | property, | ||
xcb_atom_t | type, | ||
uint8_t | format, | ||
uint32_t | data_len, | ||
const void * | data | ||
) |
Changes a window property.
c | The connection |
mode | A bitmask of xcb_prop_mode_t values. |
mode | |
window | The window whose property you want to change. |
property | The property you want to change (an atom). |
type | The type of the property you want to change (an atom). |
format | Specifies whether the data should be viewed as a list of 8-bit, 16-bit or 32-bit quantities. Possible values are 8, 16 and 32. This information allows the X server to correctly perform byte-swap operations as necessary. |
data_len | Specifies the number of elements (see format). |
data | The property data. |
Sets or updates a property on the specified window. Properties are for example the window title (WM_NAME
) or its minimum size (WM_NORMAL_HINTS
). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME
property.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_PROPERTY.
xcb_void_cookie_t xcb_change_save_set | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
xcb_window_t | window | ||
) |
Changes a client's save set.
c | The connection |
mode | A bitmask of #xcb_set_mode_t values. |
mode | Insert to add the specified window to the save set or Delete to delete it from the save set. |
window | The window to add or delete to/from your save set. |
TODO: explain what the save set is for.
This function either adds or removes the specified window to the client's (your application's) save set.
References XCB_CHANGE_SAVE_SET.
xcb_void_cookie_t xcb_change_save_set_checked | ( | xcb_connection_t * | c, |
uint8_t | mode, | ||
xcb_window_t | window | ||
) |
Changes a client's save set.
c | The connection |
mode | A bitmask of #xcb_set_mode_t values. |
mode | Insert to add the specified window to the save set or Delete to delete it from the save set. |
window | The window to add or delete to/from your save set. |
TODO: explain what the save set is for.
This function either adds or removes the specified window to the client's (your application's) save set.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_SAVE_SET.
xcb_void_cookie_t xcb_change_window_attributes | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
change window attributes
c | The connection |
window | The window to change. |
value_mask | A bitmask of xcb_cw_t values. |
value_mask | |
value_list | Values for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the attributes specified by value_mask for the specified window.
References XCB_CHANGE_WINDOW_ATTRIBUTES.
xcb_void_cookie_t xcb_change_window_attributes_aux | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint32_t | value_mask, | ||
const xcb_change_window_attributes_value_list_t * | value_list | ||
) |
change window attributes
c | The connection |
window | The window to change. |
value_mask | A bitmask of xcb_cw_t values. |
value_mask | |
value_list | Values for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the attributes specified by value_mask for the specified window.
References XCB_CHANGE_WINDOW_ATTRIBUTES.
xcb_void_cookie_t xcb_change_window_attributes_aux_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint32_t | value_mask, | ||
const xcb_change_window_attributes_value_list_t * | value_list | ||
) |
change window attributes
c | The connection |
window | The window to change. |
value_mask | A bitmask of xcb_cw_t values. |
value_mask | |
value_list | Values for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the attributes specified by value_mask for the specified window.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_WINDOW_ATTRIBUTES.
xcb_void_cookie_t xcb_change_window_attributes_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
change window attributes
c | The connection |
window | The window to change. |
value_mask | A bitmask of xcb_cw_t values. |
value_mask | |
value_list | Values for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Changes the attributes specified by value_mask for the specified window.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CHANGE_WINDOW_ATTRIBUTES.
xcb_generic_iterator_t xcb_char2b_end | ( | xcb_char2b_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_char2b_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_char2b_next | ( | xcb_char2b_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_char2b_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_char2b_t)
xcb_generic_iterator_t xcb_charinfo_end | ( | xcb_charinfo_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_charinfo_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_charinfo_next | ( | xcb_charinfo_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_charinfo_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_charinfo_t)
xcb_void_cookie_t xcb_circulate_window | ( | xcb_connection_t * | c, |
uint8_t | direction, | ||
xcb_window_t | window | ||
) |
Change window stacking order.
c | The connection |
direction | A bitmask of #xcb_circulate_t values. |
direction | |
window | The window to raise/lower (depending on direction). |
If direction is XCB_CIRCULATE_RAISE_LOWEST
, the lowest mapped child (if any) will be raised to the top of the stack.
If direction is XCB_CIRCULATE_LOWER_HIGHEST
, the highest mapped child will be lowered to the bottom of the stack.
References XCB_CIRCULATE_WINDOW.
xcb_void_cookie_t xcb_circulate_window_checked | ( | xcb_connection_t * | c, |
uint8_t | direction, | ||
xcb_window_t | window | ||
) |
Change window stacking order.
c | The connection |
direction | A bitmask of #xcb_circulate_t values. |
direction | |
window | The window to raise/lower (depending on direction). |
If direction is XCB_CIRCULATE_RAISE_LOWEST
, the lowest mapped child (if any) will be raised to the top of the stack.
If direction is XCB_CIRCULATE_LOWER_HIGHEST
, the highest mapped child will be lowered to the bottom of the stack.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CIRCULATE_WINDOW.
xcb_void_cookie_t xcb_clear_area | ( | xcb_connection_t * | c, |
uint8_t | exposures, | ||
xcb_window_t | window, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CLEAR_AREA.
xcb_void_cookie_t xcb_clear_area_checked | ( | xcb_connection_t * | c, |
uint8_t | exposures, | ||
xcb_window_t | window, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CLEAR_AREA.
xcb_generic_iterator_t xcb_client_message_data_end | ( | xcb_client_message_data_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_client_message_data_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, XCB_CW_BACK_PIXEL, XCB_CW_BACK_PIXMAP, XCB_CW_BACKING_PIXEL, XCB_CW_BACKING_PLANES, XCB_CW_BACKING_STORE, XCB_CW_BIT_GRAVITY, XCB_CW_BORDER_PIXEL, XCB_CW_BORDER_PIXMAP, XCB_CW_COLORMAP, XCB_CW_CURSOR, XCB_CW_DONT_PROPAGATE, XCB_CW_EVENT_MASK, XCB_CW_OVERRIDE_REDIRECT, XCB_CW_SAVE_UNDER, and XCB_CW_WIN_GRAVITY.
void xcb_client_message_data_next | ( | xcb_client_message_data_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_client_message_data_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_client_message_data_t)
xcb_void_cookie_t xcb_close_font | ( | xcb_connection_t * | c, |
xcb_font_t | font | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CLOSE_FONT.
xcb_void_cookie_t xcb_close_font_checked | ( | xcb_connection_t * | c, |
xcb_font_t | font | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CLOSE_FONT.
xcb_generic_iterator_t xcb_coloritem_end | ( | xcb_coloritem_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_coloritem_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_coloritem_next | ( | xcb_coloritem_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_coloritem_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_coloritem_t)
xcb_generic_iterator_t xcb_colormap_end | ( | xcb_colormap_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_colormap_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_colormap_next | ( | xcb_colormap_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_colormap_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_colormap_t)
xcb_void_cookie_t xcb_configure_window | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint16_t | value_mask, | ||
const void * | value_list | ||
) |
Configures window attributes.
c | The connection |
window | The window to configure. |
value_mask | Bitmask of attributes to change. |
value_list | New values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Configures a window's size, position, border width and stacking order.
References XCB_CONFIGURE_WINDOW.
xcb_void_cookie_t xcb_configure_window_aux | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint16_t | value_mask, | ||
const xcb_configure_window_value_list_t * | value_list | ||
) |
Configures window attributes.
c | The connection |
window | The window to configure. |
value_mask | Bitmask of attributes to change. |
value_list | New values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Configures a window's size, position, border width and stacking order.
References XCB_CONFIGURE_WINDOW.
xcb_void_cookie_t xcb_configure_window_aux_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint16_t | value_mask, | ||
const xcb_configure_window_value_list_t * | value_list | ||
) |
Configures window attributes.
c | The connection |
window | The window to configure. |
value_mask | Bitmask of attributes to change. |
value_list | New values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Configures a window's size, position, border width and stacking order.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CONFIGURE_WINDOW.
xcb_void_cookie_t xcb_configure_window_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint16_t | value_mask, | ||
const void * | value_list | ||
) |
Configures window attributes.
c | The connection |
window | The window to configure. |
value_mask | Bitmask of attributes to change. |
value_list | New values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example. |
Configures a window's size, position, border width and stacking order.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CONFIGURE_WINDOW.
xcb_void_cookie_t xcb_convert_selection | ( | xcb_connection_t * | c, |
xcb_window_t | requestor, | ||
xcb_atom_t | selection, | ||
xcb_atom_t | target, | ||
xcb_atom_t | property, | ||
xcb_timestamp_t | time | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CONVERT_SELECTION.
xcb_void_cookie_t xcb_convert_selection_checked | ( | xcb_connection_t * | c, |
xcb_window_t | requestor, | ||
xcb_atom_t | selection, | ||
xcb_atom_t | target, | ||
xcb_atom_t | property, | ||
xcb_timestamp_t | time | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CONVERT_SELECTION.
xcb_void_cookie_t xcb_copy_area | ( | xcb_connection_t * | c, |
xcb_drawable_t | src_drawable, | ||
xcb_drawable_t | dst_drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | src_x, | ||
int16_t | src_y, | ||
int16_t | dst_x, | ||
int16_t | dst_y, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
copy areas
c | The connection |
src_drawable | The source drawable (Window or Pixmap). |
dst_drawable | The destination drawable (Window or Pixmap). |
gc | The graphics context to use. |
src_x | The source X coordinate. |
src_y | The source Y coordinate. |
dst_x | The destination X coordinate. |
dst_y | The destination Y coordinate. |
width | The width of the area to copy (in pixels). |
height | The height of the area to copy (in pixels). |
Copies the specified rectangle from src_drawable to dst_drawable.
References XCB_COPY_AREA.
xcb_void_cookie_t xcb_copy_area_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | src_drawable, | ||
xcb_drawable_t | dst_drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | src_x, | ||
int16_t | src_y, | ||
int16_t | dst_x, | ||
int16_t | dst_y, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
copy areas
c | The connection |
src_drawable | The source drawable (Window or Pixmap). |
dst_drawable | The destination drawable (Window or Pixmap). |
gc | The graphics context to use. |
src_x | The source X coordinate. |
src_y | The source Y coordinate. |
dst_x | The destination X coordinate. |
dst_y | The destination Y coordinate. |
width | The width of the area to copy (in pixels). |
height | The height of the area to copy (in pixels). |
Copies the specified rectangle from src_drawable to dst_drawable.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_COPY_AREA.
xcb_void_cookie_t xcb_copy_colormap_and_free | ( | xcb_connection_t * | c, |
xcb_colormap_t | mid, | ||
xcb_colormap_t | src_cmap | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_COPY_COLORMAP_AND_FREE.
xcb_void_cookie_t xcb_copy_colormap_and_free_checked | ( | xcb_connection_t * | c, |
xcb_colormap_t | mid, | ||
xcb_colormap_t | src_cmap | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_COPY_COLORMAP_AND_FREE.
xcb_void_cookie_t xcb_copy_gc | ( | xcb_connection_t * | c, |
xcb_gcontext_t | src_gc, | ||
xcb_gcontext_t | dst_gc, | ||
uint32_t | value_mask | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_COPY_GC.
xcb_void_cookie_t xcb_copy_gc_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | src_gc, | ||
xcb_gcontext_t | dst_gc, | ||
uint32_t | value_mask | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_COPY_GC.
xcb_void_cookie_t xcb_copy_plane | ( | xcb_connection_t * | c, |
xcb_drawable_t | src_drawable, | ||
xcb_drawable_t | dst_drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | src_x, | ||
int16_t | src_y, | ||
int16_t | dst_x, | ||
int16_t | dst_y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint32_t | bit_plane | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_COPY_PLANE.
xcb_void_cookie_t xcb_copy_plane_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | src_drawable, | ||
xcb_drawable_t | dst_drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | src_x, | ||
int16_t | src_y, | ||
int16_t | dst_x, | ||
int16_t | dst_y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint32_t | bit_plane | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_COPY_PLANE.
xcb_void_cookie_t xcb_create_colormap | ( | xcb_connection_t * | c, |
uint8_t | alloc, | ||
xcb_colormap_t | mid, | ||
xcb_window_t | window, | ||
xcb_visualid_t | visual | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CREATE_COLORMAP.
xcb_void_cookie_t xcb_create_colormap_checked | ( | xcb_connection_t * | c, |
uint8_t | alloc, | ||
xcb_colormap_t | mid, | ||
xcb_window_t | window, | ||
xcb_visualid_t | visual | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_COLORMAP.
xcb_void_cookie_t xcb_create_cursor | ( | xcb_connection_t * | c, |
xcb_cursor_t | cid, | ||
xcb_pixmap_t | source, | ||
xcb_pixmap_t | mask, | ||
uint16_t | fore_red, | ||
uint16_t | fore_green, | ||
uint16_t | fore_blue, | ||
uint16_t | back_red, | ||
uint16_t | back_green, | ||
uint16_t | back_blue, | ||
uint16_t | x, | ||
uint16_t | y | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_CREATE_CURSOR.
xcb_void_cookie_t xcb_create_cursor_checked | ( | xcb_connection_t * | c, |
xcb_cursor_t | cid, | ||
xcb_pixmap_t | source, | ||
xcb_pixmap_t | mask, | ||
uint16_t | fore_red, | ||
uint16_t | fore_green, | ||
uint16_t | fore_blue, | ||
uint16_t | back_red, | ||
uint16_t | back_green, | ||
uint16_t | back_blue, | ||
uint16_t | x, | ||
uint16_t | y | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_CURSOR.
xcb_void_cookie_t xcb_create_gc | ( | xcb_connection_t * | c, |
xcb_gcontext_t | cid, | ||
xcb_drawable_t | drawable, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
Creates a graphics context.
c | The connection |
cid | The ID with which you will refer to the graphics context, created by xcb_generate_id . |
drawable | Drawable to get the root/depth from. |
Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.
References XCB_CREATE_GC.
xcb_void_cookie_t xcb_create_gc_aux | ( | xcb_connection_t * | c, |
xcb_gcontext_t | cid, | ||
xcb_drawable_t | drawable, | ||
uint32_t | value_mask, | ||
const xcb_create_gc_value_list_t * | value_list | ||
) |
Creates a graphics context.
c | The connection |
cid | The ID with which you will refer to the graphics context, created by xcb_generate_id . |
drawable | Drawable to get the root/depth from. |
Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.
References XCB_CREATE_GC, XCB_GC_ARC_MODE, XCB_GC_BACKGROUND, XCB_GC_CAP_STYLE, XCB_GC_CLIP_MASK, XCB_GC_CLIP_ORIGIN_X, XCB_GC_CLIP_ORIGIN_Y, XCB_GC_DASH_LIST, XCB_GC_DASH_OFFSET, XCB_GC_FILL_STYLE, XCB_GC_FONT, XCB_GC_FOREGROUND, XCB_GC_FUNCTION, XCB_GC_GRAPHICS_EXPOSURES, XCB_GC_JOIN_STYLE, XCB_GC_LINE_STYLE, XCB_GC_LINE_WIDTH, XCB_GC_PLANE_MASK, XCB_GC_STIPPLE, XCB_GC_SUBWINDOW_MODE, XCB_GC_TILE, XCB_GC_TILE_STIPPLE_ORIGIN_X, and XCB_GC_TILE_STIPPLE_ORIGIN_Y.
xcb_void_cookie_t xcb_create_gc_aux_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | cid, | ||
xcb_drawable_t | drawable, | ||
uint32_t | value_mask, | ||
const xcb_create_gc_value_list_t * | value_list | ||
) |
Creates a graphics context.
c | The connection |
cid | The ID with which you will refer to the graphics context, created by xcb_generate_id . |
drawable | Drawable to get the root/depth from. |
Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_GC.
xcb_void_cookie_t xcb_create_gc_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | cid, | ||
xcb_drawable_t | drawable, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
Creates a graphics context.
c | The connection |
cid | The ID with which you will refer to the graphics context, created by xcb_generate_id . |
drawable | Drawable to get the root/depth from. |
Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_GC.
xcb_void_cookie_t xcb_create_glyph_cursor | ( | xcb_connection_t * | c, |
xcb_cursor_t | cid, | ||
xcb_font_t | source_font, | ||
xcb_font_t | mask_font, | ||
uint16_t | source_char, | ||
uint16_t | mask_char, | ||
uint16_t | fore_red, | ||
uint16_t | fore_green, | ||
uint16_t | fore_blue, | ||
uint16_t | back_red, | ||
uint16_t | back_green, | ||
uint16_t | back_blue | ||
) |
create cursor
c | The connection |
cid | The ID with which you will refer to the cursor, created by xcb_generate_id . |
source_font | In which font to look for the cursor glyph. |
mask_font | In which font to look for the mask glyph. |
source_char | The glyph of source_font to use. |
mask_char | The glyph of mask_font to use as a mask: Pixels which are set to 1 define which source pixels are displayed. All pixels which are set to 0 are not displayed. |
fore_red | The red value of the foreground color. |
fore_green | The green value of the foreground color. |
fore_blue | The blue value of the foreground color. |
back_red | The red value of the background color. |
back_green | The green value of the background color. |
back_blue | The blue value of the background color. |
Creates a cursor from a font glyph. X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font can be customized for the individual display type.
All pixels which are set to 1 in the source will use the foreground color (as specified by fore_red, fore_green and fore_blue). All pixels set to 0 will use the background color (as specified by back_red, back_green and back_blue).
References XCB_CREATE_GLYPH_CURSOR.
xcb_void_cookie_t xcb_create_glyph_cursor_checked | ( | xcb_connection_t * | c, |
xcb_cursor_t | cid, | ||
xcb_font_t | source_font, | ||
xcb_font_t | mask_font, | ||
uint16_t | source_char, | ||
uint16_t | mask_char, | ||
uint16_t | fore_red, | ||
uint16_t | fore_green, | ||
uint16_t | fore_blue, | ||
uint16_t | back_red, | ||
uint16_t | back_green, | ||
uint16_t | back_blue | ||
) |
create cursor
c | The connection |
cid | The ID with which you will refer to the cursor, created by xcb_generate_id . |
source_font | In which font to look for the cursor glyph. |
mask_font | In which font to look for the mask glyph. |
source_char | The glyph of source_font to use. |
mask_char | The glyph of mask_font to use as a mask: Pixels which are set to 1 define which source pixels are displayed. All pixels which are set to 0 are not displayed. |
fore_red | The red value of the foreground color. |
fore_green | The green value of the foreground color. |
fore_blue | The blue value of the foreground color. |
back_red | The red value of the background color. |
back_green | The green value of the background color. |
back_blue | The blue value of the background color. |
Creates a cursor from a font glyph. X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font can be customized for the individual display type.
All pixels which are set to 1 in the source will use the foreground color (as specified by fore_red, fore_green and fore_blue). All pixels set to 0 will use the background color (as specified by back_red, back_green and back_blue).
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_GLYPH_CURSOR.
xcb_void_cookie_t xcb_create_pixmap | ( | xcb_connection_t * | c, |
uint8_t | depth, | ||
xcb_pixmap_t | pid, | ||
xcb_drawable_t | drawable, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
Creates a pixmap.
c | The connection |
depth | TODO |
pid | The ID with which you will refer to the new pixmap, created by xcb_generate_id . |
drawable | Drawable to get the screen from. |
width | The width of the new pixmap. |
height | The height of the new pixmap. |
Creates a pixmap. The pixmap can only be used on the same screen as drawable is on and only with drawables of the same depth.
References XCB_CREATE_PIXMAP.
xcb_void_cookie_t xcb_create_pixmap_checked | ( | xcb_connection_t * | c, |
uint8_t | depth, | ||
xcb_pixmap_t | pid, | ||
xcb_drawable_t | drawable, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
Creates a pixmap.
c | The connection |
depth | TODO |
pid | The ID with which you will refer to the new pixmap, created by xcb_generate_id . |
drawable | Drawable to get the screen from. |
width | The width of the new pixmap. |
height | The height of the new pixmap. |
Creates a pixmap. The pixmap can only be used on the same screen as drawable is on and only with drawables of the same depth.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_PIXMAP.
xcb_void_cookie_t xcb_create_window | ( | xcb_connection_t * | c, |
uint8_t | depth, | ||
xcb_window_t | wid, | ||
xcb_window_t | parent, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint16_t | border_width, | ||
uint16_t | _class, | ||
xcb_visualid_t | visual, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
Creates a window.
c | The connection |
depth | Specifies the new window's depth (TODO: what unit?). The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window. |
wid | The ID with which you will refer to the new window, created by xcb_generate_id . |
parent | The parent window of the new window. |
x | The X coordinate of the new window. |
y | The Y coordinate of the new window. |
width | The width of the new window. |
height | The height of the new window. |
border_width | TODO: Must be zero if the class is InputOnly or a xcb_match_error_t occurs. |
_class | A bitmask of #xcb_window_class_t values. |
_class | |
visual | Specifies the id for the new window's visual. The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window. |
value_mask | A bitmask of xcb_cw_t values. |
Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.
The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.
The created window is not yet displayed (mapped), call xcb_map_window
to display it.
The created window will initially use the same cursor as its parent.
References XCB_CREATE_WINDOW.
xcb_void_cookie_t xcb_create_window_aux | ( | xcb_connection_t * | c, |
uint8_t | depth, | ||
xcb_window_t | wid, | ||
xcb_window_t | parent, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint16_t | border_width, | ||
uint16_t | _class, | ||
xcb_visualid_t | visual, | ||
uint32_t | value_mask, | ||
const xcb_create_window_value_list_t * | value_list | ||
) |
Creates a window.
c | The connection |
depth | Specifies the new window's depth (TODO: what unit?). The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window. |
wid | The ID with which you will refer to the new window, created by xcb_generate_id . |
parent | The parent window of the new window. |
x | The X coordinate of the new window. |
y | The Y coordinate of the new window. |
width | The width of the new window. |
height | The height of the new window. |
border_width | TODO: Must be zero if the class is InputOnly or a xcb_match_error_t occurs. |
_class | A bitmask of #xcb_window_class_t values. |
_class | |
visual | Specifies the id for the new window's visual. The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window. |
value_mask | A bitmask of xcb_cw_t values. |
Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.
The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.
The created window is not yet displayed (mapped), call xcb_map_window
to display it.
The created window will initially use the same cursor as its parent.
References XCB_CREATE_WINDOW, XCB_CW_BACK_PIXEL, XCB_CW_BACK_PIXMAP, XCB_CW_BACKING_PIXEL, XCB_CW_BACKING_PLANES, XCB_CW_BACKING_STORE, XCB_CW_BIT_GRAVITY, XCB_CW_BORDER_PIXEL, XCB_CW_BORDER_PIXMAP, XCB_CW_COLORMAP, XCB_CW_CURSOR, XCB_CW_DONT_PROPAGATE, XCB_CW_EVENT_MASK, XCB_CW_OVERRIDE_REDIRECT, XCB_CW_SAVE_UNDER, and XCB_CW_WIN_GRAVITY.
xcb_void_cookie_t xcb_create_window_aux_checked | ( | xcb_connection_t * | c, |
uint8_t | depth, | ||
xcb_window_t | wid, | ||
xcb_window_t | parent, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint16_t | border_width, | ||
uint16_t | _class, | ||
xcb_visualid_t | visual, | ||
uint32_t | value_mask, | ||
const xcb_create_window_value_list_t * | value_list | ||
) |
Creates a window.
c | The connection |
depth | Specifies the new window's depth (TODO: what unit?). The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window. |
wid | The ID with which you will refer to the new window, created by xcb_generate_id . |
parent | The parent window of the new window. |
x | The X coordinate of the new window. |
y | The Y coordinate of the new window. |
width | The width of the new window. |
height | The height of the new window. |
border_width | TODO: Must be zero if the class is InputOnly or a xcb_match_error_t occurs. |
_class | A bitmask of #xcb_window_class_t values. |
_class | |
visual | Specifies the id for the new window's visual. The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window. |
value_mask | A bitmask of xcb_cw_t values. |
Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.
The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.
The created window is not yet displayed (mapped), call xcb_map_window
to display it.
The created window will initially use the same cursor as its parent.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_WINDOW.
xcb_void_cookie_t xcb_create_window_checked | ( | xcb_connection_t * | c, |
uint8_t | depth, | ||
xcb_window_t | wid, | ||
xcb_window_t | parent, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint16_t | border_width, | ||
uint16_t | _class, | ||
xcb_visualid_t | visual, | ||
uint32_t | value_mask, | ||
const void * | value_list | ||
) |
Creates a window.
c | The connection |
depth | Specifies the new window's depth (TODO: what unit?). The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window. |
wid | The ID with which you will refer to the new window, created by xcb_generate_id . |
parent | The parent window of the new window. |
x | The X coordinate of the new window. |
y | The Y coordinate of the new window. |
width | The width of the new window. |
height | The height of the new window. |
border_width | TODO: Must be zero if the class is InputOnly or a xcb_match_error_t occurs. |
_class | A bitmask of #xcb_window_class_t values. |
_class | |
visual | Specifies the id for the new window's visual. The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window. |
value_mask | A bitmask of xcb_cw_t values. |
Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.
The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.
The created window is not yet displayed (mapped), call xcb_map_window
to display it.
The created window will initially use the same cursor as its parent.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_CREATE_WINDOW.
xcb_generic_iterator_t xcb_cursor_end | ( | xcb_cursor_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_cursor_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_cursor_next | ( | xcb_cursor_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_cursor_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_cursor_t)
xcb_void_cookie_t xcb_delete_property | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_atom_t | property | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_DELETE_PROPERTY.
xcb_void_cookie_t xcb_delete_property_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_atom_t | property | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_DELETE_PROPERTY.
xcb_generic_iterator_t xcb_depth_end | ( | xcb_depth_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_depth_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_depth_next().
void xcb_depth_next | ( | xcb_depth_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_depth_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_depth_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_depth_end().
xcb_void_cookie_t xcb_destroy_subwindows | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_DESTROY_SUBWINDOWS.
xcb_void_cookie_t xcb_destroy_subwindows_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_DESTROY_SUBWINDOWS.
xcb_void_cookie_t xcb_destroy_window | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Destroys a window.
c | The connection |
window | The window to destroy. |
Destroys the specified window and all of its subwindows. A DestroyNotify event is generated for each destroyed window (a DestroyNotify event is first generated for any given window's inferiors). If the window was mapped, it will be automatically unmapped before destroying.
Calling DestroyWindow on the root window will do nothing.
References XCB_DESTROY_WINDOW.
xcb_void_cookie_t xcb_destroy_window_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Destroys a window.
c | The connection |
window | The window to destroy. |
Destroys the specified window and all of its subwindows. A DestroyNotify event is generated for each destroyed window (a DestroyNotify event is first generated for any given window's inferiors). If the window was mapped, it will be automatically unmapped before destroying.
Calling DestroyWindow on the root window will do nothing.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_DESTROY_WINDOW.
xcb_generic_iterator_t xcb_drawable_end | ( | xcb_drawable_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_drawable_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_drawable_next | ( | xcb_drawable_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_drawable_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_drawable_t)
xcb_void_cookie_t xcb_fill_poly | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint8_t | shape, | ||
uint8_t | coordinate_mode, | ||
uint32_t | points_len, | ||
const xcb_point_t * | points | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_FILL_POLY.
xcb_void_cookie_t xcb_fill_poly_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint8_t | shape, | ||
uint8_t | coordinate_mode, | ||
uint32_t | points_len, | ||
const xcb_point_t * | points | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FILL_POLY.
xcb_generic_iterator_t xcb_font_end | ( | xcb_font_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_font_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_font_next | ( | xcb_font_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_font_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_font_t)
xcb_generic_iterator_t xcb_fontable_end | ( | xcb_fontable_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_fontable_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_fontable_next | ( | xcb_fontable_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_fontable_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_fontable_t)
xcb_generic_iterator_t xcb_fontprop_end | ( | xcb_fontprop_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_fontprop_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
Referenced by xcb_list_fonts_with_info_unchecked(), and xcb_query_font_unchecked().
void xcb_fontprop_next | ( | xcb_fontprop_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_fontprop_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_fontprop_t)
xcb_void_cookie_t xcb_force_screen_saver | ( | xcb_connection_t * | c, |
uint8_t | mode | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_FORCE_SCREEN_SAVER.
xcb_void_cookie_t xcb_force_screen_saver_checked | ( | xcb_connection_t * | c, |
uint8_t | mode | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FORCE_SCREEN_SAVER.
xcb_generic_iterator_t xcb_format_end | ( | xcb_format_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_format_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
Referenced by xcb_setup_authenticate_end().
void xcb_format_next | ( | xcb_format_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_format_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_format_t)
xcb_void_cookie_t xcb_free_colormap | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_FREE_COLORMAP.
xcb_void_cookie_t xcb_free_colormap_checked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FREE_COLORMAP.
xcb_void_cookie_t xcb_free_colors | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint32_t | plane_mask, | ||
uint32_t | pixels_len, | ||
const uint32_t * | pixels | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_FREE_COLORS.
xcb_void_cookie_t xcb_free_colors_checked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint32_t | plane_mask, | ||
uint32_t | pixels_len, | ||
const uint32_t * | pixels | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FREE_COLORS.
xcb_void_cookie_t xcb_free_cursor | ( | xcb_connection_t * | c, |
xcb_cursor_t | cursor | ||
) |
Deletes a cursor.
c | The connection |
cursor | The cursor to destroy. |
Deletes the association between the cursor resource ID and the specified cursor. The cursor is freed when no other resource references it.
References XCB_FREE_CURSOR.
xcb_void_cookie_t xcb_free_cursor_checked | ( | xcb_connection_t * | c, |
xcb_cursor_t | cursor | ||
) |
Deletes a cursor.
c | The connection |
cursor | The cursor to destroy. |
Deletes the association between the cursor resource ID and the specified cursor. The cursor is freed when no other resource references it.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FREE_CURSOR.
xcb_void_cookie_t xcb_free_gc | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc | ||
) |
Destroys a graphics context.
c | The connection |
gc | The graphics context to destroy. |
Destroys the specified gc and all associated storage.
References XCB_FREE_GC.
xcb_void_cookie_t xcb_free_gc_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc | ||
) |
Destroys a graphics context.
c | The connection |
gc | The graphics context to destroy. |
Destroys the specified gc and all associated storage.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FREE_GC.
xcb_void_cookie_t xcb_free_pixmap | ( | xcb_connection_t * | c, |
xcb_pixmap_t | pixmap | ||
) |
Destroys a pixmap.
c | The connection |
pixmap | The pixmap to destroy. |
Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it.
References XCB_FREE_PIXMAP, XCB_GC_ARC_MODE, XCB_GC_BACKGROUND, XCB_GC_CAP_STYLE, XCB_GC_CLIP_MASK, XCB_GC_CLIP_ORIGIN_X, XCB_GC_CLIP_ORIGIN_Y, XCB_GC_DASH_LIST, XCB_GC_DASH_OFFSET, XCB_GC_FILL_STYLE, XCB_GC_FONT, XCB_GC_FOREGROUND, XCB_GC_FUNCTION, XCB_GC_GRAPHICS_EXPOSURES, XCB_GC_JOIN_STYLE, XCB_GC_LINE_STYLE, XCB_GC_LINE_WIDTH, XCB_GC_PLANE_MASK, XCB_GC_STIPPLE, XCB_GC_SUBWINDOW_MODE, XCB_GC_TILE, XCB_GC_TILE_STIPPLE_ORIGIN_X, and XCB_GC_TILE_STIPPLE_ORIGIN_Y.
xcb_void_cookie_t xcb_free_pixmap_checked | ( | xcb_connection_t * | c, |
xcb_pixmap_t | pixmap | ||
) |
Destroys a pixmap.
c | The connection |
pixmap | The pixmap to destroy. |
Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_FREE_PIXMAP.
xcb_generic_iterator_t xcb_gcontext_end | ( | xcb_gcontext_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_gcontext_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_gcontext_next | ( | xcb_gcontext_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_gcontext_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_gcontext_t)
xcb_get_atom_name_cookie_t xcb_get_atom_name | ( | xcb_connection_t * | c, |
xcb_atom_t | atom | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_ATOM_NAME.
xcb_get_atom_name_reply_t* xcb_get_atom_name_reply | ( | xcb_connection_t * | c, |
xcb_get_atom_name_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_atom_name_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked | ( | xcb_connection_t * | c, |
xcb_atom_t | atom | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_ATOM_NAME.
xcb_get_font_path_cookie_t xcb_get_font_path | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_FONT_PATH.
xcb_get_font_path_reply_t* xcb_get_font_path_reply | ( | xcb_connection_t * | c, |
xcb_get_font_path_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_font_path_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_font_path_cookie_t xcb_get_font_path_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_FONT_PATH.
xcb_get_geometry_cookie_t xcb_get_geometry | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable | ||
) |
Get current window geometry.
c | The connection |
drawable | The drawable (Window or Pixmap ) of which the geometry will be received. |
Gets the current geometry of the specified drawable (either Window
or Pixmap
).
References XCB_GET_GEOMETRY.
xcb_get_geometry_reply_t* xcb_get_geometry_reply | ( | xcb_connection_t * | c, |
xcb_get_geometry_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_geometry_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_geometry_cookie_t xcb_get_geometry_unchecked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable | ||
) |
Get current window geometry.
c | The connection |
drawable | The drawable (Window or Pixmap ) of which the geometry will be received. |
Gets the current geometry of the specified drawable (either Window
or Pixmap
).
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_GEOMETRY.
xcb_get_image_cookie_t xcb_get_image | ( | xcb_connection_t * | c, |
uint8_t | format, | ||
xcb_drawable_t | drawable, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint32_t | plane_mask | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_IMAGE.
xcb_get_image_reply_t* xcb_get_image_reply | ( | xcb_connection_t * | c, |
xcb_get_image_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_image_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_image_cookie_t xcb_get_image_unchecked | ( | xcb_connection_t * | c, |
uint8_t | format, | ||
xcb_drawable_t | drawable, | ||
int16_t | x, | ||
int16_t | y, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint32_t | plane_mask | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_IMAGE.
xcb_get_input_focus_cookie_t xcb_get_input_focus | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_INPUT_FOCUS.
xcb_get_input_focus_reply_t* xcb_get_input_focus_reply | ( | xcb_connection_t * | c, |
xcb_get_input_focus_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_input_focus_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_INPUT_FOCUS.
xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_KEYBOARD_CONTROL.
xcb_get_keyboard_control_reply_t* xcb_get_keyboard_control_reply | ( | xcb_connection_t * | c, |
xcb_get_keyboard_control_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_keyboard_control_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_KEYBOARD_CONTROL.
xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping | ( | xcb_connection_t * | c, |
xcb_keycode_t | first_keycode, | ||
uint8_t | count | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_KEYBOARD_MAPPING.
xcb_get_keyboard_mapping_reply_t* xcb_get_keyboard_mapping_reply | ( | xcb_connection_t * | c, |
xcb_get_keyboard_mapping_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_keyboard_mapping_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked | ( | xcb_connection_t * | c, |
xcb_keycode_t | first_keycode, | ||
uint8_t | count | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_KEYBOARD_MAPPING.
xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_MODIFIER_MAPPING.
xcb_get_modifier_mapping_reply_t* xcb_get_modifier_mapping_reply | ( | xcb_connection_t * | c, |
xcb_get_modifier_mapping_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_modifier_mapping_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_MODIFIER_MAPPING.
xcb_get_motion_events_cookie_t xcb_get_motion_events | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_timestamp_t | start, | ||
xcb_timestamp_t | stop | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_MOTION_EVENTS.
xcb_get_motion_events_reply_t* xcb_get_motion_events_reply | ( | xcb_connection_t * | c, |
xcb_get_motion_events_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_motion_events_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_timestamp_t | start, | ||
xcb_timestamp_t | stop | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_MOTION_EVENTS.
xcb_get_pointer_control_cookie_t xcb_get_pointer_control | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_POINTER_CONTROL.
xcb_get_pointer_control_reply_t* xcb_get_pointer_control_reply | ( | xcb_connection_t * | c, |
xcb_get_pointer_control_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_pointer_control_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_POINTER_CONTROL.
xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_POINTER_MAPPING.
xcb_get_pointer_mapping_reply_t* xcb_get_pointer_mapping_reply | ( | xcb_connection_t * | c, |
xcb_get_pointer_mapping_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_pointer_mapping_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_POINTER_MAPPING.
xcb_get_property_cookie_t xcb_get_property | ( | xcb_connection_t * | c, |
uint8_t | _delete, | ||
xcb_window_t | window, | ||
xcb_atom_t | property, | ||
xcb_atom_t | type, | ||
uint32_t | long_offset, | ||
uint32_t | long_length | ||
) |
Gets a window property.
c | The connection |
_delete | Whether the property should actually be deleted. For deleting a property, the specified type has to match the actual property type. |
window | The window whose property you want to get. |
property | The property you want to get (an atom). |
type | The type of the property you want to get (an atom). |
long_offset | Specifies the offset (in 32-bit multiples) in the specified property where the data is to be retrieved. |
long_length | Specifies how many 32-bit multiples of data should be retrieved (e.g. if you set long_length to 4, you will receive 16 bytes of data). |
Gets the specified property from the specified window. Properties are for example the window title (WM_NAME
) or its minimum size (WM_NORMAL_HINTS
). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME
property.
TODO: talk about type
TODO: talk about delete
TODO: talk about the offset/length thing. what's a valid use case?
References XCB_GET_PROPERTY.
xcb_get_property_reply_t* xcb_get_property_reply | ( | xcb_connection_t * | c, |
xcb_get_property_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_property_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_property_cookie_t xcb_get_property_unchecked | ( | xcb_connection_t * | c, |
uint8_t | _delete, | ||
xcb_window_t | window, | ||
xcb_atom_t | property, | ||
xcb_atom_t | type, | ||
uint32_t | long_offset, | ||
uint32_t | long_length | ||
) |
Gets a window property.
c | The connection |
_delete | Whether the property should actually be deleted. For deleting a property, the specified type has to match the actual property type. |
window | The window whose property you want to get. |
property | The property you want to get (an atom). |
type | The type of the property you want to get (an atom). |
long_offset | Specifies the offset (in 32-bit multiples) in the specified property where the data is to be retrieved. |
long_length | Specifies how many 32-bit multiples of data should be retrieved (e.g. if you set long_length to 4, you will receive 16 bytes of data). |
Gets the specified property from the specified window. Properties are for example the window title (WM_NAME
) or its minimum size (WM_NORMAL_HINTS
). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME
property.
TODO: talk about type
TODO: talk about delete
TODO: talk about the offset/length thing. what's a valid use case?
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_PROPERTY.
xcb_get_screen_saver_cookie_t xcb_get_screen_saver | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GET_SCREEN_SAVER.
xcb_get_screen_saver_reply_t* xcb_get_screen_saver_reply | ( | xcb_connection_t * | c, |
xcb_get_screen_saver_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_screen_saver_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_SCREEN_SAVER.
xcb_get_selection_owner_cookie_t xcb_get_selection_owner | ( | xcb_connection_t * | c, |
xcb_atom_t | selection | ||
) |
Gets the owner of a selection.
c | The connection |
selection | The selection. |
Gets the owner of the specified selection.
TODO: briefly explain what a selection is.
References XCB_GET_SELECTION_OWNER.
xcb_get_selection_owner_reply_t* xcb_get_selection_owner_reply | ( | xcb_connection_t * | c, |
xcb_get_selection_owner_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_selection_owner_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked | ( | xcb_connection_t * | c, |
xcb_atom_t | selection | ||
) |
Gets the owner of a selection.
c | The connection |
selection | The selection. |
Gets the owner of the specified selection.
TODO: briefly explain what a selection is.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_SELECTION_OWNER.
xcb_get_window_attributes_cookie_t xcb_get_window_attributes | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Gets window attributes.
c | The connection |
window | The window to get the attributes from. |
Gets the current attributes for the specified window.
References XCB_GET_WINDOW_ATTRIBUTES.
xcb_get_window_attributes_reply_t* xcb_get_window_attributes_reply | ( | xcb_connection_t * | c, |
xcb_get_window_attributes_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_get_window_attributes_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Gets window attributes.
c | The connection |
window | The window to get the attributes from. |
Gets the current attributes for the specified window.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GET_WINDOW_ATTRIBUTES.
xcb_void_cookie_t xcb_grab_button | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
uint16_t | event_mask, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode, | ||
xcb_window_t | confine_to, | ||
xcb_cursor_t | cursor, | ||
uint8_t | button, | ||
uint16_t | modifiers | ||
) |
Grab pointer button(s)
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
event_mask | Specifies which pointer events are reported to the client. TODO: which values? |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode | |
confine_to | Specifies the window to confine the pointer in (the user will not be able to move the pointer out of that window). The special value XCB_NONE means don't confine the pointer. |
cursor | Specifies the cursor that should be displayed or XCB_NONE to not change the cursor. |
button | A bitmask of xcb_button_index_t values. |
button | |
modifiers | The modifiers to grab. Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations. |
This request establishes a passive grab. The pointer is actively grabbed as described in GrabPointer, the last-pointer-grab time is set to the time at which the button was pressed (as transmitted in the ButtonPress event), and the ButtonPress event is reported if all of the following conditions are true:
The pointer is not grabbed and the specified button is logically pressed when the specified modifier keys are logically down, and no other buttons or modifier keys are logically down.
The grab-window contains the pointer.
The confine-to window (if any) is viewable.
A passive grab on the same button/key combination does not exist on any ancestor of grab-window.
The interpretation of the remaining arguments is the same as for GrabPointer. The active grab is terminated automatically when the logical state of the pointer has all buttons released, independent of the logical state of modifier keys. Note that the logical state of a device (as seen by means of the protocol) may lag the physical state if device event processing is frozen. This request overrides all previous passive grabs by the same client on the same button/key combinations on the same window. A modifier of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all specified modifiers have currently assigned keycodes. A button of AnyButton is equivalent to issuing the request for all possible buttons. Otherwise, it is not required that the button specified currently be assigned to a physical button.
An Access error is generated if some other client has already issued a GrabButton request with the same button/key combination on the same window. When using AnyModifier or AnyButton, the request fails completely (no grabs are established), and an Access error is generated if there is a conflicting grab for any combination. The request has no effect on an active grab.
References XCB_GRAB_BUTTON.
xcb_void_cookie_t xcb_grab_button_checked | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
uint16_t | event_mask, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode, | ||
xcb_window_t | confine_to, | ||
xcb_cursor_t | cursor, | ||
uint8_t | button, | ||
uint16_t | modifiers | ||
) |
Grab pointer button(s)
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
event_mask | Specifies which pointer events are reported to the client. TODO: which values? |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode | |
confine_to | Specifies the window to confine the pointer in (the user will not be able to move the pointer out of that window). The special value XCB_NONE means don't confine the pointer. |
cursor | Specifies the cursor that should be displayed or XCB_NONE to not change the cursor. |
button | A bitmask of xcb_button_index_t values. |
button | |
modifiers | The modifiers to grab. Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations. |
This request establishes a passive grab. The pointer is actively grabbed as described in GrabPointer, the last-pointer-grab time is set to the time at which the button was pressed (as transmitted in the ButtonPress event), and the ButtonPress event is reported if all of the following conditions are true:
The pointer is not grabbed and the specified button is logically pressed when the specified modifier keys are logically down, and no other buttons or modifier keys are logically down.
The grab-window contains the pointer.
The confine-to window (if any) is viewable.
A passive grab on the same button/key combination does not exist on any ancestor of grab-window.
The interpretation of the remaining arguments is the same as for GrabPointer. The active grab is terminated automatically when the logical state of the pointer has all buttons released, independent of the logical state of modifier keys. Note that the logical state of a device (as seen by means of the protocol) may lag the physical state if device event processing is frozen. This request overrides all previous passive grabs by the same client on the same button/key combinations on the same window. A modifier of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all specified modifiers have currently assigned keycodes. A button of AnyButton is equivalent to issuing the request for all possible buttons. Otherwise, it is not required that the button specified currently be assigned to a physical button.
An Access error is generated if some other client has already issued a GrabButton request with the same button/key combination on the same window. When using AnyModifier or AnyButton, the request fails completely (no grabs are established), and an Access error is generated if there is a conflicting grab for any combination. The request has no effect on an active grab.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_GRAB_BUTTON.
xcb_void_cookie_t xcb_grab_key | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
uint16_t | modifiers, | ||
xcb_keycode_t | key, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode | ||
) |
Grab keyboard key(s)
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
modifiers | The modifiers to grab. Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations. |
key | The keycode of the key to grab. The special value XCB_GRAB_ANY means grab any key. |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode |
Establishes a passive grab on the keyboard. In the future, the keyboard is actively grabbed (as for GrabKeyboard
), the last-keyboard-grab time is set to the time at which the key was pressed (as transmitted in the KeyPress event), and the KeyPress event is reported if all of the following conditions are true:
The keyboard is not grabbed and the specified key (which can itself be a modifier key) is logically pressed when the specified modifier keys are logically down, and no other modifier keys are logically down.
Either the grab_window is an ancestor of (or is) the focus window, or the grab_window is a descendant of the focus window and contains the pointer.
A passive grab on the same key combination does not exist on any ancestor of grab_window.
The interpretation of the remaining arguments is as for XGrabKeyboard. The active grab is terminated automatically when the logical state of the keyboard has the specified key released (independent of the logical state of the modifier keys), at which point a KeyRelease event is reported to the grabbing window.
Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.
A modifiers argument of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all modifiers specified have currently assigned KeyCodes. A keycode argument of AnyKey is equivalent to issuing the request for all possible KeyCodes. Otherwise, the specified keycode must be in the range specified by min_keycode and max_keycode in the connection setup, or a BadValue error results.
If some other client has issued a XGrabKey with the same key combination on the same window, a BadAccess error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error results (no grabs are established) if there is a conflicting grab for any combination.
References XCB_GRAB_KEY.
xcb_void_cookie_t xcb_grab_key_checked | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
uint16_t | modifiers, | ||
xcb_keycode_t | key, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode | ||
) |
Grab keyboard key(s)
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
modifiers | The modifiers to grab. Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations. |
key | The keycode of the key to grab. The special value XCB_GRAB_ANY means grab any key. |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode |
Establishes a passive grab on the keyboard. In the future, the keyboard is actively grabbed (as for GrabKeyboard
), the last-keyboard-grab time is set to the time at which the key was pressed (as transmitted in the KeyPress event), and the KeyPress event is reported if all of the following conditions are true:
The keyboard is not grabbed and the specified key (which can itself be a modifier key) is logically pressed when the specified modifier keys are logically down, and no other modifier keys are logically down.
Either the grab_window is an ancestor of (or is) the focus window, or the grab_window is a descendant of the focus window and contains the pointer.
A passive grab on the same key combination does not exist on any ancestor of grab_window.
The interpretation of the remaining arguments is as for XGrabKeyboard. The active grab is terminated automatically when the logical state of the keyboard has the specified key released (independent of the logical state of the modifier keys), at which point a KeyRelease event is reported to the grabbing window.
Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.
A modifiers argument of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all modifiers specified have currently assigned KeyCodes. A keycode argument of AnyKey is equivalent to issuing the request for all possible KeyCodes. Otherwise, the specified keycode must be in the range specified by min_keycode and max_keycode in the connection setup, or a BadValue error results.
If some other client has issued a XGrabKey with the same key combination on the same window, a BadAccess error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error results (no grabs are established) if there is a conflicting grab for any combination.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_GRAB_KEY.
xcb_grab_keyboard_cookie_t xcb_grab_keyboard | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
xcb_timestamp_t | time, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode | ||
) |
Grab the keyboard.
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
time | Timestamp to avoid race conditions when running X over the network. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode |
Actively grabs control of the keyboard and generates FocusIn and FocusOut events. Further key events are reported only to the grabbing client.
Any active keyboard grab by this client is overridden. If the keyboard is actively grabbed by some other client, AlreadyGrabbed
is returned. If grab_window is not viewable, GrabNotViewable
is returned. If the keyboard is frozen by an active grab of another client, GrabFrozen
is returned. If the specified time is earlier than the last-keyboard-grab time or later than the current X server time, GrabInvalidTime
is returned. Otherwise, the last-keyboard-grab time is set to the specified time.
References XCB_GRAB_KEYBOARD.
xcb_grab_keyboard_reply_t* xcb_grab_keyboard_reply | ( | xcb_connection_t * | c, |
xcb_grab_keyboard_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_grab_keyboard_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
xcb_timestamp_t | time, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode | ||
) |
Grab the keyboard.
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
time | Timestamp to avoid race conditions when running X over the network. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode |
Actively grabs control of the keyboard and generates FocusIn and FocusOut events. Further key events are reported only to the grabbing client.
Any active keyboard grab by this client is overridden. If the keyboard is actively grabbed by some other client, AlreadyGrabbed
is returned. If grab_window is not viewable, GrabNotViewable
is returned. If the keyboard is frozen by an active grab of another client, GrabFrozen
is returned. If the specified time is earlier than the last-keyboard-grab time or later than the current X server time, GrabInvalidTime
is returned. Otherwise, the last-keyboard-grab time is set to the specified time.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GRAB_KEYBOARD.
xcb_grab_pointer_cookie_t xcb_grab_pointer | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
uint16_t | event_mask, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode, | ||
xcb_window_t | confine_to, | ||
xcb_cursor_t | cursor, | ||
xcb_timestamp_t | time | ||
) |
Grab the pointer.
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
event_mask | Specifies which pointer events are reported to the client. TODO: which values? |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode | |
confine_to | Specifies the window to confine the pointer in (the user will not be able to move the pointer out of that window). The special value XCB_NONE means don't confine the pointer. |
cursor | Specifies the cursor that should be displayed or XCB_NONE to not change the cursor. |
time | The time argument allows you to avoid certain circumstances that come up if applications take a long time to respond or if there are long network delays. Consider a situation where you have two applications, both of which normally grab the pointer when clicked on. If both applications specify the timestamp from the event, the second application may wake up faster and successfully grab the pointer before the first application. The first application then will get an indication that the other application grabbed the pointer before its request was processed. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client.
References XCB_GRAB_POINTER.
xcb_grab_pointer_reply_t* xcb_grab_pointer_reply | ( | xcb_connection_t * | c, |
xcb_grab_pointer_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_grab_pointer_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked | ( | xcb_connection_t * | c, |
uint8_t | owner_events, | ||
xcb_window_t | grab_window, | ||
uint16_t | event_mask, | ||
uint8_t | pointer_mode, | ||
uint8_t | keyboard_mode, | ||
xcb_window_t | confine_to, | ||
xcb_cursor_t | cursor, | ||
xcb_timestamp_t | time | ||
) |
Grab the pointer.
c | The connection |
owner_events | If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. |
grab_window | Specifies the window on which the pointer should be grabbed. |
event_mask | Specifies which pointer events are reported to the client. TODO: which values? |
pointer_mode | A bitmask of xcb_grab_mode_t values. |
pointer_mode | |
keyboard_mode | A bitmask of xcb_grab_mode_t values. |
keyboard_mode | |
confine_to | Specifies the window to confine the pointer in (the user will not be able to move the pointer out of that window). The special value XCB_NONE means don't confine the pointer. |
cursor | Specifies the cursor that should be displayed or XCB_NONE to not change the cursor. |
time | The time argument allows you to avoid certain circumstances that come up if applications take a long time to respond or if there are long network delays. Consider a situation where you have two applications, both of which normally grab the pointer when clicked on. If both applications specify the timestamp from the event, the second application may wake up faster and successfully grab the pointer before the first application. The first application then will get an indication that the other application grabbed the pointer before its request was processed. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_GRAB_POINTER.
xcb_void_cookie_t xcb_grab_server | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_GRAB_SERVER.
xcb_void_cookie_t xcb_grab_server_checked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_GRAB_SERVER.
xcb_generic_iterator_t xcb_host_end | ( | xcb_host_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_host_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_host_next().
void xcb_host_next | ( | xcb_host_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_host_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_host_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_host_end().
xcb_void_cookie_t xcb_image_text_16 | ( | xcb_connection_t * | c, |
uint8_t | string_len, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
const xcb_char2b_t * | string | ||
) |
Draws text.
c | The connection |
string_len | The length of the string in characters. Note that this parameter limited by 255 due to using 8 bits! |
drawable | The drawable (Window or Pixmap) to draw text on. |
gc | The graphics context to use. The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. |
x | The x coordinate of the first character, relative to the origin of drawable. |
y | The y coordinate of the first character, relative to the origin of drawable. |
string | The string to draw. Only the first 255 characters are relevant due to the data type of string_len. Every character uses 2 bytes (hence the 16 in this request's name). |
Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents
(TODO).
Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.
References XCB_IMAGE_TEXT_16.
xcb_void_cookie_t xcb_image_text_16_checked | ( | xcb_connection_t * | c, |
uint8_t | string_len, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
const xcb_char2b_t * | string | ||
) |
Draws text.
c | The connection |
string_len | The length of the string in characters. Note that this parameter limited by 255 due to using 8 bits! |
drawable | The drawable (Window or Pixmap) to draw text on. |
gc | The graphics context to use. The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. |
x | The x coordinate of the first character, relative to the origin of drawable. |
y | The y coordinate of the first character, relative to the origin of drawable. |
string | The string to draw. Only the first 255 characters are relevant due to the data type of string_len. Every character uses 2 bytes (hence the 16 in this request's name). |
Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents
(TODO).
Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_IMAGE_TEXT_16.
xcb_void_cookie_t xcb_image_text_8 | ( | xcb_connection_t * | c, |
uint8_t | string_len, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
const char * | string | ||
) |
Draws text.
c | The connection |
string_len | The length of the string. Note that this parameter limited by 255 due to using 8 bits! |
drawable | The drawable (Window or Pixmap) to draw text on. |
gc | The graphics context to use. The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. |
x | The x coordinate of the first character, relative to the origin of drawable. |
y | The y coordinate of the first character, relative to the origin of drawable. |
string | The string to draw. Only the first 255 characters are relevant due to the data type of string_len. |
Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents
(TODO).
Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_IMAGE_TEXT_8.
xcb_void_cookie_t xcb_image_text_8_checked | ( | xcb_connection_t * | c, |
uint8_t | string_len, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
const char * | string | ||
) |
Draws text.
c | The connection |
string_len | The length of the string. Note that this parameter limited by 255 due to using 8 bits! |
drawable | The drawable (Window or Pixmap) to draw text on. |
gc | The graphics context to use. The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. |
x | The x coordinate of the first character, relative to the origin of drawable. |
y | The y coordinate of the first character, relative to the origin of drawable. |
string | The string to draw. Only the first 255 characters are relevant due to the data type of string_len. |
Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents
(TODO).
Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_IMAGE_TEXT_8.
xcb_void_cookie_t xcb_install_colormap | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_INSTALL_COLORMAP.
xcb_void_cookie_t xcb_install_colormap_checked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_INSTALL_COLORMAP.
xcb_intern_atom_cookie_t xcb_intern_atom | ( | xcb_connection_t * | c, |
uint8_t | only_if_exists, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
Get atom identifier by name.
c | The connection |
only_if_exists | Return a valid atom id only if the atom already exists. |
name_len | The length of the following name. |
name | The name of the atom. |
Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified name. Atoms are used in protocols like EWMH, for example to store window titles (_NET_WM_NAME
atom) as property of a window.
If only_if_exists is 0, the atom will be created if it does not already exist. If only_if_exists is 1, XCB_ATOM_NONE
will be returned if the atom does not yet exist.
References XCB_INTERN_ATOM.
xcb_intern_atom_reply_t* xcb_intern_atom_reply | ( | xcb_connection_t * | c, |
xcb_intern_atom_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_intern_atom_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_intern_atom_cookie_t xcb_intern_atom_unchecked | ( | xcb_connection_t * | c, |
uint8_t | only_if_exists, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
Get atom identifier by name.
c | The connection |
only_if_exists | Return a valid atom id only if the atom already exists. |
name_len | The length of the following name. |
name | The name of the atom. |
Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified name. Atoms are used in protocols like EWMH, for example to store window titles (_NET_WM_NAME
atom) as property of a window.
If only_if_exists is 0, the atom will be created if it does not already exist. If only_if_exists is 1, XCB_ATOM_NONE
will be returned if the atom does not yet exist.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_INTERN_ATOM.
xcb_generic_iterator_t xcb_keycode32_end | ( | xcb_keycode32_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_keycode32_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_keycode32_next | ( | xcb_keycode32_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_keycode32_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_keycode32_t)
xcb_generic_iterator_t xcb_keycode_end | ( | xcb_keycode_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_keycode_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_keycode_next | ( | xcb_keycode_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_keycode_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_keycode_t)
xcb_generic_iterator_t xcb_keysym_end | ( | xcb_keysym_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_keysym_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_keysym_next | ( | xcb_keysym_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_keysym_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_keysym_t)
xcb_void_cookie_t xcb_kill_client | ( | xcb_connection_t * | c, |
uint32_t | resource | ||
) |
kills a client
c | The connection |
resource | Any resource belonging to the client (for example a Window), used to identify the client connection. The special value of XCB_KILL_ALL_TEMPORARY , the resources of all clients that have terminated in RetainTemporary (TODO) are destroyed. |
Forces a close down of the client that created the specified resource.
References XCB_KILL_CLIENT.
xcb_void_cookie_t xcb_kill_client_checked | ( | xcb_connection_t * | c, |
uint32_t | resource | ||
) |
kills a client
c | The connection |
resource | Any resource belonging to the client (for example a Window), used to identify the client connection. The special value of XCB_KILL_ALL_TEMPORARY , the resources of all clients that have terminated in RetainTemporary (TODO) are destroyed. |
Forces a close down of the client that created the specified resource.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_KILL_CLIENT.
xcb_list_extensions_cookie_t xcb_list_extensions | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_LIST_EXTENSIONS.
xcb_list_extensions_reply_t* xcb_list_extensions_reply | ( | xcb_connection_t * | c, |
xcb_list_extensions_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_list_extensions_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_list_extensions_cookie_t xcb_list_extensions_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_LIST_EXTENSIONS.
xcb_list_fonts_cookie_t xcb_list_fonts | ( | xcb_connection_t * | c, |
uint16_t | max_names, | ||
uint16_t | pattern_len, | ||
const char * | pattern | ||
) |
get matching font names
c | The connection |
max_names | The maximum number of fonts to be returned. |
pattern_len | The length (in bytes) of pattern. |
pattern | A font pattern, for example "-misc-fixed-*". The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter. |
Gets a list of available font names which match the given pattern.
References XCB_LIST_FONTS.
xcb_list_fonts_reply_t* xcb_list_fonts_reply | ( | xcb_connection_t * | c, |
xcb_list_fonts_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_list_fonts_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_list_fonts_cookie_t xcb_list_fonts_unchecked | ( | xcb_connection_t * | c, |
uint16_t | max_names, | ||
uint16_t | pattern_len, | ||
const char * | pattern | ||
) |
get matching font names
c | The connection |
max_names | The maximum number of fonts to be returned. |
pattern_len | The length (in bytes) of pattern. |
pattern | A font pattern, for example "-misc-fixed-*". The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter. |
Gets a list of available font names which match the given pattern.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_LIST_FONTS.
xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info | ( | xcb_connection_t * | c, |
uint16_t | max_names, | ||
uint16_t | pattern_len, | ||
const char * | pattern | ||
) |
get matching font names and information
c | The connection |
max_names | The maximum number of fonts to be returned. |
pattern_len | The length (in bytes) of pattern. |
pattern | A font pattern, for example "-misc-fixed-*". The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter. |
Gets a list of available font names which match the given pattern.
References XCB_LIST_FONTS_WITH_INFO.
xcb_list_fonts_with_info_reply_t* xcb_list_fonts_with_info_reply | ( | xcb_connection_t * | c, |
xcb_list_fonts_with_info_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_list_fonts_with_info_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked | ( | xcb_connection_t * | c, |
uint16_t | max_names, | ||
uint16_t | pattern_len, | ||
const char * | pattern | ||
) |
get matching font names and information
c | The connection |
max_names | The maximum number of fonts to be returned. |
pattern_len | The length (in bytes) of pattern. |
pattern | A font pattern, for example "-misc-fixed-*". The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter. |
Gets a list of available font names which match the given pattern.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, xcb_fontprop_end(), and XCB_LIST_FONTS_WITH_INFO.
xcb_list_hosts_cookie_t xcb_list_hosts | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_LIST_HOSTS.
xcb_list_hosts_reply_t* xcb_list_hosts_reply | ( | xcb_connection_t * | c, |
xcb_list_hosts_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_list_hosts_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_list_hosts_cookie_t xcb_list_hosts_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_LIST_HOSTS.
xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_LIST_INSTALLED_COLORMAPS.
xcb_list_installed_colormaps_reply_t* xcb_list_installed_colormaps_reply | ( | xcb_connection_t * | c, |
xcb_list_installed_colormaps_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_list_installed_colormaps_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_LIST_INSTALLED_COLORMAPS.
xcb_list_properties_cookie_t xcb_list_properties | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_LIST_PROPERTIES.
xcb_list_properties_reply_t* xcb_list_properties_reply | ( | xcb_connection_t * | c, |
xcb_list_properties_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_list_properties_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_list_properties_cookie_t xcb_list_properties_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_LIST_PROPERTIES.
xcb_lookup_color_cookie_t xcb_lookup_color | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_LOOKUP_COLOR.
xcb_lookup_color_reply_t* xcb_lookup_color_reply | ( | xcb_connection_t * | c, |
xcb_lookup_color_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_lookup_color_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_lookup_color_cookie_t xcb_lookup_color_unchecked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_LOOKUP_COLOR.
xcb_void_cookie_t xcb_map_subwindows | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_MAP_SUBWINDOWS.
xcb_void_cookie_t xcb_map_subwindows_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_MAP_SUBWINDOWS.
xcb_void_cookie_t xcb_map_window | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Makes a window visible.
c | The connection |
window | The window to make visible. |
Maps the specified window. This means making the window visible (as long as its parent is visible).
This MapWindow request will be translated to a MapRequest request if a window manager is running. The window manager then decides to either map the window or not. Set the override-redirect window attribute to true if you want to bypass this mechanism.
If the window manager decides to map the window (or if no window manager is running), a MapNotify event is generated.
If the window becomes viewable and no earlier contents for it are remembered, the X server tiles the window with its background. If the window's background is undefined, the existing screen contents are not altered, and the X server generates zero or more Expose events.
If the window type is InputOutput, an Expose event will be generated when the window becomes visible. The normal response to an Expose event should be to repaint the window.
References XCB_MAP_WINDOW.
xcb_void_cookie_t xcb_map_window_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Makes a window visible.
c | The connection |
window | The window to make visible. |
Maps the specified window. This means making the window visible (as long as its parent is visible).
This MapWindow request will be translated to a MapRequest request if a window manager is running. The window manager then decides to either map the window or not. Set the override-redirect window attribute to true if you want to bypass this mechanism.
If the window manager decides to map the window (or if no window manager is running), a MapNotify event is generated.
If the window becomes viewable and no earlier contents for it are remembered, the X server tiles the window with its background. If the window's background is undefined, the existing screen contents are not altered, and the X server generates zero or more Expose events.
If the window type is InputOutput, an Expose event will be generated when the window becomes visible. The normal response to an Expose event should be to repaint the window.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_MAP_WINDOW.
xcb_void_cookie_t xcb_no_operation | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_NO_OPERATION.
xcb_void_cookie_t xcb_no_operation_checked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_NO_OPERATION.
xcb_void_cookie_t xcb_open_font | ( | xcb_connection_t * | c, |
xcb_font_t | fid, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
opens a font
c | The connection |
fid | The ID with which you will refer to the font, created by xcb_generate_id . |
name_len | Length (in bytes) of name. |
name | A pattern describing an X core font. |
Opens any X core font matching the given name (for example "-misc-fixed-*").
Note that X core fonts are deprecated (but still supported) in favor of client-side rendering using Xft.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_OPEN_FONT.
xcb_void_cookie_t xcb_open_font_checked | ( | xcb_connection_t * | c, |
xcb_font_t | fid, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
opens a font
c | The connection |
fid | The ID with which you will refer to the font, created by xcb_generate_id . |
name_len | Length (in bytes) of name. |
name | A pattern describing an X core font. |
Opens any X core font matching the given name (for example "-misc-fixed-*").
Note that X core fonts are deprecated (but still supported) in favor of client-side rendering using Xft.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_OPEN_FONT.
xcb_generic_iterator_t xcb_pixmap_end | ( | xcb_pixmap_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_pixmap_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_pixmap_next | ( | xcb_pixmap_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_pixmap_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_pixmap_t)
xcb_generic_iterator_t xcb_point_end | ( | xcb_point_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_point_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_point_next | ( | xcb_point_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_point_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_point_t)
xcb_void_cookie_t xcb_poly_arc | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | arcs_len, | ||
const xcb_arc_t * | arcs | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_POLY_ARC.
xcb_void_cookie_t xcb_poly_arc_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | arcs_len, | ||
const xcb_arc_t * | arcs | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_ARC.
xcb_void_cookie_t xcb_poly_fill_arc | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | arcs_len, | ||
const xcb_arc_t * | arcs | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_POLY_FILL_ARC.
xcb_void_cookie_t xcb_poly_fill_arc_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | arcs_len, | ||
const xcb_arc_t * | arcs | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_FILL_ARC.
xcb_void_cookie_t xcb_poly_fill_rectangle | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | rectangles_len, | ||
const xcb_rectangle_t * | rectangles | ||
) |
Fills rectangles.
c | The connection |
drawable | The drawable (Window or Pixmap) to draw on. |
gc | The graphics context to use. The following graphics context components are used: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. The following graphics context mode-dependent components are used: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin. |
rectangles_len | The number of xcb_rectangle_t structures in rectangles. |
rectangles | The rectangles to fill. |
Fills the specified rectangle(s) in the order listed in the array. For any given rectangle, each pixel is not drawn more than once. If rectangles intersect, the intersecting pixels are drawn multiple times.
References XCB_POLY_FILL_RECTANGLE.
xcb_void_cookie_t xcb_poly_fill_rectangle_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | rectangles_len, | ||
const xcb_rectangle_t * | rectangles | ||
) |
Fills rectangles.
c | The connection |
drawable | The drawable (Window or Pixmap) to draw on. |
gc | The graphics context to use. The following graphics context components are used: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. The following graphics context mode-dependent components are used: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin. |
rectangles_len | The number of xcb_rectangle_t structures in rectangles. |
rectangles | The rectangles to fill. |
Fills the specified rectangle(s) in the order listed in the array. For any given rectangle, each pixel is not drawn more than once. If rectangles intersect, the intersecting pixels are drawn multiple times.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_FILL_RECTANGLE.
xcb_void_cookie_t xcb_poly_line | ( | xcb_connection_t * | c, |
uint8_t | coordinate_mode, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | points_len, | ||
const xcb_point_t * | points | ||
) |
draw lines
c | The connection |
coordinate_mode | A bitmask of xcb_coord_mode_t values. |
coordinate_mode | |
drawable | The drawable to draw the line(s) on. |
gc | The graphics context to use. |
points_len | The number of xcb_point_t structures in points. |
points | An array of points. |
Draws points_len-1 lines between each pair of points (point[i], point[i+1]) in the points array. The lines are drawn in the order listed in the array. They join correctly at all intermediate points, and if the first and last points coincide, the first and last lines also join correctly. For any given line, a pixel is not drawn more than once. If thin (zero line-width) lines intersect, the intersecting pixels are drawn multiple times. If wide lines intersect, the intersecting pixels are drawn only once, as though the entire request were a single, filled shape.
References XCB_POLY_LINE.
xcb_void_cookie_t xcb_poly_line_checked | ( | xcb_connection_t * | c, |
uint8_t | coordinate_mode, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | points_len, | ||
const xcb_point_t * | points | ||
) |
draw lines
c | The connection |
coordinate_mode | A bitmask of xcb_coord_mode_t values. |
coordinate_mode | |
drawable | The drawable to draw the line(s) on. |
gc | The graphics context to use. |
points_len | The number of xcb_point_t structures in points. |
points | An array of points. |
Draws points_len-1 lines between each pair of points (point[i], point[i+1]) in the points array. The lines are drawn in the order listed in the array. They join correctly at all intermediate points, and if the first and last points coincide, the first and last lines also join correctly. For any given line, a pixel is not drawn more than once. If thin (zero line-width) lines intersect, the intersecting pixels are drawn multiple times. If wide lines intersect, the intersecting pixels are drawn only once, as though the entire request were a single, filled shape.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_LINE.
xcb_void_cookie_t xcb_poly_point | ( | xcb_connection_t * | c, |
uint8_t | coordinate_mode, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | points_len, | ||
const xcb_point_t * | points | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_POLY_POINT.
xcb_void_cookie_t xcb_poly_point_checked | ( | xcb_connection_t * | c, |
uint8_t | coordinate_mode, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | points_len, | ||
const xcb_point_t * | points | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_POINT.
xcb_void_cookie_t xcb_poly_rectangle | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | rectangles_len, | ||
const xcb_rectangle_t * | rectangles | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_POLY_RECTANGLE.
xcb_void_cookie_t xcb_poly_rectangle_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | rectangles_len, | ||
const xcb_rectangle_t * | rectangles | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_RECTANGLE.
xcb_void_cookie_t xcb_poly_segment | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | segments_len, | ||
const xcb_segment_t * | segments | ||
) |
draw lines
c | The connection |
drawable | A drawable (Window or Pixmap) to draw on. |
gc | The graphics context to use. TODO: document which attributes of a gc are used |
segments_len | The number of xcb_segment_t structures in segments. |
segments | An array of xcb_segment_t structures. |
Draws multiple, unconnected lines. For each segment, a line is drawn between (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of xcb_segment_t
structures and does not perform joining at coincident endpoints. For any given line, a pixel is not drawn more than once. If lines intersect, the intersecting pixels are drawn multiple times.
TODO: include the xcb_segment_t data structure
TODO: an example
References XCB_POLY_SEGMENT.
xcb_void_cookie_t xcb_poly_segment_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint32_t | segments_len, | ||
const xcb_segment_t * | segments | ||
) |
draw lines
c | The connection |
drawable | A drawable (Window or Pixmap) to draw on. |
gc | The graphics context to use. TODO: document which attributes of a gc are used |
segments_len | The number of xcb_segment_t structures in segments. |
segments | An array of xcb_segment_t structures. |
Draws multiple, unconnected lines. For each segment, a line is drawn between (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of xcb_segment_t
structures and does not perform joining at coincident endpoints. For any given line, a pixel is not drawn more than once. If lines intersect, the intersecting pixels are drawn multiple times.
TODO: include the xcb_segment_t data structure
TODO: an example
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_SEGMENT.
xcb_void_cookie_t xcb_poly_text_16 | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
uint32_t | items_len, | ||
const uint8_t * | items | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_POLY_TEXT_16.
xcb_void_cookie_t xcb_poly_text_16_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
uint32_t | items_len, | ||
const uint8_t * | items | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_TEXT_16.
xcb_void_cookie_t xcb_poly_text_8 | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
uint32_t | items_len, | ||
const uint8_t * | items | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_POLY_TEXT_8.
xcb_void_cookie_t xcb_poly_text_8_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
int16_t | x, | ||
int16_t | y, | ||
uint32_t | items_len, | ||
const uint8_t * | items | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_POLY_TEXT_8.
xcb_void_cookie_t xcb_put_image | ( | xcb_connection_t * | c, |
uint8_t | format, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint16_t | width, | ||
uint16_t | height, | ||
int16_t | dst_x, | ||
int16_t | dst_y, | ||
uint8_t | left_pad, | ||
uint8_t | depth, | ||
uint32_t | data_len, | ||
const uint8_t * | data | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_PUT_IMAGE.
xcb_void_cookie_t xcb_put_image_checked | ( | xcb_connection_t * | c, |
uint8_t | format, | ||
xcb_drawable_t | drawable, | ||
xcb_gcontext_t | gc, | ||
uint16_t | width, | ||
uint16_t | height, | ||
int16_t | dst_x, | ||
int16_t | dst_y, | ||
uint8_t | left_pad, | ||
uint8_t | depth, | ||
uint32_t | data_len, | ||
const uint8_t * | data | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_PUT_IMAGE.
xcb_query_best_size_cookie_t xcb_query_best_size | ( | xcb_connection_t * | c, |
uint8_t | _class, | ||
xcb_drawable_t | drawable, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_QUERY_BEST_SIZE.
xcb_query_best_size_reply_t* xcb_query_best_size_reply | ( | xcb_connection_t * | c, |
xcb_query_best_size_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_best_size_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_query_best_size_cookie_t xcb_query_best_size_unchecked | ( | xcb_connection_t * | c, |
uint8_t | _class, | ||
xcb_drawable_t | drawable, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_QUERY_BEST_SIZE.
xcb_query_colors_cookie_t xcb_query_colors | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint32_t | pixels_len, | ||
const uint32_t * | pixels | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_QUERY_COLORS.
xcb_query_colors_reply_t* xcb_query_colors_reply | ( | xcb_connection_t * | c, |
xcb_query_colors_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_colors_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_query_colors_cookie_t xcb_query_colors_unchecked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint32_t | pixels_len, | ||
const uint32_t * | pixels | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_QUERY_COLORS.
xcb_query_extension_cookie_t xcb_query_extension | ( | xcb_connection_t * | c, |
uint16_t | name_len, | ||
const char * | name | ||
) |
check if extension is present
c | The connection |
name_len | The length of name in bytes. |
name | The name of the extension to query, for example "RANDR". This is case sensitive! |
Determines if the specified extension is present on this X11 server.
Every extension has a unique major_opcode
to identify requests, the minor opcodes and request formats are extension-specific. If the extension provides events and errors, the first_event
and first_error
fields in the reply are set accordingly.
There should rarely be a need to use this request directly, XCB provides the xcb_get_extension_data
function instead.
References XCB_QUERY_EXTENSION.
xcb_query_extension_reply_t* xcb_query_extension_reply | ( | xcb_connection_t * | c, |
xcb_query_extension_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_extension_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
Referenced by xcb_get_extension_data().
xcb_query_extension_cookie_t xcb_query_extension_unchecked | ( | xcb_connection_t * | c, |
uint16_t | name_len, | ||
const char * | name | ||
) |
check if extension is present
c | The connection |
name_len | The length of name in bytes. |
name | The name of the extension to query, for example "RANDR". This is case sensitive! |
Determines if the specified extension is present on this X11 server.
Every extension has a unique major_opcode
to identify requests, the minor opcodes and request formats are extension-specific. If the extension provides events and errors, the first_event
and first_error
fields in the reply are set accordingly.
There should rarely be a need to use this request directly, XCB provides the xcb_get_extension_data
function instead.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_QUERY_EXTENSION.
xcb_query_font_cookie_t xcb_query_font | ( | xcb_connection_t * | c, |
xcb_fontable_t | font | ||
) |
query font metrics
c | The connection |
font | The fontable (Font or Graphics Context) to query. |
Queries information associated with the font.
References XCB_QUERY_FONT.
xcb_query_font_reply_t* xcb_query_font_reply | ( | xcb_connection_t * | c, |
xcb_query_font_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_font_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_query_font_cookie_t xcb_query_font_unchecked | ( | xcb_connection_t * | c, |
xcb_fontable_t | font | ||
) |
query font metrics
c | The connection |
font | The fontable (Font or Graphics Context) to query. |
Queries information associated with the font.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_fontprop_end(), and XCB_QUERY_FONT.
xcb_query_keymap_cookie_t xcb_query_keymap | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_QUERY_KEYMAP.
xcb_query_keymap_reply_t* xcb_query_keymap_reply | ( | xcb_connection_t * | c, |
xcb_query_keymap_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_keymap_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_query_keymap_cookie_t xcb_query_keymap_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_QUERY_KEYMAP.
xcb_query_pointer_cookie_t xcb_query_pointer | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
get pointer coordinates
c | The connection |
window | A window to check if the pointer is on the same screen as window (see the same_screen field in the reply). |
Gets the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.
References XCB_QUERY_POINTER.
xcb_query_pointer_reply_t* xcb_query_pointer_reply | ( | xcb_connection_t * | c, |
xcb_query_pointer_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_pointer_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_query_pointer_cookie_t xcb_query_pointer_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
get pointer coordinates
c | The connection |
window | A window to check if the pointer is on the same screen as window (see the same_screen field in the reply). |
Gets the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_QUERY_POINTER.
xcb_query_text_extents_cookie_t xcb_query_text_extents | ( | xcb_connection_t * | c, |
xcb_fontable_t | font, | ||
uint32_t | string_len, | ||
const xcb_char2b_t * | string | ||
) |
get text extents
c | The connection |
font | The font to calculate text extents in. You can also pass a graphics context. |
string_len | The number of characters in string. |
string | The text to get text extents for. |
Query text extents from the X11 server. This request returns the bounding box of the specified 16-bit character string in the specified font or the font contained in the specified graphics context.
font_ascent
is set to the maximum of the ascent metrics of all characters in the string. font_descent
is set to the maximum of the descent metrics. overall_width
is set to the sum of the character-width metrics of all characters in the string. For each character in the string, let W be the sum of the character-width metrics of all characters preceding it in the string. Let L be the left-side-bearing metric of the character plus W. Let R be the right-side-bearing metric of the character plus W. The lbearing member is set to the minimum L of all characters in the string. The rbearing member is set to the maximum R.
For fonts defined with linear indexing rather than 2-byte matrix indexing, each xcb_char2b_t
structure is interpreted as a 16-bit number with byte1 as the most significant byte. If the font has no defined default character, undefined characters in the string are taken to have all zero metrics.
Characters with all zero metrics are ignored. If the font has no defined default_char, the undefined characters in the string are also ignored.
References XCB_QUERY_TEXT_EXTENTS.
xcb_query_text_extents_reply_t* xcb_query_text_extents_reply | ( | xcb_connection_t * | c, |
xcb_query_text_extents_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_text_extents_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked | ( | xcb_connection_t * | c, |
xcb_fontable_t | font, | ||
uint32_t | string_len, | ||
const xcb_char2b_t * | string | ||
) |
get text extents
c | The connection |
font | The font to calculate text extents in. You can also pass a graphics context. |
string_len | The number of characters in string. |
string | The text to get text extents for. |
Query text extents from the X11 server. This request returns the bounding box of the specified 16-bit character string in the specified font or the font contained in the specified graphics context.
font_ascent
is set to the maximum of the ascent metrics of all characters in the string. font_descent
is set to the maximum of the descent metrics. overall_width
is set to the sum of the character-width metrics of all characters in the string. For each character in the string, let W be the sum of the character-width metrics of all characters preceding it in the string. Let L be the left-side-bearing metric of the character plus W. Let R be the right-side-bearing metric of the character plus W. The lbearing member is set to the minimum L of all characters in the string. The rbearing member is set to the maximum R.
For fonts defined with linear indexing rather than 2-byte matrix indexing, each xcb_char2b_t
structure is interpreted as a 16-bit number with byte1 as the most significant byte. If the font has no defined default character, undefined characters in the string are taken to have all zero metrics.
Characters with all zero metrics are ignored. If the font has no defined default_char, the undefined characters in the string are also ignored.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_QUERY_TEXT_EXTENTS.
xcb_query_tree_cookie_t xcb_query_tree | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
query the window tree
c | The connection |
window | The window to query. |
Gets the root window ID, parent window ID and list of children windows for the specified window. The children are listed in bottom-to-top stacking order.
References XCB_QUERY_TREE.
xcb_query_tree_reply_t* xcb_query_tree_reply | ( | xcb_connection_t * | c, |
xcb_query_tree_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_query_tree_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_query_tree_cookie_t xcb_query_tree_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
query the window tree
c | The connection |
window | The window to query. |
Gets the root window ID, parent window ID and list of children windows for the specified window. The children are listed in bottom-to-top stacking order.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_QUERY_TREE.
xcb_void_cookie_t xcb_recolor_cursor | ( | xcb_connection_t * | c, |
xcb_cursor_t | cursor, | ||
uint16_t | fore_red, | ||
uint16_t | fore_green, | ||
uint16_t | fore_blue, | ||
uint16_t | back_red, | ||
uint16_t | back_green, | ||
uint16_t | back_blue | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_RECOLOR_CURSOR.
xcb_void_cookie_t xcb_recolor_cursor_checked | ( | xcb_connection_t * | c, |
xcb_cursor_t | cursor, | ||
uint16_t | fore_red, | ||
uint16_t | fore_green, | ||
uint16_t | fore_blue, | ||
uint16_t | back_red, | ||
uint16_t | back_green, | ||
uint16_t | back_blue | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_RECOLOR_CURSOR.
xcb_generic_iterator_t xcb_rectangle_end | ( | xcb_rectangle_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_rectangle_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_rectangle_next | ( | xcb_rectangle_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_rectangle_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_rectangle_t)
xcb_void_cookie_t xcb_reparent_window | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_window_t | parent, | ||
int16_t | x, | ||
int16_t | y | ||
) |
Reparents a window.
c | The connection |
window | The window to reparent. |
parent | The new parent of the window. |
x | The X position of the window within its new parent. |
y | The Y position of the window within its new parent. |
Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before reparenting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.
After reparenting, a ReparentNotify event is generated.
References XCB_REPARENT_WINDOW.
xcb_void_cookie_t xcb_reparent_window_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_window_t | parent, | ||
int16_t | x, | ||
int16_t | y | ||
) |
Reparents a window.
c | The connection |
window | The window to reparent. |
parent | The new parent of the window. |
x | The X position of the window within its new parent. |
y | The Y position of the window within its new parent. |
Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before reparenting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.
After reparenting, a ReparentNotify event is generated.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_REPARENT_WINDOW.
xcb_generic_iterator_t xcb_rgb_end | ( | xcb_rgb_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_rgb_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_rgb_next | ( | xcb_rgb_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_rgb_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_rgb_t)
xcb_void_cookie_t xcb_rotate_properties | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint16_t | atoms_len, | ||
int16_t | delta, | ||
const xcb_atom_t * | atoms | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_ROTATE_PROPERTIES.
xcb_void_cookie_t xcb_rotate_properties_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
uint16_t | atoms_len, | ||
int16_t | delta, | ||
const xcb_atom_t * | atoms | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_ROTATE_PROPERTIES.
xcb_generic_iterator_t xcb_screen_end | ( | xcb_screen_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_screen_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_screen_next().
void xcb_screen_next | ( | xcb_screen_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_screen_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_screen_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_screen_end().
xcb_generic_iterator_t xcb_segment_end | ( | xcb_segment_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_segment_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_segment_next | ( | xcb_segment_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_segment_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_segment_t)
xcb_void_cookie_t xcb_send_event | ( | xcb_connection_t * | c, |
uint8_t | propagate, | ||
xcb_window_t | destination, | ||
uint32_t | event_mask, | ||
const char * | event | ||
) |
send an event
c | The connection |
propagate | If propagate is true and no clients have selected any event on destination, the destination is replaced with the closest ancestor of destination for which some client has selected a type in event_mask and for which no intervening window has that type in its do-not-propagate-mask. If no such window exists or if the window is an ancestor of the focus window and InputFocus was originally specified as the destination, the event is not sent to any clients. Otherwise, the event is reported to every client selecting on the final destination any of the types specified in event_mask. |
destination | The window to send this event to. Every client which selects any event within event_mask on destination will get the event. The special value XCB_SEND_EVENT_DEST_POINTER_WINDOW refers to the window that contains the mouse pointer. The special value XCB_SEND_EVENT_DEST_ITEM_FOCUS refers to the window which has the keyboard focus. |
event_mask | Event_mask for determining which clients should receive the specified event. See destination and propagate. |
event | The event to send to the specified destination. |
Identifies the destination window, determines which clients should receive the specified event and ignores any active grabs.
The event must be one of the core events or an event defined by an extension, so that the X server can correctly byte-swap the contents as necessary. The contents of event are otherwise unaltered and unchecked except for the send_event
field which is forced to 'true'.
References XCB_SEND_EVENT.
xcb_void_cookie_t xcb_send_event_checked | ( | xcb_connection_t * | c, |
uint8_t | propagate, | ||
xcb_window_t | destination, | ||
uint32_t | event_mask, | ||
const char * | event | ||
) |
send an event
c | The connection |
propagate | If propagate is true and no clients have selected any event on destination, the destination is replaced with the closest ancestor of destination for which some client has selected a type in event_mask and for which no intervening window has that type in its do-not-propagate-mask. If no such window exists or if the window is an ancestor of the focus window and InputFocus was originally specified as the destination, the event is not sent to any clients. Otherwise, the event is reported to every client selecting on the final destination any of the types specified in event_mask. |
destination | The window to send this event to. Every client which selects any event within event_mask on destination will get the event. The special value XCB_SEND_EVENT_DEST_POINTER_WINDOW refers to the window that contains the mouse pointer. The special value XCB_SEND_EVENT_DEST_ITEM_FOCUS refers to the window which has the keyboard focus. |
event_mask | Event_mask for determining which clients should receive the specified event. See destination and propagate. |
event | The event to send to the specified destination. |
Identifies the destination window, determines which clients should receive the specified event and ignores any active grabs.
The event must be one of the core events or an event defined by an extension, so that the X server can correctly byte-swap the contents as necessary. The contents of event are otherwise unaltered and unchecked except for the send_event
field which is forced to 'true'.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SEND_EVENT.
xcb_void_cookie_t xcb_set_access_control | ( | xcb_connection_t * | c, |
uint8_t | mode | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_ACCESS_CONTROL.
xcb_void_cookie_t xcb_set_access_control_checked | ( | xcb_connection_t * | c, |
uint8_t | mode | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_ACCESS_CONTROL.
xcb_void_cookie_t xcb_set_clip_rectangles | ( | xcb_connection_t * | c, |
uint8_t | ordering, | ||
xcb_gcontext_t | gc, | ||
int16_t | clip_x_origin, | ||
int16_t | clip_y_origin, | ||
uint32_t | rectangles_len, | ||
const xcb_rectangle_t * | rectangles | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_CLIP_RECTANGLES.
xcb_void_cookie_t xcb_set_clip_rectangles_checked | ( | xcb_connection_t * | c, |
uint8_t | ordering, | ||
xcb_gcontext_t | gc, | ||
int16_t | clip_x_origin, | ||
int16_t | clip_y_origin, | ||
uint32_t | rectangles_len, | ||
const xcb_rectangle_t * | rectangles | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_CLIP_RECTANGLES.
xcb_void_cookie_t xcb_set_close_down_mode | ( | xcb_connection_t * | c, |
uint8_t | mode | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_CLOSE_DOWN_MODE.
xcb_void_cookie_t xcb_set_close_down_mode_checked | ( | xcb_connection_t * | c, |
uint8_t | mode | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_CLOSE_DOWN_MODE.
xcb_void_cookie_t xcb_set_dashes | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc, | ||
uint16_t | dash_offset, | ||
uint16_t | dashes_len, | ||
const uint8_t * | dashes | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_SET_DASHES.
xcb_void_cookie_t xcb_set_dashes_checked | ( | xcb_connection_t * | c, |
xcb_gcontext_t | gc, | ||
uint16_t | dash_offset, | ||
uint16_t | dashes_len, | ||
const uint8_t * | dashes | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_DASHES.
xcb_void_cookie_t xcb_set_font_path | ( | xcb_connection_t * | c, |
uint16_t | font_qty, | ||
const xcb_str_t * | font | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_FONT_PATH.
xcb_void_cookie_t xcb_set_font_path_checked | ( | xcb_connection_t * | c, |
uint16_t | font_qty, | ||
const xcb_str_t * | font | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_FONT_PATH.
xcb_void_cookie_t xcb_set_input_focus | ( | xcb_connection_t * | c, |
uint8_t | revert_to, | ||
xcb_window_t | focus, | ||
xcb_timestamp_t | time | ||
) |
Sets input focus.
c | The connection |
revert_to | A bitmask of xcb_input_focus_t values. |
revert_to | Specifies what happens when the focus window becomes unviewable (if focus is neither XCB_NONE nor XCB_POINTER_ROOT ). |
focus | The window to focus. All keyboard events will be reported to this window. The window must be viewable (TODO), or a xcb_match_error_t occurs (TODO). If focus is XCB_NONE (TODO), all keyboard events are discarded until a new focus window is set. If focus is XCB_POINTER_ROOT (TODO), focus is on the root window of the screen on which the pointer is on currently. |
time | Timestamp to avoid race conditions when running X over the network. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Changes the input focus and the last-focus-change time. If the specified time is earlier than the current last-focus-change time, the request is ignored (to avoid race conditions when running X over the network).
A FocusIn and FocusOut event is generated when focus is changed.
References XCB_SET_INPUT_FOCUS.
xcb_void_cookie_t xcb_set_input_focus_checked | ( | xcb_connection_t * | c, |
uint8_t | revert_to, | ||
xcb_window_t | focus, | ||
xcb_timestamp_t | time | ||
) |
Sets input focus.
c | The connection |
revert_to | A bitmask of xcb_input_focus_t values. |
revert_to | Specifies what happens when the focus window becomes unviewable (if focus is neither XCB_NONE nor XCB_POINTER_ROOT ). |
focus | The window to focus. All keyboard events will be reported to this window. The window must be viewable (TODO), or a xcb_match_error_t occurs (TODO). If focus is XCB_NONE (TODO), all keyboard events are discarded until a new focus window is set. If focus is XCB_POINTER_ROOT (TODO), focus is on the root window of the screen on which the pointer is on currently. |
time | Timestamp to avoid race conditions when running X over the network. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Changes the input focus and the last-focus-change time. If the specified time is earlier than the current last-focus-change time, the request is ignored (to avoid race conditions when running X over the network).
A FocusIn and FocusOut event is generated when focus is changed.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_INPUT_FOCUS.
xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping | ( | xcb_connection_t * | c, |
uint8_t | keycodes_per_modifier, | ||
const xcb_keycode_t * | keycodes | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_MODIFIER_MAPPING.
xcb_set_modifier_mapping_reply_t* xcb_set_modifier_mapping_reply | ( | xcb_connection_t * | c, |
xcb_set_modifier_mapping_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_set_modifier_mapping_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked | ( | xcb_connection_t * | c, |
uint8_t | keycodes_per_modifier, | ||
const xcb_keycode_t * | keycodes | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_SET_MODIFIER_MAPPING.
xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping | ( | xcb_connection_t * | c, |
uint8_t | map_len, | ||
const uint8_t * | map | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_POINTER_MAPPING.
xcb_set_pointer_mapping_reply_t* xcb_set_pointer_mapping_reply | ( | xcb_connection_t * | c, |
xcb_set_pointer_mapping_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_set_pointer_mapping_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked | ( | xcb_connection_t * | c, |
uint8_t | map_len, | ||
const uint8_t * | map | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_SET_POINTER_MAPPING.
xcb_void_cookie_t xcb_set_screen_saver | ( | xcb_connection_t * | c, |
int16_t | timeout, | ||
int16_t | interval, | ||
uint8_t | prefer_blanking, | ||
uint8_t | allow_exposures | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_SET_SCREEN_SAVER.
xcb_void_cookie_t xcb_set_screen_saver_checked | ( | xcb_connection_t * | c, |
int16_t | timeout, | ||
int16_t | interval, | ||
uint8_t | prefer_blanking, | ||
uint8_t | allow_exposures | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_SCREEN_SAVER.
xcb_void_cookie_t xcb_set_selection_owner | ( | xcb_connection_t * | c, |
xcb_window_t | owner, | ||
xcb_atom_t | selection, | ||
xcb_timestamp_t | time | ||
) |
Sets the owner of a selection.
c | The connection |
owner | The new owner of the selection. The special value XCB_NONE means that the selection will have no owner. |
selection | The selection. |
time | Timestamp to avoid race conditions when running X over the network. The selection will not be changed if time is earlier than the current last-change time of the selection or is later than the current X server time. Otherwise, the last-change time is set to the specified time. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Makes window
the owner of the selection selection and updates the last-change time of the specified selection.
TODO: briefly explain what a selection is.
References XCB_SET_SELECTION_OWNER.
xcb_void_cookie_t xcb_set_selection_owner_checked | ( | xcb_connection_t * | c, |
xcb_window_t | owner, | ||
xcb_atom_t | selection, | ||
xcb_timestamp_t | time | ||
) |
Sets the owner of a selection.
c | The connection |
owner | The new owner of the selection. The special value XCB_NONE means that the selection will have no owner. |
selection | The selection. |
time | Timestamp to avoid race conditions when running X over the network. The selection will not be changed if time is earlier than the current last-change time of the selection or is later than the current X server time. Otherwise, the last-change time is set to the specified time. The special value XCB_CURRENT_TIME will be replaced with the current server time. |
Makes window
the owner of the selection selection and updates the last-change time of the specified selection.
TODO: briefly explain what a selection is.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_SET_SELECTION_OWNER.
xcb_generic_iterator_t xcb_setup_authenticate_end | ( | xcb_setup_authenticate_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_setup_authenticate_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, xcb_format_end(), and xcb_setup_authenticate_next().
void xcb_setup_authenticate_next | ( | xcb_setup_authenticate_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_setup_authenticate_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_authenticate_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_setup_authenticate_end().
xcb_generic_iterator_t xcb_setup_end | ( | xcb_setup_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_setup_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_setup_next().
xcb_generic_iterator_t xcb_setup_failed_end | ( | xcb_setup_failed_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_setup_failed_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_setup_failed_next().
void xcb_setup_failed_next | ( | xcb_setup_failed_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_setup_failed_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_failed_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_setup_failed_end().
void xcb_setup_next | ( | xcb_setup_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_setup_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_setup_end().
xcb_generic_iterator_t xcb_setup_request_end | ( | xcb_setup_request_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_setup_request_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_setup_request_next().
void xcb_setup_request_next | ( | xcb_setup_request_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_setup_request_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_request_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_setup_request_end().
xcb_void_cookie_t xcb_store_colors | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint32_t | items_len, | ||
const xcb_coloritem_t * | items | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_STORE_COLORS.
xcb_void_cookie_t xcb_store_colors_checked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap, | ||
uint32_t | items_len, | ||
const xcb_coloritem_t * | items | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_STORE_COLORS.
xcb_void_cookie_t xcb_store_named_color | ( | xcb_connection_t * | c, |
uint8_t | flags, | ||
xcb_colormap_t | cmap, | ||
uint32_t | pixel, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_STORE_NAMED_COLOR.
xcb_void_cookie_t xcb_store_named_color_checked | ( | xcb_connection_t * | c, |
uint8_t | flags, | ||
xcb_colormap_t | cmap, | ||
uint32_t | pixel, | ||
uint16_t | name_len, | ||
const char * | name | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_STORE_NAMED_COLOR.
xcb_generic_iterator_t xcb_str_end | ( | xcb_str_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_str_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_str_next().
void xcb_str_next | ( | xcb_str_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_str_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_str_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_str_end().
xcb_generic_iterator_t xcb_timecoord_end | ( | xcb_timecoord_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_timecoord_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_timecoord_next | ( | xcb_timecoord_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_timecoord_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_timecoord_t)
xcb_generic_iterator_t xcb_timestamp_end | ( | xcb_timestamp_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_timestamp_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_timestamp_next | ( | xcb_timestamp_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_timestamp_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_timestamp_t)
xcb_translate_coordinates_cookie_t xcb_translate_coordinates | ( | xcb_connection_t * | c, |
xcb_window_t | src_window, | ||
xcb_window_t | dst_window, | ||
int16_t | src_x, | ||
int16_t | src_y | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_TRANSLATE_COORDINATES.
xcb_translate_coordinates_reply_t* xcb_translate_coordinates_reply | ( | xcb_connection_t * | c, |
xcb_translate_coordinates_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_translate_coordinates_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | src_window, | ||
xcb_window_t | dst_window, | ||
int16_t | src_x, | ||
int16_t | src_y | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_TRANSLATE_COORDINATES.
xcb_void_cookie_t xcb_ungrab_button | ( | xcb_connection_t * | c, |
uint8_t | button, | ||
xcb_window_t | grab_window, | ||
uint16_t | modifiers | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_UNGRAB_BUTTON.
xcb_void_cookie_t xcb_ungrab_button_checked | ( | xcb_connection_t * | c, |
uint8_t | button, | ||
xcb_window_t | grab_window, | ||
uint16_t | modifiers | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNGRAB_BUTTON.
xcb_void_cookie_t xcb_ungrab_key | ( | xcb_connection_t * | c, |
xcb_keycode_t | key, | ||
xcb_window_t | grab_window, | ||
uint16_t | modifiers | ||
) |
release a key combination
c | The connection |
key | The keycode of the specified key combination. Using the special value XCB_GRAB_ANY means releasing all possible key codes. |
grab_window | The window on which the grabbed key combination will be released. |
modifiers | The modifiers of the specified key combination. Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination. |
Releases the key combination on grab_window if you grabbed it using xcb_grab_key
before.
References XCB_UNGRAB_KEY.
xcb_void_cookie_t xcb_ungrab_key_checked | ( | xcb_connection_t * | c, |
xcb_keycode_t | key, | ||
xcb_window_t | grab_window, | ||
uint16_t | modifiers | ||
) |
release a key combination
c | The connection |
key | The keycode of the specified key combination. Using the special value XCB_GRAB_ANY means releasing all possible key codes. |
grab_window | The window on which the grabbed key combination will be released. |
modifiers | The modifiers of the specified key combination. Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination. |
Releases the key combination on grab_window if you grabbed it using xcb_grab_key
before.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNGRAB_KEY.
xcb_void_cookie_t xcb_ungrab_keyboard | ( | xcb_connection_t * | c, |
xcb_timestamp_t | time | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_UNGRAB_KEYBOARD.
xcb_void_cookie_t xcb_ungrab_keyboard_checked | ( | xcb_connection_t * | c, |
xcb_timestamp_t | time | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNGRAB_KEYBOARD.
xcb_void_cookie_t xcb_ungrab_pointer | ( | xcb_connection_t * | c, |
xcb_timestamp_t | time | ||
) |
release the pointer
c | The connection |
time | Timestamp to avoid race conditions when running X over the network. The pointer will not be released if time is earlier than the last-pointer-grab time or later than the current X server time. |
Releases the pointer and any queued events if you actively grabbed the pointer before using xcb_grab_pointer
, xcb_grab_button
or within a normal button press.
EnterNotify and LeaveNotify events are generated.
References XCB_UNGRAB_POINTER.
xcb_void_cookie_t xcb_ungrab_pointer_checked | ( | xcb_connection_t * | c, |
xcb_timestamp_t | time | ||
) |
release the pointer
c | The connection |
time | Timestamp to avoid race conditions when running X over the network. The pointer will not be released if time is earlier than the last-pointer-grab time or later than the current X server time. |
Releases the pointer and any queued events if you actively grabbed the pointer before using xcb_grab_pointer
, xcb_grab_button
or within a normal button press.
EnterNotify and LeaveNotify events are generated.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNGRAB_POINTER.
xcb_void_cookie_t xcb_ungrab_server | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_UNGRAB_SERVER.
xcb_void_cookie_t xcb_ungrab_server_checked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNGRAB_SERVER.
xcb_void_cookie_t xcb_uninstall_colormap | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_UNINSTALL_COLORMAP.
xcb_void_cookie_t xcb_uninstall_colormap_checked | ( | xcb_connection_t * | c, |
xcb_colormap_t | cmap | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNINSTALL_COLORMAP.
xcb_void_cookie_t xcb_unmap_subwindows | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_UNMAP_SUBWINDOWS.
xcb_void_cookie_t xcb_unmap_subwindows_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNMAP_SUBWINDOWS.
xcb_void_cookie_t xcb_unmap_window | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Makes a window invisible.
c | The connection |
window | The window to make invisible. |
Unmaps the specified window. This means making the window invisible (and all its child windows).
Unmapping a window leads to the UnmapNotify
event being generated. Also, Expose
events are generated for formerly obscured windows.
References XCB_UNMAP_WINDOW.
xcb_void_cookie_t xcb_unmap_window_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
Makes a window invisible.
c | The connection |
window | The window to make invisible. |
Unmaps the specified window. This means making the window invisible (and all its child windows).
Unmapping a window leads to the UnmapNotify
event being generated. Also, Expose
events are generated for formerly obscured windows.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_UNMAP_WINDOW.
xcb_generic_iterator_t xcb_visualid_end | ( | xcb_visualid_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_visualid_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_visualid_next | ( | xcb_visualid_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_visualid_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_visualid_t)
xcb_generic_iterator_t xcb_visualtype_end | ( | xcb_visualtype_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_visualtype_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_visualtype_next | ( | xcb_visualtype_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_visualtype_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_visualtype_t)
xcb_void_cookie_t xcb_warp_pointer | ( | xcb_connection_t * | c, |
xcb_window_t | src_window, | ||
xcb_window_t | dst_window, | ||
int16_t | src_x, | ||
int16_t | src_y, | ||
uint16_t | src_width, | ||
uint16_t | src_height, | ||
int16_t | dst_x, | ||
int16_t | dst_y | ||
) |
move mouse pointer
c | The connection |
src_window | If src_window is not XCB_NONE (TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window. |
dst_window | If dst_window is not XCB_NONE (TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE (TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer. |
Moves the mouse pointer to the specified position.
If src_window is not XCB_NONE
(TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window.
If dst_window is not XCB_NONE
(TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE
(TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer.
References XCB_WARP_POINTER.
xcb_void_cookie_t xcb_warp_pointer_checked | ( | xcb_connection_t * | c, |
xcb_window_t | src_window, | ||
xcb_window_t | dst_window, | ||
int16_t | src_x, | ||
int16_t | src_y, | ||
uint16_t | src_width, | ||
uint16_t | src_height, | ||
int16_t | dst_x, | ||
int16_t | dst_y | ||
) |
move mouse pointer
c | The connection |
src_window | If src_window is not XCB_NONE (TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window. |
dst_window | If dst_window is not XCB_NONE (TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE (TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer. |
Moves the mouse pointer to the specified position.
If src_window is not XCB_NONE
(TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window.
If dst_window is not XCB_NONE
(TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE
(TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_WARP_POINTER.
xcb_generic_iterator_t xcb_window_end | ( | xcb_window_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_window_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_window_next | ( | xcb_window_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_window_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_window_t)