Application.DarkTheme (gb.qt4)

Static Property DarkTheme As Boolean

Seit 3.16

Return or set if dark theme support is enabled.

The dark theme support is automatically enabled as soon as the luminance of Color.Background is greater or equal than 128.

You can force the dark theme mode by setting the GB_GUI_DARK_THEME environment variable to 1.

Seit 3.20

Since Gambas 3.20, the property is writable, so that you can disable or enable the dark theme support at will.

Moreover, you can also set the GB_GUI_DARK_THEME environment variable to 0 to disable it.