PagerControlTemplateSettings
struct · ferroui-controls · v0.5.0
struct PagerControlTemplateSettings
The values the template of a PagerControl binds to: the page
numbers of its combo box (Pages, 1 to the number of pages) and the buttons and ellipses
of its number panel (NumberPanelItems). Each pager has its own; the pager fills them.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PagerControlTemplateSettings>
Returns a strong reference to this object.
pages_property
fn pages_property() -> &'static DirectProperty<PagerControlTemplateSettings, FerroList<i32>>
Defines the Pages property: the page numbers of the combo box.
number_panel_items_property
fn number_panel_items_property() -> &'static DirectProperty<PagerControlTemplateSettings, FerroList<Ref<Control>>>
Defines the NumberPanelItems property: the buttons and ellipses of the number panel.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the settings of a pager.
pages
fn pages(self: &Self) -> FerroList<i32>
Gets the page numbers of the combo box: 1 to the number of pages, or the first hundreds while the number of pages is not known.
number_panel_items
fn number_panel_items(self: &Self) -> FerroList<Ref<Control>>
Gets the buttons and ellipses of the number panel.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<PagerControlTemplateSettings>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.