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

source§

fn clone(&self) -> GtkTreeViewClass

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GtkTreeViewClass

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for GtkTreeViewClass

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.