Browse Source

Improved the comments in the Terminal Examples

pull/172/head
Eugenio Parodi 3 years ago
parent
commit
9b2b0665a9
  1. 6
      tutorial/examples/TTkTerminal/TerminalTab.01.Basic.py
  2. 6
      tutorial/examples/TTkTerminal/TerminalTab.02.AddButton.py
  3. 6
      tutorial/examples/TTkTerminal/TerminalTab.03.KodeTab.py

6
tutorial/examples/TTkTerminal/TerminalTab.01.Basic.py

@ -30,10 +30,10 @@ sys.path.append(os.path.join(sys.path[0],'../../..'))
import TermTk as ttk
# layout = GridLayout
# It is required to allow the tab to be automatically resized to the "root" area
# It is required to allow the tabWidget to be automatically resized to the "root" area
# mouseTrack = True (optional)
# It is required if we want to forward the mouse move events to the terminals
# i.e. the mouse drag feature of vim
# It is required if we want to forward the mouse over events to the terminals
# i.e. the mouse over feature of pytermTk or Textual
root = ttk.TTk(layout=ttk.TTkGridLayout(), mouseTrack=True)
tab = ttk.TTkTabWidget(parent=root)

6
tutorial/examples/TTkTerminal/TerminalTab.02.AddButton.py

@ -30,10 +30,10 @@ sys.path.append(os.path.join(sys.path[0],'../../..'))
import TermTk as ttk
# layout = GridLayout
# It is required to allow the tab to be automatically resized to the "root" area
# It is required to allow the tabWidget to be automatically resized to the "root" area
# mouseTrack = True (optional)
# It is required if we want to forward the mouse move events to the terminals
# i.e. the mouse drag feature of vim
# It is required if we want to forward the mouse over events to the terminals
# i.e. the mouse over feature of pytermTk or Textual
root = ttk.TTk(layout=ttk.TTkGridLayout(), mouseTrack=True)
tab = ttk.TTkTabWidget(parent=root)

6
tutorial/examples/TTkTerminal/TerminalTab.03.KodeTab.py

@ -30,10 +30,10 @@ sys.path.append(os.path.join(sys.path[0],'../../..'))
import TermTk as ttk
# layout = GridLayout
# It is required to allow the tab to be automatically resized to the "root" area
# It is required to allow the tabWidget to be automatically resized to the "root" area
# mouseTrack = True (optional)
# It is required if we want to forward the mouse move events to the terminals
# i.e. the mouse drag feature of vim
# It is required if we want to forward the mouse over events to the terminals
# i.e. the mouse over feature of pytermTk or Textual
root = ttk.TTk(layout=ttk.TTkGridLayout(), mouseTrack=True)
# The KodeTab allow to split the screen dragging the tab at the corner of the widget

Loading…
Cancel
Save