theme_color属性

theme_color属性

获取并设置主题颜色。

注意事项

如果字体颜色不是主题颜色,则返回 NULL。

定义:

@property
def theme_color(self):
    ...
@theme_color.setter
def theme_color(self, value):
    ...

也可以看看