Browse Source

Fixed Links

pull/14/head
Eugenio Parodi 5 years ago
parent
commit
cf7772944a
  1. 2
      TermTk/TTkCore/signal.py
  2. 5
      TermTk/TTkGui/theme.py
  3. 1
      TermTk/TTkWidgets/widget.py
  4. 2
      docs/source/index.rst
  5. 2
      tutorial/003-signalslots.rst
  6. 4
      tutorial/004-logging.rst
  7. 16
      tutorial/README.md

2
TermTk/TTkCore/signal.py

@ -27,7 +27,7 @@
# https://github.com/ceccopierangiolieugenio/pyCuT/blob/master/cupy/CuTCore/CuSignal.py
'''
Signals & Slots [`Tutorial <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/003-signalslots.md>`_]
Signals & Slots [`Tutorial <https://ceccopierangiolieugenio.github.io/pyTermTk/tutorial/003-signalslots.html>`_]
=========================================================================================================================
Signals and slots are used for communication between objects.

5
TermTk/TTkGui/theme.py

@ -29,6 +29,7 @@ class TTkTheme():
''' from: https://en.wikipedia.org/wiki/Box-drawing_character
::
@ -87,6 +88,7 @@ class TTkTheme():
''' Grid Types
::
grid0 grid1 grid2 grid3
@ -119,6 +121,8 @@ class TTkTheme():
'',' ','',
'','',''))
'''
::
box0 box1
@ -147,6 +151,7 @@ class TTkTheme():
''' Tab Examples
::
Label1Label2Label3Label4 Label1Label2Label3Label4

1
TermTk/TTkWidgets/widget.py

@ -38,6 +38,7 @@ class TTkWidget(TMouseEvents,TKeyEvents):
''' Widget Layout sizes:
::
Terminal area (i.e. XTerm)

2
docs/source/index.rst

@ -12,7 +12,7 @@
.. _tkinter: https://docs.python.org/3/library/tkinter.html
Welcome to pyTermTk_'s documentation!
====================================
=====================================
Intro
-----

2
tutorial/003-signalslots.rst

@ -44,7 +44,7 @@ Signal and Slots
| A slot is a function that is called in response to a particular signal.
| TermTk_'s TTkWidgets_ have many predefined signals/slots, but it is possible to subclass any TTkWidgets_ and add our own signals/slots to them.
.. image:: /_static/Signal.Slots.001.svg
.. image:: https://ceccopierangiolieugenio.github.io/pyTermTk/_images/Signal.Slots.001.svg
Examples
========

4
tutorial/004-logging.rst

@ -2,7 +2,7 @@
.. _TermTk: https://github.com/ceccopierangiolieugenio/pyTermTk
.. _TTkLog: https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkCore.log.html
.. _TTlLogViewer: https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkTestWidgets.logviewer.html
.. _TTkLogViewer: https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkTestWidgets.logviewer.html
===================
pyTermTk_ - Logging
@ -85,7 +85,7 @@ From `example3.customlogging.py <https://github.com/ceccopierangiolieugenio/pyTe
ttk.TTkLog.critical("Test Critical Message")
ttk.TTkLog.fatal( "Test Fatal Message")
Example 4 - Use TTlLogViewer_ widget
Example 4 - Use TTkLogViewer_ widget
--------------------------------------------------
From `example4.ttklogviewer.py <https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/logging/example4.ttklogviewer.py>`_

16
tutorial/README.md

@ -14,13 +14,13 @@ pip3 install --upgrade pyTermTk
A list of frequently used modules is given below:
- [TTkCore](https://ceccopierangiolieugenio.github.io/pyTermTk/TTkCore) − Core classes used by other modules
- [TTkGui](https://ceccopierangiolieugenio.github.io/pyTermTk/TTkGui) − Themes collection
- [TTkWidgets](https://ceccopierangiolieugenio.github.io/pyTermTk/TTkWidgets) − Classes for creating classic desktop-style UIs
- [TTkTestWidgets](https://ceccopierangiolieugenio.github.io/pyTermTk/TTkTestWidgets) − Classes with basic testing widgets
- [TTkCore](https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkCore.html) − Core classes used by other modules
- [TTkGui](https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkGui.html) − Themes collection
- [TTkWidgets](https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkWidgets.html) − Classes for creating classic desktop-style UIs
- [TTkTestWidgets](https://ceccopierangiolieugenio.github.io/pyTermTk/autogen.TermTk/TermTk.TTkTestWidgets.html) − Classes with basic testing widgets
## Tutorials
- **[Hello World](001-helloworld.rst)**
- **[Logging](004-logging.rst)**
- **[Layout](002-layout.rst)**
- **[Signals and Slots](003-signalslots.rst)**
- **[Hello World](https://ceccopierangiolieugenio.github.io/pyTermTk/tutorial/001-helloworld.html)**
- **[Logging](https://ceccopierangiolieugenio.github.io/pyTermTk/tutorial/004-logging.html)**
- **[Layout](https://ceccopierangiolieugenio.github.io/pyTermTk/tutorial/002-layout.html)**
- **[Signals and Slots](https://ceccopierangiolieugenio.github.io/pyTermTk/tutorial/003-signalslots.html)**
Loading…
Cancel
Save