LinuxPlatformProvider class

Namespace Runic.Platform.Linux · Runic.Platform.Linux 0.7.0-preview.5

public static class LinuxPlatformProvider

Explicitly selects GTK services without loading another OS provider.

Methods

CreateFileDialogs

public static IPickerBackend CreateFileDialogs(INativePickerOwner owner)

Creates dialogs bound to the verified GTK presentation owner.

CreateFileLauncher

public static IDesktopFileLauncher CreateFileLauncher(INativePickerOwner owner)

Creates owned file handoffs for a GTK3 presentation.

CreateGtkNativeFileDialogs

public static IPickerBackend CreateGtkNativeFileDialogs(INativePickerOwner owner)

Explicitly selects GTK-native dialogs for an unsandboxed compatibility application.

CreateNotifications

public static IDesktopNotifications CreateNotifications(string? applicationId = null, Action<PortalDiagnostic>? diagnosticSink = null)

Creates application-scoped desktop portal notifications.

CreateSettings

public static IDesktopSettings CreateSettings()

Creates toolkit-independent portal appearance preferences.

CreateTextClipboard

public static LinuxTextClipboard CreateTextClipboard(INativePickerOwner owner)

Creates the GTK clipboard; dispose it before stopping the owner dispatcher.