[][src]Trait gtk::CellAreaBoxExt

pub trait CellAreaBoxExt: 'static {
    fn get_spacing(&self) -> i32;
fn pack_end<P: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        expand: bool,
        align: bool,
        fixed: bool
    );
fn pack_start<P: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        expand: bool,
        align: bool,
        fixed: bool
    );
fn set_spacing(&self, spacing: i32);
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all CellAreaBox methods.

Implementors

CellAreaBox

Required methods

fn get_spacing(&self) -> i32

Gets the spacing added between cell renderers.

Returns

the space added between cell renderers in self.

fn pack_end<P: IsA<CellRenderer>>(
    &self,
    renderer: &P,
    expand: bool,
    align: bool,
    fixed: bool
)

Adds renderer to self, packed with reference to the end of self.

The renderer is packed after (away from end of) any other CellRenderer packed with reference to the end of self.

renderer

the CellRenderer to add

expand

whether renderer should receive extra space when the area receives more than its natural size

align

whether renderer should be aligned in adjacent rows

fixed

whether renderer should have the same size in all rows

fn pack_start<P: IsA<CellRenderer>>(
    &self,
    renderer: &P,
    expand: bool,
    align: bool,
    fixed: bool
)

Adds renderer to self, packed with reference to the start of self.

The renderer is packed after any other CellRenderer packed with reference to the start of self.

renderer

the CellRenderer to add

expand

whether renderer should receive extra space when the area receives more than its natural size

align

whether renderer should be aligned in adjacent rows

fixed

whether renderer should have the same size in all rows

fn set_spacing(&self, spacing: i32)

Sets the spacing to add between cell renderers in self.

spacing

the space to add between GtkCellRenderers

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

Loading content...

Implementors

impl<O: IsA<CellAreaBox>> CellAreaBoxExt for O[src]

Loading content...