i_slint_core::api

Function set_xdg_app_id

Source
pub fn set_xdg_app_id(
    app_id: impl Into<SharedString>,
) -> Result<(), PlatformError>
Expand description

Sets the application id for use on Wayland or X11 with xdg compliant window managers. This must be set before the window is shown, and has only an effect on Wayland or X11.