Package parpg :: Package gui :: Module actionsbox :: Class ActionsBox
[hide private]
[frames] | no frames]

Class ActionsBox

source code

fife.extensions.pychan.ScrollArea --+
                                    |
                                   ActionsBox

Instance Methods [hide private]
 
__init__(self, **kwargs) source code
 
refresh(self)
Refresh the actions box so that it displays the contents of self.actions_text
source code
 
addAction(self, action)
Add an action to the actions box.
source code
 
addDialog(self, name, text)
Add a dialog text to the actions box.
source code
Method Details [hide private]

refresh(self)

source code 

Refresh the actions box so that it displays the contents of self.actions_text

Returns:
None

addAction(self, action)

source code 

Add an action to the actions box.

Parameters:
  • action ((unicode) string) - The text that you want to display in the actions box
Returns:
None

addDialog(self, name, text)

source code 

Add a dialog text to the actions box. Prints first the name and then, indented to the right, the text.

Parameters:
  • action - The name of the character that spoke
  • text (: (unicode) string) - The text that was said
  • name ((unicode) string)
Returns:
None