Struct gdk::WindowAttr
source · [−]pub struct WindowAttr {
pub title: Option<String>,
pub event_mask: EventMask,
pub x: Option<i32>,
pub y: Option<i32>,
pub width: i32,
pub height: i32,
pub wclass: WindowWindowClass,
pub visual: Option<Visual>,
pub window_type: WindowType,
pub cursor: Option<Cursor>,
pub override_redirect: bool,
pub type_hint: Option<WindowTypeHint>,
}
Fields
title: Option<String>
event_mask: EventMask
x: Option<i32>
y: Option<i32>
width: i32
height: i32
wclass: WindowWindowClass
visual: Option<Visual>
window_type: WindowType
cursor: Option<Cursor>
override_redirect: bool
type_hint: Option<WindowTypeHint>
Trait Implementations
sourceimpl Default for WindowAttr
impl Default for WindowAttr
sourceimpl<'a> ToGlibPtr<'a, *mut GdkWindowAttr> for WindowAttr
impl<'a> ToGlibPtr<'a, *mut GdkWindowAttr> for WindowAttr
type Storage = (Box<GdkWindowAttr, Global>, Stash<'a, *mut GdkVisual, Option<Visual>>, Stash<'a, *mut GdkCursor, Option<Cursor>>, Stash<'a, *const i8, Option<String>>)
sourcefn to_glib_none(&'a self) -> Stash<'a, *mut GdkWindowAttr, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GdkWindowAttr, Self>
Transfer: none. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourcefn to_glib_full(&self) -> P
fn to_glib_full(&self) -> P
Transfer: full. Read more
Auto Trait Implementations
impl RefUnwindSafe for WindowAttr
impl !Send for WindowAttr
impl !Sync for WindowAttr
impl Unpin for WindowAttr
impl UnwindSafe for WindowAttr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more