Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Data Structures | |
class | DialogBox |
Functions | |
def | parse_dialog_box |
def | makeRect |
def | fromValues |
def | dialog |
def | custom_run_dialog |
def | button_row |
def | alert |
def | confirm |
Variables | |
float | text_height = 0.1 |
float | font_size = 1.0 |
float | list_height = 0.0 |
tuple | screen_color = GUI.GUIColor(200/255.0, 220/255.0 ,210/255.0) |
tuple | input_color = GUI.GUIColor(25/255.0, 25/255.0 ,75/255.0) |
tuple | screen_bgcolor = GUI.GUIColor(0.9,0.9,1.0,0.7) |
tuple | screen_bgcolor_nc = GUI.GUIColor(0.1,0.0,0.4) |
def dialog_box.alert | ( | message, | |
callback = None , |
|||
width = 1.0 , |
|||
buttonText = 'OK' |
|||
) |
Definition at line 420 of file dialog_box.py.
References button_row(), pydoc.callback, dialog(), and custom.respond().
def dialog_box.button_row | ( | width, | |
buttons | |||
) |
Definition at line 402 of file dialog_box.py.
def dialog_box.confirm | ( | message, | |
callback, | |||
width = 1.0 , |
|||
buttons = ('Cancel','OK' |
|||
) |
Definition at line 429 of file dialog_box.py.
References custom.add(), button_row(), pydoc.callback, dialog(), and custom.respond().
def dialog_box.custom_run_dialog | ( | local, | |
cmd, | |||
args, | |||
id | |||
) |
def dialog_box.dialog | ( | args, | |
callback, | |||
room = None |
|||
) |
Definition at line 373 of file dialog_box.py.
References pydoc.callback, GUI.GUIInit(), parse_dialog_box(), and custom.run().
def dialog_box.fromValues | ( | data) |
Definition at line 362 of file dialog_box.py.
def dialog_box.makeRect | ( | x, | |
y, | |||
wid, | |||
hei | |||
) |
Definition at line 82 of file dialog_box.py.
def dialog_box.parse_dialog_box | ( | args) |
float font_size = 1.0 |
Definition at line 74 of file dialog_box.py.
tuple input_color = GUI.GUIColor(25/255.0, 25/255.0 ,75/255.0) |
Definition at line 78 of file dialog_box.py.
float list_height = 0.0 |
Definition at line 76 of file dialog_box.py.
tuple screen_bgcolor = GUI.GUIColor(0.9,0.9,1.0,0.7) |
Definition at line 79 of file dialog_box.py.
tuple screen_bgcolor_nc = GUI.GUIColor(0.1,0.0,0.4) |
Definition at line 80 of file dialog_box.py.
tuple screen_color = GUI.GUIColor(200/255.0, 220/255.0 ,210/255.0) |
Definition at line 77 of file dialog_box.py.
tuple text_height = 0.1 |
Definition at line 7 of file dialog_box.py.