@@ -285,7 +285,7 @@ int main() {
285285from webui import webui
286286
287287my_window = webui.Window()
288- my_window.show(' < html><script src=" webui.js" ></script> Hello World! < /html> ' )
288+ my_window.show(' < html><script src=" webui.js" ></script> Hello World from Python ! < /html> ' )
289289webui.wait()
290290```
291291[More Python Examples](https://github.com/webui-dev/python-webui/tree/main/examples).
@@ -7313,6 +7313,37 @@ int main() {
73137313` ` ` python
73147314from webui import webui
73157315
7316+ # Control if `show()`, `show_browser()` and
7317+ # `show_wv()` should wait for the window to connect
7318+ # before returns or not.
7319+ #
7320+ # show_wait_connection = 0,
7321+
7322+ # Control if WebUI should block and process the UI events
7323+ # one a time in a single thread `True`, or process every
7324+ # event in a new non-blocking thread `False`. This updates
7325+ # all windows. You can use `set_event_blocking()` for
7326+ # a specific single window update.
7327+ #
7328+ # ui_event_blocking,
7329+
7330+ # Automatically refresh the window UI when any file in the
7331+ # root folder gets changed.
7332+ #
7333+ # folder_monitor,
7334+
7335+ # Allow multiple clients to connect to the same window,
7336+ # This is helpful for web apps (non-desktop software),
7337+ # Please see the documentation for more details.
7338+ #
7339+ # multi_client,
7340+
7341+ # Allow multiple clients to connect to the same window,
7342+ # This is helpful for web apps (non-desktop software),
7343+ # Please see the documentation for more details.
7344+ #
7345+ # use_cookies,
7346+
73167347webui.set_config(webui.Config.show_wait_connection, False) # Disable waiting for connection
73177348` ` `
73187349< ! -- ---------- -->
0 commit comments