FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RequestScreenDetailsAction

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

    struct RequestScreenDetailsAction
    

    An action that requests extended screen information from the screens of a top level (Screens::request_screen_details).

    The request runs in a job of the dispatcher; the action returns true when the sender is a visual.

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

    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 an action.

    Source

    screens

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

    Gets or sets the screens used to request screen details. This is a property of the object model. If not set, the screens of the top level of the sender 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.