get(t=None)
Get a space or the ui (sub)theme from this Theme.
-
- Parameters:
t -
the wanted sub-theme as either:
-
int: -1 for UI or the types in
Window.Types for the
others;
-
string: use get() to know them (they are case
insensitive);
-
nothing: as written above, get() returns a list of
names.
(type=string, int or None)
- Returns:
-
It depends on the given parameter:
-
(): a list with all available types, as strings;
-
(type): the chosen sub-theme.
(type=Blender ThemeSpace or ThemeUI or list of sub-theme types as
strings.)
|