Struct gtk4_sys::GtkTreeViewClass
source · #[repr(C)]pub struct GtkTreeViewClass {Show 17 fields
pub parent_class: GtkWidgetClass,
pub row_activated: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreePath, _: *mut GtkTreeViewColumn)>,
pub test_expand_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath) -> gboolean>,
pub test_collapse_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath) -> gboolean>,
pub row_expanded: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath)>,
pub row_collapsed: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath)>,
pub columns_changed: Option<unsafe extern "C" fn(_: *mut GtkTreeView)>,
pub cursor_changed: Option<unsafe extern "C" fn(_: *mut GtkTreeView)>,
pub move_cursor: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: GtkMovementStep, _: c_int, _: gboolean, _: gboolean) -> gboolean>,
pub select_all: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>,
pub unselect_all: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>,
pub select_cursor_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: gboolean) -> gboolean>,
pub toggle_cursor_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>,
pub expand_collapse_cursor_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: gboolean, _: gboolean, _: gboolean) -> gboolean>,
pub select_cursor_parent: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>,
pub start_interactive_search: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>,
pub _reserved: [gpointer; 16],
}
Fields§
§parent_class: GtkWidgetClass
§row_activated: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreePath, _: *mut GtkTreeViewColumn)>
§test_expand_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath) -> gboolean>
§test_collapse_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath) -> gboolean>
§row_expanded: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath)>
§row_collapsed: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: *mut GtkTreeIter, _: *mut GtkTreePath)>
§columns_changed: Option<unsafe extern "C" fn(_: *mut GtkTreeView)>
§cursor_changed: Option<unsafe extern "C" fn(_: *mut GtkTreeView)>
§move_cursor: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: GtkMovementStep, _: c_int, _: gboolean, _: gboolean) -> gboolean>
§select_all: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>
§unselect_all: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>
§select_cursor_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: gboolean) -> gboolean>
§toggle_cursor_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>
§expand_collapse_cursor_row: Option<unsafe extern "C" fn(_: *mut GtkTreeView, _: gboolean, _: gboolean, _: gboolean) -> gboolean>
§select_cursor_parent: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>
§start_interactive_search: Option<unsafe extern "C" fn(_: *mut GtkTreeView) -> gboolean>
§_reserved: [gpointer; 16]
Trait Implementations§
source§impl Clone for GtkTreeViewClass
impl Clone for GtkTreeViewClass
source§fn clone(&self) -> GtkTreeViewClass
fn clone(&self) -> GtkTreeViewClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more