You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
10 KiB

#!/usr/bin/env python3
# MIT License
#
# Copyright (c) 2023 Eugenio Parodi <ceccopierangiolieugenio AT googlemail DOT com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import sys, os
sys.path.append(os.path.join(sys.path[0],'../../libs/pyTermTk'))
import TermTk as ttk
root = ttk.TTk(title="pyTermTk List Demo", mouseTrack=True)
ttk.TTkComboBox(parent=root, size=(30,1), list=['abap', 'abl', 'abnf', 'aconf', 'actionscript', 'actionscript3', 'ada', 'ada2005', 'ada95', 'adl', 'agda', 'aheui', 'ahk', 'alloy', 'ambienttalk', 'ambienttalk/2', 'amdgpu', 'ampl', 'androidbp', 'ansys', 'antlr', 'antlr-actionscript', 'antlr-as', 'antlr-c#', 'antlr-cpp', 'antlr-csharp', 'antlr-java', 'antlr-objc', 'antlr-perl', 'antlr-python', 'antlr-rb', 'antlr-ruby', 'apache', 'apacheconf', 'apdl', 'apl', 'applescript', 'arduino', 'arexx', 'arrow', 'art', 'arturo', 'as', 'as3', 'asc', 'asm', 'asn1', 'aspectj', 'aspx-cs', 'aspx-vb', 'asy', 'asymptote', 'at', 'augeas', 'autohotkey', 'autoit', 'awk', 'b3d', 'bare', 'basemake', 'bash', 'basic', 'bat', 'batch', 'bazel', 'bbcbasic', 'bbcode', 'bc', 'bdd', 'be', 'befunge', 'berry', 'bf', 'bib', 'bibtex', 'blitzbasic', 'blitzmax', 'blueprint', 'bmax', 'bnf', 'boa', 'boo', 'boogie', 'bp', 'bplus', 'bqn', 'brainfuck', 'bro', 'bsdmake', 'bst', 'bst-pybtex', 'bugs', 'c', 'c#', 'c++', 'c++-objdumb', 'c-objdump', 'ca65', 'cadl', 'camkes', 'capdl', 'capnp', 'carbon', 'cbmbas', 'cddl', 'ceylon', 'cf3', 'cfc', 'cfengine3', 'cfg', 'cfm', 'cfs', 'chai', 'chaiscript', 'chapel', 'charmci', 'cheetah', 'chpl', 'cirru', 'cl', 'clay', 'clean', 'clipper', 'clj', 'cljs', 'clojure', 'clojurescript', 'cmake', 'cobol', 'cobolfree', 'coffee', 'coffee-script', 'coffeescript', 'comal', 'comal80', 'common-lisp', 'componentpascal', 'console', 'control', 'coq', 'cp', 'cplint', 'cpp', 'cpp-objdump', 'cpsa', 'cr', 'crmsh', 'croc', 'cry', 'cryptol', 'crystal', 'cs', 'csh', 'csharp', 'csound', 'csound-csd', 'csound-document', 'csound-orc', 'csound-sco', 'csound-score', 'css', 'css+django', 'css+erb', 'css+genshi', 'css+genshitext', 'css+jinja', 'css+lasso', 'css+mako', 'css+mozpreproc', 'css+myghty', 'css+php', 'css+ruby', 'css+smarty', 'css+ul4', 'cu', 'cucumber', 'cuda', 'cxx-objdump', 'cypher', 'cython', 'd', 'd-objdump', 'dart', 'dasm16', 'dax', 'debcontrol', 'debsources', 'delphi', 'desktop', 'devicetree', 'dg', 'diff', 'django', 'dmesg', 'do', 'docker', 'dockerfile', 'dosbatch', 'doscon', 'dosini', 'dot', 'dpatch', 'dtd', 'dts', 'duby', 'duel', 'dylan', 'dylan-console', 'dylan-lid', 'dylan-repl', 'earl-grey', 'earlgrey', 'easytrieve', 'ebnf', 'ec', 'ecl', 'eg', 'eiffel', 'elisp', 'elixir', 'elm', 'elpi', 'emacs', 'emacs-lisp', 'email', 'eml', 'erb', 'erl', 'erlang', 'evoque', 'ex', 'execline', 'exs', 'extempore', 'ezhil', 'f#', 'f90', 'factor', 'fan', 'fancy', 'fc', 'felix', 'fennel', 'fif', 'fift', 'fish', 'fishshell', 'flatline', 'flo', 'floscript', 'flx', 'fnl', 'forth', 'fortran', 'fortranfixed', 'foxpro', 'freefem', 'fsharp', 'fstar', 'func', 'futhark', 'fy', 'gap', 'gap-console', 'gap-repl', 'gas', 'gawk', 'gcode', 'gd', 'gdscript', 'genshi', 'genshitext', 'gherkin', 'glsl', 'gnuplot', 'go', 'golang', 'golo', 'gooddata-cl', 'gosu', 'graphql', 'graphviz', 'groff', 'groovy', 'gsed', 'gsql', 'gst', 'haml', 'handlebars', 'haskell', 'haxe', 'haxeml', 'hcl', 'hexdump', 'hlsl', 'hs', 'hsa', 'hsail', 'hspec', 'html', 'html+cheetah', 'html+django', 'html+erb', 'html+evoque', 'html+genshi', 'html+handlebars', 'html+jinja', 'html+kid', 'html+lasso', 'html+mako', 'html+myghty', 'html+ng2', 'html+php', 'html+ruby', 'html+smarty', 'html+spitfire', 'html+twig', 'html+ul4', 'html+velocity', 'htmlcheetah', 'htmldjango', 'http', 'hx', 'hxml', 'hxsl', 'hy', 'hybris', 'hylang', 'i6', 'i6t', 'i7', 'icon', 'idl', 'idl4', 'idr', 'idris', 'iex', 'igor', 'igorpro', 'ik', 'inform6', 'inform7', 'ini', 'io', 'ioke', 'irb', 'irc', 'isabelle', 'j', 'jade', 'jags', 'janet', 'jasmin', 'jasminxt', 'java', 'javascript', 'javascript+cheetah', 'javascript+django', 'javascript+erb', 'javascript+genshi', 'javascript+genshitext', 'javascript+jinja', 'javascript+lasso', 'javascript+mako', 'javascript+mozpreproc', 'javascript+myghty', 'javascript+php', 'javascript+ruby', 'javascript+smarty', 'javascript+spitfire', 'jbst', 'jcl', 'jinja', 'jl', 'jlcon', 'jmespath', 'jp', 'jproperties', 'js', 'js+cheetah', 'js+django', 'js+erb', 'js+genshi', 'js+genshitext', 'js+jinja', 'js+lasso', 'js+mako
root.mainloop()