Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(0)  |  Import(8)

src/r/o/robofab-1.2.1/Lib/robofab/interface/all/dialogs_legacy.py   robofab(Download)
 
try:
	import W
	hasW = True
except ImportError:
	def __init__(self, list, message='Make a selection'):
		import W
		self.list = list
		self.selected = None
		self.w = W.ModalDialog((200, 240))
	def __init__(self, title_1, title_2, value1=1, value2=1, title='RoboFab'):
		import W
		self.check1 = value1
		self.check2 = value2
		self.w = W.ModalDialog((200, 100))

src/r/o/robofab-HEAD/Lib/robofab/interface/all/dialogs_legacy.py   robofab(Download)
 
try:
	import W
	hasW = True
except ImportError:
	def __init__(self, list, message='Make a selection'):
		import W
		self.list = list
		self.selected = None
		self.w = W.ModalDialog((200, 240))
	def __init__(self, title_1, title_2, value1=1, value2=1, title='RoboFab'):
		import W
		self.check1 = value1
		self.check2 = value2
		self.w = W.ModalDialog((200, 100))

src/f/o/FontTools-2.4/Lib/fontTools/fondLib.py   FontTools(Download)
	def __init__(self, fondlist):
		import W
		if not fondlist:
			raise ValueError, "expected at least one FOND entry"
		if len(fondlist) == 1:

src/f/o/FontTools-2.4/Lib/fontTools/ttLib/test/ttBrowser.py   FontTools(Download)
import macfs
import PyBrowser
import W, Lists
import os
import ATM