Struct gtk::Alignment
[−]
pub struct Alignment(_, _);
Methods
impl Alignment
[src]
fn new(xalign: f32, yalign: f32, xscale: f32, yscale: f32) -> Alignment
fn get_padding(&self) -> (u32, u32, u32, u32)
fn set(&self, xalign: f32, yalign: f32, xscale: f32, yscale: f32)
fn set_padding(&self,
padding_top: u32,
padding_bottom: u32,
padding_left: u32,
padding_right: u32)
padding_top: u32,
padding_bottom: u32,
padding_left: u32,
padding_right: u32)
fn get_property_bottom_padding(&self) -> u32
fn set_property_bottom_padding(&self, bottom_padding: u32)
fn get_property_left_padding(&self) -> u32
fn set_property_left_padding(&self, left_padding: u32)
fn get_property_right_padding(&self) -> u32
fn set_property_right_padding(&self, right_padding: u32)
fn get_property_top_padding(&self) -> u32
fn set_property_top_padding(&self, top_padding: u32)
fn get_property_xalign(&self) -> f32
fn set_property_xalign(&self, xalign: f32)
fn get_property_xscale(&self) -> f32
fn set_property_xscale(&self, xscale: f32)
fn get_property_yalign(&self) -> f32
fn set_property_yalign(&self, yalign: f32)
fn get_property_yscale(&self) -> f32
fn set_property_yscale(&self, yscale: f32)
Trait Implementations
impl Clone for Alignment
fn clone(&self) -> Alignment
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 Alignment
impl Hash for Alignment
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 Alignment
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Alignment
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 !=
.