Trait gtk::CellAreaExt [] [src]

pub trait CellAreaExt {
    fn activate<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        cell_area: &Rectangle,
        flags: CellRendererState,
        edit_only: bool
    ) -> bool; fn activate_cell<P: IsA<Widget>, Q: IsA<CellRenderer>>(
        &self,
        widget: &P,
        renderer: &Q,
        event: &Event,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) -> bool; fn add<P: IsA<CellRenderer>>(&self, renderer: &P); fn add_focus_sibling<P: IsA<CellRenderer>, Q: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        sibling: &Q
    ); fn apply_attributes<P: IsA<TreeModel>>(
        &self,
        tree_model: &P,
        iter: &TreeIter,
        is_expander: bool,
        is_expanded: bool
    ); fn attribute_connect<P: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        attribute: &str,
        column: i32
    ); fn attribute_disconnect<P: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        attribute: &str
    ); fn attribute_get_column<P: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        attribute: &str
    ) -> i32; fn copy_context(&self, context: &CellAreaContext) -> Option<CellAreaContext>; fn create_context(&self) -> Option<CellAreaContext>; fn event<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        event: &Event,
        cell_area: &Rectangle,
        flags: CellRendererState
    ) -> i32; fn focus(&self, direction: DirectionType) -> bool; fn get_cell_allocation<P: IsA<Widget>, Q: IsA<CellRenderer>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        renderer: &Q,
        cell_area: &Rectangle
    ) -> Rectangle; fn get_cell_at_position<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        cell_area: &Rectangle,
        x: i32,
        y: i32
    ) -> (CellRenderer, Rectangle); fn get_current_path_string(&self) -> Option<String>; fn get_edit_widget(&self) -> Option<CellEditable>; fn get_edited_cell(&self) -> Option<CellRenderer>; fn get_focus_cell(&self) -> Option<CellRenderer>; fn get_focus_from_sibling<P: IsA<CellRenderer>>(
        &self,
        renderer: &P
    ) -> Option<CellRenderer>; fn get_focus_siblings<P: IsA<CellRenderer>>(
        &self,
        renderer: &P
    ) -> Vec<CellRenderer>; fn get_preferred_height<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P
    ) -> (i32, i32); fn get_preferred_height_for_width<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        width: i32
    ) -> (i32, i32); fn get_preferred_width<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P
    ) -> (i32, i32); fn get_preferred_width_for_height<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        height: i32
    ) -> (i32, i32); fn get_request_mode(&self) -> SizeRequestMode; fn has_renderer<P: IsA<CellRenderer>>(&self, renderer: &P) -> bool; fn inner_cell_area<P: IsA<Widget>>(
        &self,
        widget: &P,
        cell_area: &Rectangle
    ) -> Rectangle; fn is_activatable(&self) -> bool; fn is_focus_sibling<P: IsA<CellRenderer>, Q: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        sibling: &Q
    ) -> bool; fn remove<P: IsA<CellRenderer>>(&self, renderer: &P); fn remove_focus_sibling<P: IsA<CellRenderer>, Q: IsA<CellRenderer>>(
        &self,
        renderer: &P,
        sibling: &Q
    ); fn render<P: IsA<Widget>>(
        &self,
        context: &CellAreaContext,
        widget: &P,
        cr: &Context,
        background_area: &Rectangle,
        cell_area: &Rectangle,
        flags: CellRendererState,
        paint_focus: bool
    ); fn request_renderer<P: IsA<CellRenderer>, Q: IsA<Widget>>(
        &self,
        renderer: &P,
        orientation: Orientation,
        widget: &Q,
        for_size: i32
    ) -> (i32, i32); fn set_focus_cell<P: IsA<CellRenderer>>(&self, renderer: &P); fn stop_editing(&self, canceled: bool); fn connect_add_editable<F: Fn(&Self, &CellRenderer, &CellEditable, &Rectangle, TreePath) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_apply_attributes<F: Fn(&Self, &TreeModel, &TreeIter, bool, bool) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_focus_changed<F: Fn(&Self, &CellRenderer, TreePath) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_remove_editable<F: Fn(&Self, &CellRenderer, &CellEditable) + 'static>(
        &self,
        f: F
    ) -> u64; }

Required Methods

Implementors