Update create_setting

master
yutent 2023-09-05 17:10:31 +08:00
parent e52a828e4a
commit 11744c843d
1 changed files with 9 additions and 0 deletions

@ -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)