Skip to main content

UseGLibMainLoop Property

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

Definition

Namespace: Avalonia
Assembly: Avalonia.X11 (in Avalonia.X11.dll)

public bool UseGLibMainLoop { get; set; }

Property Value

Boolean

See Also

Reference

X11PlatformOptions Class
Avalonia Namespace