All pastes #135486 Raw Edit

morgul

public python v1 · immutable
#135486 ·published 2006-08-17 00:14 UTC
rendered paste body
import xml.domimport wxclass DotControl (wx.Panel):	def __init__ (self, numDots = 5):		wx.Panel.__init__ (self)		self.dots = list ()		self.numDots = numDots		for x in range (0, numDots - 1):			self.dots.append (wx.RadioButton (self, -1, style = wx.RB_SINGLE, pos = wx.Point (x * 10, 0)))class VtMapp (wx.App):	def __init__ (self):		wx.App.__init__ (self)		self.frame = wx.Frame (None, -1, "VtManager")		self.frame.Show ()		self.dots = DotControl ()		self.dots.Show ()		def BooYah (self, fubar):		passapp = VtMapp ()app.MainLoop ()