PipsPager
struct · ferroui-controls · v0.5.0
struct PipsPager
Represents a control that lets the user navigate through a paginated collection using a set of pips.
Members
TYPEto_refmax_visible_pips_propertyis_next_button_visible_propertynumber_of_pages_propertyorientation_propertyis_previous_button_visible_propertyselected_page_index_propertytemplate_settings_propertyprevious_button_theme_propertynext_button_theme_propertyselected_index_changed_eventconstructnewselected_index_changedmax_visible_pipsset_max_visible_pipsis_next_button_visibleset_is_next_button_visiblenumber_of_pagesset_number_of_pagesorientationset_orientationis_previous_button_visibleset_is_previous_button_visibleselected_page_indexset_selected_page_indextemplate_settingsprevious_button_themeset_previous_button_themenext_button_themeset_next_button_theme
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PipsPager>
Returns a strong reference to this object.
max_visible_pips_property
fn max_visible_pips_property() -> &'static StyledProperty<i32>
Defines the MaxVisiblePips property.
is_next_button_visible_property
fn is_next_button_visible_property() -> &'static StyledProperty<bool>
Defines the IsNextButtonVisible property.
number_of_pages_property
fn number_of_pages_property() -> &'static StyledProperty<i32>
Defines the NumberOfPages property.
orientation_property
fn orientation_property() -> &'static StyledProperty<Orientation>
Defines the Orientation property.
is_previous_button_visible_property
fn is_previous_button_visible_property() -> &'static StyledProperty<bool>
Defines the IsPreviousButtonVisible property.
selected_page_index_property
fn selected_page_index_property() -> &'static StyledProperty<i32>
Defines the SelectedPageIndex property.
template_settings_property
fn template_settings_property() -> &'static DirectProperty<PipsPager, Ref<PipsPagerTemplateSettings>>
Defines the TemplateSettings property.
previous_button_theme_property
fn previous_button_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
Defines the PreviousButtonTheme property.
next_button_theme_property
fn next_button_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
Defines the NextButtonTheme property.
selected_index_changed_event
fn selected_index_changed_event() -> &'static RoutedEvent<PipsPagerSelectedIndexChangedEventArgs>
Defines the SelectedIndexChanged event.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Initializes a new instance of the pips pager.
selected_index_changed
fn selected_index_changed(self: &Self, handler: impl Fn(&Interactive, &PipsPagerSelectedIndexChangedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
Occurs when the selected index has changed.
max_visible_pips
fn max_visible_pips(self: &Self) -> i32
Gets or sets the maximum number of visible pips.
set_max_visible_pips
fn set_max_visible_pips(self: &Self, value: i32)
is_next_button_visible
fn is_next_button_visible(self: &Self) -> bool
Gets or sets the visibility of the next button.
set_is_next_button_visible
fn set_is_next_button_visible(self: &Self, value: bool)
number_of_pages
fn number_of_pages(self: &Self) -> i32
Gets or sets the number of pages.
set_number_of_pages
fn set_number_of_pages(self: &Self, value: i32)
orientation
fn orientation(self: &Self) -> Orientation
Gets or sets the orientation of the pips.
set_orientation
fn set_orientation(self: &Self, value: Orientation)
is_previous_button_visible
fn is_previous_button_visible(self: &Self) -> bool
Gets or sets the visibility of the previous button.
set_is_previous_button_visible
fn set_is_previous_button_visible(self: &Self, value: bool)
selected_page_index
fn selected_page_index(self: &Self) -> i32
Gets or sets the current selected page index.
set_selected_page_index
fn set_selected_page_index(self: &Self, value: i32)
template_settings
fn template_settings(self: &Self) -> Ref<PipsPagerTemplateSettings>
Gets the template settings.
previous_button_theme
fn previous_button_theme(self: &Self) -> Option<Ref<ControlTheme>>
Gets or sets the theme for the previous button.
set_previous_button_theme
fn set_previous_button_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
next_button_theme
fn next_button_theme(self: &Self) -> Option<Ref<ControlTheme>>
Gets or sets the theme for the next button.
set_next_button_theme
fn set_next_button_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<PipsPager>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplLayoutableImplInteractiveImplFerroObjectImplTemplatedControlImplControlImplInputElementImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.