Struct CreateWindowAux
pub struct CreateWindowAux {Show 15 fields
pub background_pixmap: Option<u32>,
pub background_pixel: Option<u32>,
pub border_pixmap: Option<u32>,
pub border_pixel: Option<u32>,
pub bit_gravity: Option<Gravity>,
pub win_gravity: Option<Gravity>,
pub backing_store: Option<BackingStore>,
pub backing_planes: Option<u32>,
pub backing_pixel: Option<u32>,
pub override_redirect: Option<u32>,
pub save_under: Option<u32>,
pub event_mask: Option<EventMask>,
pub do_not_propogate_mask: Option<EventMask>,
pub colormap: Option<u32>,
pub cursor: Option<u32>,
}
Expand description
Auxiliary and optional information for the create_window
function
Fields§
§background_pixmap: Option<u32>
§background_pixel: Option<u32>
§border_pixmap: Option<u32>
§border_pixel: Option<u32>
§bit_gravity: Option<Gravity>
§win_gravity: Option<Gravity>
§backing_store: Option<BackingStore>
§backing_planes: Option<u32>
§backing_pixel: Option<u32>
§override_redirect: Option<u32>
§save_under: Option<u32>
§event_mask: Option<EventMask>
§do_not_propogate_mask: Option<EventMask>
§colormap: Option<u32>
§cursor: Option<u32>
Implementations§
§impl CreateWindowAux
impl CreateWindowAux
pub fn new() -> CreateWindowAux
pub fn new() -> CreateWindowAux
Create a new instance with all fields unset / not present.
pub fn background_pixmap<I>(self, value: I) -> CreateWindowAux
pub fn background_pixmap<I>(self, value: I) -> CreateWindowAux
Set the background_pixmap
field of this structure.
pub fn background_pixel<I>(self, value: I) -> CreateWindowAux
pub fn background_pixel<I>(self, value: I) -> CreateWindowAux
Set the background_pixel
field of this structure.
pub fn border_pixmap<I>(self, value: I) -> CreateWindowAux
pub fn border_pixmap<I>(self, value: I) -> CreateWindowAux
Set the border_pixmap
field of this structure.
pub fn border_pixel<I>(self, value: I) -> CreateWindowAux
pub fn border_pixel<I>(self, value: I) -> CreateWindowAux
Set the border_pixel
field of this structure.
pub fn bit_gravity<I>(self, value: I) -> CreateWindowAux
pub fn bit_gravity<I>(self, value: I) -> CreateWindowAux
Set the bit_gravity
field of this structure.
pub fn win_gravity<I>(self, value: I) -> CreateWindowAux
pub fn win_gravity<I>(self, value: I) -> CreateWindowAux
Set the win_gravity
field of this structure.
pub fn backing_store<I>(self, value: I) -> CreateWindowAux
pub fn backing_store<I>(self, value: I) -> CreateWindowAux
Set the backing_store
field of this structure.
pub fn backing_planes<I>(self, value: I) -> CreateWindowAux
pub fn backing_planes<I>(self, value: I) -> CreateWindowAux
Set the backing_planes
field of this structure.
pub fn backing_pixel<I>(self, value: I) -> CreateWindowAux
pub fn backing_pixel<I>(self, value: I) -> CreateWindowAux
Set the backing_pixel
field of this structure.
pub fn override_redirect<I>(self, value: I) -> CreateWindowAux
pub fn override_redirect<I>(self, value: I) -> CreateWindowAux
Set the override_redirect
field of this structure.
pub fn save_under<I>(self, value: I) -> CreateWindowAux
pub fn save_under<I>(self, value: I) -> CreateWindowAux
Set the save_under
field of this structure.
pub fn event_mask<I>(self, value: I) -> CreateWindowAux
pub fn event_mask<I>(self, value: I) -> CreateWindowAux
Set the event_mask
field of this structure.
pub fn do_not_propogate_mask<I>(self, value: I) -> CreateWindowAux
pub fn do_not_propogate_mask<I>(self, value: I) -> CreateWindowAux
Set the do_not_propogate_mask
field of this structure.
pub fn colormap<I>(self, value: I) -> CreateWindowAux
pub fn colormap<I>(self, value: I) -> CreateWindowAux
Set the colormap
field of this structure.
pub fn cursor<I>(self, value: I) -> CreateWindowAux
pub fn cursor<I>(self, value: I) -> CreateWindowAux
Set the cursor
field of this structure.
Trait Implementations§
§impl Clone for CreateWindowAux
impl Clone for CreateWindowAux
§fn clone(&self) -> CreateWindowAux
fn clone(&self) -> CreateWindowAux
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for CreateWindowAux
impl Debug for CreateWindowAux
§impl Default for CreateWindowAux
impl Default for CreateWindowAux
§fn default() -> CreateWindowAux
fn default() -> CreateWindowAux
impl Copy for CreateWindowAux
Auto Trait Implementations§
impl Freeze for CreateWindowAux
impl RefUnwindSafe for CreateWindowAux
impl Send for CreateWindowAux
impl Sync for CreateWindowAux
impl Unpin for CreateWindowAux
impl UnwindSafe for CreateWindowAux
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)