TreeDataGridColumnHeader
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridColumnHeader
The header of a column of a TreeDataGrid.
Members
TYPEto_refcan_user_resize_propertyheader_propertysort_direction_propertyPSEUDO_CLASSESconstructnewcan_user_resizecolumn_indexheadersort_directionmodelrealizeupdate_column_indexunrealize
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TreeDataGridColumnHeader>
Returns a strong reference to this object.
can_user_resize_property
fn can_user_resize_property() -> &'static DirectProperty<TreeDataGridColumnHeader, bool>
Defines the CanUserResize property.
header_property
fn header_property() -> &'static DirectProperty<TreeDataGridColumnHeader, Option<BoxedValue>>
Defines the Header property.
sort_direction_property
fn sort_direction_property() -> &'static DirectProperty<TreeDataGridColumnHeader, Option<ListSortDirection>>
Defines the SortDirection property.
PSEUDO_CLASSES
const PSEUDO_CLASSES: PseudoClassesAttribute
The pseudoclasses set by the class.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
can_user_resize
fn can_user_resize(self: &Self) -> bool
Whether the user can resize the column.
column_index
fn column_index(self: &Self) -> i32
The index of the column.
header
fn header(self: &Self) -> Option<BoxedValue>
The header of the column.
sort_direction
fn sort_direction(self: &Self) -> Option<ListSortDirection>
The sort direction of the column, if it is sorted.
model
fn model(self: &Self) -> Option<ColumnRef>
The column the header is realized for.
realize
fn realize(self: &Self, columns: &Rc<dyn IColumns>, column_index: i32)
Realizes the header for the column at column_index of columns.
update_column_index
fn update_column_index(self: &Self, column_index: i32)
The index of the column changed.
unrealize
fn unrealize(self: &Self)
Unrealizes the header.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtContentControlImplExtControlImplExtButtonImplExtDerefUpcast<T>Upcast<TreeDataGridColumnHeader>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplInteractiveImplInputElementImplContentControlImplButtonImplFerroObjectImplLayoutableImplControlImplTemplatedControlImplINaturalWidthMeasureCache
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.