pub trait CellAreaImpl: CellAreaImplExt + ObjectImpl {
Show 20 methods
fn cell_properties() -> &'static [ParamSpec] { ... }
fn set_cell_property<R: IsA<CellRenderer>>(
&self,
_obj: &Self::Type,
_renderer: &R,
_id: usize,
_value: &Value,
_pspec: &ParamSpec
) { ... }
fn cell_property<R: IsA<CellRenderer>>(
&self,
_obj: &Self::Type,
_renderer: &R,
_id: usize,
_pspec: &ParamSpec
) -> Value { ... }
fn 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 add<R: IsA<CellRenderer>>(&self, cell_area: &Self::Type, renderer: &R) { ... }
fn apply_attributes<M: IsA<TreeModel>>(
&self,
cell_area: &Self::Type,
tree_model: &M,
iter: &TreeIter,
is_expander: bool,
is_expanded: bool
) { ... }
fn create_context(&self, cell_area: &Self::Type) -> Option<CellAreaContext> { ... }
fn copy_context<P: IsA<CellAreaContext>>(
&self,
cell_area: &Self::Type,
context: &P
) -> Option<CellAreaContext> { ... }
fn event<W: IsA<Widget>, P: IsA<CellAreaContext>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
event: &Event,
area: &Rectangle,
flags: CellRendererState
) -> bool { ... }
fn foreach(&self, cell_area: &Self::Type, callback: &CellCallback) { ... }
fn 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 remove<R: IsA<CellRenderer>>(&self, cell_area: &Self::Type, renderer: &R) { ... }
fn is_activatable(&self, cell_area: &Self::Type) -> bool { ... }
fn focus(&self, cell_area: &Self::Type, direction_type: DirectionType) -> bool { ... }
fn request_mode(&self, cell_area: &Self::Type) -> SizeRequestMode { ... }
fn preferred_width<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W
) -> (i32, i32) { ... }
fn preferred_width_for_height<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
height: i32
) -> (i32, i32) { ... }
fn preferred_height<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W
) -> (i32, i32) { ... }
fn preferred_height_for_width<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
width: i32
) -> (i32, i32) { ... }
fn 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
) { ... }
}
Provided Methods
source
fn cell_properties() -> &'static [ParamSpec]
sourcefn set_cell_property<R: IsA<CellRenderer>>(
fn set_cell_property<R: IsA<CellRenderer>>(
&self,
_obj: &Self::Type,
_renderer: &R,
_id: usize,
_value: &Value,
_pspec: &ParamSpec
)
sourcefn cell_property<R: IsA<CellRenderer>>(
fn cell_property<R: IsA<CellRenderer>>(
&self,
_obj: &Self::Type,
_renderer: &R,
_id: usize,
_pspec: &ParamSpec
) -> Value
sourcefn activate<P: IsA<CellAreaContext>, W: IsA<Widget>>(
fn activate<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
area: &Rectangle,
flags: CellRendererState,
edit_only: bool
) -> bool
sourcefn apply_attributes<M: IsA<TreeModel>>(
fn apply_attributes<M: IsA<TreeModel>>(
&self,
cell_area: &Self::Type,
tree_model: &M,
iter: &TreeIter,
is_expander: bool,
is_expanded: bool
)
source
fn create_context(&self, cell_area: &Self::Type) -> Option<CellAreaContext>
sourcefn copy_context<P: IsA<CellAreaContext>>(
fn copy_context<P: IsA<CellAreaContext>>(
&self,
cell_area: &Self::Type,
context: &P
) -> Option<CellAreaContext>
sourcefn event<W: IsA<Widget>, P: IsA<CellAreaContext>>(
fn 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 foreach(&self, cell_area: &Self::Type, callback: &CellCallback)
sourcefn foreach_alloc<P: IsA<CellAreaContext>, W: IsA<Widget>>(
fn foreach_alloc<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_type: &Self::Type,
context: &P,
widget: &W,
area: &Rectangle,
bg_area: &Rectangle,
callback: &CellCallbackAllocate
)
source
fn is_activatable(&self, cell_area: &Self::Type) -> bool
source
fn focus(&self, cell_area: &Self::Type, direction_type: DirectionType) -> bool
source
fn request_mode(&self, cell_area: &Self::Type) -> SizeRequestMode
sourcefn preferred_width<P: IsA<CellAreaContext>, W: IsA<Widget>>(
fn preferred_width<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W
) -> (i32, i32)
sourcefn preferred_width_for_height<P: IsA<CellAreaContext>, W: IsA<Widget>>(
fn preferred_width_for_height<P: IsA<CellAreaContext>, W: IsA<Widget>>(
&self,
cell_area: &Self::Type,
context: &P,
widget: &W,
height: i32
) -> (i32, i32)
sourcefn preferred_height<P: IsA<CellAreaContext>, W: IsA<Widget>>(