/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
native-messaging-example-host | 6 # A simple native messaging host. Shows a Tkinter dialog with incoming messages 15 import Tkinter 18 Tkinter = None 52 if Tkinter: 53 class NativeMessagingWindow(Tkinter.Frame): 57 Tkinter.Frame.__init__(self) 60 self.text = Tkinter.Text(self) 62 self.text.config(state=Tkinter.DISABLED, height=10, width=40) 64 self.messageContent = Tkinter.StringVar() 65 self.sendEntry = Tkinter.Entry(self, textvariable=self.messageContent [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_tkinter/ |
test_text.py | 2 import Tkinter 12 self.text = Tkinter.Text(self.root) 22 self.assertRaises(Tkinter.TclError, text.search, None, '1.0') 23 self.assertRaises(Tkinter.TclError, text.search, 'a', None) 24 self.assertRaises(Tkinter.TclError, text.search, None, None) 27 self.assertRaises(Tkinter.TclError, text.search, '', 0) 30 # to get Tcl_Obj under Tk 8.5 if Tkinter doesn't convert it.
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_tkinter/ |
test_text.py | 2 import Tkinter 12 self.text = Tkinter.Text(self.root) 22 self.assertRaises(Tkinter.TclError, text.search, None, '1.0') 23 self.assertRaises(Tkinter.TclError, text.search, 'a', None) 24 self.assertRaises(Tkinter.TclError, text.search, None, None) 27 self.assertRaises(Tkinter.TclError, text.search, '', 0) 30 # to get Tcl_Obj under Tk 8.5 if Tkinter doesn't convert it.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
support.py | 1 import Tkinter 5 root = Tkinter._default_root 7 # it is possible to disable default root in Tkinter, although 14 root = Tkinter.Tk()
|
test_widgets.py | 2 import Tkinter 34 self.assertRaises(Tkinter.TclError, self.widget.identify, None, 5) 35 self.assertRaises(Tkinter.TclError, self.widget.identify, 5, None) 36 self.assertRaises(Tkinter.TclError, self.widget.identify, 5, '') 63 self.assertRaises(Tkinter.TclError, self.widget.instate, 65 self.assertRaises(Tkinter.TclError, self.widget.instate, 96 self.assertRaises(Tkinter.TclError, cbtn.tk.globalgetvar, 200 self.assertRaises(Tkinter.TclError, self.combo.current, 203 self.assertRaises(Tkinter.TclError, self.combo.current, '') 227 self.assertRaises(Tkinter.TclError, self.entry.bbox, 'noindex' [all...] |
test_style.py | 2 import Tkinter 46 self.assertRaises(Tkinter.TclError, style.layout, 'NotALayout') 63 self.assertRaises(Tkinter.TclError, style.layout, 'Treeview', 68 self.assertRaises(Tkinter.TclError, self.style.theme_use,
|
test_extensions.py | 3 import Tkinter 25 self.assertRaises(Tkinter.TclError, x.tk.globalgetvar, var) 28 myvar = Tkinter.DoubleVar() 34 self.assertRaises(Tkinter.TclError, x.tk.globalgetvar, name) 37 myvar = Tkinter.IntVar() 48 self.assertFalse(sys.last_type == Tkinter.TclError) 54 self.assertEqual(x.master, Tkinter._default_root) 56 master = Tkinter.Frame() 75 myvar = Tkinter.DoubleVar(value=20) 103 self.assertRaises(Tkinter.TclError, ttk.LabeledScale, a='b' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
support.py | 1 import Tkinter 5 root = Tkinter._default_root 7 # it is possible to disable default root in Tkinter, although 14 root = Tkinter.Tk()
|
test_widgets.py | 2 import Tkinter 34 self.assertRaises(Tkinter.TclError, self.widget.identify, None, 5) 35 self.assertRaises(Tkinter.TclError, self.widget.identify, 5, None) 36 self.assertRaises(Tkinter.TclError, self.widget.identify, 5, '') 63 self.assertRaises(Tkinter.TclError, self.widget.instate, 65 self.assertRaises(Tkinter.TclError, self.widget.instate, 96 self.assertRaises(Tkinter.TclError, cbtn.tk.globalgetvar, 200 self.assertRaises(Tkinter.TclError, self.combo.current, 203 self.assertRaises(Tkinter.TclError, self.combo.current, '') 227 self.assertRaises(Tkinter.TclError, self.entry.bbox, 'noindex' [all...] |
test_style.py | 2 import Tkinter 46 self.assertRaises(Tkinter.TclError, style.layout, 'NotALayout') 63 self.assertRaises(Tkinter.TclError, style.layout, 'Treeview', 68 self.assertRaises(Tkinter.TclError, self.style.theme_use,
|
test_extensions.py | 3 import Tkinter 25 self.assertRaises(Tkinter.TclError, x.tk.globalgetvar, var) 28 myvar = Tkinter.DoubleVar() 34 self.assertRaises(Tkinter.TclError, x.tk.globalgetvar, name) 37 myvar = Tkinter.IntVar() 48 self.assertFalse(sys.last_type == Tkinter.TclError) 54 self.assertEqual(x.master, Tkinter._default_root) 56 master = Tkinter.Frame() 75 myvar = Tkinter.DoubleVar(value=20) 103 self.assertRaises(Tkinter.TclError, ttk.LabeledScale, a='b' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
dynOptionMenuWidget.py | 5 from Tkinter import OptionMenu 6 from Tkinter import _setit
|
macosxSupport.py | 6 import Tkinter 75 except Tkinter.TclError: 95 from Tkinter import Menu, Text, Text
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Dialog.py | 1 # dialog.py -- Tkinter interface to the tk_dialog script. 3 from Tkinter import * 4 from Tkinter import _cnfmerge
|
tkFont.py | 0 # Tkinter font wrapper 11 import Tkinter 68 root = Tkinter._default_root 82 raise Tkinter._tkinter.TclError, "named font %s does not already exist" % (self.name,) 169 root = Tkinter._default_root 175 root = Tkinter._default_root 183 root = Tkinter.Tk() 205 w = Tkinter.Label(root, text="Hello, world", font=f) 208 w = Tkinter.Button(root, text="Quit!", command=root.destroy) 216 Tkinter.mainloop( [all...] |
tkCommonDialog.py | 11 from Tkinter import * 43 # (at least as long as we use Tkinter 1.63)
|
Tkdnd.py | 1 """Drag-and-drop support for Tkinter. 103 import Tkinter 222 label = Tkinter.Label(canvas, text=self.name, 271 self.top = Tkinter.Toplevel(root) 272 self.canvas = Tkinter.Canvas(self.top, width=100, height=100) 303 root = Tkinter.Tk() 305 Tkinter.Button(command=root.quit, text="Quit").pack()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
dynOptionMenuWidget.py | 5 from Tkinter import OptionMenu 6 from Tkinter import _setit
|
macosxSupport.py | 6 import Tkinter 75 except Tkinter.TclError: 95 from Tkinter import Menu, Text, Text
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
Dialog.py | 1 # dialog.py -- Tkinter interface to the tk_dialog script. 3 from Tkinter import * 4 from Tkinter import _cnfmerge
|
tkFont.py | 0 # Tkinter font wrapper 11 import Tkinter 68 root = Tkinter._default_root 82 raise Tkinter._tkinter.TclError, "named font %s does not already exist" % (self.name,) 169 root = Tkinter._default_root 175 root = Tkinter._default_root 183 root = Tkinter.Tk() 205 w = Tkinter.Label(root, text="Hello, world", font=f) 208 w = Tkinter.Button(root, text="Quit!", command=root.destroy) 216 Tkinter.mainloop( [all...] |
tkCommonDialog.py | 11 from Tkinter import * 43 # (at least as long as we use Tkinter 1.63)
|
Tkdnd.py | 1 """Drag-and-drop support for Tkinter. 103 import Tkinter 222 label = Tkinter.Label(canvas, text=self.name, 271 self.top = Tkinter.Toplevel(root) 272 self.canvas = Tkinter.Canvas(self.top, width=100, height=100) 303 root = Tkinter.Tk() 305 Tkinter.Button(command=root.quit, text="Quit").pack()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/ |
runtktests.py | 4 Tkinter tests should live in a package inside the directory where this file 49 import Tkinter 51 Tkinter.Button() 52 except Tkinter.TclError as msg:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/ |
runtktests.py | 4 Tkinter tests should live in a package inside the directory where this file 49 import Tkinter 51 Tkinter.Button() 52 except Tkinter.TclError as msg:
|