Struct gdk::Window
[−]
pub struct Window(_, _);
Methods
impl Window
[src]
fn at_pointer() -> (Window, i32, i32)
fn constrain_size(
geometry: &mut Geometry,
flags: WindowHints,
width: i32,
height: i32
) -> (i32, i32)
geometry: &mut Geometry,
flags: WindowHints,
width: i32,
height: i32
) -> (i32, i32)
fn process_all_updates()
fn set_debug_updates(setting: bool)
impl Window
[src]
fn new(parent: Option<&Window>, attributes: &WindowAttr) -> Window
fn create_similar_surface(
&self,
content: Content,
width: i32,
height: i32
) -> Option<Surface>
&self,
content: Content,
width: i32,
height: i32
) -> Option<Surface>
Trait Implementations
impl Clone for Window
fn clone(&self) -> Window
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Window
impl Hash for Window
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Window
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Window
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.