NEW Element - CalendarButton (opens a calendar chooser widget), another fix for Mac buttons
This commit is contained in:
parent
667000ea2a
commit
0899b7d9e8
2 changed files with 276 additions and 5 deletions
9
Demo_Calendar.py
Normal file
9
Demo_Calendar.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import PySimpleGUI as sg
|
||||
|
||||
layout = [[sg.T('Calendar Test')],
|
||||
[sg.CalendarButton('Choose Date', key='date')],
|
||||
[sg.Ok(key=1)]]
|
||||
|
||||
form = sg.FlexForm('Calendar')
|
||||
b,v = form.LayoutAndRead(layout)
|
||||
sg.Popup(v['date'])
|
Loading…
Add table
Add a link
Reference in a new issue