FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PopupFlyoutBaseImpl

    trait · ferroui-controls · v0.5.0

    trait PopupFlyoutBaseImpl: FlyoutBaseImpl + $crate::Upcast<PopupFlyoutBase>
    

    The overridable members introduced by the class.

    View source

    Members

    hide_core

    fn hide_core(this: &Self, can_cancel: bool) -> bool
    

    Hides the flyout; can_cancel tells whether the Closing event is raised and may cancel. Returns true if the action was handled.

    Source

    show_at_core

    fn show_at_core(this: &Self, placement_target: &Control, show_at_pointer: bool) -> bool
    

    Shows the flyout at the given control, at the pointer location when show_at_pointer. Returns true if the action was handled.

    Source

    show_at_rect_core

    fn show_at_rect_core(this: &Self, placement_target: &Control, placement_rect: Rect) -> bool
    

    Shows the flyout below an explicit rectangle in the target's coordinates. The popup positioner applies RTL and screen constraints. This request does not modify the flyout's placement properties.

    Source

    on_opening

    fn on_opening(this: &Self, args: &CancelEventArgs)
    

    Raises the Opening event.

    Source

    on_closing

    fn on_closing(this: &Self, args: &CancelEventArgs)
    

    Raises the Closing event.

    Source

    create_presenter

    fn create_presenter(this: &Self) -> Ref<Control>
    

    Used to create the content the flyout displays.

    Source

    Trait implementations

    Availability

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