Package populusgui :: Module PopulusGui :: Class SayBox
[frames] | no frames]

Class SayBox


An input-box in the hud for sending text into the system as the selected Avatar.

Instance Methods
 
__init__(self, player, command, pos=(-2.2, 0, -0.95))
 
handleNewText(self, dirtyText)
Handle new text.
 
checkPlayerState(self, task)
Check the state of the player.
 
hide(self)
Hide the SayBox.
 
show(self)
Show the SayBox.
 
disable(self)
Disable the SayBox.
 
enable(self)
Enable the SayBox.
 
setPlayer(self, newPlayer)
Set the player.

Inherited from direct.showbase.DirectObject.DirectObject: accept, acceptOnce, addTask, classTree, detectLeaks, doMethodLater, getAllAccepting, ignore, ignoreAll, isAccepting, isIgnoring, removeAllTasks, removeTask

Method Details

__init__(self, player, command, pos=(-2.2, 0, -0.95))
(Constructor)

 
Overrides: direct.showbase.DirectObject.DirectObject.__init__