Function x11rb::protocol::xproto::get_window_attributes

source ·
pub fn get_window_attributes<Conn>(
    conn: &Conn,
    window: Window,
) -> Result<Cookie<'_, Conn, GetWindowAttributesReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Gets window attributes.

Gets the current attributes for the specified window.

§Fields

  • window - The window to get the attributes from.

§Errors

  • Window - The specified window does not exist.
  • Drawable - TODO: reasons?