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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
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).
set_app_id
fn set_app_id(obj: &Window, value: Option<String>)
Sets the value of the AppId attached property of the specified window.
get_app_id
fn get_app_id(obj: &Window) -> Option<String>
Gets the value of the AppId attached property of the specified window.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.