Linux Manuals session 3

Section 3: library functions

  • |

    xcb_get_geometry_reply (3) Linux Manual Page

    xcb_get_geometry – Get current window geometry Synopsis #include <xcb/xproto.h> Request function xcb_get_geometry_cookie_t xcb_get_geometry(xcb_connection_t *conn, xcb_drawable_t drawable); Reply datastructure typedef struct xcb_get_geometry_reply_t { uint8_t response_type; uint8_t depth; uint16_t sequence; uint32_t length; xcb_window_t root; int16_t x; int16_t y; uint16_t width; uint16_t height; uint16_t border_width; uint8_t pad0[2]; } xcb_get_geometry_reply_t; Reply function xcb_get_geometry_reply_t *xcb_get_geometry_reply(xcb_connection_t *conn, xcb_get_geometry_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn…

  • |

    xcb_get_geometry (3) Linux Manual Page

    xcb_get_geometry – Get current window geometry Synopsis #include <xcb/xproto.h> Request function xcb_get_geometry_cookie_t xcb_get_geometry(xcb_connection_t *conn, xcb_drawable_t drawable); Reply datastructure typedef struct xcb_get_geometry_reply_t { uint8_t response_type; uint8_t depth; uint16_t sequence; uint32_t length; xcb_window_t root; int16_t x; int16_t y; uint16_t width; uint16_t height; uint16_t border_width; uint8_t pad0[2]; } xcb_get_geometry_reply_t; Reply function xcb_get_geometry_reply_t *xcb_get_geometry_reply(xcb_connection_t *conn, xcb_get_geometry_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn…

  • |

    xcb_get_font_path_unchecked (3) Linux Manual Page

    xcb_get_font_path – Synopsis #include <xcb/xproto.h> Request function xcb_get_font_path_cookie_t xcb_get_font_path(xcb_connection_t *conn, Reply datastructure typedef struct xcb_get_font_path_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t path_len; uint8_t pad1[22]; } xcb_get_font_path_reply_t; Reply function xcb_get_font_path_reply_t *xcb_get_font_path_reply(xcb_connection_t *conn, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e); Reply accessors int xcb_get_font_path_path_length(const xcb_get_font_path_reply_t *reply); xcb_str_iterator_t xcb_get_font_path_path_iterator(const xcb_get_font_path_reply_t *reply); Request Arguments conn The XCB connection to X11. Reply…

  • |

    xcb_get_font_path_reply (3) Linux Manual Page

    xcb_get_font_path – Synopsis #include <xcb/xproto.h> Request function xcb_get_font_path_cookie_t xcb_get_font_path(xcb_connection_t *conn, Reply datastructure typedef struct xcb_get_font_path_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t path_len; uint8_t pad1[22]; } xcb_get_font_path_reply_t; Reply function xcb_get_font_path_reply_t *xcb_get_font_path_reply(xcb_connection_t *conn, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e); Reply accessors int xcb_get_font_path_path_length(const xcb_get_font_path_reply_t *reply); xcb_str_iterator_t xcb_get_font_path_path_iterator(const xcb_get_font_path_reply_t *reply); Request Arguments conn The XCB connection to X11. Reply…

  • |

    xcb_get_font_path_path_length (3) Linux Manual Page

    xcb_get_font_path – Synopsis #include <xcb/xproto.h> Request function xcb_get_font_path_cookie_t xcb_get_font_path(xcb_connection_t *conn, Reply datastructure typedef struct xcb_get_font_path_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t path_len; uint8_t pad1[22]; } xcb_get_font_path_reply_t; Reply function xcb_get_font_path_reply_t *xcb_get_font_path_reply(xcb_connection_t *conn, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e); Reply accessors int xcb_get_font_path_path_length(const xcb_get_font_path_reply_t *reply); xcb_str_iterator_t xcb_get_font_path_path_iterator(const xcb_get_font_path_reply_t *reply); Request Arguments conn The XCB connection to X11. Reply…

  • |

    xcb_get_font_path_path_iterator (3) Linux Manual Page

    xcb_get_font_path – Synopsis #include <xcb/xproto.h> Request function xcb_get_font_path_cookie_t xcb_get_font_path(xcb_connection_t *conn, Reply datastructure typedef struct xcb_get_font_path_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t path_len; uint8_t pad1[22]; } xcb_get_font_path_reply_t; Reply function xcb_get_font_path_reply_t *xcb_get_font_path_reply(xcb_connection_t *conn, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e); Reply accessors int xcb_get_font_path_path_length(const xcb_get_font_path_reply_t *reply); xcb_str_iterator_t xcb_get_font_path_path_iterator(const xcb_get_font_path_reply_t *reply); Request Arguments conn The XCB connection to X11. Reply…

  • |

    xcb_get_font_path (3) Linux Manual Page

    xcb_get_font_path – Synopsis #include <xcb/xproto.h> Request function xcb_get_font_path_cookie_t xcb_get_font_path(xcb_connection_t *conn, Reply datastructure typedef struct xcb_get_font_path_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t path_len; uint8_t pad1[22]; } xcb_get_font_path_reply_t; Reply function xcb_get_font_path_reply_t *xcb_get_font_path_reply(xcb_connection_t *conn, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e); Reply accessors int xcb_get_font_path_path_length(const xcb_get_font_path_reply_t *reply); xcb_str_iterator_t xcb_get_font_path_path_iterator(const xcb_get_font_path_reply_t *reply); Request Arguments conn The XCB connection to X11. Reply…

  • |

    xcb_get_atom_name_unchecked (3) Linux Manual Page

    xcb_get_atom_name – Synopsis #include <xcb/xproto.h> Request function xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn, xcb_atom_t atom); Reply datastructure typedef struct xcb_get_atom_name_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t name_len; uint8_t pad1[22]; } xcb_get_atom_name_reply_t; Reply function xcb_get_atom_name_reply_t *xcb_get_atom_name_reply(xcb_connection_t *conn, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e); Reply accessors char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply); int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t *reply); xcb_generic_iterator_t xcb_get_atom_name_name_end(const xcb_get_atom_name_reply_t *reply); Request Arguments conn…

  • |

    xcb_get_atom_name_reply (3) Linux Manual Page

    xcb_get_atom_name – Synopsis #include <xcb/xproto.h> Request function xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn, xcb_atom_t atom); Reply datastructure typedef struct xcb_get_atom_name_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t name_len; uint8_t pad1[22]; } xcb_get_atom_name_reply_t; Reply function xcb_get_atom_name_reply_t *xcb_get_atom_name_reply(xcb_connection_t *conn, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e); Reply accessors char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply); int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t *reply); xcb_generic_iterator_t xcb_get_atom_name_name_end(const xcb_get_atom_name_reply_t *reply); Request Arguments conn…

  • |

    xcb_get_atom_name_name_length (3) Linux Manual Page

    xcb_get_atom_name – Synopsis #include <xcb/xproto.h> Request function xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn, xcb_atom_t atom); Reply datastructure typedef struct xcb_get_atom_name_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t name_len; uint8_t pad1[22]; } xcb_get_atom_name_reply_t; Reply function xcb_get_atom_name_reply_t *xcb_get_atom_name_reply(xcb_connection_t *conn, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e); Reply accessors char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply); int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t *reply); xcb_generic_iterator_t xcb_get_atom_name_name_end(const xcb_get_atom_name_reply_t *reply); Request Arguments conn…

  • |

    xcb_get_atom_name_name_end (3) Linux Manual Page

    xcb_get_atom_name – Synopsis #include <xcb/xproto.h> Request function xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn, xcb_atom_t atom); Reply datastructure typedef struct xcb_get_atom_name_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t name_len; uint8_t pad1[22]; } xcb_get_atom_name_reply_t; Reply function xcb_get_atom_name_reply_t *xcb_get_atom_name_reply(xcb_connection_t *conn, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e); Reply accessors char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply); int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t *reply); xcb_generic_iterator_t xcb_get_atom_name_name_end(const xcb_get_atom_name_reply_t *reply); Request Arguments conn…

  • |

    xcb_get_atom_name_name (3) Linux Manual Page

    xcb_get_atom_name – Synopsis #include <xcb/xproto.h> Request function xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn, xcb_atom_t atom); Reply datastructure typedef struct xcb_get_atom_name_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t name_len; uint8_t pad1[22]; } xcb_get_atom_name_reply_t; Reply function xcb_get_atom_name_reply_t *xcb_get_atom_name_reply(xcb_connection_t *conn, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e); Reply accessors char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply); int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t *reply); xcb_generic_iterator_t xcb_get_atom_name_name_end(const xcb_get_atom_name_reply_t *reply); Request Arguments conn…

  • |

    xcb_get_atom_name (3) Linux Manual Page

    xcb_get_atom_name – Synopsis #include <xcb/xproto.h> Request function xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn, xcb_atom_t atom); Reply datastructure typedef struct xcb_get_atom_name_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t name_len; uint8_t pad1[22]; } xcb_get_atom_name_reply_t; Reply function xcb_get_atom_name_reply_t *xcb_get_atom_name_reply(xcb_connection_t *conn, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e); Reply accessors char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply); int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t *reply); xcb_generic_iterator_t xcb_get_atom_name_name_end(const xcb_get_atom_name_reply_t *reply); Request Arguments conn…

  • |

    xcb_ge_generic_event_t (3) Linux Manual Page

    xcb_ge_generic_event_t – generic event (with length) Synopsis #include <xcb/xproto.h> Event datastructure typedef struct xcb_ge_generic_event_t { uint8_t response_type; uint8_t extension; uint16_t sequence; uint32_t length; uint16_t event_type; uint8_t pad0[22]; uint32_t full_sequence; } xcb_ge_generic_event_t; Event Fields response_type The type of this event, in this case XCB_GE_GENERIC. This field is also present in the xcb_generic_event_t and can be used…

  • |

    xcb_free_pixmap_checked (3) Linux Manual Page

    xcb_free_pixmap – Destroys a pixmap Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_free_pixmap(xcb_connection_t *conn, xcb_pixmap_t pixmap); Request Arguments conn The XCB connection to X11. pixmap The pixmap to destroy. Description Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it. Return Value…

  • |

    xcb_free_pixmap (3) Linux Manual Page

    xcb_free_pixmap – Destroys a pixmap Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_free_pixmap(xcb_connection_t *conn, xcb_pixmap_t pixmap); Request Arguments conn The XCB connection to X11. pixmap The pixmap to destroy. Description Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it. Return Value…

  • |

    xcb_free_gc_checked (3) Linux Manual Page

    xcb_free_gc – Destroys a graphics context Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_free_gc(xcb_connection_t *conn, xcb_gcontext_t gc); Request Arguments conn The XCB connection to X11. gc The graphics context to destroy. Description Destroys the specified gc and all associated storage. Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop….

  • |

    xcb_free_gc (3) Linux Manual Page

    xcb_free_gc – Destroys a graphics context Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_free_gc(xcb_connection_t *conn, xcb_gcontext_t gc); Request Arguments conn The XCB connection to X11. gc The graphics context to destroy. Description Destroys the specified gc and all associated storage. Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop….

  • |

    xcb_free_cursor_checked (3) Linux Manual Page

    xcb_free_cursor – Deletes a cursor Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_free_cursor(xcb_connection_t *conn, xcb_cursor_t cursor); Request Arguments conn The XCB connection to X11. cursor The cursor to destroy. Description Deletes the association between the cursor resource ID and the specified cursor. The cursor is freed when no other resource references it. Return Value Returns an…

  • |

    xcb_free_cursor (3) Linux Manual Page

    xcb_free_cursor – Deletes a cursor Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_free_cursor(xcb_connection_t *conn, xcb_cursor_t cursor); Request Arguments conn The XCB connection to X11. cursor The cursor to destroy. Description Deletes the association between the cursor resource ID and the specified cursor. The cursor is freed when no other resource references it. Return Value Returns an…