![]() |
Wizards Magic
3.2.20
MTG based computer game
|
Public Member Functions | |
| def | __init__ |
| def | draw |
| def | update |
| def | enable |
| def | disable |
| def | change |
| def | onmousedown |
| def | onmouseup |
Public Attributes | |
| type | |
| color | |
| color_disable | |
| font | |
| pos | |
| label | |
| text | |
| length | |
| key | |
| size | |
| focus | |
| currpos | |
| numeric | |
| enabled | |
| label_image | |
| text_image | |
| label_rect | |
| text_rect | |
| image | |
| rect | |
| enable | |
class handling input box: pos: # of line from the top of form label: box label text: text inside box length: box length in chars numeric: True=accept only numbers enabled: false=disabled box key: configuration key
| def widgets.TxtInput.__init__ | ( | self, | |
pos = 0, |
|||
label = "", |
|||
text = "", |
|||
length = 0, |
|||
numeric = False, |
|||
enabled = True, |
|||
key = "" |
|||
| ) |
| def widgets.TxtInput.change | ( | self, | |
| event | |||
| ) |
| def widgets.TxtInput.disable | ( | self | ) |
| def widgets.TxtInput.draw | ( | self | ) |
| def widgets.TxtInput.enable | ( | self | ) |
| def widgets.TxtInput.onmousedown | ( | self | ) |
| def widgets.TxtInput.onmouseup | ( | self | ) |
| def widgets.TxtInput.update | ( | self | ) |
| widgets.TxtInput.color |
| widgets.TxtInput.color_disable |
| widgets.TxtInput.currpos |
| widgets.TxtInput.enable |
| widgets.TxtInput.enabled |
| widgets.TxtInput.focus |
| widgets.TxtInput.font |
| widgets.TxtInput.image |
| widgets.TxtInput.key |
| widgets.TxtInput.label |
| widgets.TxtInput.label_image |
| widgets.TxtInput.label_rect |
| widgets.TxtInput.length |
| widgets.TxtInput.numeric |
| widgets.TxtInput.pos |
| widgets.TxtInput.rect |
| widgets.TxtInput.size |
| widgets.TxtInput.text |
| widgets.TxtInput.text_image |
| widgets.TxtInput.text_rect |
| widgets.TxtInput.type |
1.8.6