Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/docs/manual/style_const_t.md

33 lines
769 B
Markdown
Raw Normal View History

2023-11-09 20:19:51 +08:00
## style\_const\_t
### 概述
![image](images/style_const_t_0.png)
只读的style从theme\_t中获取数据。
tools/theme_gen用于把XML的窗体样式数据转换成常量数据。
----------------------------------
### 函数
<p id="style_const_t_methods">
| 函数名称 | 说明 |
| -------- | ------------ |
| <a href="#style_const_t_style_const_create">style\_const\_create</a> | 创建只读的style对象。 |
#### style\_const\_create 函数
-----------------------
* 函数功能:
> <p id="style_const_t_style_const_create">创建只读的style对象。
* 函数原型:
```
style_t* style_const_create ();
```
* 参数说明:
| 参数 | 类型 | 说明 |
| -------- | ----- | --------- |
| 返回值 | style\_t* | 返回style对象。 |