SettingsGidBuilderImpl.gtkApplicationPreferDarkTheme

Set gtkApplicationPreferDarkTheme property.

class SettingsGidBuilderImpl(T)
T
gtkApplicationPreferDarkTheme
(
bool propval
)

Parameters

propval bool

Whether the application prefers to use a dark theme. If a GTK+ theme includes a dark variant, it will be used instead of the configured theme.

Some applications benefit from minimizing the amount of light pollution that interferes with the content. Good candidates for dark themes are photo and video editors that make the actual content get all the attention and minimize the distraction of the chrome.

Dark themes should not be used for documents, where large spaces are white/light and the dark chrome creates too much contrast (web browser, text editor...).

Return Value

Type: T

Builder instance for fluent chaining