Go to the documentation of this file.00001 import BigWorld, GUI
00002
00003 from Button import Button
00004 from CheckBox import CheckBox
00005
00006 class RadioButton( CheckBox ):
00007
00008 factoryString = "PyGUI.RadioButton"
00009
00010 def __init__( self, component ):
00011 CheckBox.__init__( self, component )
00012 self.buttonStyle = Button.RADIOBUTTON_STYLE
00013
00014
00015 @staticmethod
00016 def create( texture, text="", groupName="", **kwargs ):
00017 b = RadioButton( CheckBox.createInternal( texture, text, **kwargs ), **kwargs )
00018 b.groupName = groupName
00019 return b.component
00020