Linux Manuals session 3

Section 3: library functions

  • |

    xcb_query_font_char_infos_iterator (3) Linux Manual Page

    xcb_query_font – query font metrics Synopsis #include <xcb/xproto.h> Request function xcb_query_font_cookie_t xcb_query_font(xcb_connection_t *conn, xcb_fontable_t font); Reply datastructure typedef struct xcb_query_font_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; xcb_charinfo_t min_bounds; uint8_t pad1[4]; xcb_charinfo_t max_bounds; uint8_t pad2[4]; uint16_t min_char_or_byte2; uint16_t max_char_or_byte2; uint16_t default_char; uint16_t properties_len; uint8_t draw_direction; uint8_t min_byte1; uint8_t max_byte1; uint8_t all_chars_exist; int16_t font_ascent;…

  • |

    xcb_query_font_char_infos (3) Linux Manual Page

    xcb_query_font – query font metrics Synopsis #include <xcb/xproto.h> Request function xcb_query_font_cookie_t xcb_query_font(xcb_connection_t *conn, xcb_fontable_t font); Reply datastructure typedef struct xcb_query_font_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; xcb_charinfo_t min_bounds; uint8_t pad1[4]; xcb_charinfo_t max_bounds; uint8_t pad2[4]; uint16_t min_char_or_byte2; uint16_t max_char_or_byte2; uint16_t default_char; uint16_t properties_len; uint8_t draw_direction; uint8_t min_byte1; uint8_t max_byte1; uint8_t all_chars_exist; int16_t font_ascent;…

  • |

    xcb_query_font (3) Linux Manual Page

    xcb_query_font – query font metrics Synopsis #include <xcb/xproto.h> Request function xcb_query_font_cookie_t xcb_query_font(xcb_connection_t *conn, xcb_fontable_t font); Reply datastructure typedef struct xcb_query_font_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; xcb_charinfo_t min_bounds; uint8_t pad1[4]; xcb_charinfo_t max_bounds; uint8_t pad2[4]; uint16_t min_char_or_byte2; uint16_t max_char_or_byte2; uint16_t default_char; uint16_t properties_len; uint8_t draw_direction; uint8_t min_byte1; uint8_t max_byte1; uint8_t all_chars_exist; int16_t font_ascent;…

  • |

    xcb_query_extension_unchecked (3) Linux Manual Page

    xcb_query_extension – check if extension is present Synopsis #include <xcb/xproto.h> Request function xcb_query_extension_cookie_t xcb_query_extension(xcb_connection_t *conn, uint16_t name_len, const char *name); Reply datastructure typedef struct xcb_query_extension_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t present; uint8_t major_opcode; uint8_t first_event; uint8_t first_error; } xcb_query_extension_reply_t; Reply function xcb_query_extension_reply_t *xcb_query_extension_reply(xcb_connection_t *conn, xcb_query_extension_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB…

  • |

    xcb_query_extension_reply (3) Linux Manual Page

    xcb_query_extension – check if extension is present Synopsis #include <xcb/xproto.h> Request function xcb_query_extension_cookie_t xcb_query_extension(xcb_connection_t *conn, uint16_t name_len, const char *name); Reply datastructure typedef struct xcb_query_extension_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t present; uint8_t major_opcode; uint8_t first_event; uint8_t first_error; } xcb_query_extension_reply_t; Reply function xcb_query_extension_reply_t *xcb_query_extension_reply(xcb_connection_t *conn, xcb_query_extension_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB…

  • |

    xcb_query_extension (3) Linux Manual Page

    xcb_query_extension – check if extension is present Synopsis #include <xcb/xproto.h> Request function xcb_query_extension_cookie_t xcb_query_extension(xcb_connection_t *conn, uint16_t name_len, const char *name); Reply datastructure typedef struct xcb_query_extension_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t present; uint8_t major_opcode; uint8_t first_event; uint8_t first_error; } xcb_query_extension_reply_t; Reply function xcb_query_extension_reply_t *xcb_query_extension_reply(xcb_connection_t *conn, xcb_query_extension_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB…

  • |

    xcb_query_colors_unchecked (3) Linux Manual Page

    xcb_query_colors – Synopsis #include <xcb/xproto.h> Request function xcb_query_colors_cookie_t xcb_query_colors(xcb_connection_t *conn, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels); Reply datastructure typedef struct xcb_query_colors_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t colors_len; uint8_t pad1[22]; } xcb_query_colors_reply_t; Reply function xcb_query_colors_reply_t *xcb_query_colors_reply(xcb_connection_t *conn, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rgb_t *xcb_query_colors_colors(const xcb_query_colors_request_t *reply); int xcb_query_colors_colors_length(const xcb_query_colors_reply_t *reply); xcb_rgb_iterator_t xcb_query_colors_colors_iterator(const…

  • |

    xcb_query_colors_reply (3) Linux Manual Page

    xcb_query_colors – Synopsis #include <xcb/xproto.h> Request function xcb_query_colors_cookie_t xcb_query_colors(xcb_connection_t *conn, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels); Reply datastructure typedef struct xcb_query_colors_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t colors_len; uint8_t pad1[22]; } xcb_query_colors_reply_t; Reply function xcb_query_colors_reply_t *xcb_query_colors_reply(xcb_connection_t *conn, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rgb_t *xcb_query_colors_colors(const xcb_query_colors_request_t *reply); int xcb_query_colors_colors_length(const xcb_query_colors_reply_t *reply); xcb_rgb_iterator_t xcb_query_colors_colors_iterator(const…

  • |

    xcb_query_colors_colors_length (3) Linux Manual Page

    xcb_query_colors – Synopsis #include <xcb/xproto.h> Request function xcb_query_colors_cookie_t xcb_query_colors(xcb_connection_t *conn, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels); Reply datastructure typedef struct xcb_query_colors_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t colors_len; uint8_t pad1[22]; } xcb_query_colors_reply_t; Reply function xcb_query_colors_reply_t *xcb_query_colors_reply(xcb_connection_t *conn, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rgb_t *xcb_query_colors_colors(const xcb_query_colors_request_t *reply); int xcb_query_colors_colors_length(const xcb_query_colors_reply_t *reply); xcb_rgb_iterator_t xcb_query_colors_colors_iterator(const…

  • |

    xcb_query_colors_colors_iterator (3) Linux Manual Page

    xcb_query_colors – Synopsis #include <xcb/xproto.h> Request function xcb_query_colors_cookie_t xcb_query_colors(xcb_connection_t *conn, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels); Reply datastructure typedef struct xcb_query_colors_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t colors_len; uint8_t pad1[22]; } xcb_query_colors_reply_t; Reply function xcb_query_colors_reply_t *xcb_query_colors_reply(xcb_connection_t *conn, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rgb_t *xcb_query_colors_colors(const xcb_query_colors_request_t *reply); int xcb_query_colors_colors_length(const xcb_query_colors_reply_t *reply); xcb_rgb_iterator_t xcb_query_colors_colors_iterator(const…

  • |

    xcb_query_colors_colors (3) Linux Manual Page

    xcb_query_colors – Synopsis #include <xcb/xproto.h> Request function xcb_query_colors_cookie_t xcb_query_colors(xcb_connection_t *conn, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels); Reply datastructure typedef struct xcb_query_colors_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t colors_len; uint8_t pad1[22]; } xcb_query_colors_reply_t; Reply function xcb_query_colors_reply_t *xcb_query_colors_reply(xcb_connection_t *conn, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rgb_t *xcb_query_colors_colors(const xcb_query_colors_request_t *reply); int xcb_query_colors_colors_length(const xcb_query_colors_reply_t *reply); xcb_rgb_iterator_t xcb_query_colors_colors_iterator(const…

  • |

    xcb_query_colors (3) Linux Manual Page

    xcb_query_colors – Synopsis #include <xcb/xproto.h> Request function xcb_query_colors_cookie_t xcb_query_colors(xcb_connection_t *conn, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels); Reply datastructure typedef struct xcb_query_colors_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t colors_len; uint8_t pad1[22]; } xcb_query_colors_reply_t; Reply function xcb_query_colors_reply_t *xcb_query_colors_reply(xcb_connection_t *conn, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rgb_t *xcb_query_colors_colors(const xcb_query_colors_request_t *reply); int xcb_query_colors_colors_length(const xcb_query_colors_reply_t *reply); xcb_rgb_iterator_t xcb_query_colors_colors_iterator(const…

  • |

    xcb_query_best_size_unchecked (3) Linux Manual Page

    xcb_query_best_size – Synopsis #include <xcb/xproto.h> Request function xcb_query_best_size_cookie_t xcb_query_best_size(xcb_connection_t *conn, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height); Reply datastructure typedef struct xcb_query_best_size_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t width; uint16_t height; } xcb_query_best_size_reply_t; Reply function xcb_query_best_size_reply_t *xcb_query_best_size_reply(xcb_connection_t *conn, xcb_query_best_size_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. _class One of…

  • |

    xcb_query_best_size_reply (3) Linux Manual Page

    xcb_query_best_size – Synopsis #include <xcb/xproto.h> Request function xcb_query_best_size_cookie_t xcb_query_best_size(xcb_connection_t *conn, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height); Reply datastructure typedef struct xcb_query_best_size_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t width; uint16_t height; } xcb_query_best_size_reply_t; Reply function xcb_query_best_size_reply_t *xcb_query_best_size_reply(xcb_connection_t *conn, xcb_query_best_size_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. _class One of…

  • |

    xcb_query_best_size (3) Linux Manual Page

    xcb_query_best_size – Synopsis #include <xcb/xproto.h> Request function xcb_query_best_size_cookie_t xcb_query_best_size(xcb_connection_t *conn, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height); Reply datastructure typedef struct xcb_query_best_size_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t width; uint16_t height; } xcb_query_best_size_reply_t; Reply function xcb_query_best_size_reply_t *xcb_query_best_size_reply(xcb_connection_t *conn, xcb_query_best_size_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. _class One of…

  • |

    xcb_put_image_checked (3) Linux Manual Page

    xcb_put_image – Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_put_image(xcb_connection_t *conn, 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); Request Arguments conn The XCB connection to X11. format One of the following values: XCB_IMAGE_FORMAT_XY_BITMAP TODO: NOT YET DOCUMENTED. XCB_IMAGE_FORMAT_XY_PIXMAP TODO: NOT…

  • |

    xcb_put_image (3) Linux Manual Page

    xcb_put_image – Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_put_image(xcb_connection_t *conn, 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); Request Arguments conn The XCB connection to X11. format One of the following values: XCB_IMAGE_FORMAT_XY_BITMAP TODO: NOT YET DOCUMENTED. XCB_IMAGE_FORMAT_XY_PIXMAP TODO: NOT…

  • |

    xcb_property_notify_event_t (3) Linux Manual Page

    xcb_property_notify_event_t – a window property changed Synopsis #include <xcb/xproto.h> Event datastructure typedef struct xcb_property_notify_event_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; xcb_window_t window; xcb_atom_t atom; xcb_timestamp_t time; uint8_t state; uint8_t pad1[3]; } xcb_property_notify_event_t; Event Fields response_type The type of this event, in this case XCB_PROPERTY_NOTIFY. This field is also present in the xcb_generic_event_t and can…

  • |

    xcb_present_select_input_checked (3) Linux Manual Page

    xcb_present_select_input – Synopsis #include <xcb/present.h> Request function xcb_void_cookie_t xcb_present_select_input(xcb_connection_t *conn, xcb_present_event_t eid, xcb_window_t window, uint32_t event_mask); Request Arguments conn The XCB connection to X11. eid TODO: NOT YET DOCUMENTED. window TODO: NOT YET DOCUMENTED. event_mask TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event…

  • |

    xcb_present_select_input (3) Linux Manual Page

    xcb_present_select_input – Synopsis #include <xcb/present.h> Request function xcb_void_cookie_t xcb_present_select_input(xcb_connection_t *conn, xcb_present_event_t eid, xcb_window_t window, uint32_t event_mask); Request Arguments conn The XCB connection to X11. eid TODO: NOT YET DOCUMENTED. window TODO: NOT YET DOCUMENTED. event_mask TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event…