<!DOCTYPE html>
< html class = "writer-html5" lang = "en" >
< head >
< meta charset = "utf-8" / > < meta name = "generator" content = "Docutils 0.17.1: http://docutils.sourceforge.net/" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
< title > pyTermTk - < the Examples > — pyTermTk 0.36.0-a
documentation< / title >
< link rel = "stylesheet" href = "../../_static/pygments.css" type = "text/css" / >
< link rel = "stylesheet" href = "../../_static/css/theme.css" type = "text/css" / >
< link rel = "stylesheet" href = "../../_static/theme_overrides.css" type = "text/css" / >
< link rel = "stylesheet" href = "../../_static/ttk.css" type = "text/css" / >
< link rel = "shortcut icon" href = "https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/www/favicon.ico" / >
<!-- [if lt IE 9]>
< script src = "../../_static/js/html5shiv.min.js" > < / script >
<![endif]-->
< script data-url_root = "../../" id = "documentation_options" src = "../../_static/documentation_options.js" > < / script >
< script src = "../../_static/jquery.js" > < / script >
< script src = "../../_static/underscore.js" > < / script >
< script src = "../../_static/_sphinx_javascript_frameworks_compat.js" > < / script >
< script src = "../../_static/doctools.js" > < / script >
< script src = "../../_static/js/theme.js" > < / script >
< link rel = "index" title = "Index" href = "../../genindex.html" / >
< link rel = "search" title = "Search" href = "../../search.html" / >
< / head >
< body class = "wy-body-for-nav" >
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "../../index.html" class = "icon icon-home" > pyTermTk
< / a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../../search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
< / div > < div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "Navigation menu" >
< p class = "caption" role = "heading" > < span class = "caption-text" > Tutorials< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../000-examples.html" > pyTermTk - < < strong > the Examples< / strong > > < / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../001-helloworld.html" > pyTermTk - Hello World< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../002-layout.html" > pyTermTk - Layouts< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../003-signalslots.html" > pyTermTk - Signal & Slots< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../004-logging.html" > pyTermTk - Logging< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../005-calculator.html" > pyTermTk - Your first Calculator< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../ttkDesigner/textEdit/README.html" > ttkDesigner - Your first TextEditor< / a > < / li >
< / ul >
< p class = "caption" role = "heading" > < span class = "caption-text" > Features< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../info/features/index.html" > Features< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../info/features/crosscompatible.html" > Cross Compatibility< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../info/features/widgets.html" > Widgets< / a > < / li >
< / ul >
< p class = "caption" role = "heading" > < span class = "caption-text" > Dev< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../info/installing.html" > Installation< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../info/installing.html#quickstart" > Quickstart< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../info/debug.html" > Debug< / a > < / li >
< / ul >
< p class = "caption" role = "heading" > < span class = "caption-text" > API Reference< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkAbstract.html" > TermTk.TTkAbstract< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkCore.html" > TermTk.TTkCore< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkCore.TTkTerm.html" > TermTk.TTkCore.TTkTerm< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkGui.html" > TermTk.TTkGui< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkLayouts.html" > TermTk.TTkLayouts< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkTemplates.html" > TermTk.TTkTemplates< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkTestWidgets.html" > TermTk.TTkTestWidgets< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkTheme.html" > TermTk.TTkTheme< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkTypes.html" > TermTk.TTkTypes< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkUiTools.html" > TermTk.TTkUiTools< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkWidgets.html" > TermTk.TTkWidgets< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkWidgets.TTkModelView.html" > TermTk.TTkWidgets.TTkModelView< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkWidgets.TTkPickers.html" > TermTk.TTkWidgets.TTkPickers< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../autogen.TermTk/TermTk.TTkWidgets.TTkTerminal.html" > TermTk.TTkWidgets.TTkTerminal< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" > < nav class = "wy-nav-top" aria-label = "Mobile navigation menu" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "../../index.html" > pyTermTk< / a >
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
< div role = "navigation" aria-label = "Page navigation" >
< ul class = "wy-breadcrumbs" >
< li > < a href = "../../index.html" class = "icon icon-home" > < / a > » < / li >
< li > pyTermTk - < < strong > the Examples< / strong > > < / li >
< li class = "wy-breadcrumbs-aside" >
< a href = "../../_sources/tutorial/examples/README.rst.txt" rel = "nofollow" > View page source< / a >
< / li >
< / ul >
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
< section id = "pytermtk-the-examples" >
< h1 > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk" > pyTermTk< / a > - < < strong > the Examples< / strong > > < a class = "headerlink" href = "#pytermtk-the-examples" title = "Permalink to this heading" > < / a > < / h1 >
< section id = "ttklineedit" >
< h2 > TTkLineEdit< a class = "headerlink" href = "#ttklineedit" title = "Permalink to this heading" > < / a > < / h2 >
< section id = "init" >
< h3 > Init< a class = "headerlink" href = "#init" title = "Permalink to this heading" > < / a > < / h3 >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkLineEdit/Init.01.py" > TTkLineEdit/Init.01.py< / a > -
(< a class = "reference external" href = "https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html?filePath=tutorial/examples/TTkLineEdit/Init.01.py" > tryItOnline< / a > ):< / p >
< div class = "highlight-bash notranslate" > < div class = "highlight" > < pre > < span > < / span > < span class = "c1" > # to run it just exec:< / span >
tutorial/examples/TTkLineEdit/Init.01.py
< span class = "c1" > # or< / span >
python3 tutorial/examples/TTkLineEdit/Init.01.py
< / pre > < / div >
< / div >
< / section >
< section id = "set-get-text" >
< h3 > Set/Get Text< a class = "headerlink" href = "#set-get-text" title = "Permalink to this heading" > < / a > < / h3 >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkLineEdit/SetGet.01.py" > TTkLineEdit/SetGet.01.py< / a > -
(< a class = "reference external" href = "https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html?filePath=tutorial/examples/TTkLineEdit/SetGet.01.py" > tryItOnline< / a > ):< / p >
< div class = "highlight-bash notranslate" > < div class = "highlight" > < pre > < span > < / span > < span class = "c1" > # to run it just exec:< / span >
tutorial/examples/TTkLineEdit/SetGet.01.py
< span class = "c1" > # or< / span >
python3 tutorial/examples/TTkLineEdit/SetGet.01.py
< / pre > < / div >
< / div >
< / section >
< section id = "events" >
< h3 > Events< a class = "headerlink" href = "#events" title = "Permalink to this heading" > < / a > < / h3 >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkLineEdit/Events.01.py" > TTkLineEdit/SetGet.01.py< / a > -
(< a class = "reference external" href = "https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html?filePath=tutorial/examples/TTkLineEdit/Events.01.py" > tryItOnline< / a > ):< / p >
< / section >
< / section >
< section id = "ttkterminal" >
< h2 > TTkTerminal< a class = "headerlink" href = "#ttkterminal" title = "Permalink to this heading" > < / a > < / h2 >
< div class = "admonition note" >
< p class = "admonition-title" > Note< / p >
< p > This widget is available only on Linux/Mac< / p >
< / div >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.01.Basic.py" > TTkTerminal/TerminalTab.01.Basic.py< / a > < / p >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.02.AddButton.py" > TTkTerminal/TerminalTab.02.AddButton.py< / a > < / p >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.03.KodeTab.py" > TTkTerminal/TerminalTab.03.KodeTab.py< / a > < / p >
< p > < a class = "reference external" href = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/tutorial/examples/TTkTerminal/TerminalTab.04.KodeTab.close.py" > TTkTerminal/TerminalTab.04.KodeTab.close.py< / a > < / p >
< / section >
< section id = "ttktextedit" >
< h2 > TTkTextEdit< a class = "headerlink" href = "#ttktextedit" title = "Permalink to this heading" > < / a > < / h2 >
< section id = "set-get-append-text" >
< h3 > Set/Get/Append Text< a class = "headerlink" href = "#set-get-append-text" title = "Permalink to this heading" > < / a > < / h3 >
< p > TBD< / p >
< / section >
< section id = "export" >
< h3 > Export< a class = "headerlink" href = "#export" title = "Permalink to this heading" > < / a > < / h3 >
< p > TBD< / p >
< p > pippo< / p >
< / section >
< / section >
< / section >
< / div >
< / div >
< footer >
< hr / >
< div role = "contentinfo" >
< p > © Copyright 2021, Eugenio Parodi.< / p >
< / div >
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > using a
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme< / a >
provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
< / footer >
< / div >
< / div >
< / section >
< / div >
< script >
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
< / script >
< / body >
< / html >