Changes between Version 10 and Version 11 of documentation/LuaManual/APIReference

Show
Ignore:
Author:
gambini (IP: 96.38.104.126)
Timestamp:
05/29/12 18:49:57 (5 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/LuaManual/APIReference

    v10 v11  
    1313  {k=k_type,v=v_type} = table with k_type keys and v_type values 
    1414 
    15 == rocket Table == 
     15== rocket Global == 
     16''rocket'' is a global variable in Lua that holds no data except these functions and properties. 
    1617 
    1718 `Context `'''CreateContext'''(`string` ''name'', `Vector2i` ''dimensions''):: 
    2526 
    2627 '''contexts'''`   `(`{}`):: 
    27    A table 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). 
     28   A table 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). Read-only [wiki:documentation/LuaManual/ProxyTables proxy table]. 
     29 
     30 '''key_identifier'''`   `(`{int}`):: 
     31   A mirror of the Rocket::Core::Input enum from C++. `Rocket::Core::Input::KI_0 == rocket.key_identifier.KI_0`. 
    2832 
    2933== Basic Types ==