An open API service indexing awesome lists of open source software.

https://github.com/tdholmes/ttksimpledialog

A port of tkSimpleDialog, but using ttk
https://github.com/tdholmes/ttksimpledialog

python python3 tkinter tkinter-python

Last synced: 3 months ago
JSON representation

A port of tkSimpleDialog, but using ttk

Awesome Lists containing this project

README

        

ttkSimpleDialog
===============

This module allows the developer to use simple dialog boxes such as
- askint: ask the user for an integer
- askfloat: ask the user for a float
- askstring: ask the user for a string

Example
-------

from ttkSimpleDialog import ttkSimpleDialog

user_response = ttkSimpleDialog.askinteger(title="hello", prompt="Enter a number")

Please note you must call it using the `from __ import __` syntax!