Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | draw |
def | undraw |
def | setText |
def | setColor |
def | getText |
def | getColor |
![]() | |
def | __init__ |
def | __str__ |
def | __repr__ |
def | show |
def | hide |
def | notifyNeedRedraw |
def | draw |
def | undraw |
def | redraw |
def | onMessage |
def | onClick |
def | onShow |
def | onHide |
def | onDraw |
def | onUndraw |
def | onRedraw |
def | focus |
def | setModal |
def | isInteractive |
Data Fields | |
index | |
textstate | |
location | |
color | |
bgcolor | |
fontsize | |
text | |
![]() | |
room | |
owner | |
visible | |
redrawPreservesZ | |
id | |
def draw | ( | self) |
Creates the element
Definition at line 952 of file GUI.py.
References GUIStaticText.fontsize, Tokenizer.index, ListReader.index, GUIRoom.index, GUIStaticImage.index, GUIStaticText.index, locale.str(), DialogBox.Text.text, DialogBox.Button.text, DialogBox.TextInput.text, EnqueueMoreText.text, DisplayTextIfTrueScript.text, AddPythonSprite.text, GUIStaticText.text, CampaignNode.text, and GUIStaticText.textstate.
def getColor | ( | self) |
def getText | ( | self) |
Definition at line 981 of file GUI.py.
References DialogBox.Text.text, DialogBox.Button.text, DialogBox.TextInput.text, EnqueueMoreText.text, DisplayTextIfTrueScript.text, AddPythonSprite.text, GUIStaticText.text, and CampaignNode.text.
def setColor | ( | self, | |
newcolor | |||
) |
Definition at line 977 of file GUI.py.
References GUIStaticText.color, GUIRoom.notifyNeedRedraw(), and GUIElement.notifyNeedRedraw().
def setText | ( | self, | |
newtext | |||
) |
Definition at line 972 of file GUI.py.
References Tokenizer.index, ListReader.index, GUIRoom.index, GUIStaticImage.index, GUIStaticText.index, locale.str(), DialogBox.Text.text, DialogBox.Button.text, DialogBox.TextInput.text, EnqueueMoreText.text, DisplayTextIfTrueScript.text, AddPythonSprite.text, GUIStaticText.text, CampaignNode.text, and GUIStaticText.textstate.
def undraw | ( | self) |
Hides the element
Definition at line 964 of file GUI.py.
References Tokenizer.index, ListReader.index, GUIRoom.index, GUIStaticImage.index, GUIStaticText.index, locale.str(), and GUIStaticText.textstate.