FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WaylandProperties

    struct · ferroui-controls · v0.5.0

    struct WaylandProperties
    

    Set of Wayland specific properties and events that allow deeper customization of the application per platform.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    app_id_property

    fn app_id_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AppId attached property.

    Specifies the application ID (app_id) sent to the Wayland compositor via xdg_toplevel for window management, application identification, and window grouping.

    In Wayland environments, client windows do not directly provide their own window icons. Instead, compositors, docks, and taskbars resolve the application icon, launcher identity, and notifications by matching the AppId against the filename of the application's installed .desktop file (for example, using org.example.myapp to match org.example.myapp.desktop).

    Source

    set_app_id

    fn set_app_id(obj: &Window, value: Option<String>)
    

    Sets the value of the AppId attached property of the specified window.

    Source

    get_app_id

    fn get_app_id(obj: &Window) -> Option<String>
    

    Gets the value of the AppId attached property of the specified window.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

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