[][src]Trait gtk::BoxExt

pub trait BoxExt: 'static {
    fn get_baseline_position(&self) -> BaselinePosition;
fn get_center_widget(&self) -> Option<Widget>;
fn get_homogeneous(&self) -> bool;
fn get_spacing(&self) -> i32;
fn pack_end<P: IsA<Widget>>(
        &self,
        child: &P,
        expand: bool,
        fill: bool,
        padding: u32
    );
fn pack_start<P: IsA<Widget>>(
        &self,
        child: &P,
        expand: bool,
        fill: bool,
        padding: u32
    );
fn query_child_packing<P: IsA<Widget>>(
        &self,
        child: &P
    ) -> (bool, bool, u32, PackType);
fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32);
fn set_baseline_position(&self, position: BaselinePosition);
fn set_center_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        widget: Q
    );
fn set_child_packing<P: IsA<Widget>>(
        &self,
        child: &P,
        expand: bool,
        fill: bool,
        padding: u32,
        pack_type: PackType
    );
fn set_homogeneous(&self, homogeneous: bool);
fn set_spacing(&self, spacing: i32);
fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32;
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32);
fn connect_property_baseline_position_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_homogeneous_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_baseline_position(&self) -> BaselinePosition

fn get_center_widget(&self) -> Option<Widget>

fn get_homogeneous(&self) -> bool

fn get_spacing(&self) -> i32

fn pack_end<P: IsA<Widget>>(
    &self,
    child: &P,
    expand: bool,
    fill: bool,
    padding: u32
)

fn pack_start<P: IsA<Widget>>(
    &self,
    child: &P,
    expand: bool,
    fill: bool,
    padding: u32
)

fn query_child_packing<P: IsA<Widget>>(
    &self,
    child: &P
) -> (bool, bool, u32, PackType)

fn reorder_child<P: IsA<Widget>>(&self, child: &P, position: i32)

fn set_baseline_position(&self, position: BaselinePosition)

fn set_center_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    widget: Q
)

fn set_child_packing<P: IsA<Widget>>(
    &self,
    child: &P,
    expand: bool,
    fill: bool,
    padding: u32,
    pack_type: PackType
)

fn set_homogeneous(&self, homogeneous: bool)

fn set_spacing(&self, spacing: i32)

fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32

fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)

fn connect_property_baseline_position_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_homogeneous_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<Box>> BoxExt for O[src]

Loading content...