Syntax
const char *GtGetSystemTheme( void );
Arguments
No arguments.
Return value
LIGHT, DARK, or UNKNOWN as reported by the active driver.
Description
This is the system theme hint. Use SetColor() to apply the application’s own palette. The library replaces the returned string on the next call.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "System theme: %s\n", GtGetSystemTheme() );
return 0;
}