Home
last modified time | relevance | path

Searched full:tcl (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_tcl.py16 from tkinter import Tcl
30 tcl = Tcl()
31 _tk_patchlevel = tcl.info_patchlevel()
51 self.interp = Tcl()
55 tcl = self.interp
56 tcl.eval('set a 1')
57 self.assertEqual(tcl.eval('set a'),'1')
60 tcl = self.interp
61 self.assertEqual(tcl.eval('set a "a\\0b"'), 'a\x00b')
64 tcl = self.interp
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_tcl.py12 from Tkinter import Tcl
26 tcl = Tcl()
27 patchlevel = tcl.call('info', 'patchlevel')
49 self.interp = Tcl()
53 tcl = self.interp
54 tcl.eval('set a 1')
55 self.assertEqual(tcl.eval('set a'),'1')
58 tcl = self.interp
59 self.assertRaises(TclError,tcl.eval,'set a')
62 tcl = self.interp
[all …]
/aosp_15_r20/prebuilts/cmake/linux-x86/share/cmake-3.22/Modules/
DFindTCL.cmake10 This module finds if Tcl is installed and determines where the include
16 TCL_FOUND = Tcl was found
18 TCLTK_FOUND = Tcl and Tk were found
19 TCL_LIBRARY = path to Tcl library (tcl tcl80)
20 TCL_INCLUDE_PATH = path to where tcl.h can be found
21 TCL_TCLSH = path to tclsh binary (tcl tcl80)
29 people who are not necessarily Tcl/Tk gurus/developers, some
34 => they were only useful for people writing Tcl/Tk extensions.
35 => these libs are not packaged by default with Tcl/Tk distributions.
36 Even when Tcl/Tk is built from source, several flavors of debug libs
[all …]
DFindTclStub.cmake10 This module finds Tcl stub libraries. It first finds Tcl include
11 files and libraries by calling FindTCL.cmake. How to Use the Tcl
16 http://tcl.activestate.com/doc/howto/stubs.html
28 TCL_STUB_LIBRARY = path to Tcl stub library
35 people who are not necessarily Tcl/Tk gurus/developers, some
40 => these libs are not packaged by default with Tcl/Tk distributions.
41 Even when Tcl/Tk is built from source, several flavors of debug libs
45 TCL_STUB_LIBRARY to any Tcl library, debug or not.
66 "^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_LIBRARY_VERSION "${TCL_LIBRARY}")
89 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
[all …]
DFindTclsh.cmake10 This module finds if TCL is installed and determines where the include
31 "^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_LIBRARY_VERSION "${TCL_LIBRARY}")
53 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/bin"
54 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/bin"
55 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/bin"
56 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/bin"
57 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/bin"
58 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin"
88 if (CMAKE_FIND_PACKAGE_NAME STREQUAL "TCL" OR
DFindWish.cmake10 This module finds if TCL is installed and determines where the include
38 "^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_LIBRARY_VERSION "${TCL_LIBRARY}")
60 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/bin"
61 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/bin"
62 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/bin"
63 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/bin"
64 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/bin"
65 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin"
/aosp_15_r20/external/python/cpython3/Doc/library/
Dtkinter.rst1 :mod:`tkinter` --- Python interface to Tcl/Tk
5 :synopsis: Interface to Tcl/Tk for graphical user interfaces
14 the Tcl/Tk GUI toolkit. Both Tk and :mod:`tkinter` are available on most Unix
19 properly installed on your system, and also showing what version of Tcl/Tk is
20 installed, so you can read the Tcl/Tk documentation specific to that version.
22 Tkinter supports a range of Tcl/Tk versions, built either with or
23 without thread support. The official Python binary release bundles Tcl/Tk 8.6
29 additions and changes, and refer to the official Tcl/Tk documentation for
34 Tcl/Tk 8.5 (2007) introduced a modern set of themed user interface components
48 Tcl/Tk Resources:
[all …]
Dtkinter.tix.rst59 application. It has an associated Tcl interpreter.
100 .. \ulink{Balloon}{https://tix.sourceforge.net/dist/current/demos/samples/Balloon.tcl}
110 .. \ulink{ButtonBox}{https://tix.sourceforge.net/dist/current/demos/samples/BtnBox.tcl}
122 .. \ulink{ComboBox}{https://tix.sourceforge.net/dist/current/demos/samples/ComboBox.tcl}
135 .. \ulink{Control}{https://tix.sourceforge.net/dist/current/demos/samples/Control.tcl}
146 .. \ulink{LabelEntry}{https://tix.sourceforge.net/dist/current/demos/samples/LabEntry.tcl}
158 .. \ulink{LabelFrame}{https://tix.sourceforge.net/dist/current/demos/samples/LabFrame.tcl}
169 .. \ulink{Meter}{https://tix.sourceforge.net/dist/current/demos/samples/Meter.tcl}
179 .. \ulink{OptionMenu}{https://tix.sourceforge.net/dist/current/demos/samples/OptMenu.tcl}
191 .. \ulink{PopupMenu}{https://tix.sourceforge.net/dist/current/demos/samples/PopMenu.tcl}
[all …]
/aosp_15_r20/external/python/cpython2/Doc/library/
Dtix.rst56 application. It has an associated Tcl interpreter.
82 have a file called :file:`pkgIndex.tcl` (case sensitive), which contains the
112 .. \ulink{Balloon}{http://tix.sourceforge.net/dist/current/demos/samples/Balloon.tcl}
122 .. \ulink{ButtonBox}{http://tix.sourceforge.net/dist/current/demos/samples/BtnBox.tcl}
134 .. \ulink{ComboBox}{http://tix.sourceforge.net/dist/current/demos/samples/ComboBox.tcl}
147 .. \ulink{Control}{http://tix.sourceforge.net/dist/current/demos/samples/Control.tcl}
158 .. \ulink{LabelEntry}{http://tix.sourceforge.net/dist/current/demos/samples/LabEntry.tcl}
170 .. \ulink{LabelFrame}{http://tix.sourceforge.net/dist/current/demos/samples/LabFrame.tcl}
181 .. \ulink{Meter}{http://tix.sourceforge.net/dist/current/demos/samples/Meter.tcl}
191 .. \ulink{OptionMenu}{http://tix.sourceforge.net/dist/current/demos/samples/OptMenu.tcl}
[all …]
Dtkinter.rst1 :mod:`Tkinter` --- Python interface to Tcl/Tk
5 :synopsis: Interface to Tcl/Tk for graphical user interfaces
16 properly installed on your system, and also showing what version of Tcl/Tk is
17 installed, so you can read the Tcl/Tk documentation specific to that version.
51 Tcl/Tk documentation:
53 `Tk commands <https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm>`_
55 Change '8.6' to match the version of your Tcl/Tk installation.
57 `Tcl/Tk recent man pages <https://www.tcl.tk/doc/>`_
58 Recent Tcl/Tk manuals on www.tcl.tk.
60 `ActiveState Tcl Home Page <http://tcl.activestate.com/>`_
[all …]
/aosp_15_r20/external/python/cpython2/Modules/
D_tkinter.c10 /* TCL/TK VERSION INFO:
12 Only Tcl/Tk 8.3.1 and later are supported. Older versions are not
14 Tcl/Tk libraries.
17 /* XXX Further speed-up ideas, involving Tcl 8.0 features:
19 - Register a new Tcl type, "Python callable", which can be called more
54 /* Starting with Tcl 8.4, many APIs offer const-correctness. Unfortunately,
57 earlier versions. Once Tcl releases before 8.4 don't need to be supported
61 /* If Tcl is compiled for threads, we must also define TCL_THREAD. We define
62 it always; if Tcl is not threaded, the thread functions in
63 Tcl are empty. */
[all …]
/aosp_15_r20/external/python/cpython3/Modules/
D_tkinter.c10 /* TCL/TK VERSION INFO:
12 Only Tcl/Tk 8.5.12 and later are supported. Older versions are not
14 Tcl/Tk libraries.
17 /* XXX Further speed-up ideas, involving Tcl 8.0 features:
19 - Register a new Tcl type, "Python callable", which can be called more
42 /* If Tcl is compiled for threads, we must also define TCL_THREAD. We define
43 it always; if Tcl is not threaded, the thread functions in
44 Tcl are empty. */
48 #include <Tcl/tcl.h>
51 #include <tcl.h>
[all …]
/aosp_15_r20/external/python/cpython2/Demo/tix/
Dtixwidgets.py130 # To show Tcl errors - uncomment this to see the listbox bug.
131 # Tkinter defines a Tcl tkerror procedure that in effect
132 # silences all background Tcl error reporting.
147 # It blocks waiting for the next Tcl event using select.
795 ##done {f "In Buttons" CmpImg.tcl }
796 ## {f "In NoteBook" CmpImg2.tcl }
797 ## {f "Notebook Color Tabs" CmpImg4.tcl }
798 ## {f "Icons" CmpImg3.tcl }
802 ## {f "In Button" Xpm.tcl {i pixmap}}
803 ## {f "In Menu" Xpm1.tcl {i pixmap}}
[all …]
DINSTALL.txt6 0) To use Tix.py, you need Tcl/Tk (V8.3.3), Tix (V8.1.1) and Python (V2.1.1).
13 any machine with Tix and Python installed. You can get Tcl and Tk
16 1) Build and install Tcl/Tk 8.3. Build and install Tix 8.1.
21 2a) If you have a distribution like ActiveState with a tcl subdirectory
25 (tix8183.dll or libtix8.1.8.3.so) to the same place as the tcl dynamic
33 3) The default is to build dynamically, and use the Tcl 'package require'.
39 # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
41 # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
56 # *** Uncomment and edit to reflect your Tcl/Tk versions:
77 the Tcl, Tk and Tix library files. This is done by setting the
/aosp_15_r20/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_loadtk.py6 from tkinter import Tcl, TclError
14 tcl = Tcl()
15 self.assertRaises(TclError,tcl.winfo_geometry)
16 tcl.loadtk()
17 self.assertEqual('1x1+0+0', tcl.winfo_geometry())
18 tcl.destroy()
40 tcl = Tcl()
41 self.assertRaises(TclError, tcl.winfo_geometry)
42 self.assertRaises(TclError, tcl.loadtk)
/aosp_15_r20/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_loadtk.py5 from Tkinter import Tcl, TclError
13 tcl = Tcl()
14 self.assertRaises(TclError,tcl.winfo_geometry)
15 tcl.loadtk()
16 self.assertEqual('1x1+0+0', tcl.winfo_geometry())
17 tcl.destroy()
38 tcl = Tcl()
39 self.assertRaises(TclError, tcl.winfo_geometry)
40 self.assertRaises(TclError, tcl.loadtk)
/aosp_15_r20/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_browser.py99 tcl = list(transform(mock_pyclbr_tree, 'test'))
100 eq(tcl, [C0, f0])
101 eq(tcl[0].name, 'C0(base)')
102 eq(tcl[1].name, 'f0')
104 tcl = list(transform(mock_pyclbr_tree, 'test'))
105 eq(tcl[0].name, 'C0(base)')
107 tcl = list(transform(mock_pyclbr_tree, 'different name'))
108 eq(tcl, [])
114 tcl = list(transform(C0.children))
115 eq(tcl, [F1, C1])
[all …]
/aosp_15_r20/external/google-breakpad/src/third_party/libdisasm/swig/
H A DMakefile16 dummy: swig swig-python swig-ruby swig-perl swig-tcl install uninstall clean
19 # swig-rub swig-tcl
30 swig-tcl:
31 cd tcl && make -f Makefile-swig
35 # install-ruby install-tcl
46 install-tcl:
47 cd tcl && sudo make -f Makefile-swig install
51 #uninstall-ruby uninstall-perl uninstall-tcl
62 uninstall-tcl:
63 cd tcl && sudo make -f Makefile-swig uninstall
[all …]
/aosp_15_r20/external/python/cpython2/Mac/BuildScript/
Dbuild-installer.py7 - build and link with private Tcl/Tk 8.6 for 10.9+ builds
24 with its own copy of Tcl/Tk 8.5 and the rest of this paragraph does not
26 of Tcl/Tk 8.4 (for OS X 10.4 and 10.5 deployment targets) or Tcl/TK 8.5
29 Tcl and Tk frameworks in /Library/Frameworks if available otherwise fall
33 path of /Library/Frameworks/{Tcl,Tk}.framework/Versions/Current.
186 # '/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl',
190 # Are we building and linking with our own copy of Tcl/TK?
226 name="Tcl 8.6.8",
227 url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.8-src.tar.gz",
243 url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.8-src.tar.gz",
[all …]
/aosp_15_r20/external/python/cpython2/Lib/idlelib/
DWidgetRedirector.py16 When a widget is instantiated, a Tcl command is created whose name is the
32 widget: the widget whose tcl command is to be intercepted.
34 orig: new name of the original tcl command.
44 # Rename the Tcl command within Tcl:
46 # Create a new Tcl command whose name is the widget's pathname, and
61 # Restore the original widget Tcl command.
99 '''Callback from Tcl which runs when the widget is referenced.
102 associated function to the args passed into Tcl. Otherwise, pass the
103 operation through to Tk via the original Tcl function.
/aosp_15_r20/external/python/cpython3/Lib/idlelib/
Dredirector.py15 When a widget is instantiated, a Tcl command is created whose name is the
31 widget: the widget whose tcl command is to be intercepted.
33 orig: new name of the original tcl command.
43 # Rename the Tcl command within Tcl:
45 # Create a new Tcl command whose name is the widget's pathname, and
60 # Restore the original widget Tcl command.
98 '''Callback from Tcl which runs when the widget is referenced.
101 associated function to the args passed into Tcl. Otherwise, pass the
102 operation through to Tk via the original Tcl function.
/aosp_15_r20/external/python/cpython3/Mac/BuildScript/
Dbuild-installer.py25 - build and use internal Tcl/Tk 8.6 for 10.6+ builds
195 # '/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl',
199 # Are we building and linking with our own copy of Tcl/TK?
205 # of Tcl/Tk or a modern version.
216 # For reasons I don't understand the tcl configure script
276 name="Tcl %s"%(tcl_tk_ver,),
277 url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl%s-src.tar.gz"%(tcl_tk_ver,),
294 url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk%s-src.tar.gz"%(tcl_tk_ver,),
538 search Tcl or Tk configuration file for version line
568 # Tcl/Tk, if we are not using building and using our own private copy of
[all …]
/aosp_15_r20/external/google-breakpad/src/third_party/libdisasm/swig/tcl/
H A DMakefile-swig25 # TCL rules
27 TCL_MOD = $(BASE_NAME)-tcl.so
30 TCL_INC = /usr/include/tcl$(TCL_VERSION)
31 TCL_LIB = /usr/lib/tcl$(TCL_VERSION)
37 all: swig-tcl
39 dummy: swig-tcl install uninstall clean
41 swig-tcl: $(TCL_MOD)
50 swig -tcl -o $(TCL_SHADOW) -outdir . $<
/aosp_15_r20/external/python/cpython2/Lib/lib-tk/
DFixTk.py8 # if we don't know the tcl version, which we cannot find out
9 # without import Tcl. Fortunately, Tcl will itself look in
10 # <TCL_LIBRARY>\..\tcl<TCL_VERSION>, so anything close to
11 # the real Tcl library will do.
49 prefix = os.path.join(sys.prefix,"tcl")
62 if name.startswith("tcl"):
67 # as Tcl
/aosp_15_r20/external/python/cpython2/Tools/freeze/
DREADME97 use Tkinter without a Tcl/Tk installation. The best way to ship a
99 to place the Tcl and Tk library files in the distributed setup, and
104 <root>/bin/windows-x86 and will place your Tcl library files
107 Tkinter or Tix would set the environment correctly for Tcl/Tk/Tix:
141 compile time - see the LIB_RUNTIME_DIR variable in the Tcl makefile.
146 A workaround to installing your Tcl library files with your frozen
147 executable would be possible, in which the Tcl/Tk library files are
151 Tcl/Tk/Tix code into the dynamic libraries using the Tcl ET code,
153 require that Tcl/Tk is required on the target installation, but be
159 The Tcl [info nameofexecutable] will be set to where the

12345678910>>...33