FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScreensChangedTrigger

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct ScreensChangedTrigger
    

    A trigger that executes its actions when the screen configuration changes.

    The actions run in a job of the dispatcher, with EventArgs as the parameter.

    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<ScreensChangedTrigger>
    

    Returns a strong reference to this object.

    Source

    screens_property

    fn screens_property() -> &'static StyledProperty<Option<ScreensRef>>
    

    Identifies the Screens property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a trigger.

    Source

    screens

    fn screens(self: &Self) -> Option<ScreensRef>
    

    Gets or sets the screens that are observed. This is a property of the object model. If not set, the screens of the top level of the associated object are used.

    Source

    set_screens

    fn set_screens(self: &Self, value: Option<ScreensRef>)
    

    Source

    Trait implementations

    Availability

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