X11PlatformOptions Class
Platform-specific options which apply to Linux.
Definition
Namespace: Avalonia
Assembly: Avalonia.X11 (in Avalonia.X11.dll)
- C#
- VB
- F#
public class X11PlatformOptions
Public Class X11PlatformOptions
type X11PlatformOptions = class end
Inheritance | Object → X11PlatformOptions |
Constructors
X11PlatformOptions() | Initializes a new instance of the X11PlatformOptions class |
Properties
EnableIme | Determines whether to use IME. IME would be enabled by default if the current user input language is one of the following: Mandarin, Japanese, Vietnamese or Korean. |
EnableInputFocusProxy | Determines whether to use Input Focus Proxy. The default value is false. |
EnableMultiTouch | Enables multitouch support. The default value is true. |
EnableSessionManagement | Determines whether to enable support for the X Session Management Protocol. |
ExterinalGLibMainLoopExceptionLogger | If Avalonia is in control of a run loop, we propagate exceptions by stopping the run loop frame and rethrowing an exception. However, if there is no Avalonia-controlled run loop frame, there is no way to report such exceptions, since allowing those to escape native->managed call boundary will likely brick GLib machinery since it's not aware of managed Exceptions This property allows to inspect such exceptions before they will be ignored |
GlProfiles | |
GlxRendererBlacklist | |
OverlayPopups | Embeds popups to the window when set to true. The default value is false. |
RenderingMode | Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Glx, Software. |
ShouldRenderOnUIThread | Render directly on the UI thread instead of using a dedicated render thread. This can be usable if your device don't have multiple cores to begin with. This setting is false by default. |
UseDBusFilePicker | Enables DBus file picker instead of GTK. The default value is true. |
UseDBusMenu | Enables global menu support on Linux desktop environments where it's supported (e. g. XFCE and MATE with plugin, KDE, etc). The default value is true. |
UseGLibMainLoop | If this option is set to true, GMainLoop and GSource based dispatcher implementation will be used instead of epoll-based one. Use this if you need to use GLib-based libraries on the main thread |
UseRetainedFramebuffer | Retain window framebuffer contents if using CPU rendering mode. This will keep an offscreen bitmap for each window with contents of the previous frame While improving performance by saving a blit, it will increase memory consumption if you have many windows |
WmClass |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |