[][src]Struct breadx::auto::xproto::Window

#[repr(transparent)]pub struct Window {
    pub xid: XID,
}

Fields

xid: XID

Implementations

impl Window[src]

pub const fn const_from_xid(xid: XID) -> Self[src]

impl Window[src]

pub fn map<Conn: Connection>(self, dpy: &mut Display<Conn>) -> Result[src]

Map this window to the screen.

pub async fn map_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result
[src]

Map this window to the screen, async redox.

pub fn change_property<Conn: Connection, T: AsByteSequence>(
    self,
    dpy: &mut Display<Conn>,
    property: Atom,
    property_type: PropertyType,
    format: PropertyFormat,
    mode: PropMode,
    data: &[T]
) -> Result<()>
[src]

Change a property of the window, given an atom that identifies that property.

pub async fn change_property_async<Conn: Connection, T: AsByteSequence>(
    self,
    dpy: &mut Display<Conn>,
    property: Atom,
    property_type: PropertyType,
    format: PropertyFormat,
    mode: PropMode,
    data: &[T]
) -> Result<()>
[src]

Change a property of the window, async redox.

pub fn delete_property<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    property: Atom
) -> Result
[src]

Delete a property of this window.

pub async fn delete_property_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    property: Atom
) -> Result
[src]

Delete a property of this window, async redox.

pub fn set_wm_protocols<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    protocols: &[Atom]
) -> Result<()>
[src]

Set the protocols for the WM in regards to this window.

pub async fn set_wm_protocols_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    protocols: &[Atom]
) -> Result<()>
[src]

Set the WM protocols for this window, async redox.

pub fn set_title<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    title: &str
) -> Result<()>
[src]

Set the title for this window.

pub async fn set_title_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    title: &str
) -> Result<()>
[src]

Set the title for this window, async redox.

pub fn window_attributes<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<RequestCookie<GetWindowAttributesRequest>>
[src]

Get the current set of window attributes for this window.

pub async fn window_attributes_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<RequestCookie<GetWindowAttributesRequest>>
[src]

Get the current set of window attributes for this window, async redox.

pub fn window_attributes_immediate<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<WindowAttributes>
[src]

Immediately get the current set of window attributes for this window.

pub async fn window_attributes_immediate_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<WindowAttributes>
[src]

Immediately get the current set of window attributes for this window, async redox.

pub fn geometry<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<RequestCookie<GetGeometryRequest>>
[src]

Get the geometry of this window.

pub async fn geometry_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<RequestCookie<GetGeometryRequest>>
[src]

Get the geometry of this window, async redox.

pub fn geometry_immediate<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<DrawableGeomtry>
[src]

Immediately get the geometry of this window.

pub async fn geometry_immediate_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<DrawableGeomtry>
[src]

Immediately get the geometry of this window, async redox.

pub fn change_attributes<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    props: WindowParameters
) -> Result
[src]

Change the properties of this window.

pub async fn change_attributes_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    props: WindowParameters
) -> Result
[src]

Change the properties of this window, async redox.

pub fn set_background_color<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    clr: u32
) -> Result<()>
[src]

Set this window's background color.

pub async fn set_background_color_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    clr: u32
) -> Result<()>
[src]

Set this window's background color, async redox.

pub fn configure<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    props: ConfigureWindowParameters
) -> Result
[src]

Configure the window's physical properties.

pub async fn configure_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    props: ConfigureWindowParameters
) -> Result
[src]

Configure the window's physical properties, async redox.

pub fn set_border_width<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    width: u32
) -> Result
[src]

Set the border of this window.

pub async fn set_border_width_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    width: u32
) -> Result
[src]

Set the border of this window, async redox.

pub fn set_colormap<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    colormap: Colormap
) -> Result
[src]

Change the colormap associated with this window.

pub async fn set_colormap_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    colormap: Colormap
) -> Result
[src]

Change the colormap associated with this window.

pub fn change_save_set<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    mode: SetMode
) -> Result
[src]

pub async fn change_save_set_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    mode: SetMode
) -> Result
[src]

pub fn resize<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    width: u32,
    height: u32
) -> Result
[src]

Resize the window.

pub async fn resize_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    width: u32,
    height: u32
) -> Result
[src]

Resize the window, async redox.

pub fn move_resize<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    x: i32,
    y: i32,
    width: u32,
    height: u32
) -> Result
[src]

Move and resize the window.

pub async fn move_resize_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    x: i32,
    y: i32,
    width: u32,
    height: u32
) -> Result
[src]

Move and resize the window, async redox.

pub fn circulate<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    direction: Circulate
) -> Result
[src]

pub async fn circulate_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    direction: Circulate
) -> Result
[src]

pub fn clear_area<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    x: i16,
    y: i16,
    width: u16,
    height: u16,
    exposures: bool
) -> Result
[src]

Clear an area of the window.

pub async fn clear_area_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    x: i16,
    y: i16,
    width: u16,
    height: u16,
    exposures: bool
) -> Result
[src]

Clear an area of the window, async redox.

pub fn clear<Conn: Connection>(self, dpy: &mut Display<Conn>) -> Result[src]

Clear the entire window.

pub async fn clear_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result
[src]

Clear the entire window, async redox.

pub fn convert_selection<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    selection: Atom,
    target: Atom,
    property: Atom,
    time: Timestamp
) -> Result
[src]

pub async fn convert_selection_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    selection: Atom,
    target: Atom,
    property: Atom,
    time: Timestamp
) -> Result
[src]

pub fn set_cursor<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    cursor: Cursor
) -> Result
[src]

Set the cursor used by this window.

pub async fn set_cursor_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    cursor: Cursor
) -> Result
[src]

Set the cursor used by this window, async redox.

pub fn destroy_subwindows<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result
[src]

Destroy this window's subwindows.

pub async fn destroy_subwindows_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result
[src]

Destroy this window's subwindows, async redox.

pub fn free<Conn: Connection>(self, dpy: &mut Display<Conn>) -> Result[src]

Free this window.

pub async fn free_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result
[src]

Free this window, async redox.

pub fn set_event_mask<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    em: EventMask
) -> Result
[src]

Set the event mask.

pub async fn set_event_mask_async<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    em: EventMask
) -> Result
[src]

Set the event mask, async redox.

Trait Implementations

impl Clone for Window[src]

impl Copy for Window[src]

impl Debug for Window[src]

impl Default for Window[src]

impl Eq for Window[src]

impl From<Window> for Drawable[src]

impl From<Window> for Drawable[src]

impl Hash for Window[src]

impl Ord for Window[src]

impl PartialEq<Window> for Window[src]

impl PartialOrd<Window> for Window[src]

impl StructuralEq for Window[src]

impl StructuralPartialEq for Window[src]

impl XidType for Window[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsByteSequence for T where
    T: XidType
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.