Tk Documentation > Tk C API > ttk_Theme

Tk Applications | Tk Commands | Tk C API

NAME

Ttk_CreateTheme, Ttk_GetTheme, Ttk_GetDefaultTheme, Ttk_GetCurrentTheme — create and use Tk themes.

SYNOPSIS

Ttk_Theme Ttk_CreateTheme(interp, name, parentTheme);
Ttk_Theme Ttk_GetTheme(interp, name);
Ttk_Theme Ttk_GetDefaultTheme(interp);
Ttk_Theme Ttk_GetCurrentTheme(interp);

ARGUMENTS

Tcl_Interp * interp (in)
The Tcl interpreter in which to register/query available themes.
Ttk_Theme parentTheme (in)
Fallback or parent theme from which the new theme will inherit elements and layouts.
const char * name (in)
The name of the theme.

DESCRIPTION

SEE ALSO

Ttk_RegisterLayout, Ttk_BuildLayout
Copyright © 2003 Joe English