Home | Trees | Index | Help |
---|
Package pygsear :: Module Widget :: Class Console |
|
Widget
--+
|
Console
Method Summary | |
---|---|
__init__(self,
locals,
size)
| |
activate(self)
| |
deactivate(self)
| |
handle_exception(self,
e)
| |
handle_pagedown(self,
pygame_event)
| |
handle_pageup(self,
pygame_event)
| |
handle_print(self,
text)
| |
history_next(self,
pygame_event)
| |
history_prev(self,
pygame_event)
| |
make_widget(self)
| |
modal(self)
| |
new_line(self,
text,
prompt)
| |
resize(self,
size)
| |
Process the next line of input. | |
set_modal_events(self)
| |
toggle_visible(self,
pygame_event)
| |
write(self,
text)
| |
Inherited from Widget | |
| |
|
Method Details |
---|
run_command(self, text)Process the next line of input. This is called when the user presses ENTER in the console widget. If this new text completes a command, the command is executed, otherwise this text is added to a buffer awaiting the next line.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:20 2006 | http://epydoc.sf.net |