@simplexai/localmodels-darwin-arm64 0.1.0-dev.31.build.gitb5579b4b26f273bf03468c6aedf61b327fa6c245 → 0.1.0-dev.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bootstrap.identity +1 -1
- package/bootstrap.sha256 +10 -582
- package/modules/localmodels/__init__.py +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/METADATA +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/RECORD +7 -7
- package/package.json +1 -1
- package/tool.json +1 -1
- package/python/bin/2to3 +0 -7
- package/python/bin/2to3-3.12 +0 -7
- package/python/bin/idle3 +0 -7
- package/python/bin/idle3.12 +0 -7
- package/python/bin/pip +0 -8
- package/python/bin/pip3 +0 -8
- package/python/bin/pip3.12 +0 -8
- package/python/bin/pydoc3 +0 -7
- package/python/bin/pydoc3.12 +0 -7
- package/python/bin/python +0 -0
- package/python/bin/python3 +0 -0
- package/python/bin/python3-config +0 -76
- package/python/bin/python3.12-config +0 -76
- package/python/include/python3.12/Python.h +0 -109
- package/python/include/python3.12/abstract.h +0 -899
- package/python/include/python3.12/bltinmodule.h +0 -14
- package/python/include/python3.12/boolobject.h +0 -42
- package/python/include/python3.12/bytearrayobject.h +0 -44
- package/python/include/python3.12/bytesobject.h +0 -69
- package/python/include/python3.12/ceval.h +0 -168
- package/python/include/python3.12/codecs.h +0 -248
- package/python/include/python3.12/compile.h +0 -22
- package/python/include/python3.12/complexobject.h +0 -30
- package/python/include/python3.12/cpython/abstract.h +0 -206
- package/python/include/python3.12/cpython/bytearrayobject.h +0 -34
- package/python/include/python3.12/cpython/bytesobject.h +0 -133
- package/python/include/python3.12/cpython/cellobject.h +0 -44
- package/python/include/python3.12/cpython/ceval.h +0 -35
- package/python/include/python3.12/cpython/classobject.h +0 -71
- package/python/include/python3.12/cpython/code.h +0 -389
- package/python/include/python3.12/cpython/compile.h +0 -69
- package/python/include/python3.12/cpython/complexobject.h +0 -44
- package/python/include/python3.12/cpython/context.h +0 -78
- package/python/include/python3.12/cpython/descrobject.h +0 -64
- package/python/include/python3.12/cpython/dictobject.h +0 -118
- package/python/include/python3.12/cpython/fileobject.h +0 -19
- package/python/include/python3.12/cpython/fileutils.h +0 -8
- package/python/include/python3.12/cpython/floatobject.h +0 -27
- package/python/include/python3.12/cpython/frameobject.h +0 -29
- package/python/include/python3.12/cpython/funcobject.h +0 -190
- package/python/include/python3.12/cpython/genobject.h +0 -89
- package/python/include/python3.12/cpython/import.h +0 -46
- package/python/include/python3.12/cpython/initconfig.h +0 -256
- package/python/include/python3.12/cpython/interpreteridobject.h +0 -11
- package/python/include/python3.12/cpython/listobject.h +0 -47
- package/python/include/python3.12/cpython/longintrepr.h +0 -133
- package/python/include/python3.12/cpython/longobject.h +0 -100
- package/python/include/python3.12/cpython/memoryobject.h +0 -52
- package/python/include/python3.12/cpython/methodobject.h +0 -66
- package/python/include/python3.12/cpython/modsupport.h +0 -109
- package/python/include/python3.12/cpython/object.h +0 -575
- package/python/include/python3.12/cpython/objimpl.h +0 -95
- package/python/include/python3.12/cpython/odictobject.h +0 -43
- package/python/include/python3.12/cpython/picklebufobject.h +0 -31
- package/python/include/python3.12/cpython/pthread_stubs.h +0 -88
- package/python/include/python3.12/cpython/pyctype.h +0 -39
- package/python/include/python3.12/cpython/pydebug.h +0 -38
- package/python/include/python3.12/cpython/pyerrors.h +0 -178
- package/python/include/python3.12/cpython/pyfpe.h +0 -15
- package/python/include/python3.12/cpython/pyframe.h +0 -35
- package/python/include/python3.12/cpython/pylifecycle.h +0 -111
- package/python/include/python3.12/cpython/pymem.h +0 -98
- package/python/include/python3.12/cpython/pystate.h +0 -456
- package/python/include/python3.12/cpython/pythonrun.h +0 -121
- package/python/include/python3.12/cpython/pythread.h +0 -42
- package/python/include/python3.12/cpython/pytime.h +0 -331
- package/python/include/python3.12/cpython/setobject.h +0 -72
- package/python/include/python3.12/cpython/sysmodule.h +0 -16
- package/python/include/python3.12/cpython/traceback.h +0 -16
- package/python/include/python3.12/cpython/tupleobject.h +0 -39
- package/python/include/python3.12/cpython/unicodeobject.h +0 -976
- package/python/include/python3.12/cpython/warnings.h +0 -20
- package/python/include/python3.12/cpython/weakrefobject.h +0 -56
- package/python/include/python3.12/datetime.h +0 -267
- package/python/include/python3.12/descrobject.h +0 -100
- package/python/include/python3.12/dictobject.h +0 -97
- package/python/include/python3.12/dynamic_annotations.h +0 -499
- package/python/include/python3.12/enumobject.h +0 -17
- package/python/include/python3.12/errcode.h +0 -38
- package/python/include/python3.12/exports.h +0 -36
- package/python/include/python3.12/fileobject.h +0 -49
- package/python/include/python3.12/fileutils.h +0 -26
- package/python/include/python3.12/floatobject.h +0 -54
- package/python/include/python3.12/frameobject.h +0 -20
- package/python/include/python3.12/genericaliasobject.h +0 -14
- package/python/include/python3.12/import.h +0 -98
- package/python/include/python3.12/internal/pycore_abstract.h +0 -25
- package/python/include/python3.12/internal/pycore_asdl.h +0 -112
- package/python/include/python3.12/internal/pycore_ast.h +0 -922
- package/python/include/python3.12/internal/pycore_ast_state.h +0 -265
- package/python/include/python3.12/internal/pycore_atexit.h +0 -57
- package/python/include/python3.12/internal/pycore_atomic.h +0 -557
- package/python/include/python3.12/internal/pycore_atomic_funcs.h +0 -94
- package/python/include/python3.12/internal/pycore_bitutils.h +0 -186
- package/python/include/python3.12/internal/pycore_blocks_output_buffer.h +0 -317
- package/python/include/python3.12/internal/pycore_bytes_methods.h +0 -73
- package/python/include/python3.12/internal/pycore_bytesobject.h +0 -47
- package/python/include/python3.12/internal/pycore_call.h +0 -133
- package/python/include/python3.12/internal/pycore_ceval.h +0 -164
- package/python/include/python3.12/internal/pycore_ceval_state.h +0 -103
- package/python/include/python3.12/internal/pycore_code.h +0 -496
- package/python/include/python3.12/internal/pycore_compile.h +0 -118
- package/python/include/python3.12/internal/pycore_condvar.h +0 -99
- package/python/include/python3.12/internal/pycore_context.h +0 -71
- package/python/include/python3.12/internal/pycore_descrobject.h +0 -26
- package/python/include/python3.12/internal/pycore_dict.h +0 -199
- package/python/include/python3.12/internal/pycore_dict_state.h +0 -50
- package/python/include/python3.12/internal/pycore_dtoa.h +0 -69
- package/python/include/python3.12/internal/pycore_emscripten_signal.h +0 -25
- package/python/include/python3.12/internal/pycore_exceptions.h +0 -37
- package/python/include/python3.12/internal/pycore_faulthandler.h +0 -99
- package/python/include/python3.12/internal/pycore_fileutils.h +0 -292
- package/python/include/python3.12/internal/pycore_fileutils_windows.h +0 -98
- package/python/include/python3.12/internal/pycore_floatobject.h +0 -71
- package/python/include/python3.12/internal/pycore_flowgraph.h +0 -120
- package/python/include/python3.12/internal/pycore_format.h +0 -27
- package/python/include/python3.12/internal/pycore_frame.h +0 -283
- package/python/include/python3.12/internal/pycore_function.h +0 -26
- package/python/include/python3.12/internal/pycore_gc.h +0 -211
- package/python/include/python3.12/internal/pycore_genobject.h +0 -49
- package/python/include/python3.12/internal/pycore_getopt.h +0 -22
- package/python/include/python3.12/internal/pycore_gil.h +0 -50
- package/python/include/python3.12/internal/pycore_global_objects.h +0 -105
- package/python/include/python3.12/internal/pycore_global_objects_fini_generated.h +0 -1517
- package/python/include/python3.12/internal/pycore_global_strings.h +0 -777
- package/python/include/python3.12/internal/pycore_hamt.h +0 -134
- package/python/include/python3.12/internal/pycore_hashtable.h +0 -149
- package/python/include/python3.12/internal/pycore_import.h +0 -183
- package/python/include/python3.12/internal/pycore_initconfig.h +0 -179
- package/python/include/python3.12/internal/pycore_instruments.h +0 -106
- package/python/include/python3.12/internal/pycore_interp.h +0 -275
- package/python/include/python3.12/internal/pycore_intrinsics.h +0 -32
- package/python/include/python3.12/internal/pycore_list.h +0 -83
- package/python/include/python3.12/internal/pycore_long.h +0 -258
- package/python/include/python3.12/internal/pycore_memoryobject.h +0 -18
- package/python/include/python3.12/internal/pycore_moduleobject.h +0 -45
- package/python/include/python3.12/internal/pycore_namespace.h +0 -20
- package/python/include/python3.12/internal/pycore_object.h +0 -455
- package/python/include/python3.12/internal/pycore_object_state.h +0 -42
- package/python/include/python3.12/internal/pycore_obmalloc.h +0 -700
- package/python/include/python3.12/internal/pycore_obmalloc_init.h +0 -73
- package/python/include/python3.12/internal/pycore_opcode.h +0 -587
- package/python/include/python3.12/internal/pycore_opcode_utils.h +0 -92
- package/python/include/python3.12/internal/pycore_parser.h +0 -66
- package/python/include/python3.12/internal/pycore_pathconfig.h +0 -24
- package/python/include/python3.12/internal/pycore_pyarena.h +0 -64
- package/python/include/python3.12/internal/pycore_pyerrors.h +0 -129
- package/python/include/python3.12/internal/pycore_pyhash.h +0 -40
- package/python/include/python3.12/internal/pycore_pylifecycle.h +0 -99
- package/python/include/python3.12/internal/pycore_pymath.h +0 -205
- package/python/include/python3.12/internal/pycore_pymem.h +0 -98
- package/python/include/python3.12/internal/pycore_pymem_init.h +0 -85
- package/python/include/python3.12/internal/pycore_pystate.h +0 -180
- package/python/include/python3.12/internal/pycore_pythread.h +0 -81
- package/python/include/python3.12/internal/pycore_range.h +0 -21
- package/python/include/python3.12/internal/pycore_runtime.h +0 -235
- package/python/include/python3.12/internal/pycore_runtime_init.h +0 -188
- package/python/include/python3.12/internal/pycore_runtime_init_generated.h +0 -1511
- package/python/include/python3.12/internal/pycore_signal.h +0 -98
- package/python/include/python3.12/internal/pycore_sliceobject.h +0 -22
- package/python/include/python3.12/internal/pycore_strhex.h +0 -36
- package/python/include/python3.12/internal/pycore_structseq.h +0 -39
- package/python/include/python3.12/internal/pycore_symtable.h +0 -160
- package/python/include/python3.12/internal/pycore_sysmodule.h +0 -34
- package/python/include/python3.12/internal/pycore_time.h +0 -25
- package/python/include/python3.12/internal/pycore_token.h +0 -108
- package/python/include/python3.12/internal/pycore_traceback.h +0 -101
- package/python/include/python3.12/internal/pycore_tracemalloc.h +0 -123
- package/python/include/python3.12/internal/pycore_tuple.h +0 -79
- package/python/include/python3.12/internal/pycore_typeobject.h +0 -151
- package/python/include/python3.12/internal/pycore_typevarobject.h +0 -24
- package/python/include/python3.12/internal/pycore_ucnhash.h +0 -34
- package/python/include/python3.12/internal/pycore_unicodeobject.h +0 -86
- package/python/include/python3.12/internal/pycore_unicodeobject_generated.h +0 -2832
- package/python/include/python3.12/internal/pycore_unionobject.h +0 -23
- package/python/include/python3.12/internal/pycore_warnings.h +0 -29
- package/python/include/python3.12/interpreteridobject.h +0 -17
- package/python/include/python3.12/intrcheck.h +0 -30
- package/python/include/python3.12/iterobject.h +0 -27
- package/python/include/python3.12/listobject.h +0 -52
- package/python/include/python3.12/longobject.h +0 -108
- package/python/include/python3.12/marshal.h +0 -31
- package/python/include/python3.12/memoryobject.h +0 -34
- package/python/include/python3.12/methodobject.h +0 -132
- package/python/include/python3.12/modsupport.h +0 -168
- package/python/include/python3.12/moduleobject.h +0 -119
- package/python/include/python3.12/object.h +0 -993
- package/python/include/python3.12/objimpl.h +0 -234
- package/python/include/python3.12/opcode.h +0 -271
- package/python/include/python3.12/osdefs.h +0 -51
- package/python/include/python3.12/osmodule.h +0 -17
- package/python/include/python3.12/patchlevel.h +0 -35
- package/python/include/python3.12/py_curses.h +0 -99
- package/python/include/python3.12/pybuffer.h +0 -145
- package/python/include/python3.12/pycapsule.h +0 -59
- package/python/include/python3.12/pyconfig.h +0 -1943
- package/python/include/python3.12/pydtrace.h +0 -59
- package/python/include/python3.12/pyerrors.h +0 -337
- package/python/include/python3.12/pyexpat.h +0 -70
- package/python/include/python3.12/pyframe.h +0 -26
- package/python/include/python3.12/pyhash.h +0 -146
- package/python/include/python3.12/pylifecycle.h +0 -78
- package/python/include/python3.12/pymacconfig.h +0 -99
- package/python/include/python3.12/pymacro.h +0 -172
- package/python/include/python3.12/pymath.h +0 -62
- package/python/include/python3.12/pymem.h +0 -104
- package/python/include/python3.12/pyport.h +0 -782
- package/python/include/python3.12/pystate.h +0 -132
- package/python/include/python3.12/pystats.h +0 -110
- package/python/include/python3.12/pystrcmp.h +0 -23
- package/python/include/python3.12/pystrtod.h +0 -46
- package/python/include/python3.12/pythonrun.h +0 -49
- package/python/include/python3.12/pythread.h +0 -135
- package/python/include/python3.12/pytypedefs.h +0 -30
- package/python/include/python3.12/rangeobject.h +0 -27
- package/python/include/python3.12/setobject.h +0 -49
- package/python/include/python3.12/sliceobject.h +0 -65
- package/python/include/python3.12/structmember.h +0 -56
- package/python/include/python3.12/structseq.h +0 -49
- package/python/include/python3.12/sysmodule.h +0 -54
- package/python/include/python3.12/traceback.h +0 -26
- package/python/include/python3.12/tracemalloc.h +0 -77
- package/python/include/python3.12/tupleobject.h +0 -46
- package/python/include/python3.12/typeslots.h +0 -88
- package/python/include/python3.12/unicodeobject.h +0 -1020
- package/python/include/python3.12/warnings.h +0 -45
- package/python/include/python3.12/weakrefobject.h +0 -42
- package/python/lib/itcl4.3.8/itcl.tcl +0 -151
- package/python/lib/itcl4.3.8/itclConfig.sh +0 -67
- package/python/lib/itcl4.3.8/itclHullCmds.tcl +0 -562
- package/python/lib/itcl4.3.8/itclWidget.tcl +0 -447
- package/python/lib/itcl4.3.8/libitcl4.3.8.dylib +0 -0
- package/python/lib/itcl4.3.8/libitclstub.a +0 -0
- package/python/lib/itcl4.3.8/libitclstub4.3.8.a +0 -0
- package/python/lib/itcl4.3.8/libtcl9itcl4.3.8.dylib +0 -0
- package/python/lib/itcl4.3.8/pkgIndex.tcl +0 -14
- package/python/lib/libpython3.12.dylib +0 -0
- package/python/lib/libtcl9.0.dylib +0 -0
- package/python/lib/libtcl9tk9.0.dylib +0 -0
- package/python/lib/pkgconfig/python-3.12-embed.pc +0 -13
- package/python/lib/pkgconfig/python-3.12.pc +0 -13
- package/python/lib/pkgconfig/python3-embed.pc +0 -13
- package/python/lib/pkgconfig/python3.pc +0 -13
- package/python/lib/python3.12/config-3.12-darwin/Makefile +0 -3273
- package/python/lib/python3.12/config-3.12-darwin/Setup +0 -303
- package/python/lib/python3.12/config-3.12-darwin/Setup.bootstrap +0 -36
- package/python/lib/python3.12/config-3.12-darwin/Setup.local +0 -19
- package/python/lib/python3.12/config-3.12-darwin/Setup.stdlib +0 -183
- package/python/lib/python3.12/config-3.12-darwin/config.c +0 -246
- package/python/lib/python3.12/config-3.12-darwin/config.c.in +0 -71
- package/python/lib/python3.12/config-3.12-darwin/install-sh +0 -541
- package/python/lib/python3.12/config-3.12-darwin/makesetup +0 -353
- package/python/lib/python3.12/config-3.12-darwin/python-config.py +0 -76
- package/python/lib/python3.12/config-3.12-darwin/python.o +0 -0
- package/python/lib/python3.12/idlelib/CREDITS.txt +0 -47
- package/python/lib/python3.12/idlelib/ChangeLog +0 -1591
- package/python/lib/python3.12/idlelib/HISTORY.txt +0 -296
- package/python/lib/python3.12/idlelib/Icons/README.txt +0 -51
- package/python/lib/python3.12/idlelib/Icons/folder.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle.ico +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_16.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_16.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_256.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_32.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_32.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_48.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/idle_48.png +0 -0
- package/python/lib/python3.12/idlelib/Icons/minusnode.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/openfolder.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/plusnode.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/python.gif +0 -0
- package/python/lib/python3.12/idlelib/Icons/tk.gif +0 -0
- package/python/lib/python3.12/idlelib/NEWS2x.txt +0 -660
- package/python/lib/python3.12/idlelib/News3.txt +0 -1390
- package/python/lib/python3.12/idlelib/README.txt +0 -290
- package/python/lib/python3.12/idlelib/TODO.txt +0 -210
- package/python/lib/python3.12/idlelib/__init__.py +0 -10
- package/python/lib/python3.12/idlelib/__main__.py +0 -7
- package/python/lib/python3.12/idlelib/autocomplete.py +0 -228
- package/python/lib/python3.12/idlelib/autocomplete_w.py +0 -498
- package/python/lib/python3.12/idlelib/autoexpand.py +0 -96
- package/python/lib/python3.12/idlelib/browser.py +0 -260
- package/python/lib/python3.12/idlelib/calltip.py +0 -205
- package/python/lib/python3.12/idlelib/calltip_w.py +0 -202
- package/python/lib/python3.12/idlelib/codecontext.py +0 -270
- package/python/lib/python3.12/idlelib/colorizer.py +0 -384
- package/python/lib/python3.12/idlelib/config-extensions.def +0 -62
- package/python/lib/python3.12/idlelib/config-highlight.def +0 -105
- package/python/lib/python3.12/idlelib/config-keys.def +0 -309
- package/python/lib/python3.12/idlelib/config-main.def +0 -93
- package/python/lib/python3.12/idlelib/config.py +0 -917
- package/python/lib/python3.12/idlelib/config_key.py +0 -354
- package/python/lib/python3.12/idlelib/configdialog.py +0 -2408
- package/python/lib/python3.12/idlelib/debugger.py +0 -602
- package/python/lib/python3.12/idlelib/debugger_r.py +0 -390
- package/python/lib/python3.12/idlelib/debugobj.py +0 -146
- package/python/lib/python3.12/idlelib/debugobj_r.py +0 -41
- package/python/lib/python3.12/idlelib/delegator.py +0 -34
- package/python/lib/python3.12/idlelib/dynoption.py +0 -57
- package/python/lib/python3.12/idlelib/editor.py +0 -1767
- package/python/lib/python3.12/idlelib/extend.txt +0 -83
- package/python/lib/python3.12/idlelib/filelist.py +0 -132
- package/python/lib/python3.12/idlelib/format.py +0 -426
- package/python/lib/python3.12/idlelib/grep.py +0 -223
- package/python/lib/python3.12/idlelib/help.html +0 -805
- package/python/lib/python3.12/idlelib/help.py +0 -297
- package/python/lib/python3.12/idlelib/help_about.py +0 -211
- package/python/lib/python3.12/idlelib/history.py +0 -106
- package/python/lib/python3.12/idlelib/hyperparser.py +0 -312
- package/python/lib/python3.12/idlelib/idle.bat +0 -4
- package/python/lib/python3.12/idlelib/idle.py +0 -14
- package/python/lib/python3.12/idlelib/idle.pyw +0 -17
- package/python/lib/python3.12/idlelib/iomenu.py +0 -441
- package/python/lib/python3.12/idlelib/macosx.py +0 -278
- package/python/lib/python3.12/idlelib/mainmenu.py +0 -126
- package/python/lib/python3.12/idlelib/multicall.py +0 -451
- package/python/lib/python3.12/idlelib/outwin.py +0 -188
- package/python/lib/python3.12/idlelib/parenmatch.py +0 -183
- package/python/lib/python3.12/idlelib/pathbrowser.py +0 -107
- package/python/lib/python3.12/idlelib/percolator.py +0 -120
- package/python/lib/python3.12/idlelib/pyparse.py +0 -589
- package/python/lib/python3.12/idlelib/pyshell.py +0 -1694
- package/python/lib/python3.12/idlelib/query.py +0 -392
- package/python/lib/python3.12/idlelib/redirector.py +0 -173
- package/python/lib/python3.12/idlelib/replace.py +0 -300
- package/python/lib/python3.12/idlelib/rpc.py +0 -635
- package/python/lib/python3.12/idlelib/run.py +0 -646
- package/python/lib/python3.12/idlelib/runscript.py +0 -213
- package/python/lib/python3.12/idlelib/scrolledlist.py +0 -151
- package/python/lib/python3.12/idlelib/search.py +0 -165
- package/python/lib/python3.12/idlelib/searchbase.py +0 -210
- package/python/lib/python3.12/idlelib/searchengine.py +0 -235
- package/python/lib/python3.12/idlelib/sidebar.py +0 -544
- package/python/lib/python3.12/idlelib/squeezer.py +0 -345
- package/python/lib/python3.12/idlelib/stackviewer.py +0 -134
- package/python/lib/python3.12/idlelib/statusbar.py +0 -52
- package/python/lib/python3.12/idlelib/textview.py +0 -193
- package/python/lib/python3.12/idlelib/tooltip.py +0 -190
- package/python/lib/python3.12/idlelib/tree.py +0 -509
- package/python/lib/python3.12/idlelib/undo.py +0 -367
- package/python/lib/python3.12/idlelib/util.py +0 -37
- package/python/lib/python3.12/idlelib/window.py +0 -98
- package/python/lib/python3.12/idlelib/zoomheight.py +0 -124
- package/python/lib/python3.12/idlelib/zzdummy.py +0 -73
- package/python/lib/python3.12/lib-dynload/_tkinter.cpython-312-darwin.so +0 -0
- package/python/lib/python3.12/tkinter/__init__.py +0 -4682
- package/python/lib/python3.12/tkinter/__main__.py +0 -7
- package/python/lib/python3.12/tkinter/colorchooser.py +0 -86
- package/python/lib/python3.12/tkinter/commondialog.py +0 -53
- package/python/lib/python3.12/tkinter/constants.py +0 -110
- package/python/lib/python3.12/tkinter/dialog.py +0 -49
- package/python/lib/python3.12/tkinter/dnd.py +0 -324
- package/python/lib/python3.12/tkinter/filedialog.py +0 -492
- package/python/lib/python3.12/tkinter/font.py +0 -239
- package/python/lib/python3.12/tkinter/messagebox.py +0 -146
- package/python/lib/python3.12/tkinter/scrolledtext.py +0 -56
- package/python/lib/python3.12/tkinter/simpledialog.py +0 -441
- package/python/lib/python3.12/tkinter/tix.py +0 -1948
- package/python/lib/python3.12/tkinter/ttk.py +0 -1640
- package/python/lib/python3.12/turtle.py +0 -4207
- package/python/lib/python3.12/turtledemo/__init__.py +0 -14
- package/python/lib/python3.12/turtledemo/__main__.py +0 -404
- package/python/lib/python3.12/turtledemo/bytedesign.py +0 -161
- package/python/lib/python3.12/turtledemo/chaos.py +0 -59
- package/python/lib/python3.12/turtledemo/clock.py +0 -138
- package/python/lib/python3.12/turtledemo/colormixer.py +0 -58
- package/python/lib/python3.12/turtledemo/forest.py +0 -108
- package/python/lib/python3.12/turtledemo/fractalcurves.py +0 -138
- package/python/lib/python3.12/turtledemo/lindenmayer.py +0 -119
- package/python/lib/python3.12/turtledemo/minimal_hanoi.py +0 -79
- package/python/lib/python3.12/turtledemo/nim.py +0 -226
- package/python/lib/python3.12/turtledemo/paint.py +0 -54
- package/python/lib/python3.12/turtledemo/peace.py +0 -61
- package/python/lib/python3.12/turtledemo/penrose.py +0 -175
- package/python/lib/python3.12/turtledemo/planet_and_moon.py +0 -111
- package/python/lib/python3.12/turtledemo/rosette.py +0 -65
- package/python/lib/python3.12/turtledemo/round_dance.py +0 -86
- package/python/lib/python3.12/turtledemo/sorting_animate.py +0 -204
- package/python/lib/python3.12/turtledemo/tree.py +0 -62
- package/python/lib/python3.12/turtledemo/turtle.cfg +0 -10
- package/python/lib/python3.12/turtledemo/two_canvases.py +0 -54
- package/python/lib/python3.12/turtledemo/yinyang.py +0 -49
- package/python/lib/tcl9/9.0/http-2.10.2.tm +0 -5451
- package/python/lib/tcl9/9.0/msgcat-1.7.1.tm +0 -1349
- package/python/lib/tcl9/9.0/platform/shell-1.1.4.tm +0 -241
- package/python/lib/tcl9/9.0/platform-1.1.0.tm +0 -442
- package/python/lib/tcl9/9.0/tcltest-2.5.11.tm +0 -3600
- package/python/lib/tcl9.0/auto.tcl +0 -710
- package/python/lib/tcl9.0/clock.tcl +0 -2110
- package/python/lib/tcl9.0/cookiejar0.2/cookiejar.tcl +0 -746
- package/python/lib/tcl9.0/cookiejar0.2/idna.tcl +0 -292
- package/python/lib/tcl9.0/cookiejar0.2/pkgIndex.tcl +0 -3
- package/python/lib/tcl9.0/cookiejar0.2/public_suffix_list.dat.gz +0 -0
- package/python/lib/tcl9.0/encoding/ascii.enc +0 -20
- package/python/lib/tcl9.0/encoding/big5.enc +0 -1516
- package/python/lib/tcl9.0/encoding/cns11643.enc +0 -1584
- package/python/lib/tcl9.0/encoding/cp1250.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1251.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1252.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1253.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1254.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1255.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1256.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1257.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp1258.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp165.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp437.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp737.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp775.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp850.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp852.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp855.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp857.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp860.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp861.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp862.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp863.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp864.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp865.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp866.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp869.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp874.enc +0 -20
- package/python/lib/tcl9.0/encoding/cp932.enc +0 -801
- package/python/lib/tcl9.0/encoding/cp936.enc +0 -2162
- package/python/lib/tcl9.0/encoding/cp949.enc +0 -2128
- package/python/lib/tcl9.0/encoding/cp950.enc +0 -1499
- package/python/lib/tcl9.0/encoding/dingbats.enc +0 -20
- package/python/lib/tcl9.0/encoding/ebcdic.enc +0 -20
- package/python/lib/tcl9.0/encoding/euc-cn.enc +0 -1397
- package/python/lib/tcl9.0/encoding/euc-jp.enc +0 -1353
- package/python/lib/tcl9.0/encoding/euc-kr.enc +0 -1533
- package/python/lib/tcl9.0/encoding/gb12345.enc +0 -1414
- package/python/lib/tcl9.0/encoding/gb1988.enc +0 -20
- package/python/lib/tcl9.0/encoding/gb2312-raw.enc +0 -1380
- package/python/lib/tcl9.0/encoding/gb2312.enc +0 -1397
- package/python/lib/tcl9.0/encoding/iso2022-jp.enc +0 -12
- package/python/lib/tcl9.0/encoding/iso2022-kr.enc +0 -7
- package/python/lib/tcl9.0/encoding/iso2022.enc +0 -14
- package/python/lib/tcl9.0/encoding/iso8859-1.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-10.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-11.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-13.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-14.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-15.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-16.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-2.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-3.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-4.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-5.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-6.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-7.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-8.enc +0 -20
- package/python/lib/tcl9.0/encoding/iso8859-9.enc +0 -20
- package/python/lib/tcl9.0/encoding/jis0201.enc +0 -20
- package/python/lib/tcl9.0/encoding/jis0208.enc +0 -1319
- package/python/lib/tcl9.0/encoding/jis0212.enc +0 -1159
- package/python/lib/tcl9.0/encoding/koi8-r.enc +0 -20
- package/python/lib/tcl9.0/encoding/koi8-ru.enc +0 -20
- package/python/lib/tcl9.0/encoding/koi8-t.enc +0 -20
- package/python/lib/tcl9.0/encoding/koi8-u.enc +0 -20
- package/python/lib/tcl9.0/encoding/ksc5601.enc +0 -1516
- package/python/lib/tcl9.0/encoding/macCentEuro.enc +0 -20
- package/python/lib/tcl9.0/encoding/macCroatian.enc +0 -20
- package/python/lib/tcl9.0/encoding/macCyrillic.enc +0 -20
- package/python/lib/tcl9.0/encoding/macDingbats.enc +0 -20
- package/python/lib/tcl9.0/encoding/macGreek.enc +0 -20
- package/python/lib/tcl9.0/encoding/macIceland.enc +0 -20
- package/python/lib/tcl9.0/encoding/macJapan.enc +0 -785
- package/python/lib/tcl9.0/encoding/macRoman.enc +0 -20
- package/python/lib/tcl9.0/encoding/macRomania.enc +0 -20
- package/python/lib/tcl9.0/encoding/macThai.enc +0 -20
- package/python/lib/tcl9.0/encoding/macTurkish.enc +0 -20
- package/python/lib/tcl9.0/encoding/macUkraine.enc +0 -20
- package/python/lib/tcl9.0/encoding/shiftjis.enc +0 -690
- package/python/lib/tcl9.0/encoding/symbol.enc +0 -20
- package/python/lib/tcl9.0/encoding/tis-620.enc +0 -20
- package/python/lib/tcl9.0/foreachline.tcl +0 -25
- package/python/lib/tcl9.0/history.tcl +0 -335
- package/python/lib/tcl9.0/icu.tcl +0 -145
- package/python/lib/tcl9.0/init.tcl +0 -772
- package/python/lib/tcl9.0/install.tcl +0 -274
- package/python/lib/tcl9.0/opt0.4/optparse.tcl +0 -1060
- package/python/lib/tcl9.0/opt0.4/pkgIndex.tcl +0 -12
- package/python/lib/tcl9.0/package.tcl +0 -776
- package/python/lib/tcl9.0/parray.tcl +0 -28
- package/python/lib/tcl9.0/readfile.tcl +0 -23
- package/python/lib/tcl9.0/safe.tcl +0 -1459
- package/python/lib/tcl9.0/tclAppInit.c +0 -183
- package/python/lib/tcl9.0/tclIndex +0 -112
- package/python/lib/tcl9.0/tm.tcl +0 -378
- package/python/lib/tcl9.0/word.tcl +0 -155
- package/python/lib/tcl9.0/writefile.tcl +0 -37
- package/python/lib/thread3.0.6/libtcl9thread3.0.6.dylib +0 -0
- package/python/lib/thread3.0.6/libthread3.0.6.dylib +0 -0
- package/python/lib/thread3.0.6/pkgIndex.tcl +0 -52
- package/python/lib/thread3.0.6/ttrace.tcl +0 -943
- package/python/lib/tk9.0/bgerror.tcl +0 -282
- package/python/lib/tk9.0/button.tcl +0 -782
- package/python/lib/tk9.0/choosedir.tcl +0 -310
- package/python/lib/tk9.0/clrpick.tcl +0 -696
- package/python/lib/tk9.0/comdlg.tcl +0 -322
- package/python/lib/tk9.0/console.tcl +0 -1148
- package/python/lib/tk9.0/dialog.tcl +0 -175
- package/python/lib/tk9.0/entry.tcl +0 -721
- package/python/lib/tk9.0/focus.tcl +0 -178
- package/python/lib/tk9.0/fontchooser.tcl +0 -512
- package/python/lib/tk9.0/iconbadges.tcl +0 -253
- package/python/lib/tk9.0/iconlist.tcl +0 -705
- package/python/lib/tk9.0/icons.tcl +0 -54
- package/python/lib/tk9.0/images/README +0 -7
- package/python/lib/tk9.0/images/logo.eps +0 -2091
- package/python/lib/tk9.0/images/logo100.gif +0 -0
- package/python/lib/tk9.0/images/logo64.gif +0 -0
- package/python/lib/tk9.0/images/logoLarge.gif +0 -0
- package/python/lib/tk9.0/images/logoMed.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo.eps +0 -1897
- package/python/lib/tk9.0/images/pwrdLogo100.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo150.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo175.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo200.gif +0 -0
- package/python/lib/tk9.0/images/pwrdLogo75.gif +0 -0
- package/python/lib/tk9.0/images/tai-ku.gif +0 -0
- package/python/lib/tk9.0/listbox.tcl +0 -522
- package/python/lib/tk9.0/megawidget.tcl +0 -297
- package/python/lib/tk9.0/menu.tcl +0 -1376
- package/python/lib/tk9.0/mkpsenc.tcl +0 -1488
- package/python/lib/tk9.0/msgbox.tcl +0 -454
- package/python/lib/tk9.0/optMenu.tcl +0 -43
- package/python/lib/tk9.0/palette.tcl +0 -283
- package/python/lib/tk9.0/panedwindow.tcl +0 -194
- package/python/lib/tk9.0/pkgIndex.tcl +0 -3
- package/python/lib/tk9.0/print.tcl +0 -1460
- package/python/lib/tk9.0/safetk.tcl +0 -262
- package/python/lib/tk9.0/scale.tcl +0 -299
- package/python/lib/tk9.0/scaling.tcl +0 -232
- package/python/lib/tk9.0/scrlbar.tcl +0 -506
- package/python/lib/tk9.0/spinbox.tcl +0 -590
- package/python/lib/tk9.0/systray.tcl +0 -483
- package/python/lib/tk9.0/tclIndex +0 -252
- package/python/lib/tk9.0/tearoff.tcl +0 -155
- package/python/lib/tk9.0/text.tcl +0 -1295
- package/python/lib/tk9.0/tk.tcl +0 -853
- package/python/lib/tk9.0/tkAppInit.c +0 -200
- package/python/lib/tk9.0/tkfbox.tcl +0 -1251
- package/python/lib/tk9.0/ttk/altTheme.tcl +0 -158
- package/python/lib/tk9.0/ttk/aquaTheme.tcl +0 -254
- package/python/lib/tk9.0/ttk/button.tcl +0 -83
- package/python/lib/tk9.0/ttk/clamTheme.tcl +0 -200
- package/python/lib/tk9.0/ttk/classicTheme.tcl +0 -165
- package/python/lib/tk9.0/ttk/combobox.tcl +0 -555
- package/python/lib/tk9.0/ttk/cursors.tcl +0 -205
- package/python/lib/tk9.0/ttk/defaults.tcl +0 -250
- package/python/lib/tk9.0/ttk/entry.tcl +0 -678
- package/python/lib/tk9.0/ttk/fonts.tcl +0 -152
- package/python/lib/tk9.0/ttk/menubutton.tcl +0 -237
- package/python/lib/tk9.0/ttk/notebook.tcl +0 -261
- package/python/lib/tk9.0/ttk/panedwindow.tcl +0 -89
- package/python/lib/tk9.0/ttk/progress.tcl +0 -55
- package/python/lib/tk9.0/ttk/scale.tcl +0 -94
- package/python/lib/tk9.0/ttk/scrollbar.tcl +0 -119
- package/python/lib/tk9.0/ttk/sizegrip.tcl +0 -102
- package/python/lib/tk9.0/ttk/spinbox.tcl +0 -204
- package/python/lib/tk9.0/ttk/treeview.tcl +0 -464
- package/python/lib/tk9.0/ttk/ttk.tcl +0 -220
- package/python/lib/tk9.0/ttk/utils.tcl +0 -317
- package/python/lib/tk9.0/ttk/vistaTheme.tcl +0 -260
- package/python/lib/tk9.0/ttk/winTheme.tcl +0 -123
- package/python/lib/tk9.0/ttk/xpTheme.tcl +0 -99
- package/python/lib/tk9.0/xmfbox.tcl +0 -982
- package/python/share/man/man1/python.1 +0 -630
- package/python/share/man/man1/python3.1 +0 -630
- package/python/share/man/man1/python3.12.1 +0 -630
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/WHEEL +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/entry_points.txt +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/licenses/NOTICE +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev31.dist-info → simplex_localmodels-0.1.0.dev32.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Utilities for widget implementations.
|
|
3
|
-
#
|
|
4
|
-
|
|
5
|
-
### Focus management.
|
|
6
|
-
#
|
|
7
|
-
# See also: #1516479
|
|
8
|
-
#
|
|
9
|
-
|
|
10
|
-
## ttk::takefocus --
|
|
11
|
-
# This is the default value of the "-takefocus" option
|
|
12
|
-
# for ttk::* widgets that participate in keyboard navigation.
|
|
13
|
-
#
|
|
14
|
-
# NOTES:
|
|
15
|
-
# tk::FocusOK (called by tk_focusNext) tests [winfo viewable]
|
|
16
|
-
# if -takefocus is 1, empty, or missing; but not if it's a
|
|
17
|
-
# script prefix, so we have to check that here as well.
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
proc ttk::takefocus {w} {
|
|
21
|
-
expr {[$w instate !disabled] && [winfo viewable $w]}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
## ttk::GuessTakeFocus --
|
|
25
|
-
# This routine is called as a fallback for widgets
|
|
26
|
-
# with a missing or empty -takefocus option.
|
|
27
|
-
#
|
|
28
|
-
# It implements the same heuristics as tk::FocusOK.
|
|
29
|
-
#
|
|
30
|
-
proc ttk::GuessTakeFocus {w} {
|
|
31
|
-
# Don't traverse to widgets with '-state disabled':
|
|
32
|
-
#
|
|
33
|
-
if {![catch {$w cget -state} state] && $state eq "disabled"} {
|
|
34
|
-
return 0
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
# Allow traversal to widgets with explicit key or focus bindings:
|
|
38
|
-
#
|
|
39
|
-
if {[regexp {Key|Focus} [concat [bind $w] [bind [winfo class $w]]]]} {
|
|
40
|
-
return 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
# Default is nontraversable:
|
|
44
|
-
#
|
|
45
|
-
return 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
## ttk::traverseTo $w --
|
|
49
|
-
# Set the keyboard focus to the specified window.
|
|
50
|
-
#
|
|
51
|
-
proc ttk::traverseTo {w} {
|
|
52
|
-
set focus [focus]
|
|
53
|
-
if {$focus ne ""} {
|
|
54
|
-
event generate $focus <<TraverseOut>>
|
|
55
|
-
}
|
|
56
|
-
focus $w
|
|
57
|
-
event generate $w <<TraverseIn>>
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
## ttk::clickToFocus $w --
|
|
61
|
-
# Utility routine, used in <Button-1> bindings --
|
|
62
|
-
# Assign keyboard focus to the specified widget if -takefocus is enabled.
|
|
63
|
-
#
|
|
64
|
-
proc ttk::clickToFocus {w} {
|
|
65
|
-
if {[ttk::takesFocus $w]} { focus $w }
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
## ttk::takesFocus w --
|
|
69
|
-
# Test if the widget can take keyboard focus.
|
|
70
|
-
#
|
|
71
|
-
# See the description of the -takefocus option in options(n)
|
|
72
|
-
# for details.
|
|
73
|
-
#
|
|
74
|
-
proc ttk::takesFocus {w} {
|
|
75
|
-
if {![winfo viewable $w]} {
|
|
76
|
-
return 0
|
|
77
|
-
} elseif {[catch {$w cget -takefocus} takefocus]} {
|
|
78
|
-
return [GuessTakeFocus $w]
|
|
79
|
-
} else {
|
|
80
|
-
switch -- $takefocus {
|
|
81
|
-
"" { return [GuessTakeFocus $w] }
|
|
82
|
-
0 { return 0 }
|
|
83
|
-
1 { return 1 }
|
|
84
|
-
default {
|
|
85
|
-
return [expr {[uplevel #0 $takefocus [list $w]] == 1}]
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
## ttk::focusFirst $w --
|
|
92
|
-
# Return the first descendant of $w, in preorder traversal order,
|
|
93
|
-
# that can take keyboard focus, "" if none do.
|
|
94
|
-
#
|
|
95
|
-
# See also: tk_focusNext
|
|
96
|
-
#
|
|
97
|
-
|
|
98
|
-
proc ttk::focusFirst {w} {
|
|
99
|
-
if {[ttk::takesFocus $w]} {
|
|
100
|
-
return $w
|
|
101
|
-
}
|
|
102
|
-
foreach child [winfo children $w] {
|
|
103
|
-
if {[set c [ttk::focusFirst $child]] ne ""} {
|
|
104
|
-
return $c
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return ""
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
### Grabs.
|
|
111
|
-
#
|
|
112
|
-
# Rules:
|
|
113
|
-
# Each call to [grabWindow $w] or [globalGrab $w] must be
|
|
114
|
-
# matched with a call to [releaseGrab $w] in LIFO order.
|
|
115
|
-
#
|
|
116
|
-
# Do not call [grabWindow $w] for a window that currently
|
|
117
|
-
# appears on the grab stack.
|
|
118
|
-
#
|
|
119
|
-
# See #1239190 and #1411983 for more discussion.
|
|
120
|
-
#
|
|
121
|
-
namespace eval ttk {
|
|
122
|
-
variable Grab ;# map: window name -> grab token
|
|
123
|
-
|
|
124
|
-
# grab token details:
|
|
125
|
-
# Two-element list containing:
|
|
126
|
-
# 1) a script to evaluate to restore the previous grab (if any);
|
|
127
|
-
# 2) a script to evaluate to restore the focus (if any)
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
## SaveGrab --
|
|
131
|
-
# Record current grab and focus windows.
|
|
132
|
-
#
|
|
133
|
-
proc ttk::SaveGrab {w} {
|
|
134
|
-
variable Grab
|
|
135
|
-
|
|
136
|
-
if {[info exists Grab($w)]} {
|
|
137
|
-
# $w is already on the grab stack.
|
|
138
|
-
# This should not happen, but bail out in case it does anyway:
|
|
139
|
-
#
|
|
140
|
-
return
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
set restoreGrab [set restoreFocus ""]
|
|
144
|
-
|
|
145
|
-
set grabbed [grab current $w]
|
|
146
|
-
if {[winfo exists $grabbed]} {
|
|
147
|
-
switch [grab status $grabbed] {
|
|
148
|
-
global { set restoreGrab [list grab -global $grabbed] }
|
|
149
|
-
local { set restoreGrab [list grab $grabbed] }
|
|
150
|
-
none { ;# grab window is really in a different interp }
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
set focus [focus]
|
|
155
|
-
if {$focus ne ""} {
|
|
156
|
-
set restoreFocus [list focus -force $focus]
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
set Grab($w) [list $restoreGrab $restoreFocus]
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
## RestoreGrab --
|
|
163
|
-
# Restore previous grab and focus windows.
|
|
164
|
-
# If called more than once without an intervening [SaveGrab $w],
|
|
165
|
-
# does nothing.
|
|
166
|
-
#
|
|
167
|
-
proc ttk::RestoreGrab {w} {
|
|
168
|
-
variable Grab
|
|
169
|
-
|
|
170
|
-
if {![info exists Grab($w)]} { # Ignore
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
# The previous grab/focus window may have been destroyed,
|
|
175
|
-
# unmapped, or some other abnormal condition; ignore any errors.
|
|
176
|
-
#
|
|
177
|
-
foreach script $Grab($w) {
|
|
178
|
-
catch $script
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
unset Grab($w)
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
## ttk::grabWindow $w --
|
|
185
|
-
# Records the current focus and grab windows, sets an application-modal
|
|
186
|
-
# grab on window $w.
|
|
187
|
-
#
|
|
188
|
-
proc ttk::grabWindow {w} {
|
|
189
|
-
SaveGrab $w
|
|
190
|
-
grab $w
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
## ttk::globalGrab $w --
|
|
194
|
-
# Same as grabWindow, but sets a global grab on $w.
|
|
195
|
-
#
|
|
196
|
-
proc ttk::globalGrab {w} {
|
|
197
|
-
SaveGrab $w
|
|
198
|
-
grab -global $w
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
## ttk::releaseGrab --
|
|
202
|
-
# Release the grab previously set by [ttk::grabWindow]
|
|
203
|
-
# or [ttk::globalGrab].
|
|
204
|
-
#
|
|
205
|
-
proc ttk::releaseGrab {w} {
|
|
206
|
-
grab release $w
|
|
207
|
-
RestoreGrab $w
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
### Auto-repeat.
|
|
211
|
-
#
|
|
212
|
-
# NOTE: repeating widgets do not have -repeatdelay
|
|
213
|
-
# or -repeatinterval resources as in standard Tk;
|
|
214
|
-
# instead a single set of settings is applied application-wide.
|
|
215
|
-
# (TODO: make this user-configurable)
|
|
216
|
-
#
|
|
217
|
-
# (@@@ Windows seems to use something like 500/50 milliseconds
|
|
218
|
-
# @@@ for -repeatdelay/-repeatinterval)
|
|
219
|
-
#
|
|
220
|
-
|
|
221
|
-
namespace eval ttk {
|
|
222
|
-
variable Repeat
|
|
223
|
-
array set Repeat {
|
|
224
|
-
delay 300
|
|
225
|
-
interval 100
|
|
226
|
-
timer {}
|
|
227
|
-
script {}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
## ttk::Repeatedly --
|
|
232
|
-
# Begin auto-repeat.
|
|
233
|
-
#
|
|
234
|
-
proc ttk::Repeatedly {args} {
|
|
235
|
-
variable Repeat
|
|
236
|
-
after cancel $Repeat(timer)
|
|
237
|
-
set script [uplevel 1 [list namespace code $args]]
|
|
238
|
-
set Repeat(script) $script
|
|
239
|
-
set Repeat(timer) [after $Repeat(delay) ttk::Repeat]
|
|
240
|
-
uplevel #0 $script
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
## Repeat --
|
|
244
|
-
# Continue auto-repeat
|
|
245
|
-
#
|
|
246
|
-
proc ttk::Repeat {} {
|
|
247
|
-
variable Repeat
|
|
248
|
-
set Repeat(timer) [after $Repeat(interval) ttk::Repeat]
|
|
249
|
-
uplevel #0 $Repeat(script)
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
## ttk::CancelRepeat --
|
|
253
|
-
# Halt auto-repeat.
|
|
254
|
-
#
|
|
255
|
-
proc ttk::CancelRepeat {} {
|
|
256
|
-
variable Repeat
|
|
257
|
-
after cancel $Repeat(timer)
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
### Bindings.
|
|
261
|
-
#
|
|
262
|
-
|
|
263
|
-
## ttk::copyBindings $from $to --
|
|
264
|
-
# Utility routine; copies bindings from one bindtag onto another.
|
|
265
|
-
#
|
|
266
|
-
proc ttk::copyBindings {from to} {
|
|
267
|
-
foreach event [bind $from] {
|
|
268
|
-
bind $to $event [bind $from $event]
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
### Mousewheel bindings.
|
|
273
|
-
#
|
|
274
|
-
# Platform inconsistencies:
|
|
275
|
-
#
|
|
276
|
-
# MouseWheel scrolling is accelerated on X11, which is conventional
|
|
277
|
-
# for Tk and appears to be conventional for other toolkits (although
|
|
278
|
-
# Gtk+ and Qt do not appear to use as large a factor).
|
|
279
|
-
#
|
|
280
|
-
|
|
281
|
-
## ttk::bindMouseWheel $bindtag $command...
|
|
282
|
-
# Adds basic mousewheel support to $bindtag.
|
|
283
|
-
# $command will be passed two additional arguments
|
|
284
|
-
# specifying the mousewheel change and a factor.
|
|
285
|
-
#
|
|
286
|
-
|
|
287
|
-
proc ttk::bindMouseWheel {bindtag callback} {
|
|
288
|
-
bind $bindtag <MouseWheel> "$callback %D -120.0"
|
|
289
|
-
bind $bindtag <Option-MouseWheel> "$callback %D -12.0"
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
## Mousewheel bindings for standard scrollable widgets.
|
|
293
|
-
#
|
|
294
|
-
|
|
295
|
-
bind TtkScrollable <MouseWheel> \
|
|
296
|
-
{ tk::MouseWheel %W y %D -40.0 }
|
|
297
|
-
bind TtkScrollable <Option-MouseWheel> \
|
|
298
|
-
{ tk::MouseWheel %W y %D -12.0 }
|
|
299
|
-
bind TtkScrollable <Shift-MouseWheel> \
|
|
300
|
-
{ tk::MouseWheel %W x %D -40.0 }
|
|
301
|
-
bind TtkScrollable <Shift-Option-MouseWheel> \
|
|
302
|
-
{ tk::MouseWheel %W x %D -12.0 }
|
|
303
|
-
|
|
304
|
-
## Touchpad scrolling
|
|
305
|
-
#
|
|
306
|
-
bind TtkScrollable <TouchpadScroll> {
|
|
307
|
-
if {%# %% 5 == 0} {
|
|
308
|
-
lassign [tk::PreciseScrollDeltas %D] tk::Priv(deltaX) tk::Priv(deltaY)
|
|
309
|
-
if {$tk::Priv(deltaX) != 0} {
|
|
310
|
-
%W xview scroll [expr {-$tk::Priv(deltaX)}] units
|
|
311
|
-
}
|
|
312
|
-
if {$tk::Priv(deltaY) != 0} {
|
|
313
|
-
%W yview scroll [expr {-$tk::Priv(deltaY)}] units
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
#*EOF*
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Settings for Microsoft Windows Vista and Server 2008
|
|
3
|
-
#
|
|
4
|
-
|
|
5
|
-
# The Vista theme can only be defined on Windows Vista and above. The theme
|
|
6
|
-
# is created in C due to the need to assign a theme-enabled function for
|
|
7
|
-
# detecting when themeing is disabled. On systems that cannot support the
|
|
8
|
-
# Vista theme, there will be no such theme created and we must not
|
|
9
|
-
# evaluate this script.
|
|
10
|
-
|
|
11
|
-
if {"vista" ni [ttk::style theme names]} {
|
|
12
|
-
return
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
namespace eval ttk::theme::vista {
|
|
16
|
-
|
|
17
|
-
ttk::style theme settings vista {
|
|
18
|
-
|
|
19
|
-
ttk::style configure . \
|
|
20
|
-
-background SystemButtonFace \
|
|
21
|
-
-foreground SystemWindowText \
|
|
22
|
-
-selectforeground SystemHighlightText \
|
|
23
|
-
-selectbackground SystemHighlight \
|
|
24
|
-
-insertcolor SystemWindowText \
|
|
25
|
-
-font TkDefaultFont
|
|
26
|
-
|
|
27
|
-
ttk::style map "." -foreground {disabled SystemGrayText}
|
|
28
|
-
|
|
29
|
-
ttk::style configure TButton -anchor center -padding 0.75p -width -11
|
|
30
|
-
ttk::style configure TRadiobutton -padding 1.5p
|
|
31
|
-
ttk::style configure TCheckbutton -padding 1.5p
|
|
32
|
-
ttk::style configure TMenubutton -padding {6p 3p}
|
|
33
|
-
|
|
34
|
-
ttk::style element create Menubutton.dropdown vsapi \
|
|
35
|
-
TOOLBAR 4 {{selected active} 6 {selected !active} 5
|
|
36
|
-
disabled 4 pressed 3 active 2 {} 1} \
|
|
37
|
-
-syssize {SM_CXVSCROLL SM_CYVSCROLL}
|
|
38
|
-
|
|
39
|
-
# Label and Toolbutton
|
|
40
|
-
ttk::style configure TLabelframe.Label -foreground SystemButtonText
|
|
41
|
-
|
|
42
|
-
ttk::style configure Toolbutton -padding 3p
|
|
43
|
-
|
|
44
|
-
# Combobox
|
|
45
|
-
ttk::style configure TCombobox -padding 1.5p
|
|
46
|
-
ttk::style element create Combobox.border vsapi \
|
|
47
|
-
COMBOBOX 4 {disabled 4 focus 3 active 2 hover 2 {} 1}
|
|
48
|
-
ttk::style element create Combobox.background vsapi \
|
|
49
|
-
EDIT 3 {disabled 3 readonly 5 focus 4 hover 2 {} 1}
|
|
50
|
-
ttk::style element create Combobox.rightdownarrow vsapi \
|
|
51
|
-
COMBOBOX 6 {disabled 4 pressed 3 active 2 {} 1} \
|
|
52
|
-
-syssize {SM_CXVSCROLL SM_CYVSCROLL}
|
|
53
|
-
ttk::style layout TCombobox {
|
|
54
|
-
Combobox.border -sticky nswe -border 0 -children {
|
|
55
|
-
Combobox.rightdownarrow -side right -sticky ns
|
|
56
|
-
Combobox.padding -sticky nswe -children {
|
|
57
|
-
Combobox.background -sticky nswe -children {
|
|
58
|
-
Combobox.focus -sticky nswe -children {
|
|
59
|
-
Combobox.textarea -sticky nswe
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
# Vista.Combobox droplist frame
|
|
66
|
-
ttk::style element create ComboboxPopdownFrame.background vsapi\
|
|
67
|
-
LISTBOX 3 {disabled 4 active 3 focus 2 {} 1}
|
|
68
|
-
ttk::style layout ComboboxPopdownFrame {
|
|
69
|
-
ComboboxPopdownFrame.background -sticky news -border 1 -children {
|
|
70
|
-
ComboboxPopdownFrame.padding -sticky news
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
ttk::style map TCombobox \
|
|
74
|
-
-selectbackground [list !focus SystemWindow] \
|
|
75
|
-
-selectforeground [list !focus SystemWindowText] \
|
|
76
|
-
-foreground [list \
|
|
77
|
-
disabled SystemGrayText \
|
|
78
|
-
{readonly focus} SystemHighlightText \
|
|
79
|
-
] \
|
|
80
|
-
-focusfill [list {readonly focus} SystemHighlight]
|
|
81
|
-
|
|
82
|
-
# Entry
|
|
83
|
-
ttk::style configure TEntry -padding {1 1 1 1} ;# Needs lookup
|
|
84
|
-
ttk::style element create Entry.field vsapi \
|
|
85
|
-
EDIT 6 {disabled 4 focus 3 hover 2 {} 1} -padding {2 2 2 2}
|
|
86
|
-
ttk::style element create Entry.background vsapi \
|
|
87
|
-
EDIT 3 {disabled 3 readonly 3 focus 4 hover 2 {} 1}
|
|
88
|
-
ttk::style layout TEntry {
|
|
89
|
-
Entry.field -sticky news -border 0 -children {
|
|
90
|
-
Entry.background -sticky news -children {
|
|
91
|
-
Entry.padding -sticky news -children {
|
|
92
|
-
Entry.textarea -sticky news
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
ttk::style map TEntry \
|
|
98
|
-
-selectbackground [list !focus SystemWindow] \
|
|
99
|
-
-selectforeground [list !focus SystemWindowText]
|
|
100
|
-
|
|
101
|
-
# Spinbox
|
|
102
|
-
ttk::style configure TSpinbox -padding 0
|
|
103
|
-
ttk::style element create Spinbox.field vsapi \
|
|
104
|
-
EDIT 9 {disabled 4 focus 3 hover 2 {} 1} -padding {1 1 1 2}
|
|
105
|
-
ttk::style element create Spinbox.background vsapi \
|
|
106
|
-
EDIT 3 {disabled 3 readonly 3 focus 4 hover 2 {} 1}
|
|
107
|
-
ttk::style element create Spinbox.innerbg vsapi \
|
|
108
|
-
EDIT 3 {disabled 3 readonly 3 focus 4 hover 2 {} 1}\
|
|
109
|
-
-padding {2 0 15 2}
|
|
110
|
-
ttk::style element create Spinbox.uparrow vsapi \
|
|
111
|
-
SPIN 1 {disabled 4 pressed 3 active 2 {} 1} \
|
|
112
|
-
-padding 1 -halfheight 1 \
|
|
113
|
-
-syssize { SM_CXVSCROLL SM_CYVSCROLL }
|
|
114
|
-
ttk::style element create Spinbox.downarrow vsapi \
|
|
115
|
-
SPIN 2 {disabled 4 pressed 3 active 2 {} 1} \
|
|
116
|
-
-padding 1 -halfheight 1 \
|
|
117
|
-
-syssize { SM_CXVSCROLL SM_CYVSCROLL }
|
|
118
|
-
ttk::style layout TSpinbox {
|
|
119
|
-
Spinbox.field -sticky nswe -children {
|
|
120
|
-
Spinbox.background -sticky news -children {
|
|
121
|
-
Spinbox.padding -sticky news -children {
|
|
122
|
-
Spinbox.innerbg -sticky news -children {
|
|
123
|
-
Spinbox.textarea
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
Spinbox.uparrow -side top -sticky ens
|
|
127
|
-
Spinbox.downarrow -side bottom -sticky ens
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
ttk::style map TSpinbox \
|
|
132
|
-
-selectbackground [list !focus SystemWindow] \
|
|
133
|
-
-selectforeground [list !focus SystemWindowText]
|
|
134
|
-
|
|
135
|
-
# Scrollbar elements (Vista includes a state for 'hover')
|
|
136
|
-
ttk::style element create Vertical.Scrollbar.uparrow vsapi \
|
|
137
|
-
SCROLLBAR 1 {disabled 4 pressed 3 active 2 hover 17 {} 1} \
|
|
138
|
-
-syssize {SM_CXVSCROLL SM_CYVSCROLL}
|
|
139
|
-
ttk::style element create Vertical.Scrollbar.downarrow vsapi \
|
|
140
|
-
SCROLLBAR 1 {disabled 8 pressed 7 active 6 hover 18 {} 5} \
|
|
141
|
-
-syssize {SM_CXVSCROLL SM_CYVSCROLL}
|
|
142
|
-
ttk::style element create Vertical.Scrollbar.trough vsapi \
|
|
143
|
-
SCROLLBAR 7 {disabled 4 pressed 3 active 2 hover 5 {} 1}
|
|
144
|
-
ttk::style element create Vertical.Scrollbar.thumb vsapi \
|
|
145
|
-
SCROLLBAR 3 {disabled 4 pressed 3 active 2 hover 5 {} 1} \
|
|
146
|
-
-syssize {SM_CXVSCROLL SM_CYVSCROLL}
|
|
147
|
-
ttk::style element create Vertical.Scrollbar.grip vsapi \
|
|
148
|
-
SCROLLBAR 9 {disabled 4 pressed 3 active 2 hover 5 {} 1} \
|
|
149
|
-
-syssize {SM_CXVSCROLL SM_CYVSCROLL}
|
|
150
|
-
ttk::style element create Horizontal.Scrollbar.leftarrow vsapi \
|
|
151
|
-
SCROLLBAR 1 {disabled 12 pressed 11 active 10 hover 19 {} 9} \
|
|
152
|
-
-syssize {SM_CXHSCROLL SM_CYHSCROLL}
|
|
153
|
-
ttk::style element create Horizontal.Scrollbar.rightarrow vsapi \
|
|
154
|
-
SCROLLBAR 1 {disabled 16 pressed 15 active 14 hover 20 {} 13} \
|
|
155
|
-
-syssize {SM_CXHSCROLL SM_CYHSCROLL}
|
|
156
|
-
ttk::style element create Horizontal.Scrollbar.trough vsapi \
|
|
157
|
-
SCROLLBAR 5 {disabled 4 pressed 3 active 2 hover 5 {} 1}
|
|
158
|
-
ttk::style element create Horizontal.Scrollbar.thumb vsapi \
|
|
159
|
-
SCROLLBAR 2 {disabled 4 pressed 3 active 2 hover 5 {} 1} \
|
|
160
|
-
-syssize {SM_CXHSCROLL SM_CYHSCROLL}
|
|
161
|
-
ttk::style element create Horizontal.Scrollbar.grip vsapi \
|
|
162
|
-
SCROLLBAR 8 {disabled 4 pressed 3 active 2 hover 5 {} 1}
|
|
163
|
-
|
|
164
|
-
# Notebook
|
|
165
|
-
ttk::style configure TNotebook -tabmargins {2 2 2 0}
|
|
166
|
-
ttk::style map TNotebook.Tab -expand {selected {2 2 2 2}}
|
|
167
|
-
|
|
168
|
-
# Progressbar
|
|
169
|
-
ttk::style element create Horizontal.Progressbar.pbar vsapi \
|
|
170
|
-
PROGRESS 3 {{} 1} -padding 8
|
|
171
|
-
ttk::style layout Horizontal.TProgressbar {
|
|
172
|
-
Horizontal.Progressbar.trough -sticky nswe -children {
|
|
173
|
-
Horizontal.Progressbar.pbar -side left -sticky ns
|
|
174
|
-
Horizontal.Progressbar.ctext -sticky nesw
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
ttk::style element create Vertical.Progressbar.pbar vsapi \
|
|
178
|
-
PROGRESS 3 {{} 1} -padding 8
|
|
179
|
-
ttk::style layout Vertical.TProgressbar {
|
|
180
|
-
Vertical.Progressbar.trough -sticky nswe -children {
|
|
181
|
-
Vertical.Progressbar.pbar -side bottom -sticky we
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
# Scale
|
|
186
|
-
ttk::style element create Horizontal.Scale.slider vsapi \
|
|
187
|
-
TRACKBAR 3 {disabled 5 focus 4 pressed 3 active 2 {} 1} \
|
|
188
|
-
-width 6 -height 12
|
|
189
|
-
ttk::style layout Horizontal.TScale {
|
|
190
|
-
Scale.focus -sticky nswe -children {
|
|
191
|
-
Horizontal.Scale.trough -sticky nswe -children {
|
|
192
|
-
Horizontal.Scale.track -sticky we
|
|
193
|
-
Horizontal.Scale.slider -side left -sticky {}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
ttk::style element create Vertical.Scale.slider vsapi \
|
|
198
|
-
TRACKBAR 6 {disabled 5 focus 4 pressed 3 active 2 {} 1} \
|
|
199
|
-
-width 12 -height 6
|
|
200
|
-
ttk::style layout Vertical.TScale {
|
|
201
|
-
Scale.focus -sticky nswe -children {
|
|
202
|
-
Vertical.Scale.trough -sticky nswe -children {
|
|
203
|
-
Vertical.Scale.track -sticky ns
|
|
204
|
-
Vertical.Scale.slider -side top -sticky {}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
# Treeview
|
|
210
|
-
ttk::style configure Heading -font TkHeadingFont
|
|
211
|
-
ttk::style configure Item -padding {3p 0 0 0}
|
|
212
|
-
ttk::style configure Treeview -background SystemWindow \
|
|
213
|
-
-stripedbackground System3dLight -indent 15p
|
|
214
|
-
ttk::setTreeviewRowHeight
|
|
215
|
-
ttk::style configure Treeview.Separator \
|
|
216
|
-
-background System3dLight
|
|
217
|
-
# The treeview uses the "background" state for
|
|
218
|
-
# selected items when the widget has lost the focus.
|
|
219
|
-
ttk::style map Treeview \
|
|
220
|
-
-background [list disabled SystemButtonFace \
|
|
221
|
-
background #d9d9d9 \
|
|
222
|
-
selected SystemHighlight] \
|
|
223
|
-
-foreground [list disabled SystemGrayText \
|
|
224
|
-
background SystemWindowText \
|
|
225
|
-
selected SystemHighlightText]
|
|
226
|
-
|
|
227
|
-
package provide ttk::theme::vista 1.0
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
# ttk::theme::vista::configureNotebookStyle --
|
|
232
|
-
#
|
|
233
|
-
# Sets theme-specific option values for the ttk::notebook style $style and the
|
|
234
|
-
# style $style.Tab. Invoked by ::ttk::configureNotebookStyle.
|
|
235
|
-
|
|
236
|
-
proc ttk::theme::vista::configureNotebookStyle {style} {
|
|
237
|
-
set tabPos [ttk::style lookup $style -tabposition {} nw]
|
|
238
|
-
switch -- [string index $tabPos 0] {
|
|
239
|
-
n {
|
|
240
|
-
ttk::style configure $style -tabmargins {2 2 2 0}
|
|
241
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 2}}
|
|
242
|
-
}
|
|
243
|
-
s {
|
|
244
|
-
ttk::style configure $style -tabmargins {2 0 2 2}
|
|
245
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 2}}
|
|
246
|
-
}
|
|
247
|
-
w {
|
|
248
|
-
ttk::style configure $style -tabmargins {2 2 0 2}
|
|
249
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 2}}
|
|
250
|
-
}
|
|
251
|
-
e {
|
|
252
|
-
ttk::style configure $style -tabmargins {0 2 2 2}
|
|
253
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 2}}
|
|
254
|
-
}
|
|
255
|
-
default {
|
|
256
|
-
ttk::style configure $style -tabmargins {2 2 2 0}
|
|
257
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 2}}
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Settings for 'winnative' theme.
|
|
3
|
-
#
|
|
4
|
-
|
|
5
|
-
namespace eval ttk::theme::winnative {
|
|
6
|
-
|
|
7
|
-
ttk::style theme settings winnative {
|
|
8
|
-
|
|
9
|
-
ttk::style configure "." \
|
|
10
|
-
-background SystemButtonFace \
|
|
11
|
-
-foreground SystemWindowText \
|
|
12
|
-
-selectforeground SystemHighlightText \
|
|
13
|
-
-selectbackground SystemHighlight \
|
|
14
|
-
-fieldbackground SystemWindow \
|
|
15
|
-
-insertcolor SystemWindowText \
|
|
16
|
-
-troughcolor SystemScrollbar \
|
|
17
|
-
-font TkDefaultFont
|
|
18
|
-
|
|
19
|
-
ttk::style map "." -foreground {disabled SystemGrayText}
|
|
20
|
-
ttk::style map "." -embossed {disabled 1}
|
|
21
|
-
|
|
22
|
-
ttk::style configure TButton \
|
|
23
|
-
-anchor center -width -11 -relief raised -shiftrelief 1
|
|
24
|
-
ttk::style map TButton -relief {{!disabled pressed} sunken}
|
|
25
|
-
|
|
26
|
-
ttk::style configure TCheckbutton -padding {1.5p 3p}
|
|
27
|
-
ttk::style configure TRadiobutton -padding {1.5p 3p}
|
|
28
|
-
|
|
29
|
-
ttk::style configure TMenubutton \
|
|
30
|
-
-padding {6p 3p} -arrowsize 2.25p -relief raised
|
|
31
|
-
|
|
32
|
-
ttk::style configure TEntry \
|
|
33
|
-
-padding 2 -insertwidth 1
|
|
34
|
-
ttk::style map TEntry \
|
|
35
|
-
-fieldbackground \
|
|
36
|
-
{readonly SystemButtonFace disabled SystemButtonFace} \
|
|
37
|
-
-selectbackground {!focus SystemWindow} \
|
|
38
|
-
-selectforeground {!focus SystemWindowText}
|
|
39
|
-
|
|
40
|
-
ttk::style configure TCombobox -padding 1.5p
|
|
41
|
-
ttk::style map TCombobox \
|
|
42
|
-
-selectbackground [list !focus SystemWindow] \
|
|
43
|
-
-selectforeground [list !focus SystemWindowText] \
|
|
44
|
-
-fieldbackground [list \
|
|
45
|
-
readonly SystemButtonFace \
|
|
46
|
-
disabled SystemButtonFace] \
|
|
47
|
-
-foreground [list \
|
|
48
|
-
disabled SystemGrayText \
|
|
49
|
-
{readonly focus} SystemHighlightText \
|
|
50
|
-
] \
|
|
51
|
-
-focusfill {{readonly focus} SystemHighlight}
|
|
52
|
-
|
|
53
|
-
ttk::style element create ComboboxPopdownFrame.border from default
|
|
54
|
-
ttk::style configure ComboboxPopdownFrame \
|
|
55
|
-
-borderwidth 1 -relief solid
|
|
56
|
-
|
|
57
|
-
ttk::style configure TSpinbox -padding {1.5p 0 12p 0}
|
|
58
|
-
|
|
59
|
-
ttk::style configure TLabelframe -borderwidth 2 -relief groove
|
|
60
|
-
|
|
61
|
-
ttk::style configure Toolbutton -relief flat -padding {6p 3p}
|
|
62
|
-
ttk::style map Toolbutton -relief \
|
|
63
|
-
{disabled flat selected sunken pressed sunken active raised}
|
|
64
|
-
|
|
65
|
-
ttk::style configure TScale -groovewidth 3p
|
|
66
|
-
|
|
67
|
-
ttk::style configure TNotebook -tabmargins {2 2 2 0}
|
|
68
|
-
ttk::style configure TNotebook.Tab -padding {2.25p 0.75p} -borderwidth 1
|
|
69
|
-
ttk::style map TNotebook.Tab -expand {selected {2 2 2 0}}
|
|
70
|
-
|
|
71
|
-
# Treeview
|
|
72
|
-
ttk::style configure Heading -font TkHeadingFont -relief raised
|
|
73
|
-
ttk::style configure Item \
|
|
74
|
-
-indicatormargins {1.5p 1.5p 3p 1.5p}
|
|
75
|
-
ttk::style configure Treeview -background SystemWindow \
|
|
76
|
-
-stripedbackground System3dLight -indent 15p
|
|
77
|
-
ttk::setTreeviewRowHeight
|
|
78
|
-
# The treeview uses the "background" state for
|
|
79
|
-
# selected items when the widget has lost the focus.
|
|
80
|
-
ttk::style map Treeview \
|
|
81
|
-
-background [list disabled SystemButtonFace \
|
|
82
|
-
background #d9d9d9 \
|
|
83
|
-
selected SystemHighlight] \
|
|
84
|
-
-foreground [list disabled SystemGrayText \
|
|
85
|
-
background SystemWindowText \
|
|
86
|
-
selected SystemHighlightText]
|
|
87
|
-
|
|
88
|
-
ttk::style configure TProgressbar \
|
|
89
|
-
-background SystemHighlight -borderwidth 0 \
|
|
90
|
-
-barsize 22.5p -thickness 11.25p
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
# ttk::theme::winnative::configureNotebookStyle --
|
|
95
|
-
#
|
|
96
|
-
# Sets theme-specific option values for the ttk::notebook style $style and the
|
|
97
|
-
# style $style.Tab. Invoked by ::ttk::configureNotebookStyle.
|
|
98
|
-
|
|
99
|
-
proc ttk::theme::winnative::configureNotebookStyle {style} {
|
|
100
|
-
set tabPos [ttk::style lookup $style -tabposition {} nw]
|
|
101
|
-
switch -- [string index $tabPos 0] {
|
|
102
|
-
n {
|
|
103
|
-
ttk::style configure $style -tabmargins {2 2 2 0}
|
|
104
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 0}}
|
|
105
|
-
}
|
|
106
|
-
s {
|
|
107
|
-
ttk::style configure $style -tabmargins {2 0 2 2}
|
|
108
|
-
ttk::style map $style.Tab -expand {selected {2 0 2 2}}
|
|
109
|
-
}
|
|
110
|
-
w {
|
|
111
|
-
ttk::style configure $style -tabmargins {2 2 0 2}
|
|
112
|
-
ttk::style map $style.Tab -expand {selected {2 2 0 2}}
|
|
113
|
-
}
|
|
114
|
-
e {
|
|
115
|
-
ttk::style configure $style -tabmargins {0 2 2 2}
|
|
116
|
-
ttk::style map $style.Tab -expand {selected {0 2 2 2}}
|
|
117
|
-
}
|
|
118
|
-
default {
|
|
119
|
-
ttk::style configure $style -tabmargins {2 2 2 0}
|
|
120
|
-
ttk::style map $style.Tab -expand {selected {2 2 2 0}}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|