|
|
|
|
.. _pyTermTk: https://github.com/ceccopierangiolieugenio/pyTermTk
|
|
|
|
|
.. _TermTk: https://github.com/ceccopierangiolieugenio/pyTermTk
|
|
|
|
|
|
|
|
|
|
================================
|
|
|
|
|
pyTermTk_ - < **the Examples** >
|
|
|
|
|
================================
|
|
|
|
|
|
|
|
|
|
TTkLineEdit
|
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
Init
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
`TTkLineEdit/Init.01.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkLineEdit/Init.01.py>`_ -
|
|
|
|
|
(`tryItOnline <https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html?filePath=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
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
`TTkLineEdit/SetGet.01.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkLineEdit/SetGet.01.py>`_ -
|
|
|
|
|
(`tryItOnline <https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html?filePath=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
|
|
|
|
|
------
|
|
|
|
|
|
|
|
|
|
`TTkLineEdit/SetGet.01.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkLineEdit/Events.01.py>`_ -
|
|
|
|
|
(`tryItOnline <https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html?filePath=tutorial/examples/TTkLineEdit/Events.01.py>`_):
|
|
|
|
|
|
|
|
|
|
TTkTerminal
|
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
This widget is available only on Linux/Mac
|
|
|
|
|
|
|
|
|
|
`TTkTerminal/TerminalTab.01.Basic.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.01.Basic.py>`_
|
|
|
|
|
|
|
|
|
|
`TTkTerminal/TerminalTab.02.AddButton.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.02.AddButton.py>`_
|
|
|
|
|
|
|
|
|
|
`TTkTerminal/TerminalTab.03.KodeTab.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.03.KodeTab.py>`_
|
|
|
|
|
|
|
|
|
|
`TTkTerminal/TerminalTab.04.KodeTab.close.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.04.KodeTab.close.py>`_
|
|
|
|
|
|
|
|
|
|
TTkTextEdit
|
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
Set/Get/Append Text
|
|
|
|
|
-------------------
|
|
|
|
|
TBD
|
|
|
|
|
|
|
|
|
|
Export
|
|
|
|
|
------
|
|
|
|
|
TBD
|
|
|
|
|
|
|
|
|
|
pippo
|