LinuxDesktopOptions record

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public sealed record LinuxDesktopOptions : IEquatable<LinuxDesktopOptions>

Inherits or implements IEquatable.

Linux presentation configuration; no toolkit is selected by default.

Constructors

LinuxDesktopOptions

public LinuxDesktopOptions()

No documentation.

Properties

EmbeddedBackend

public LinuxEmbeddedBackend? EmbeddedBackend { get; init; }

Gets the embedded toolkit to use on Linux, or null to select none.

Remarks

Without a backend, Linux has no built-in embedded presentation; installed browsers remain available. LinuxEmbeddedBackend.Gtk4WebKit6 also requires a matching ILinuxDesktopWindowHostFactory as the window host factory, and a configured Linux factory must report this backend.

public bool GlobalMenu { get; init; }

Gets whether an embedded window with the DesktopMenuBarPresentation.Native menu bar puts it into the desktop's global menu where one is shown, such as KDE Plasma's Global Menu or the title bar's application menu button; true by default.

Remarks

false always shows the bar in the window. Where the desktop shows no global menu, such as on GNOME, the bar is in the window either way, and it moves when a global menu appears or goes away (DesktopWindow.MenuBarPlacementChanged).