Trait gtk4::subclass::cell_renderer::CellRendererImplExt
source · pub trait CellRendererImplExt: Sealed + ObjectSubclass {
// Provided methods
fn parent_request_mode(&self) -> SizeRequestMode { ... }
fn parent_preferred_width<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32) { ... }
fn parent_preferred_width_for_height<P: IsA<Widget>>(
&self,
widget: &P,
height: i32
) -> (i32, i32) { ... }
fn parent_preferred_height<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32) { ... }
fn parent_preferred_height_for_width<P: IsA<Widget>>(
&self,
widget: &P,
width: i32
) -> (i32, i32) { ... }
fn parent_aligned_area<P: IsA<Widget>>(
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle
) -> Rectangle { ... }
fn parent_snapshot<P: IsA<Widget>>(
&self,
snapshot: &Snapshot,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) { ... }
fn parent_activate<P: IsA<Widget>>(
&self,
event: Option<&Event>,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> bool { ... }
fn parent_start_editing<P: IsA<Widget>>(
&self,
event: Option<&Event>,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> Option<CellEditable> { ... }
fn parent_editing_canceled(&self) { ... }
fn parent_editing_started(&self, editable: &CellEditable, path: &str) { ... }
}
👎Deprecated: Since 4.10
Provided Methods§
sourcefn parent_request_mode(&self) -> SizeRequestMode
fn parent_request_mode(&self) -> SizeRequestMode
👎Deprecated: Since 4.10
sourcefn parent_preferred_width<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
fn parent_preferred_width<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn parent_preferred_width_for_height<P: IsA<Widget>>(
&self,
widget: &P,
height: i32
) -> (i32, i32)
fn parent_preferred_width_for_height<P: IsA<Widget>>( &self, widget: &P, height: i32 ) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn parent_preferred_height<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
fn parent_preferred_height<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn parent_preferred_height_for_width<P: IsA<Widget>>(
&self,
widget: &P,
width: i32
) -> (i32, i32)
fn parent_preferred_height_for_width<P: IsA<Widget>>( &self, widget: &P, width: i32 ) -> (i32, i32)
👎Deprecated: Since 4.10
sourcefn parent_aligned_area<P: IsA<Widget>>(
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle
) -> Rectangle
fn parent_aligned_area<P: IsA<Widget>>( &self, widget: &P, flags: CellRendererState, cell_area: &Rectangle ) -> Rectangle
👎Deprecated: Since 4.10
sourcefn parent_snapshot<P: IsA<Widget>>(
&self,
snapshot: &Snapshot,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
)
fn parent_snapshot<P: IsA<Widget>>( &self, snapshot: &Snapshot, widget: &P, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState )
👎Deprecated: Since 4.10
sourcefn parent_activate<P: IsA<Widget>>(
&self,
event: Option<&Event>,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> bool
fn parent_activate<P: IsA<Widget>>( &self, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState ) -> bool
👎Deprecated: Since 4.10
sourcefn parent_start_editing<P: IsA<Widget>>(
&self,
event: Option<&Event>,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> Option<CellEditable>
fn parent_start_editing<P: IsA<Widget>>( &self, event: Option<&Event>, widget: &P, path: &str, background_area: &Rectangle, cell_area: &Rectangle, flags: CellRendererState ) -> Option<CellEditable>
👎Deprecated: Since 4.10
sourcefn parent_editing_canceled(&self)
fn parent_editing_canceled(&self)
👎Deprecated: Since 4.10
sourcefn parent_editing_started(&self, editable: &CellEditable, path: &str)
fn parent_editing_started(&self, editable: &CellEditable, path: &str)
👎Deprecated: Since 4.10