diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-01-06 14:07:15 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-01-06 14:07:15 +0100 |
commit | ad49aedaad3acece200ea92fd5d5a5b3e19c143b (patch) | |
tree | 3f6833aa6f7a81f456e992cb7ea453cdcdf6c22e /tagit/dialogues | |
parent | 079b4da93ea336b5bcc801cfd64c310aa7f8ddee (diff) | |
download | tagit-ad49aedaad3acece200ea92fd5d5a5b3e19c143b.tar.gz tagit-ad49aedaad3acece200ea92fd5d5a5b3e19c143b.tar.bz2 tagit-ad49aedaad3acece200ea92fd5d5a5b3e19c143b.zip |
desktop dependent widgets early port
Diffstat (limited to 'tagit/dialogues')
-rw-r--r-- | tagit/dialogues/__init__.py | 59 |
1 files changed, 59 insertions, 0 deletions
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 ## |