Skip to content

Commit

Permalink
Extra documentation of the new example
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-costas committed Sep 25, 2023
1 parent 2876550 commit 06fb781
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@ def example_30(new_title):
time.sleep(1.5)

def example_31():
"""Set the window title twice"""
"""Set the window title twice, to test if there is a delay when
changing the title"""
emit.progress("Changed the title once", update_titlebar=True)
time.sleep(2)
emit.progress("Changed the title twice", update_titlebar=True)
Expand Down

0 comments on commit 06fb781

Please sign in to comment.