Struct gtk::Layout
[−]
pub struct Layout(_, _);
Methods
impl Layout
[src]
fn new(hadjustment: Option<&Adjustment>,
vadjustment: Option<&Adjustment>)
-> Layout
vadjustment: Option<&Adjustment>)
-> Layout
fn get_bin_window(&self) -> Option<Window>
fn get_size(&self) -> (u32, u32)
fn move_<T: IsA<Widget>>(&self, child_widget: &T, x: i32, y: i32)
fn put<T: IsA<Widget>>(&self, child_widget: &T, x: i32, y: i32)
fn set_size(&self, width: u32, height: u32)
fn get_property_height(&self) -> u32
fn set_property_height(&self, height: u32)
fn get_property_width(&self) -> u32
fn set_property_width(&self, width: u32)
fn get_child_x<T: IsA<Widget>>(&self, item: &T) -> i32
fn set_child_x<T: IsA<Widget>>(&self, item: &T, x: i32)
fn get_child_y<T: IsA<Widget>>(&self, item: &T) -> i32
fn set_child_y<T: IsA<Widget>>(&self, item: &T, y: i32)
Trait Implementations
impl Clone for Layout
fn clone(&self) -> Layout
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 Layout
impl Hash for Layout
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for Layout
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Layout
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 !=
.