pub trait CellAreaImplExt: ObjectSubclass {
Show 17 methods
// Required methods
fn parent_activate<P, W>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
area: &Rectangle,
flags: CellRendererState,
edit_only: bool
) -> bool
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
fn parent_add<R>(&self, cell_area: &Self::Type, renderer: &R)
where R: IsA<CellRenderer>;
fn parent_apply_attributes<M>(
&self,
cell_area: &Self::Type,
tree_model: &M,
iter: &TreeIter,
is_expander: bool,
is_expanded: bool
)
where M: IsA<TreeModel>;
fn parent_create_context(
&self,
cell_area: &Self::Type
) -> Option<CellAreaContext>;
fn parent_copy_context<P>(
&self,
cell_area: &Self::Type,
context: &P
) -> Option<CellAreaContext>
where P: IsA<CellAreaContext>;
fn parent_event<W, P>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
event: &Event,
area: &Rectangle,
flags: CellRendererState
) -> bool
where W: IsA<Widget>,
P: IsA<CellAreaContext>;
fn parent_foreach(&self, cell_area: &Self::Type, callback: &CellCallback);
fn parent_foreach_alloc<P, W>(
&self,
cell_type: &Self::Type,
context: &P,
widget: &W,
area: &Rectangle,
bg_area: &Rectangle,
callback: &CellCallbackAllocate
)
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
fn parent_remove<R>(&self, cell_area: &Self::Type, renderer: &R)
where R: IsA<CellRenderer>;
fn parent_is_activatable(&self, cell_area: &Self::Type) -> bool;
fn parent_focus(
&self,
cell_area: &Self::Type,
direction_type: DirectionType
) -> bool;
fn parent_request_mode(&self, cell_area: &Self::Type) -> SizeRequestMode;
fn parent_preferred_width<P, W>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W
) -> (i32, i32)
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
fn parent_preferred_height<P, W>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W
) -> (i32, i32)
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
fn parent_preferred_width_for_height<P, W>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
height: i32
) -> (i32, i32)
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
fn parent_preferred_height_for_width<P, W>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
width: i32
) -> (i32, i32)
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
fn parent_snapshot<P, W>(
&self,
cell_area: &Self::Type,
context: &P,
snapshot: &Snapshot,
widget: &W,
background_area: &Rectangle,
cellarea: &Rectangle,
flags: CellRendererState,
paint_focus: bool
)
where P: IsA<CellAreaContext>,
W: IsA<Widget>;
}