Update create_setting
parent
e52a828e4a
commit
11744c843d
|
@ -34,8 +34,17 @@ setting = create_setting({
|
|||
|
||||
web.use(setting)
|
||||
|
||||
# 也可以通过get_settings()获取设置对象, 然后可以任意修改, 该对象的实例方法, 请参考 WebKit2.Settings 文档
|
||||
setting = web.get_settings()
|
||||
|
||||
```
|
||||
|
||||
[WebKit2.Settings 文档直达](https://lazka.github.io/pgi-docs/WebKit2-4.1/classes/Settings.html)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue