Functions

is_supported ()

Details

Gtk4SessionLock.is_supported()
Returns:

True if the platform is Wayland and Wayland compositor supports the Session Lock protocol.

Return type:

bool

May block for a Wayland roundtrip the first time it’s called.