Struct gtk_sys::GtkTreeViewClass
source · [−]#[repr(C)]pub struct GtkTreeViewClass {Show 24 fields
pub parent_class: GtkContainerClass,
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>,
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 _gtk_reserved1: Option<unsafe extern "C" fn()>,
pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
}
Fields
parent_class: GtkContainerClass
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>
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>
_gtk_reserved1: Option<unsafe extern "C" fn()>
_gtk_reserved2: Option<unsafe extern "C" fn()>
_gtk_reserved3: Option<unsafe extern "C" fn()>
_gtk_reserved4: Option<unsafe extern "C" fn()>
_gtk_reserved5: Option<unsafe extern "C" fn()>
_gtk_reserved6: Option<unsafe extern "C" fn()>
_gtk_reserved7: Option<unsafe extern "C" fn()>
_gtk_reserved8: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for GtkTreeViewClass
impl Clone for GtkTreeViewClass
sourcefn clone(&self) -> GtkTreeViewClass
fn clone(&self) -> GtkTreeViewClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GtkTreeViewClass
impl Debug for GtkTreeViewClass
impl Copy for GtkTreeViewClass
Auto Trait Implementations
impl RefUnwindSafe for GtkTreeViewClass
impl !Send for GtkTreeViewClass
impl !Sync for GtkTreeViewClass
impl Unpin for GtkTreeViewClass
impl UnwindSafe for GtkTreeViewClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more