FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowAction

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

    struct WindowAction
    

    An action that performs common window operations.

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

    Returns a strong reference to this object.

    Source

    action_type_property

    fn action_type_property() -> &'static StyledProperty<WindowActionType>
    

    Identifies the ActionType 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

    action_type

    fn action_type(self: &Self) -> WindowActionType
    

    Gets or sets the type of action to perform. This is a property of the object model.

    Source

    set_action_type

    fn set_action_type(self: &Self, value: WindowActionType)
    

    Source

    Trait implementations

    Availability

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