From cf7772944ae00cbcdb09576f14cb07e706f7630d Mon Sep 17 00:00:00 2001 From: Eugenio Parodi Date: Mon, 3 May 2021 09:58:13 +0100 Subject: [PATCH] Fixed Links --- TermTk/TTkCore/signal.py | 2 +- TermTk/TTkGui/theme.py | 5 +++++ TermTk/TTkWidgets/widget.py | 1 + docs/source/index.rst | 2 +- tutorial/003-signalslots.rst | 2 +- tutorial/004-logging.rst | 4 ++-- tutorial/README.md | 16 ++++++++-------- 7 files changed, 19 insertions(+), 13 deletions(-) diff --git a/TermTk/TTkCore/signal.py b/TermTk/TTkCore/signal.py index 253e6b7d..bddb1482 100644 --- a/TermTk/TTkCore/signal.py +++ b/TermTk/TTkCore/signal.py @@ -27,7 +27,7 @@ # https://github.com/ceccopierangiolieugenio/pyCuT/blob/master/cupy/CuTCore/CuSignal.py ''' -Signals & Slots [`Tutorial `_] +Signals & Slots [`Tutorial `_] ========================================================================================================================= Signals and slots are used for communication between objects. diff --git a/TermTk/TTkGui/theme.py b/TermTk/TTkGui/theme.py index e10d56e4..bbe04628 100644 --- a/TermTk/TTkGui/theme.py +++ b/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 :: + ┌──────╔══════╗──────┬──────┐ ┌─┌──────╔══════╗──────┬──────┐─┐ │Label1║Label2║Label3│Label4│ │◀│Label1║Label2║Label3│Label4│▶│ ╞═╧══════╩══════╩══════╧══════╧════╡ ╞═╧══════╩══════╩══════╧══════╧═╡ diff --git a/TermTk/TTkWidgets/widget.py b/TermTk/TTkWidgets/widget.py index 03d16b11..404efe2f 100644 --- a/TermTk/TTkWidgets/widget.py +++ b/TermTk/TTkWidgets/widget.py @@ -38,6 +38,7 @@ class TTkWidget(TMouseEvents,TKeyEvents): ''' Widget Layout sizes: :: + Terminal area (i.e. XTerm) ┌─────────────────────────────────────────┐ │ │ diff --git a/docs/source/index.rst b/docs/source/index.rst index 621196ce..6ed3941b 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -12,7 +12,7 @@ .. _tkinter: https://docs.python.org/3/library/tkinter.html Welcome to pyTermTk_'s documentation! -==================================== +===================================== Intro ----- diff --git a/tutorial/003-signalslots.rst b/tutorial/003-signalslots.rst index 6c9380e1..e0edb704 100644 --- a/tutorial/003-signalslots.rst +++ b/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 ======== diff --git a/tutorial/004-logging.rst b/tutorial/004-logging.rst index fd71b212..d25cd8ef 100644 --- a/tutorial/004-logging.rst +++ b/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 `_ diff --git a/tutorial/README.md b/tutorial/README.md index f80f09c0..2f92a0ec 100644 --- a/tutorial/README.md +++ b/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)** \ No newline at end of file +- **[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)** \ No newline at end of file