Linux Manuals session 3

Section 3: library functions

  • |

    xcb_shm_attach (3) Linux Manual Page

    xcb_shm_attach – Synopsis #include <xcb/shm.h> Request function xcb_void_cookie_t xcb_shm_attach(xcb_connection_t *conn, xcb_shm_seg_t shmseg, uint32_t shmid, uint8_t read_only); Request Arguments conn The XCB connection to X11. shmseg TODO: NOT YET DOCUMENTED. shmid TODO: NOT YET DOCUMENTED. read_only TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event…

  • |

    xcb_shape_select_input_checked (3) Linux Manual Page

    xcb_shape_select_input – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_select_input(xcb_connection_t *conn, xcb_window_t destination_window, uint8_t enable); Request Arguments conn The XCB connection to X11. destination_window TODO: NOT YET DOCUMENTED. enable 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…

  • |

    xcb_shape_select_input (3) Linux Manual Page

    xcb_shape_select_input – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_select_input(xcb_connection_t *conn, xcb_window_t destination_window, uint8_t enable); Request Arguments conn The XCB connection to X11. destination_window TODO: NOT YET DOCUMENTED. enable 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…

  • |

    xcb_shape_rectangles_checked (3) Linux Manual Page

    xcb_shape_rectangles – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_rectangles(xcb_connection_t *conn, xcb_shape_op_t operation, xcb_shape_kind_t destination_kind, uint8_t ordering, xcb_window_t destination_window, int16_t x_offset, int16_t y_offset, uint32_t rectangles_len, const xcb_rectangle_t *rectangles); Request Arguments conn The XCB connection to X11. operation TODO: NOT YET DOCUMENTED. destination_kind TODO: NOT YET DOCUMENTED. ordering TODO: NOT YET DOCUMENTED. destination_window TODO: NOT YET DOCUMENTED….

  • |

    xcb_shape_rectangles (3) Linux Manual Page

    xcb_shape_rectangles – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_rectangles(xcb_connection_t *conn, xcb_shape_op_t operation, xcb_shape_kind_t destination_kind, uint8_t ordering, xcb_window_t destination_window, int16_t x_offset, int16_t y_offset, uint32_t rectangles_len, const xcb_rectangle_t *rectangles); Request Arguments conn The XCB connection to X11. operation TODO: NOT YET DOCUMENTED. destination_kind TODO: NOT YET DOCUMENTED. ordering TODO: NOT YET DOCUMENTED. destination_window TODO: NOT YET DOCUMENTED….

  • |

    xcb_shape_query_version_unchecked (3) Linux Manual Page

    xcb_shape_query_version – Synopsis #include <xcb/shape.h> Request function xcb_shape_query_version_cookie_t xcb_shape_query_version(xcb_connection_t *conn, Reply datastructure typedef struct xcb_shape_query_version_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t major_version; uint16_t minor_version; } xcb_shape_query_version_reply_t; Reply function xcb_shape_query_version_reply_t *xcb_shape_query_version_reply(xcb_connection_t *conn, xcb_shape_query_version_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. Reply Fields response_type The type of this reply, in this case…

  • |

    xcb_shape_query_version_reply (3) Linux Manual Page

    xcb_shape_query_version – Synopsis #include <xcb/shape.h> Request function xcb_shape_query_version_cookie_t xcb_shape_query_version(xcb_connection_t *conn, Reply datastructure typedef struct xcb_shape_query_version_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t major_version; uint16_t minor_version; } xcb_shape_query_version_reply_t; Reply function xcb_shape_query_version_reply_t *xcb_shape_query_version_reply(xcb_connection_t *conn, xcb_shape_query_version_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. Reply Fields response_type The type of this reply, in this case…

  • |

    xcb_shape_query_version (3) Linux Manual Page

    xcb_shape_query_version – Synopsis #include <xcb/shape.h> Request function xcb_shape_query_version_cookie_t xcb_shape_query_version(xcb_connection_t *conn, Reply datastructure typedef struct xcb_shape_query_version_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint16_t major_version; uint16_t minor_version; } xcb_shape_query_version_reply_t; Reply function xcb_shape_query_version_reply_t *xcb_shape_query_version_reply(xcb_connection_t *conn, xcb_shape_query_version_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. Reply Fields response_type The type of this reply, in this case…

  • |

    xcb_shape_query_extents_unchecked (3) Linux Manual Page

    xcb_shape_query_extents – Synopsis #include <xcb/shape.h> Request function xcb_shape_query_extents_cookie_t xcb_shape_query_extents(xcb_connection_t *conn, xcb_window_t destination_window); Reply datastructure typedef struct xcb_shape_query_extents_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t bounding_shaped; uint8_t clip_shaped; uint8_t pad1[2]; int16_t bounding_shape_extents_x; int16_t bounding_shape_extents_y; uint16_t bounding_shape_extents_width; uint16_t bounding_shape_extents_height; int16_t clip_shape_extents_x; int16_t clip_shape_extents_y; uint16_t clip_shape_extents_width; uint16_t clip_shape_extents_height; } xcb_shape_query_extents_reply_t; Reply function xcb_shape_query_extents_reply_t *xcb_shape_query_extents_reply(xcb_connection_t *conn, xcb_shape_query_extents_cookie_t cookie,…

  • |

    xcb_shape_query_extents_reply (3) Linux Manual Page

    xcb_shape_query_extents – Synopsis #include <xcb/shape.h> Request function xcb_shape_query_extents_cookie_t xcb_shape_query_extents(xcb_connection_t *conn, xcb_window_t destination_window); Reply datastructure typedef struct xcb_shape_query_extents_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t bounding_shaped; uint8_t clip_shaped; uint8_t pad1[2]; int16_t bounding_shape_extents_x; int16_t bounding_shape_extents_y; uint16_t bounding_shape_extents_width; uint16_t bounding_shape_extents_height; int16_t clip_shape_extents_x; int16_t clip_shape_extents_y; uint16_t clip_shape_extents_width; uint16_t clip_shape_extents_height; } xcb_shape_query_extents_reply_t; Reply function xcb_shape_query_extents_reply_t *xcb_shape_query_extents_reply(xcb_connection_t *conn, xcb_shape_query_extents_cookie_t cookie,…

  • |

    xcb_shape_query_extents (3) Linux Manual Page

    xcb_shape_query_extents – Synopsis #include <xcb/shape.h> Request function xcb_shape_query_extents_cookie_t xcb_shape_query_extents(xcb_connection_t *conn, xcb_window_t destination_window); Reply datastructure typedef struct xcb_shape_query_extents_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t bounding_shaped; uint8_t clip_shaped; uint8_t pad1[2]; int16_t bounding_shape_extents_x; int16_t bounding_shape_extents_y; uint16_t bounding_shape_extents_width; uint16_t bounding_shape_extents_height; int16_t clip_shape_extents_x; int16_t clip_shape_extents_y; uint16_t clip_shape_extents_width; uint16_t clip_shape_extents_height; } xcb_shape_query_extents_reply_t; Reply function xcb_shape_query_extents_reply_t *xcb_shape_query_extents_reply(xcb_connection_t *conn, xcb_shape_query_extents_cookie_t cookie,…

  • |

    xcb_shape_offset_checked (3) Linux Manual Page

    xcb_shape_offset – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_offset(xcb_connection_t *conn, xcb_shape_kind_t destination_kind, xcb_window_t destination_window, int16_t x_offset, int16_t y_offset); Request Arguments conn The XCB connection to X11. destination_kind TODO: NOT YET DOCUMENTED. destination_window TODO: NOT YET DOCUMENTED. x_offset TODO: NOT YET DOCUMENTED. y_offset TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any)…

  • |

    xcb_shape_offset (3) Linux Manual Page

    xcb_shape_offset – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_offset(xcb_connection_t *conn, xcb_shape_kind_t destination_kind, xcb_window_t destination_window, int16_t x_offset, int16_t y_offset); Request Arguments conn The XCB connection to X11. destination_kind TODO: NOT YET DOCUMENTED. destination_window TODO: NOT YET DOCUMENTED. x_offset TODO: NOT YET DOCUMENTED. y_offset TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if any)…

  • |

    xcb_shape_notify_event_t (3) Linux Manual Page

    xcb_shape_notify_event_t – Synopsis #include <xcb/shape.h> Event datastructure typedef struct xcb_shape_notify_event_t { uint8_t response_type; xcb_shape_kind_t shape_kind; uint16_t sequence; xcb_window_t affected_window; int16_t extents_x; int16_t extents_y; uint16_t extents_width; uint16_t extents_height; xcb_timestamp_t server_time; uint8_t shaped; uint8_t pad0[11]; } xcb_shape_notify_event_t; Event Fields response_type The type of this event, in this case XCB_SHAPE_NOTIFY. This field is also present in the xcb_generic_event_t…

  • |

    xcb_shape_mask_checked (3) Linux Manual Page

    xcb_shape_mask – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_mask(xcb_connection_t *conn, xcb_shape_op_t operation, xcb_shape_kind_t destination_kind, xcb_window_t destination_window, int16_t x_offset, int16_t y_offset, xcb_pixmap_t source_bitmap); Request Arguments conn The XCB connection to X11. operation TODO: NOT YET DOCUMENTED. destination_kind TODO: NOT YET DOCUMENTED. destination_window TODO: NOT YET DOCUMENTED. x_offset TODO: NOT YET DOCUMENTED. y_offset TODO: NOT YET DOCUMENTED….

  • |

    xcb_shape_mask (3) Linux Manual Page

    xcb_shape_mask – Synopsis #include <xcb/shape.h> Request function xcb_void_cookie_t xcb_shape_mask(xcb_connection_t *conn, xcb_shape_op_t operation, xcb_shape_kind_t destination_kind, xcb_window_t destination_window, int16_t x_offset, int16_t y_offset, xcb_pixmap_t source_bitmap); Request Arguments conn The XCB connection to X11. operation TODO: NOT YET DOCUMENTED. destination_kind TODO: NOT YET DOCUMENTED. destination_window TODO: NOT YET DOCUMENTED. x_offset TODO: NOT YET DOCUMENTED. y_offset TODO: NOT YET DOCUMENTED….

  • |

    xcb_shape_input_selected_unchecked (3) Linux Manual Page

    xcb_shape_input_selected – Synopsis #include <xcb/shape.h> Request function xcb_shape_input_selected_cookie_t xcb_shape_input_selected(xcb_connection_t *conn, xcb_window_t destination_window); Reply datastructure typedef struct xcb_shape_input_selected_reply_t { uint8_t response_type; uint8_t enabled; uint16_t sequence; uint32_t length; } xcb_shape_input_selected_reply_t; Reply function xcb_shape_input_selected_reply_t *xcb_shape_input_selected_reply(xcb_connection_t *conn, xcb_shape_input_selected_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. destination_window TODO: NOT YET DOCUMENTED. Reply Fields response_type The type of this reply,…

  • |

    xcb_shape_input_selected_reply (3) Linux Manual Page

    xcb_shape_input_selected – Synopsis #include <xcb/shape.h> Request function xcb_shape_input_selected_cookie_t xcb_shape_input_selected(xcb_connection_t *conn, xcb_window_t destination_window); Reply datastructure typedef struct xcb_shape_input_selected_reply_t { uint8_t response_type; uint8_t enabled; uint16_t sequence; uint32_t length; } xcb_shape_input_selected_reply_t; Reply function xcb_shape_input_selected_reply_t *xcb_shape_input_selected_reply(xcb_connection_t *conn, xcb_shape_input_selected_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. destination_window TODO: NOT YET DOCUMENTED. Reply Fields response_type The type of this reply,…

  • |

    xcb_shape_input_selected (3) Linux Manual Page

    xcb_shape_input_selected – Synopsis #include <xcb/shape.h> Request function xcb_shape_input_selected_cookie_t xcb_shape_input_selected(xcb_connection_t *conn, xcb_window_t destination_window); Reply datastructure typedef struct xcb_shape_input_selected_reply_t { uint8_t response_type; uint8_t enabled; uint16_t sequence; uint32_t length; } xcb_shape_input_selected_reply_t; Reply function xcb_shape_input_selected_reply_t *xcb_shape_input_selected_reply(xcb_connection_t *conn, xcb_shape_input_selected_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. destination_window TODO: NOT YET DOCUMENTED. Reply Fields response_type The type of this reply,…

  • |

    xcb_shape_get_rectangles_unchecked (3) Linux Manual Page

    xcb_shape_get_rectangles – Synopsis #include <xcb/shape.h> Request function xcb_shape_get_rectangles_cookie_t xcb_shape_get_rectangles(xcb_connection_t *conn, xcb_window_t window, xcb_shape_kind_t source_kind); Reply datastructure typedef struct xcb_shape_get_rectangles_reply_t { uint8_t response_type; uint8_t ordering; uint16_t sequence; uint32_t length; uint32_t rectangles_len; uint8_t pad0[20]; } xcb_shape_get_rectangles_reply_t; Reply function xcb_shape_get_rectangles_reply_t *xcb_shape_get_rectangles_reply(xcb_connection_t *conn, xcb_shape_get_rectangles_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_rectangle_t *xcb_shape_get_rectangles_rectangles(const xcb_shape_get_rectangles_request_t *reply); int xcb_shape_get_rectangles_rectangles_length(const xcb_shape_get_rectangles_reply_t *reply); xcb_rectangle_iterator_t xcb_shape_get_rectangles_rectangles_iterator(const xcb_shape_get_rectangles_reply_t *reply); Request…