You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Eugenio Parodi 🌶️ 8af261e85a moved ttkDesigner and theDumbPaintTool in the apps folder 1 year ago
..
DragAndDrop Documented the Drag and Drop and added a bunch of examples and fixed its handling and improved the logging 1 year ago
TTkLineEdit Added Examples in the doc 3 years ago
TTkTable Added Table examples 1 year ago
TTkTerminal Adapted the tests to the new terminalhelper 2 years ago
TTkWidget Q/A: #185 Add simple focus example 2 years ago
README.rst Added Examples in the doc 3 years ago
ansi.images.json moved ttkDesigner and theDumbPaintTool in the apps folder 1 year ago

README.rst

.. _pyTermTk:  https://github.com/ceccopierangiolieugenio/pyTermTk
.. _TermTk: https://github.com/ceccopierangiolieugenio/pyTermTk

================================
pyTermTk_ - < **the Examples** >
================================

TTkLineEdit
===========

Init
----

:ttk:sbIntLink:`tutorial/examples,TTkLineEdit/Init.01.py`:

.. code:: bash

# to run it just exec:
tutorial/examples/TTkLineEdit/Init.01.py
# or
python3 tutorial/examples/TTkLineEdit/Init.01.py

Set/Get Text
------------

:ttk:sbIntLink:`tutorial/examples,TTkLineEdit/SetGet.01.py`:

.. code:: bash

# to run it just exec:
tutorial/examples/TTkLineEdit/SetGet.01.py
# or
python3 tutorial/examples/TTkLineEdit/SetGet.01.py

Events
------

:ttk:sbIntLink:`tutorial/examples,TTkLineEdit/Events.01.py`

.. _Examples-Terminal:

TTkTerminal
===========

.. note::
This widget is available only on Linux/Mac

:ttk:ghIntLink:`tutorial/examples,TTkTerminal/TerminalTab.01.Basic.py`

:ttk:ghIntLink:`tutorial/examples,TTkTerminal/TerminalTab.02.AddButton.py`

:ttk:ghIntLink:`tutorial/examples,TTkTerminal/TerminalTab.03.KodeTab.py`

:ttk:ghIntLink:`tutorial/examples,TTkTerminal/TerminalTab.04.KodeTab.close.py`

TTkTable
========

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.01.basic.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.02.custom.model.01.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.02.custom.model.02.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.02.custom.model.03.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.03.theming.color.01.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.03.theming.color.02.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.03.theming.color.03.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.03.theming.headers.01.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.03.theming.lines.01.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.04.methods.py`

:ttk:sbIntLink:`tutorial/examples,TTkTable/table.05.events.py`


DragAndDrop
===========

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.01.basic.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.02.events.01.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.02.events.02.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.03.pixmap.01.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.03.pixmap.02.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.03.pixmap.03.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.03.pixmap.04.py`

:ttk:sbIntLink:`tutorial/examples,DragAndDrop/dnd.04.hotSpot.01.py`



TTkTextEdit
===========

Set/Get/Append Text
-------------------
TBD

Export
------
TBD

pippo