Trait ux::BoxLayoutExt[][src]

pub trait BoxLayoutExt: 'static {
    pub fn get_homogeneous(&self) -> bool;
pub fn get_orientation(&self) -> Orientation;
pub fn get_pack_start(&self) -> bool;
pub fn get_spacing(&self) -> u32;
pub fn set_homogeneous(&self, homogeneous: bool);
pub fn set_orientation(&self, orientation: Orientation);
pub fn set_pack_start(&self, pack_start: bool);
pub fn set_spacing(&self, spacing: u32);
pub fn connect_property_homogeneous_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_orientation_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_pack_start_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_spacing_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
; }

Trait containing all BoxLayout methods.

Implementors

BoxLayout

Required methods

pub 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

pub fn get_orientation(&self) -> Orientation[src]

Retrieves the orientation of the self.

Returns

the orientation of the layout

pub 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

pub fn get_spacing(&self) -> u32[src]

Retrieves the spacing set using BoxLayoutExt::set_spacing

Returns

the spacing between children of the BoxLayout

pub 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

pub fn set_orientation(&self, orientation: Orientation)[src]

Sets the orientation of the BoxLayout layout manager.

orientation

the orientation of the BoxLayout

pub 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

pub fn set_spacing(&self, spacing: u32)[src]

Sets the spacing between children of self

spacing

the spacing between children of the layout, in pixels

pub fn connect_property_homogeneous_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

pub fn connect_property_orientation_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

pub fn connect_property_pack_start_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

pub fn connect_property_spacing_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 
[src]

Loading content...

Implementors

impl<O> BoxLayoutExt for O where
    O: IsA<BoxLayout>, 
[src]

Loading content...