Linux Manuals session 3

Section 3: library functions

  • |

    xcb_map_window_checked (3) Linux Manual Page

    xcb_map_window – Makes a window visible Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_map_window(xcb_connection_t *conn, xcb_window_t window); Request Arguments conn The XCB connection to X11. window The window to make visible. Description Maps the specified window. This means making the window visible (as long as its parent is visible). This MapWindow request will be translated to…

  • |

    xcb_map_window (3) Linux Manual Page

    xcb_map_window – Makes a window visible Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_map_window(xcb_connection_t *conn, xcb_window_t window); Request Arguments conn The XCB connection to X11. window The window to make visible. Description Maps the specified window. This means making the window visible (as long as its parent is visible). This MapWindow request will be translated to…

  • |

    xcb_map_subwindows_checked (3) Linux Manual Page

    xcb_map_subwindows – Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_map_subwindows(xcb_connection_t *conn, xcb_window_t window); Request Arguments conn The XCB connection to X11. window TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop. If you want to handle errors directly with xcb_request_check instead, use xcb_map_subwindows_checked. See…

  • |

    xcb_map_subwindows (3) Linux Manual Page

    xcb_map_subwindows – Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_map_subwindows(xcb_connection_t *conn, xcb_window_t window); Request Arguments conn The XCB connection to X11. window TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop. If you want to handle errors directly with xcb_request_check instead, use xcb_map_subwindows_checked. See…

  • |

    xcb_map_request_event_t (3) Linux Manual Page

    xcb_map_request_event_t – window wants to be mapped Synopsis #include <xcb/xproto.h> Event datastructure typedef struct xcb_map_request_event_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; xcb_window_t parent; xcb_window_t window; } xcb_map_request_event_t; Event Fields response_type The type of this event, in this case XCB_MAP_REQUEST. This field is also present in the xcb_generic_event_t and can be used to tell events…

  • |

    xcb_map_notify_event_t (3) Linux Manual Page

    xcb_map_notify_event_t – a window was mapped Synopsis #include <xcb/xproto.h> Event datastructure typedef struct xcb_map_notify_event_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; xcb_window_t event; xcb_window_t window; uint8_t override_redirect; uint8_t pad1[3]; } xcb_map_notify_event_t; Event Fields response_type The type of this event, in this case XCB_MAP_NOTIFY. This field is also present in the xcb_generic_event_t and can be used…

  • |

    xcb_lookup_color_unchecked (3) Linux Manual Page

    xcb_lookup_color – Synopsis #include <xcb/xproto.h> Request function xcb_lookup_color_cookie_t xcb_lookup_color(xcb_connection_t *conn, xcb_colormap_t cmap, uint16_t name_len, const char *name); Reply datastructure typedef struct xcb_lookup_color_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t exact_red; uint16_t exact_green; uint16_t exact_blue; uint16_t visual_red; uint16_t visual_green; uint16_t visual_blue; } xcb_lookup_color_reply_t; Reply function xcb_lookup_color_reply_t *xcb_lookup_color_reply(xcb_connection_t *conn, xcb_lookup_color_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The…

  • |

    xcb_lookup_color_reply (3) Linux Manual Page

    xcb_lookup_color – Synopsis #include <xcb/xproto.h> Request function xcb_lookup_color_cookie_t xcb_lookup_color(xcb_connection_t *conn, xcb_colormap_t cmap, uint16_t name_len, const char *name); Reply datastructure typedef struct xcb_lookup_color_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t exact_red; uint16_t exact_green; uint16_t exact_blue; uint16_t visual_red; uint16_t visual_green; uint16_t visual_blue; } xcb_lookup_color_reply_t; Reply function xcb_lookup_color_reply_t *xcb_lookup_color_reply(xcb_connection_t *conn, xcb_lookup_color_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The…

  • |

    xcb_lookup_color (3) Linux Manual Page

    xcb_lookup_color – Synopsis #include <xcb/xproto.h> Request function xcb_lookup_color_cookie_t xcb_lookup_color(xcb_connection_t *conn, xcb_colormap_t cmap, uint16_t name_len, const char *name); Reply datastructure typedef struct xcb_lookup_color_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t exact_red; uint16_t exact_green; uint16_t exact_blue; uint16_t visual_red; uint16_t visual_green; uint16_t visual_blue; } xcb_lookup_color_reply_t; Reply function xcb_lookup_color_reply_t *xcb_lookup_color_reply(xcb_connection_t *conn, xcb_lookup_color_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The…

  • |

    xcb_list_properties_unchecked (3) Linux Manual Page

    xcb_list_properties – Synopsis #include <xcb/xproto.h> Request function xcb_list_properties_cookie_t xcb_list_properties(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_properties_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t atoms_len; uint8_t pad1[22]; } xcb_list_properties_reply_t; Reply function xcb_list_properties_reply_t *xcb_list_properties_reply(xcb_connection_t *conn, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_atom_t *xcb_list_properties_atoms(const xcb_list_properties_request_t *reply); int xcb_list_properties_atoms_length(const xcb_list_properties_reply_t *reply); xcb_generic_iterator_t xcb_list_properties_atoms_end(const xcb_list_properties_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_properties_reply (3) Linux Manual Page

    xcb_list_properties – Synopsis #include <xcb/xproto.h> Request function xcb_list_properties_cookie_t xcb_list_properties(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_properties_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t atoms_len; uint8_t pad1[22]; } xcb_list_properties_reply_t; Reply function xcb_list_properties_reply_t *xcb_list_properties_reply(xcb_connection_t *conn, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_atom_t *xcb_list_properties_atoms(const xcb_list_properties_request_t *reply); int xcb_list_properties_atoms_length(const xcb_list_properties_reply_t *reply); xcb_generic_iterator_t xcb_list_properties_atoms_end(const xcb_list_properties_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_properties_atoms_length (3) Linux Manual Page

    xcb_list_properties – Synopsis #include <xcb/xproto.h> Request function xcb_list_properties_cookie_t xcb_list_properties(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_properties_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t atoms_len; uint8_t pad1[22]; } xcb_list_properties_reply_t; Reply function xcb_list_properties_reply_t *xcb_list_properties_reply(xcb_connection_t *conn, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_atom_t *xcb_list_properties_atoms(const xcb_list_properties_request_t *reply); int xcb_list_properties_atoms_length(const xcb_list_properties_reply_t *reply); xcb_generic_iterator_t xcb_list_properties_atoms_end(const xcb_list_properties_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_properties_atoms_end (3) Linux Manual Page

    xcb_list_properties – Synopsis #include <xcb/xproto.h> Request function xcb_list_properties_cookie_t xcb_list_properties(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_properties_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t atoms_len; uint8_t pad1[22]; } xcb_list_properties_reply_t; Reply function xcb_list_properties_reply_t *xcb_list_properties_reply(xcb_connection_t *conn, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_atom_t *xcb_list_properties_atoms(const xcb_list_properties_request_t *reply); int xcb_list_properties_atoms_length(const xcb_list_properties_reply_t *reply); xcb_generic_iterator_t xcb_list_properties_atoms_end(const xcb_list_properties_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_properties_atoms (3) Linux Manual Page

    xcb_list_properties – Synopsis #include <xcb/xproto.h> Request function xcb_list_properties_cookie_t xcb_list_properties(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_properties_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t atoms_len; uint8_t pad1[22]; } xcb_list_properties_reply_t; Reply function xcb_list_properties_reply_t *xcb_list_properties_reply(xcb_connection_t *conn, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_atom_t *xcb_list_properties_atoms(const xcb_list_properties_request_t *reply); int xcb_list_properties_atoms_length(const xcb_list_properties_reply_t *reply); xcb_generic_iterator_t xcb_list_properties_atoms_end(const xcb_list_properties_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_properties (3) Linux Manual Page

    xcb_list_properties – Synopsis #include <xcb/xproto.h> Request function xcb_list_properties_cookie_t xcb_list_properties(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_properties_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t atoms_len; uint8_t pad1[22]; } xcb_list_properties_reply_t; Reply function xcb_list_properties_reply_t *xcb_list_properties_reply(xcb_connection_t *conn, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_atom_t *xcb_list_properties_atoms(const xcb_list_properties_request_t *reply); int xcb_list_properties_atoms_length(const xcb_list_properties_reply_t *reply); xcb_generic_iterator_t xcb_list_properties_atoms_end(const xcb_list_properties_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_installed_colormaps_unchecked (3) Linux Manual Page

    xcb_list_installed_colormaps – Synopsis #include <xcb/xproto.h> Request function xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_installed_colormaps_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t cmaps_len; uint8_t pad1[22]; } xcb_list_installed_colormaps_reply_t; Reply function xcb_list_installed_colormaps_reply_t *xcb_list_installed_colormaps_reply(xcb_connection_t *conn, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_colormap_t *xcb_list_installed_colormaps_cmaps(const xcb_list_installed_colormaps_request_t *reply); int xcb_list_installed_colormaps_cmaps_length(const xcb_list_installed_colormaps_reply_t *reply); xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end(const xcb_list_installed_colormaps_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_installed_colormaps_reply (3) Linux Manual Page

    xcb_list_installed_colormaps – Synopsis #include <xcb/xproto.h> Request function xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_installed_colormaps_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t cmaps_len; uint8_t pad1[22]; } xcb_list_installed_colormaps_reply_t; Reply function xcb_list_installed_colormaps_reply_t *xcb_list_installed_colormaps_reply(xcb_connection_t *conn, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_colormap_t *xcb_list_installed_colormaps_cmaps(const xcb_list_installed_colormaps_request_t *reply); int xcb_list_installed_colormaps_cmaps_length(const xcb_list_installed_colormaps_reply_t *reply); xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end(const xcb_list_installed_colormaps_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_installed_colormaps_cmaps_length (3) Linux Manual Page

    xcb_list_installed_colormaps – Synopsis #include <xcb/xproto.h> Request function xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_installed_colormaps_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t cmaps_len; uint8_t pad1[22]; } xcb_list_installed_colormaps_reply_t; Reply function xcb_list_installed_colormaps_reply_t *xcb_list_installed_colormaps_reply(xcb_connection_t *conn, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_colormap_t *xcb_list_installed_colormaps_cmaps(const xcb_list_installed_colormaps_request_t *reply); int xcb_list_installed_colormaps_cmaps_length(const xcb_list_installed_colormaps_reply_t *reply); xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end(const xcb_list_installed_colormaps_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_installed_colormaps_cmaps_end (3) Linux Manual Page

    xcb_list_installed_colormaps – Synopsis #include <xcb/xproto.h> Request function xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_installed_colormaps_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t cmaps_len; uint8_t pad1[22]; } xcb_list_installed_colormaps_reply_t; Reply function xcb_list_installed_colormaps_reply_t *xcb_list_installed_colormaps_reply(xcb_connection_t *conn, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_colormap_t *xcb_list_installed_colormaps_cmaps(const xcb_list_installed_colormaps_request_t *reply); int xcb_list_installed_colormaps_cmaps_length(const xcb_list_installed_colormaps_reply_t *reply); xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end(const xcb_list_installed_colormaps_reply_t *reply); Request Arguments conn…

  • |

    xcb_list_installed_colormaps_cmaps (3) Linux Manual Page

    xcb_list_installed_colormaps – Synopsis #include <xcb/xproto.h> Request function xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps(xcb_connection_t *conn, xcb_window_t window); Reply datastructure typedef struct xcb_list_installed_colormaps_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t cmaps_len; uint8_t pad1[22]; } xcb_list_installed_colormaps_reply_t; Reply function xcb_list_installed_colormaps_reply_t *xcb_list_installed_colormaps_reply(xcb_connection_t *conn, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_colormap_t *xcb_list_installed_colormaps_cmaps(const xcb_list_installed_colormaps_request_t *reply); int xcb_list_installed_colormaps_cmaps_length(const xcb_list_installed_colormaps_reply_t *reply); xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end(const xcb_list_installed_colormaps_reply_t *reply); Request Arguments conn…