From ad49aedaad3acece200ea92fd5d5a5b3e19c143b Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Fri, 6 Jan 2023 14:07:15 +0100 Subject: desktop dependent widgets early port --- tagit/dialogues/__init__.py | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tagit/dialogues/__init__.py (limited to 'tagit/dialogues') diff --git a/tagit/dialogues/__init__.py b/tagit/dialogues/__init__.py new file mode 100644 index 0000000..bee5bf4 --- /dev/null +++ b/tagit/dialogues/__init__.py @@ -0,0 +1,59 @@ +"""Popup dialogues. + +A dialogue can be opened from the main application. +It appears on top of the application and prevent its use until the dialogue +is closed. A dialogue contains buttons whose presses can be captured. + +>>> dlg = LabelDialogue(text='Hello world') +>>> dlg.bind(on_ok=...) +>>> dlg.bind(on_cancel=...) +>>> dlg.open() + +Part of the tagit module. +A copy of the license is provided with the project. +Author: Matthias Baumgartner, 2022 +""" +# standard imports +import typing + +# inner-module imports +##from .spash import Splash +#from .autoinput import AutoTextInput +#from .console import Console +#from .dir_creator import DirCreator +#from .dir_picker import DirPicker +#from .error import Error +#from .export import Export +#from .file_creator import FileCreator +#from .file_picker import FilePicker +#from .message import Message +#from .numeric_input import NumericInput +#from .path_creator import PathCreator +#from .path_picker import PathPicker +#from .progress import Progress +#from .project import Project +#from .simple_input import SimpleInput +#from .stoken import TokenEdit +#from .yesno import YesNo + +# exports +__all__: typing.Sequence[str] = ( + #'Console', + #'DirCreator', + #'DirPicker', + #'Error', + #'Export', + #'FileCreator', + #'FilePicker', + #'Message', + #'NumericInput', + #'PathCreator', + #'PathPicker', + #'Progress', + #'Project', + #'SimpleInput', + #'TokenEdit', + #'YesNo', + ) + +## EOF ## -- cgit v1.2.3