Wizards Magic  3.2.20
MTG based computer game
 All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | Public Attributes | List of all members
widgets.CheckBox Class Reference
Inheritance diagram for widgets.CheckBox:

Public Member Functions

def __init__
 
def draw
 
def update
 
def enable
 
def disable
 
def change
 
def onmousedown
 
def onmouseup
 
def onmouseout
 
def onmouse
 

Public Attributes

 type
 
 color
 
 color_disable
 
 font
 
 pos
 
 label
 
 value
 
 key
 
 focus
 
 enabled
 
 label_image
 
 label_rect
 
 value_on
 
 value_off
 
 value_image
 
 image
 
 rect
 
 enable
 

Detailed Description

class handling checkbox:
pos: # of line from the top of form
label: CheckBox label
value: True/False
enabled: false=disabled box
key: configuration key

Constructor & Destructor Documentation

def widgets.CheckBox.__init__ (   self,
  pos = 0,
  label = "",
  value = False,
  enabled = True,
  key = "" 
)

Member Function Documentation

def widgets.CheckBox.change (   self)
def widgets.CheckBox.disable (   self)
def widgets.CheckBox.draw (   self)
def widgets.CheckBox.enable (   self)
def widgets.CheckBox.onmouse (   self)
def widgets.CheckBox.onmousedown (   self)
def widgets.CheckBox.onmouseout (   self)
def widgets.CheckBox.onmouseup (   self)
def widgets.CheckBox.update (   self)

Member Data Documentation

widgets.CheckBox.color
widgets.CheckBox.color_disable
widgets.CheckBox.enable
widgets.CheckBox.enabled
widgets.CheckBox.focus
widgets.CheckBox.font
widgets.CheckBox.image
widgets.CheckBox.key
widgets.CheckBox.label
widgets.CheckBox.label_image
widgets.CheckBox.label_rect
widgets.CheckBox.pos
widgets.CheckBox.rect
widgets.CheckBox.type
widgets.CheckBox.value
widgets.CheckBox.value_image
widgets.CheckBox.value_off
widgets.CheckBox.value_on

The documentation for this class was generated from the following file: