NEW Element - CalendarButton (opens a calendar chooser widget), another fix for Mac buttons

This commit is contained in:
MikeTheWatchGuy 2018-09-05 09:04:17 -04:00
parent 667000ea2a
commit 0899b7d9e8
2 changed files with 276 additions and 5 deletions

9
Demo_Calendar.py Normal file
View 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'])