Changes between Version 5 and Version 6 of documentation/PythonManual/APIReference

Show
Ignore:
Author:
peterc (IP: 203.96.63.172)
Timestamp:
04/08/08 11:33:45 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/PythonManual/APIReference

    v5 v6  
    77   Creates and returns a new context called ''name'', with initial dimensions of ''dimensions''. The dimensions are a ''Vector2i'' type. The name of the context must be unique; if it is not, None will be returned. 
    88 
    9  '''GetContext(''name''):: 
     9 '''GetContext'''(''name''):: 
    1010   Returns the context called ''name''. If no such context exists, None will be returned. 
    1111 
    1313   Loads the font face at ''font_path''. The function will return True if the font face was loaded, False if not. 
    1414 
    15  '''RegisterTag'''(tag_name, class_definition):: 
     15 '''RegisterTag'''(''tag_name'', ''class_definition''):: 
    1616   Registers an Python class to instance when a specific XML tag is encountered in an RML file. 
    1717 
    18  '''Log'''(type, message):: 
     18 '''Log'''(''type'', ''message''):: 
    1919   Sends a log message to rocket (and the attached debugger if present).[[br]] 
    2020   type should be one of: