Trait libhelium::subclass::prelude::CellAreaImpl

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

Provided Methods§

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

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

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

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

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

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

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

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

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

fn foreach(&self, callback: &CellCallback)

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

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

fn is_activatable(&self) -> bool

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

fn request_mode(&self) -> SizeRequestMode

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

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

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

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

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

Object Safety§

This trait is not object safe.

Implementors§