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