Package pygext :: Package gl :: Package director :: Module entities :: Class TextEntity
[frames | no frames]

Type TextEntity

object --+            
         |            
      Node --+        
             |        
    EntityNode --+    
                 |    
            Entity --+
                     |
                    TextEntity

Known Subclasses:
TextInputEntity

Mutable text entity

A text label that updates itself when the text is changed.
Method Summary
  __init__(self, font, text, scale)
  __new__(self, font, *arg, **kw)
(Static method)
  init_text(self, scale)
internal helper function
  set_text(self, text, scale)
set_text(text [,scale]) -> None
    Inherited from EntityNode
  enter(self)
enter() -> None
  get_alpha(self)
  get_bounding_rect(self)
get_bounding_rect() -> Rect
  init(self)
  place(self, layername)
place(layername) -> this
  set(self, **kw)
set(**kw) -> this
  set_alpha(self, alpha)
    Inherited from Node
  __iter__(self)
  __len__(self)
  __nonzero__(self)
  abort_actions(self, typefilter)
abort_actions([typefilter]) -> None
  add_collnode(self, group, *arg, **kw)
  attach_to(self, node, back)
attach_to(node) -> None
  clear(self)
clear() -> None
  clear_collnodes(self)
  delete(self)
delete() -> None
  detach(self)
detach() -> None
  do(self, *actions, **kw)
do(*actions) -> this
  end_actions(self, typefilter)
end_actions([typefilter]) -> None
  exit(self)
exit() -> None
  get_actions(self, typefilter)
Get a list of currently active actions from this Node
  transform_polygon(self, poly)
  transform_rect(self, rect)
  traverse(self)
traverse() -> None

Property Summary
    Inherited from EntityNode
  alpha
  bottom
  center
  centerx
  centery
  height
  left
  right
  top
  width

Class Variable Summary
    Inherited from Entity
bool fast_draw = True
    Inherited from EntityNode
NoneType image = None                                                                  
NoneType layer = None                                                                  

Instance Method Details

init_text(self, scale=None)

internal helper function

set_text(self, text, scale=None)

set_text(text [,scale]) -> None

Change the contents of the text entity.

Generated by Epydoc 2.1 on Mon Jun 12 18:21:21 2006 http://epydoc.sf.net