Skip to content

Commit

Permalink
Merge branch 'main-window' of https://github.com/tlambert03/magicgui
Browse files Browse the repository at this point in the history
…into main-window
  • Loading branch information
tlambert03 committed Oct 24, 2023
2 parents 300c79a + e1a68e4 commit 511a174
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@
subm.add_separator()
subm.add_action("Subaction2", callback=lambda: print("Subaction2"))

# central widget
main.append(widgets.Label(value="Central widget"))

main.height = 400
main.show(run=True)

0 comments on commit 511a174

Please sign in to comment.