ShowWarningNotificationAction
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ShowWarningNotificationAction
Shows a warning notification using an INotificationManager.
Members
TYPEto_refnotification_manager_propertytitle_propertymessage_propertyconstructnewnotification_managerset_notification_managertitleset_titlemessageset_message
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ShowWarningNotificationAction>
Returns a strong reference to this object.
notification_manager_property
fn notification_manager_property() -> &'static StyledProperty<Option<Rc<dyn INotificationManager>>>
Identifies the NotificationManager property.
title_property
fn title_property() -> &'static StyledProperty<Option<String>>
Identifies the Title property.
message_property
fn message_property() -> &'static StyledProperty<Option<String>>
Identifies the Message property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
notification_manager
fn notification_manager(self: &Self) -> Option<Rc<dyn INotificationManager>>
Gets or sets the INotificationManager used to display the notification. This is a
property of the object model; markup resolves a name given for it to the named manager.
set_notification_manager
fn set_notification_manager(self: &Self, value: Option<Rc<dyn INotificationManager>>)
title
fn title(self: &Self) -> Option<String>
Gets or sets the notification title. This is a property of the object model.
set_title
fn set_title(self: &Self, value: Option<String>)
message
fn message(self: &Self) -> Option<String>
Gets or sets the notification message. This is a property of the object model.
set_message
fn set_message(self: &Self, value: Option<String>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<ShowWarningNotificationAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.