Trait gtk::prelude::CellAreaBoxExt
source · [−]pub trait CellAreaBoxExt: 'static {
fn spacing(&self) -> i32;
fn pack_end(
&self,
renderer: &impl IsA<CellRenderer>,
expand: bool,
align: bool,
fixed: bool
);
fn pack_start(
&self,
renderer: &impl IsA<CellRenderer>,
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(
&self,
renderer: &impl IsA<CellRenderer>,
expand: bool,
align: bool,
fixed: bool
)
fn pack_start(
&self,
renderer: &impl IsA<CellRenderer>,
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