PopupFlyoutBaseImpl
trait · ferroui-controls · v0.5.0
trait PopupFlyoutBaseImpl: FlyoutBaseImpl + $crate::Upcast<PopupFlyoutBase>
The overridable members introduced by the class.
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.
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.
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.
on_opening
fn on_opening(this: &Self, args: &CancelEventArgs)
Raises the Opening event.
on_closing
fn on_closing(this: &Self, args: &CancelEventArgs)
Raises the Closing event.
create_presenter
fn create_presenter(this: &Self) -> Ref<Control>
Used to create the content the flyout displays.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.