Trait clutter::prelude::BoxLayoutExt [−][src]
pub trait BoxLayoutExt: 'static { fn get_homogeneous(&self) -> bool; fn get_orientation(&self) -> Orientation; fn get_pack_start(&self) -> bool; fn get_spacing(&self) -> u32; fn set_homogeneous(&self, homogeneous: bool); fn set_orientation(&self, orientation: Orientation); fn set_pack_start(&self, pack_start: bool); fn set_spacing(&self, spacing: u32); fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_pack_start_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required methods
fn get_homogeneous(&self) -> bool
[src]
Retrieves if the children sizes are allocated homogeneously.
Returns
true
if the BoxLayout
is arranging its children
homogeneously, and false
otherwise
fn get_orientation(&self) -> Orientation
[src]
fn get_pack_start(&self) -> bool
[src]
Retrieves the value set using BoxLayoutExt::set_pack_start
Returns
true
if the BoxLayout
should pack children
at the beginning of the layout, and false
otherwise
fn get_spacing(&self) -> u32
[src]
Retrieves the spacing set using BoxLayoutExt::set_spacing
Returns
the spacing between children of the BoxLayout
fn set_homogeneous(&self, homogeneous: bool)
[src]
Sets whether the size of self
children should be
homogeneous
homogeneous
true
if the layout should be homogeneous
fn set_orientation(&self, orientation: Orientation)
[src]
fn set_pack_start(&self, pack_start: bool)
[src]
Sets whether children of self
should be layed out by appending
them or by prepending them
pack_start
true
if the self
should pack children at the
beginning of the layout
fn set_spacing(&self, spacing: u32)
[src]
Sets the spacing between children of self
spacing
the spacing between children of the layout, in pixels
fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_pack_start_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<BoxLayout>> BoxLayoutExt for O
[src]
fn get_homogeneous(&self) -> bool
[src]
fn get_orientation(&self) -> Orientation
[src]
fn get_pack_start(&self) -> bool
[src]
fn get_spacing(&self) -> u32
[src]
fn set_homogeneous(&self, homogeneous: bool)
[src]
fn set_orientation(&self, orientation: Orientation)
[src]
fn set_pack_start(&self, pack_start: bool)
[src]
fn set_spacing(&self, spacing: u32)
[src]
fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_orientation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_pack_start_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId