FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<PagerControlTemplateSettings>
    

    Returns a strong reference to this object.

    Source

    pages_property

    fn pages_property() -> &'static DirectProperty<PagerControlTemplateSettings, FerroList<i32>>
    

    Defines the Pages property: the page numbers of the combo box.

    Source

    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.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates the settings of a pager.

    Source

    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.

    Source

    number_panel_items

    fn number_panel_items(self: &Self) -> FerroList<Ref<Control>>
    

    Gets the buttons and ellipses of the number panel.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.