Flyout
struct · ferroui-controls · v0.5.0
struct Flyout
A flyout that displays arbitrary content.
Members
TYPEto_refcontent_propertycontent_template_propertyflyout_presenter_theme_propertyconstructnewflyout_presenter_classesflyout_presenter_themeset_flyout_presenter_themecontentset_contentcontent_templateset_content_template
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<Flyout>
Returns a strong reference to this object.
content_property
fn content_property() -> &'static StyledProperty<Option<BoxedValue>>
Defines the Content property.
content_template_property
fn content_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
Defines the ContentTemplate property.
flyout_presenter_theme_property
fn flyout_presenter_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
Defines the FlyoutPresenterTheme property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a flyout.
flyout_presenter_classes
fn flyout_presenter_classes(self: &Self) -> Classes
The classes collection to apply to the flyout presenter this flyout is hosting.
flyout_presenter_theme
fn flyout_presenter_theme(self: &Self) -> Option<Ref<ControlTheme>>
The control theme that is applied to the container element generated for the flyout presenter.
set_flyout_presenter_theme
fn set_flyout_presenter_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
content
fn content(self: &Self) -> Option<BoxedValue>
The content to display in this flyout.
set_content
fn set_content(self: &Self, value: Option<BoxedValue>)
content_template
fn content_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
The data template used to display the content of the flyout.
set_content_template
fn set_content_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeFlyoutBaseImplExtPopupFlyoutBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<Flyout>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplFlyoutBaseImplPopupFlyoutBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.