Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Application.DarkTheme (gb.qt4)

Static Property DarkTheme As Boolean

Since 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.

Since 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.