Skip to content

Commit

Permalink
Add notebook example
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyGraham authored Sep 28, 2023
1 parent d1e0c31 commit 3c88339
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,18 @@ any2 = AnyWidget(frame)
any2.pack(fill="both", expand="0")
frame.pack(expand="1", fill="y")
```
Notebook
```xml
<Notebook>
<Frame tabname="First Tab">
<Label text="Hello from Tab 1" />
</Frame>
<!-->If no tabname is provided it is set to the element name. In this case "Frame"<-->
<Frame>
<Label text="Hello from Tab 2" />
</Frame>
</Notebook>
```
#### Special Widgets
##### Optionmenu
```xml
Expand Down

0 comments on commit 3c88339

Please sign in to comment.