CellAreaImpl

Trait CellAreaImpl 

Source
pub trait CellAreaImpl: ObjectImpl + ObjectSubclass<Type: IsA<CellArea> + IsA<Buildable> + IsA<CellLayout>> {
Show 20 methods // Provided methods fn cell_properties() -> &'static [ParamSpec] { ... } fn set_cell_property<R: IsA<CellRenderer>>( &self, _renderer: &R, _id: usize, _value: &Value, _pspec: &ParamSpec, ) { ... } fn cell_property<R: IsA<CellRenderer>>( &self, _renderer: &R, _id: usize, _pspec: &ParamSpec, ) -> Value { ... } fn activate<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, area: &Rectangle, flags: CellRendererState, edit_only: bool, ) -> bool { ... } fn add<R: IsA<CellRenderer>>(&self, renderer: &R) { ... } fn apply_attributes<M: IsA<TreeModel>>( &self, tree_model: &M, iter: &TreeIter, is_expander: bool, is_expanded: bool, ) { ... } fn create_context(&self) -> Option<CellAreaContext> { ... } fn copy_context<P: IsA<CellAreaContext>>( &self, context: &P, ) -> Option<CellAreaContext> { ... } fn event<W: IsA<Widget>, P: IsA<CellAreaContext>>( &self, context: &P, widget: &W, event: &Event, area: &Rectangle, flags: CellRendererState, ) -> bool { ... } fn foreach(&self, callback: &CellCallback) { ... } fn foreach_alloc<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, area: &Rectangle, bg_area: &Rectangle, callback: &CellCallbackAllocate, ) { ... } fn remove<R: IsA<CellRenderer>>(&self, renderer: &R) { ... } fn is_activatable(&self) -> bool { ... } fn focus(&self, direction_type: DirectionType) -> bool { ... } fn request_mode(&self) -> SizeRequestMode { ... } fn preferred_width<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, ) -> (i32, i32) { ... } fn preferred_width_for_height<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, height: i32, ) -> (i32, i32) { ... } fn preferred_height<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, ) -> (i32, i32) { ... } fn preferred_height_for_width<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, width: i32, ) -> (i32, i32) { ... } fn snapshot<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, snapshot: &Snapshot, widget: &W, background_area: &Rectangle, cellarea: &Rectangle, flags: CellRendererState, paint_focus: bool, ) { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

fn cell_properties() -> &'static [ParamSpec]

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn set_cell_property<R: IsA<CellRenderer>>( &self, _renderer: &R, _id: usize, _value: &Value, _pspec: &ParamSpec, )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn cell_property<R: IsA<CellRenderer>>( &self, _renderer: &R, _id: usize, _pspec: &ParamSpec, ) -> Value

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn activate<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, area: &Rectangle, flags: CellRendererState, edit_only: bool, ) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn add<R: IsA<CellRenderer>>(&self, renderer: &R)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn apply_attributes<M: IsA<TreeModel>>( &self, tree_model: &M, iter: &TreeIter, is_expander: bool, is_expanded: bool, )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn create_context(&self) -> Option<CellAreaContext>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn copy_context<P: IsA<CellAreaContext>>( &self, context: &P, ) -> Option<CellAreaContext>

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn event<W: IsA<Widget>, P: IsA<CellAreaContext>>( &self, context: &P, widget: &W, event: &Event, area: &Rectangle, flags: CellRendererState, ) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn foreach(&self, callback: &CellCallback)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn foreach_alloc<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, area: &Rectangle, bg_area: &Rectangle, callback: &CellCallbackAllocate, )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn remove<R: IsA<CellRenderer>>(&self, renderer: &R)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn is_activatable(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn focus(&self, direction_type: DirectionType) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn request_mode(&self) -> SizeRequestMode

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_width<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, ) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_width_for_height<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, height: i32, ) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_height<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, ) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn preferred_height_for_width<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, widget: &W, width: i32, ) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
Source

fn snapshot<P: IsA<CellAreaContext>, W: IsA<Widget>>( &self, context: &P, snapshot: &Snapshot, widget: &W, background_area: &Rectangle, cellarea: &Rectangle, flags: CellRendererState, paint_focus: bool, )

๐Ÿ‘ŽDeprecated: Since 4.10

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง