Changes between Version 8 and Version 9 of documentation/PythonManual/APIReference

Show
Ignore:
Author:
peterc (IP: 72.75.38.44)
Timestamp:
08/31/08 03:48:17 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/PythonManual/APIReference

    v8 v9  
    55 
    66 '''CreateContext'''(''name'', ''dimensions''):: 
    7    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. 
    8  
    9  '''GetContext'''(''name''):: 
    10    Returns the context called ''name''. If no such context exists, None will be returned. 
     7   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 
    118 
    129 '''LoadFontFace'''(''font_path''):: 
    1714 
    1815 '''Log'''(''type'', ''message''):: 
    19    Sends a log message to rocket (and the attached debugger if present).[[br]] 
     16   Sends a log message to libRocket (and the attached debugger if present).[[br]] 
    2017   type should be one of: 
    2118 * rocket.logtype.always 
    2522 * rocket.logtype.debug 
    2623 
     24 '''contexts''':: 
     25   A dictionary of the active libRocket contexts. It can be indexed by string (in which case the context with the matching name is returned), or number (in which case the nth context is returned). The number of contexts can be queried with the ''len'' operator. 
     26 
    2727== Basic Types == 
    2828 
    434434 
    435435 '''num_tabs''':: 
     436 
    436437   The number of tabs in the tab set. Read-only. 
    437438