/external/python/cpython2/Demo/tkinter/guido/ |
wish.py | 6 tk = _tkinter.create(os.environ['DISPLAY'], 'wish', 'Tk', 1) variable 7 tk.call('update') 19 if tk.getboolean(tk.call('info', 'complete', cmd)): 20 tk.record(line) 22 result = tk.call('eval', cmd)
|
electrons.py | 24 self.tk = tk = Tk() 25 self.canvas = c = Canvas(tk) 27 width, height = tk.getint(c['width']), tk.getint(c['height']) 41 self.tk.update() 49 self.tk.update() 58 self.tk.destroy() 76 # Reverse meaning of leading '@' compared to Tk [all...] |
listtree.py | 19 children = list.tk.splitlist( 29 tk = Tk() 30 tk.minsize(1, 1) 31 f = Frame(tk, name='f') 34 tk.mainloop()
|
/external/python/cpython2/Demo/tix/ |
grid.py | 2 import Tix as tk 5 r= tk.Tk() 8 l=tk.Label(r, name="a_label") 11 class MyGrid(tk.Grid): 14 tk.Grid.__init__(self, *args, **kwargs) 20 g.pack(fill=tk.BOTH) 25 c = tk.Button(r, text="Close", command=r.destroy) 28 tk.mainloop()
|
/external/javassist/src/main/javassist/compiler/ |
Lex.java | 70 Token tk = lookAheadTokens; local 71 if (tk == null) { 72 lookAheadTokens = tk = currentToken; // reuse an object! 73 tk.next = null; 74 get(tk); 77 for (; i-- > 0; tk = tk.next) 78 if (tk.next == null) { 80 tk.next = tk2 = new Token(); 84 currentToken = tk; [all...] |
/external/python/cpython2/Lib/lib-tk/ |
Tkinter.py | 1 """Wrapper functions for Tcl/Tk. 4 control of widgets. Toplevel widgets are Tk and Toplevel. Other 11 under Tk. 23 tk = Tkinter.Tk() 24 frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2) 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 30 tk.mainloop() 37 # Attempt to configure Tcl/Tk without requiring PATH 39 import _tkinter # If this fails your Python may not be configured for Tk [all...] |
Tix.py | 36 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher" 38 import _tkinter # If this fails your Python may not be configured for Tk 86 This is a mixin class, assumed to be mixed to Tkinter.Tk 87 that supports the self.tk.call method. 100 return self.tk.call('tix', 'addbitmapdir', directory) 107 return self.tk.call('tix', 'cget', option) 129 return self.tk.call(('tix', 'configure') + self._options(cnf)) 141 return self.tk.call('tix', 'filedialog', dlgclass) 143 return self.tk.call('tix', 'filedialog') 152 option of the TK and Tix widgets [all...] |
ttk.py | 3 This module provides classes to allow using Tk themed widget set. 6 TIP #48 (http://tip.tcl.tk/48) specified style engine. 31 # Verify if Tk is new enough to not need the Tile package 42 master.tk.eval( 46 master.tk.eval('package require tile') # TclError may be raised here 52 # if caller passes a Tcl script to tk.call, all the values need to 60 """Formats optdict to a tuple to pass it to tk.call. 101 """Formats mapdict to pass it to tk.call. 134 # Availability: Tk 8.6, Windows XP and Vista. 262 def _list_from_layouttuple(tk, ltuple) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
Tkinter.py | 1 """Wrapper functions for Tcl/Tk. 4 control of widgets. Toplevel widgets are Tk and Toplevel. Other 11 under Tk. 23 tk = Tkinter.Tk() 24 frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2) 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 30 tk.mainloop() 37 # Attempt to configure Tcl/Tk without requiring PATH 39 import _tkinter # If this fails your Python may not be configured for Tk [all...] |
Tix.py | 34 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher" 36 import _tkinter # If this fails your Python may not be configured for Tk 85 This is a mixin class, assumed to be mixed to Tkinter.Tk 86 that supports the self.tk.call method. 99 return self.tk.call('tix', 'addbitmapdir', directory) 106 return self.tk.call('tix', 'cget', option) 126 for x in self.tk.split(self.tk.call('tix', 'configure')): 130 x = self.tk.split(self.tk.call('tix', 'configure', '-'+cnf) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
Tkinter.py | 1 """Wrapper functions for Tcl/Tk. 4 control of widgets. Toplevel widgets are Tk and Toplevel. Other 11 under Tk. 23 tk = Tkinter.Tk() 24 frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2) 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 30 tk.mainloop() 37 # Attempt to configure Tcl/Tk without requiring PATH 39 import _tkinter # If this fails your Python may not be configured for Tk [all...] |
Tix.py | 34 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher" 36 import _tkinter # If this fails your Python may not be configured for Tk 85 This is a mixin class, assumed to be mixed to Tkinter.Tk 86 that supports the self.tk.call method. 99 return self.tk.call('tix', 'addbitmapdir', directory) 106 return self.tk.call('tix', 'cget', option) 126 for x in self.tk.split(self.tk.call('tix', 'configure')): 130 x = self.tk.split(self.tk.call('tix', 'configure', '-'+cnf) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Tkinter.py | 1 """Wrapper functions for Tcl/Tk. 4 control of widgets. Toplevel widgets are Tk and Toplevel. Other 11 under Tk. 23 tk = Tkinter.Tk() 24 frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2) 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 30 tk.mainloop() 37 # Attempt to configure Tcl/Tk without requiring PATH 39 import _tkinter # If this fails your Python may not be configured for Tk [all...] |
Tix.py | 34 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher" 36 import _tkinter # If this fails your Python may not be configured for Tk 85 This is a mixin class, assumed to be mixed to Tkinter.Tk 86 that supports the self.tk.call method. 99 return self.tk.call('tix', 'addbitmapdir', directory) 106 return self.tk.call('tix', 'cget', option) 126 for x in self.tk.split(self.tk.call('tix', 'configure')): 130 x = self.tk.split(self.tk.call('tix', 'configure', '-'+cnf) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Tkinter.py | 1 """Wrapper functions for Tcl/Tk. 4 control of widgets. Toplevel widgets are Tk and Toplevel. Other 11 under Tk. 23 tk = Tkinter.Tk() 24 frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2) 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 30 tk.mainloop() 37 # Attempt to configure Tcl/Tk without requiring PATH 39 import _tkinter # If this fails your Python may not be configured for Tk [all...] |
Tix.py | 34 raise ImportError, "This version of Tix.py requires Tk 4.0 or higher" 36 import _tkinter # If this fails your Python may not be configured for Tk 85 This is a mixin class, assumed to be mixed to Tkinter.Tk 86 that supports the self.tk.call method. 99 return self.tk.call('tix', 'addbitmapdir', directory) 106 return self.tk.call('tix', 'cget', option) 126 for x in self.tk.split(self.tk.call('tix', 'configure')): 130 x = self.tk.split(self.tk.call('tix', 'configure', '-'+cnf) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
nuances.rb | 24 tokens = lexer.each { |tk| tk } 44 tks = lexer.map { |tk| tk }
|
/external/python/cpython2/Lib/idlelib/ |
WidgetRedirector.py | 7 Some Tk operations don't normally pass through tkinter. For example, if a 8 character is inserted into a Text widget by pressing a key, a default Tk 9 binding to the widget's 'insert' operation is activated, and the Tk library 13 to do is to hook the Tk 'insert' operation itself. For one thing, we want 21 instance that represents the tk widget. 26 original Tk widget operation. 33 tk: widget.tk, a convenience attribute, probably not needed. 41 self.tk = tk = widget.tk # widget's roo [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
WidgetRedirector.py | 7 Some Tk operations don't normally pass through Tkinter. For example, if a 8 character is inserted into a Text widget by pressing a key, a default Tk 9 binding to the widget's 'insert' operation is activated, and the Tk library 13 to do is to hook the Tk 'insert' operation itself. 23 Tk widget operation. 29 self.tk = tk = widget.tk # widget's root 30 w = widget._w # widget's (full) Tk pathname 33 tk.call("rename", w, self.orig [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
WidgetRedirector.py | 7 Some Tk operations don't normally pass through Tkinter. For example, if a 8 character is inserted into a Text widget by pressing a key, a default Tk 9 binding to the widget's 'insert' operation is activated, and the Tk library 13 to do is to hook the Tk 'insert' operation itself. 23 Tk widget operation. 29 self.tk = tk = widget.tk # widget's root 30 w = widget._w # widget's (full) Tk pathname 33 tk.call("rename", w, self.orig [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
WidgetRedirector.py | 7 Some Tk operations don't normally pass through Tkinter. For example, if a 8 character is inserted into a Text widget by pressing a key, a default Tk 9 binding to the widget's 'insert' operation is activated, and the Tk library 13 to do is to hook the Tk 'insert' operation itself. 23 Tk widget operation. 29 self.tk = tk = widget.tk # widget's root 30 w = widget._w # widget's (full) Tk pathname 33 tk.call("rename", w, self.orig [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
WidgetRedirector.py | 7 Some Tk operations don't normally pass through Tkinter. For example, if a 8 character is inserted into a Text widget by pressing a key, a default Tk 9 binding to the widget's 'insert' operation is activated, and the Tk library 13 to do is to hook the Tk 'insert' operation itself. 23 Tk widget operation. 29 self.tk = tk = widget.tk # widget's root 30 w = widget._w # widget's (full) Tk pathname 33 tk.call("rename", w, self.orig [all...] |
/external/wpa_supplicant_8/src/crypto/ |
md5.c | 30 u8 tk[16]; local 45 if (md5_vector(1, &key, &key_len, tk)) 47 key = tk; 91 os_memset(tk, 0, sizeof(tk));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
ATokPtr.h | 86 #define mytoken(tk) ((ANTLRToken *)(tk.operator->()))
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
ATokPtr.h | 86 #define mytoken(tk) ((ANTLRToken *)(tk.operator->()))
|