Trait libpanel::subclass::prelude::CellRendererImpl
source · pub trait CellRendererImpl: CellRendererImplExt + ObjectImpl {
// Provided methods
fn activate<P>(
&self,
event: Option<&Event>,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState,
) -> bool
where P: IsA<Widget> { ... }
fn editing_canceled(&self) { ... }
fn editing_started(&self, editable: &CellEditable, path: &str) { ... }
fn aligned_area<P>(
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle,
) -> Rectangle
where P: IsA<Widget> { ... }
fn preferred_height_for_width<P>(
&self,
widget: &P,
width: i32,
) -> (i32, i32)
where P: IsA<Widget> { ... }
fn preferred_height<P>(&self, widget: &P) -> (i32, i32)
where P: IsA<Widget> { ... }
fn preferred_width_for_height<P>(
&self,
widget: &P,
height: i32,
) -> (i32, i32)
where P: IsA<Widget> { ... }
fn preferred_width<P>(&self, widget: &P) -> (i32, i32)
where P: IsA<Widget> { ... }
fn request_mode(&self) -> SizeRequestMode { ... }
fn snapshot<P>(
&self,
snapshot: &Snapshot,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState,
)
where P: IsA<Widget> { ... }
fn start_editing<P>(
&self,
event: Option<&Event>,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState,
) -> Option<CellEditable>
where P: IsA<Widget> { ... }
}
Provided Methods§
fn activate<P>( &self, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, ) -> bool
fn editing_canceled(&self)
fn editing_started(&self, editable: &CellEditable, path: &str)
fn aligned_area<P>( &self, widget: &P, flags: CellRendererState, cell_area: &Rectangle, ) -> Rectangle
fn preferred_height_for_width<P>(&self, widget: &P, width: i32) -> (i32, i32)
fn preferred_height<P>(&self, widget: &P) -> (i32, i32)
fn preferred_width_for_height<P>(&self, widget: &P, height: i32) -> (i32, i32)
fn preferred_width<P>(&self, widget: &P) -> (i32, i32)
fn request_mode(&self) -> SizeRequestMode
fn snapshot<P>( &self, snapshot: &Snapshot, widget: &P, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, )
fn start_editing<P>( &self, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState, ) -> Option<CellEditable>
Object Safety§
This trait is not object safe.