Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
/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 …]
/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 …]
/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)
/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)
/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 …]
Dtk.rst13 Tk/Tcl has long been an integral part of Python. It provides a robust and
18 The :mod:`Tkinter` module is a thin object-oriented layer on top of Tcl/Tk. To
19 use :mod:`Tkinter`, you don't need to write Tcl code, but you will need to
20 consult the Tk documentation, and occasionally the Tcl documentation.
23 mechanism which allows Python and Tcl to interact.
/external/google-breakpad/src/third_party/libdisasm/swig/
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 …]
/external/google-breakpad/src/third_party/libdisasm/swig/tcl/
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 . $<
/external/python/cpython2/Demo/tix/
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
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 …]
/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 …]
/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
/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 …]
/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.
/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.
/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 …]
/external/python/cpython3/.azure-pipelines/
Dtcltk-build.yml1 name: tcl$(TkSourceTag)_$(Date:yyyyMMdd)$(Rev:.rr)
12 # TclSourceTag: 'tcl-core-8.6.12.0'
18 displayName: 'Tcl/Tk'
31 displayName: 'Check out Tcl sources'
52 … & "$(msbuild)" PCbuild\tcl.vcxproj "@msbuild.rsp" /p:Platform=Win32 /p:tcltkDir="$(OutDir)\win32"
58 … & "$(msbuild)" PCbuild\tcl.vcxproj "@msbuild.rsp" /p:Platform=x64 /p:tcltkDir="$(OutDir)\amd64"
64 … & "$(msbuild)" PCbuild\tcl.vcxproj "@msbuild.rsp" /p:Platform=ARM64 /p:tcltkDir="$(OutDir)\arm64"
/external/python/cpython2/PC/VC6/
Dbuild_tkinter.py17 TCL_DIR = abspath("tcl%d.%d.%d" % (TCL_MAJOR, TCL_MINOR, TCL_PATCH))
32 tcl = have_args("tcl")
35 if not(tcl) and not(tk) and not(tix):
36 tcl = tk = tix = True
43 if tcl:
/external/python/cpython3/Doc/faq/
Dgui.rst20 Standard builds of Python include an object-oriented interface to the Tcl/Tk
25 `Tcl/Tk home page <https://www.tcl.tk>`_. Tcl/Tk is fully portable to the
43 will still need the Tcl and Tk libraries.
45 One solution is to ship the application with the Tcl and Tk libraries, and point
49 To get truly stand-alone applications, the Tcl scripts that form the library
/external/clang/test/Modules/
Ddarwin_specific_modulemap_hacks.m6 @import Tcl.Private; // no error, header is implicitly 'textual'
12 #error tcl-private/header.h should be textual
16 #import <tcl-private/header.h>
21 #error tcl-private/header.h missing
/external/python/cpython3/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
/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>>...20