[][src]Struct gdk::WindowAttr

pub struct WindowAttr {
    pub title: Option<String>,
    pub event_mask: i32,
    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: i32x: Option<i32>y: Option<i32>width: i32height: i32wclass: WindowWindowClassvisual: Option<Visual>window_type: WindowTypecursor: Option<Cursor>override_redirect: booltype_hint: Option<WindowTypeHint>

Trait Implementations

impl Default for WindowAttr[src]

impl<'a> ToGlibPtr<'a, *mut GdkWindowAttr> for WindowAttr[src]

type Storage = (Box<GdkWindowAttr>, Stash<'a, *mut GdkVisual, Option<Visual>>, Stash<'a, *mut GdkCursor, Option<Cursor>>, Stash<'a, *const c_char, Option<String>>)

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

fn to_glib_full(&self) -> P[src]

Transfer: full. Read more

Auto Trait Implementations

impl !Send for WindowAttr

impl !Sync for WindowAttr

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.