[][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 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 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 fn set_title<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>,
    title: &str
) -> Result<()>
[src]

Set the title for this window.

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 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 fn geometry<Conn: Connection>(
    self,
    dpy: &mut Display<Conn>
) -> Result<RequestCookie<GetGeometryRequest>>
[src]

Get the geometry of this window.

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

Immediately get the geometry of this window.

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

Change the properties of this window.

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

Set this window's background color.

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

Configure the window's physical properties.

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

Set the border of this window.

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

Resize the window.

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 fn circulate<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 fn clear<Conn: Connection>(self, dpy: &mut Display<Conn>) -> Result[src]

Clear the entire window.

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

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 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

impl RefUnwindSafe for Window

impl Send for Window

impl Sync for Window

impl Unpin for Window

impl UnwindSafe for Window

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> 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.