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)
| |
nop(self,
arg)
(inherited from Widget )
| |
resize(self,
size)
| |
Process the next line of input. | |
set_callback(self,
callback)
(inherited from Widget )
| |
set_modal_events(self)
| |
toggle_visible(self,
pygame_event)
| |
write(self,
text)
| |
_quit(self,
pygame_event)
(inherited from Widget )
| |
_stop(self,
pygame_event)
(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 1.1 on Sun Nov 30 19:33:15 2003 | http://epydoc.sf.net |