Trait gtk::prelude::CellAreaBoxExt [−][src]
pub trait CellAreaBoxExt: 'static { fn 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_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Expand description
Required methods
Gets the spacing added between cell renderers.
Returns
the space added between cell renderers in self
.
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
)
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)
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_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId