Struct breadx::auto::xproto::Window [−][src]
#[repr(transparent)]pub struct Window { pub xid: XID, }
Fields
xid: XID
Implementations
Map this window to the screen, async redox.
Unmap this window, async redox.
pub fn change_property<Dpy: Display + ?Sized, T: AsByteSequence>(
self,
dpy: &mut Dpy,
property: Atom,
property_type: PropertyType,
format: PropertyFormat,
mode: PropMode,
data: &[T]
) -> Result<()>
[src]
pub fn change_property<Dpy: Display + ?Sized, T: AsByteSequence>(
self,
dpy: &mut Dpy,
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<Dpy: AsyncDisplay + ?Sized, T: AsByteSequence>(
self,
dpy: &mut Dpy,
property: Atom,
property_type: PropertyType,
format: PropertyFormat,
mode: PropMode,
data: &[T]
) -> Result<()>
[src]
pub async fn change_property_async<Dpy: AsyncDisplay + ?Sized, T: AsByteSequence>(
self,
dpy: &mut Dpy,
property: Atom,
property_type: PropertyType,
format: PropertyFormat,
mode: PropMode,
data: &[T]
) -> Result<()>
[src]Change a property of the window, async redox.
Delete a property of this window.
pub async fn delete_property_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
property: Atom
) -> Result
[src]
pub async fn delete_property_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
property: Atom
) -> Result
[src]Delete a property of this window, async redox.
Set the protocols for the WM in regards to this window.
pub async fn set_wm_protocols_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
protocols: &[Atom]
) -> Result<()>
[src]
pub async fn set_wm_protocols_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
protocols: &[Atom]
) -> Result<()>
[src]Set the WM protocols for this window, async redox.
Set the title for this window.
pub async fn set_title_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
title: &str
) -> Result<()>
[src]
pub async fn set_title_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
title: &str
) -> Result<()>
[src]Set the title for this window, async redox.
pub fn window_attributes<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetWindowAttributesRequest>>
[src]
pub fn window_attributes<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetWindowAttributesRequest>>
[src]Get the current set of window attributes for this window.
pub async fn window_attributes_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetWindowAttributesRequest>>
[src]
pub async fn window_attributes_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetWindowAttributesRequest>>
[src]Get the current set of window attributes for this window, async redox.
pub fn window_attributes_immediate<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<WindowAttributes>
[src]
pub fn window_attributes_immediate<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<WindowAttributes>
[src]Immediately get the current set of window attributes for this window.
pub async fn window_attributes_immediate_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<WindowAttributes>
[src]
pub async fn window_attributes_immediate_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<WindowAttributes>
[src]Immediately get the current set of window attributes for this window, async redox.
pub fn geometry<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetGeometryRequest>>
[src]
pub fn geometry<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetGeometryRequest>>
[src]Get the geometry of this window.
pub async fn geometry_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetGeometryRequest>>
[src]
pub async fn geometry_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<RequestCookie<GetGeometryRequest>>
[src]Get the geometry of this window, async redox.
pub fn geometry_immediate<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<DrawableGeometry>
[src]
pub fn geometry_immediate<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<DrawableGeometry>
[src]Immediately get the geometry of this window.
pub async fn geometry_immediate_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<DrawableGeometry>
[src]
pub async fn geometry_immediate_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result<DrawableGeometry>
[src]Immediately get the geometry of this window, async redox.
pub fn change_attributes<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy,
props: WindowParameters
) -> Result
[src]
pub fn change_attributes<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy,
props: WindowParameters
) -> Result
[src]Change the properties of this window.
pub async fn change_attributes_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
props: WindowParameters
) -> Result
[src]
pub async fn change_attributes_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
props: WindowParameters
) -> Result
[src]Change the properties of this window, async redox.
Set this window’s background color.
pub async fn set_background_color_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
clr: u32
) -> Result<()>
[src]
pub async fn set_background_color_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
clr: u32
) -> Result<()>
[src]Set this window’s background color, async redox.
Configure the window’s physical properties.
pub async fn configure_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
props: ConfigureWindowParameters
) -> Result
[src]
pub async fn configure_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
props: ConfigureWindowParameters
) -> Result
[src]Configure the window’s physical properties, async redox.
Set the border of this window.
pub async fn set_border_width_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
width: u32
) -> Result
[src]
pub async fn set_border_width_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
width: u32
) -> Result
[src]Set the border of this window, async redox.
Change the colormap associated with this window.
pub async fn set_colormap_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
colormap: Colormap
) -> Result
[src]
pub async fn set_colormap_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
colormap: Colormap
) -> Result
[src]Change the colormap associated with this window.
pub async fn change_save_set_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
mode: SetMode
) -> Result
[src]Resize the window.
pub async fn resize_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
width: u32,
height: u32
) -> Result
[src]
pub async fn resize_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
width: u32,
height: u32
) -> Result
[src]Resize the window, async redox.
Move and resize the window.
pub async fn move_resize_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
x: i32,
y: i32,
width: u32,
height: u32
) -> Result
[src]
pub async fn move_resize_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
x: i32,
y: i32,
width: u32,
height: u32
) -> Result
[src]Move and resize the window, async redox.
pub async fn circulate_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
direction: Circulate
) -> Result
[src]Clear an area of the window.
Clear an area of the window, async redox.
Clear the entire window, async redox.
pub fn convert_selection<Dpy: Display + ?Sized>(
self,
dpy: &mut Dpy,
selection: Atom,
target: Atom,
property: Atom,
time: Timestamp
) -> Result
[src]pub async fn convert_selection_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
selection: Atom,
target: Atom,
property: Atom,
time: Timestamp
) -> Result
[src]Set the cursor used by this window.
pub async fn set_cursor_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
cursor: Cursor
) -> Result
[src]
pub async fn set_cursor_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
cursor: Cursor
) -> Result
[src]Set the cursor used by this window, async redox.
Destroy this window’s subwindows.
pub async fn destroy_subwindows_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result
[src]
pub async fn destroy_subwindows_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy
) -> Result
[src]Destroy this window’s subwindows, async redox.
Free this window, async redox.
Set the event mask.
pub async fn set_event_mask_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
em: EventMask
) -> Result
[src]
pub async fn set_event_mask_async<Dpy: AsyncDisplay + ?Sized>(
self,
dpy: &mut Dpy,
em: EventMask
) -> Result
[src]Set the event mask, async redox.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Window
impl UnwindSafe for Window
Blanket Implementations
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,