libadwaita::subclass::prelude

Trait CellAreaImpl

Source
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§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn foreach(&self, callback: &CellCallback)

Source

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

Source

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

Source

fn is_activatable(&self) -> bool

Source

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

Source

fn request_mode(&self) -> SizeRequestMode

Source

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

Source

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

Source

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

Source

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

Source

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>,

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§