[−][src]Trait gtk::CellRendererExt
Required methods
fn activate<P: IsA<Widget>>(
&self,
event: &Event,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> bool
&self,
event: &Event,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> bool
fn get_aligned_area<P: IsA<Widget>>(
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle
) -> Rectangle
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle
) -> Rectangle
fn get_alignment(&self) -> (f32, f32)
fn get_fixed_size(&self) -> (i32, i32)
fn get_padding(&self) -> (i32, i32)
fn get_preferred_height<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
fn get_preferred_height_for_width<P: IsA<Widget>>(
&self,
widget: &P,
width: i32
) -> (i32, i32)
&self,
widget: &P,
width: i32
) -> (i32, i32)
fn get_preferred_size<P: IsA<Widget>>(
&self,
widget: &P
) -> (Requisition, Requisition)
&self,
widget: &P
) -> (Requisition, Requisition)
fn get_preferred_width<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
fn get_preferred_width_for_height<P: IsA<Widget>>(
&self,
widget: &P,
height: i32
) -> (i32, i32)
&self,
widget: &P,
height: i32
) -> (i32, i32)
fn get_request_mode(&self) -> SizeRequestMode
fn get_sensitive(&self) -> bool
fn get_state<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
widget: Q,
cell_state: CellRendererState
) -> StateFlags
&self,
widget: Q,
cell_state: CellRendererState
) -> StateFlags
fn get_visible(&self) -> bool
fn is_activatable(&self) -> bool
fn render<P: IsA<Widget>>(
&self,
cr: &Context,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
)
&self,
cr: &Context,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
)
fn set_alignment(&self, xalign: f32, yalign: f32)
fn set_fixed_size(&self, width: i32, height: i32)
fn set_padding(&self, xpad: i32, ypad: i32)
fn set_sensitive(&self, sensitive: bool)
fn set_visible(&self, visible: bool)
fn start_editing<'a, P: Into<Option<&'a Event>>, Q: IsA<Widget>>(
&self,
event: P,
widget: &Q,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> Option<CellEditable>
&self,
event: P,
widget: &Q,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> Option<CellEditable>
fn stop_editing(&self, canceled: bool)
fn set_property_cell_background<'a, P: Into<Option<&'a str>>>(
&self,
cell_background: P
)
&self,
cell_background: P
)
fn get_property_cell_background_rgba(&self) -> Option<RGBA>
fn set_property_cell_background_rgba(&self, cell_background_rgba: Option<&RGBA>)
fn get_property_cell_background_set(&self) -> bool
fn set_property_cell_background_set(&self, cell_background_set: bool)
fn get_property_editing(&self) -> bool
fn get_property_height(&self) -> i32
fn set_property_height(&self, height: i32)
fn get_property_is_expanded(&self) -> bool
fn set_property_is_expanded(&self, is_expanded: bool)
fn get_property_is_expander(&self) -> bool
fn set_property_is_expander(&self, is_expander: bool)
fn get_property_mode(&self) -> CellRendererMode
fn set_property_mode(&self, mode: CellRendererMode)
fn get_property_width(&self) -> i32
fn set_property_width(&self, width: i32)
fn get_property_xalign(&self) -> f32
fn set_property_xalign(&self, xalign: f32)
fn get_property_xpad(&self) -> u32
fn set_property_xpad(&self, xpad: u32)
fn get_property_yalign(&self) -> f32
fn set_property_yalign(&self, yalign: f32)
fn get_property_ypad(&self) -> u32
fn set_property_ypad(&self, ypad: u32)
fn connect_editing_canceled<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_editing_started<F: Fn(&Self, &CellEditable, TreePath) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_cell_background_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_cell_background_rgba_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_cell_background_set_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_editing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_expanded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_expander_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_sensitive_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_visible_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_xalign_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_xpad_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_yalign_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_ypad_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<CellRenderer>> CellRendererExt for O
[src]
fn activate<P: IsA<Widget>>(
&self,
event: &Event,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> bool
[src]
&self,
event: &Event,
widget: &P,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> bool
fn get_aligned_area<P: IsA<Widget>>(
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle
) -> Rectangle
[src]
&self,
widget: &P,
flags: CellRendererState,
cell_area: &Rectangle
) -> Rectangle
fn get_alignment(&self) -> (f32, f32)
[src]
fn get_fixed_size(&self) -> (i32, i32)
[src]
fn get_padding(&self) -> (i32, i32)
[src]
fn get_preferred_height<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
[src]
fn get_preferred_height_for_width<P: IsA<Widget>>(
&self,
widget: &P,
width: i32
) -> (i32, i32)
[src]
&self,
widget: &P,
width: i32
) -> (i32, i32)
fn get_preferred_size<P: IsA<Widget>>(
&self,
widget: &P
) -> (Requisition, Requisition)
[src]
&self,
widget: &P
) -> (Requisition, Requisition)
fn get_preferred_width<P: IsA<Widget>>(&self, widget: &P) -> (i32, i32)
[src]
fn get_preferred_width_for_height<P: IsA<Widget>>(
&self,
widget: &P,
height: i32
) -> (i32, i32)
[src]
&self,
widget: &P,
height: i32
) -> (i32, i32)
fn get_request_mode(&self) -> SizeRequestMode
[src]
fn get_sensitive(&self) -> bool
[src]
fn get_state<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
widget: Q,
cell_state: CellRendererState
) -> StateFlags
[src]
&self,
widget: Q,
cell_state: CellRendererState
) -> StateFlags
fn get_visible(&self) -> bool
[src]
fn is_activatable(&self) -> bool
[src]
fn render<P: IsA<Widget>>(
&self,
cr: &Context,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
)
[src]
&self,
cr: &Context,
widget: &P,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
)
fn set_alignment(&self, xalign: f32, yalign: f32)
[src]
fn set_fixed_size(&self, width: i32, height: i32)
[src]
fn set_padding(&self, xpad: i32, ypad: i32)
[src]
fn set_sensitive(&self, sensitive: bool)
[src]
fn set_visible(&self, visible: bool)
[src]
fn start_editing<'a, P: Into<Option<&'a Event>>, Q: IsA<Widget>>(
&self,
event: P,
widget: &Q,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> Option<CellEditable>
[src]
&self,
event: P,
widget: &Q,
path: &str,
background_area: &Rectangle,
cell_area: &Rectangle,
flags: CellRendererState
) -> Option<CellEditable>
fn stop_editing(&self, canceled: bool)
[src]
fn set_property_cell_background<'a, P: Into<Option<&'a str>>>(
&self,
cell_background: P
)
[src]
&self,
cell_background: P
)
fn get_property_cell_background_rgba(&self) -> Option<RGBA>
[src]
fn set_property_cell_background_rgba(&self, cell_background_rgba: Option<&RGBA>)
[src]
fn get_property_cell_background_set(&self) -> bool
[src]
fn set_property_cell_background_set(&self, cell_background_set: bool)
[src]
fn get_property_editing(&self) -> bool
[src]
fn get_property_height(&self) -> i32
[src]
fn set_property_height(&self, height: i32)
[src]
fn get_property_is_expanded(&self) -> bool
[src]
fn set_property_is_expanded(&self, is_expanded: bool)
[src]
fn get_property_is_expander(&self) -> bool
[src]
fn set_property_is_expander(&self, is_expander: bool)
[src]
fn get_property_mode(&self) -> CellRendererMode
[src]
fn set_property_mode(&self, mode: CellRendererMode)
[src]
fn get_property_width(&self) -> i32
[src]
fn set_property_width(&self, width: i32)
[src]
fn get_property_xalign(&self) -> f32
[src]
fn set_property_xalign(&self, xalign: f32)
[src]
fn get_property_xpad(&self) -> u32
[src]
fn set_property_xpad(&self, xpad: u32)
[src]
fn get_property_yalign(&self) -> f32
[src]
fn set_property_yalign(&self, yalign: f32)
[src]
fn get_property_ypad(&self) -> u32
[src]
fn set_property_ypad(&self, ypad: u32)
[src]
fn connect_editing_canceled<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_editing_started<F: Fn(&Self, &CellEditable, TreePath) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_cell_background_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_cell_background_rgba_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_cell_background_set_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_editing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_expanded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_expander_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_sensitive_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_visible_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_xalign_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_xpad_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_yalign_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_ypad_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId