Update of /cvsroot/wxlua/wxLua/docs
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv19412/wxLua/docs
Modified Files:
wxluaref.html
Log Message:
Moved the bindings function for introspection in lua into the override.hpp
file for the wxlua bindings.
Add function wxlua.GetBindings() instead of install wxLuaBinding_XXX per binding.
Index: wxluaref.html
===================================================================
RCS file: /cvsroot/wxlua/wxLua/docs/wxluaref.html,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** wxluaref.html 27 Jun 2007 19:56:28 -0000 1.36
--- wxluaref.html 28 Jun 2007 21:52:56 -0000 1.37
***************
*** 23255,23271 ****
<br>
<font color=#009900>// ---------------------------------------------------------------------------</font><br>
! <font color=#009900>// wxLuaBinding - This is NOT wrapped, but implemented in wxlbind.cpp</font><br>
<br>
<font color=#009900>// These items follow the structure below and ALL items are called as if they</font><br>
<font color=#009900>// were table members.</font><br>
! <font color=#009900>// Example : wxLuaBinding_wx.GetClassCount</font><br>
! <font color=#009900>// Example : print(wxLuaBinding_wx.GetClassArray[1].methods[1].name)</font><br>
<font color=#009900>// Note: Use only '.' and NO () to make it a function call, also check to see</font><br>
! <font color=#009900>// if the item exists first (unlike the example above)!</font><br>
<font color=#009900>// Please see the bindings.wx.lua sample program for usage.</font><br>
<br>
<font color=#888888>/*<br>
<br>
! <b><font size=+1 color=#DD0000><i>%class</i> wxLuaBinding_XXX - where XXX is the name of the <a name="binding">binding</a></font></b></font>
<blockquote><font color=#888888>
<font color=#009900>// No constructor as this is read only</font><br>
--- 23255,23279 ----
<br>
<font color=#009900>// ---------------------------------------------------------------------------</font><br>
! <font color=#009900>// wxLuaBinding - These are not wrapped in the standard way, but coded by hand</font><br>
! <font color=#009900>// for size.</font><br>
<br>
<font color=#009900>// These items follow the structure below and ALL items are called as if they</font><br>
<font color=#009900>// were table members.</font><br>
! <font color=#009900>// Example : print(wxlua.GetBindings()[1].binding.GetClassCount)</font><br>
! <font color=#009900>// Example : print(wxlua.GetBindings()[1].binding.GetClassArray[1].methods[1].name)</font><br>
<font color=#009900>// Note: Use only '.' and NO () to make it a function call, also check to see</font><br>
! <font color=#009900>// if the item exists first (unlike the example above)!</font><br>
! <font color=#009900>// Also, you probably want to store the returned tables and get the values from</font><br>
! <font color=#009900>// them instead of getting the whole table every time from wxlua.GetBindings()...</font><br>
<font color=#009900>// Please see the bindings.wx.lua sample program for usage.</font><br>
<br>
+ <font color=#009900>// Entry point to get the objects below.</font><br>
+ <font color=#009900>// returns an array of tables for each installed binding</font><br>
+ <font color=#009900>// { ["name"]=GetBindingName, ["namespace"]=GetLuaNamespace, ["binding"]=wxLuaBinding* }</font><br>
+ <font color=#AA0000><i>%function</i> LuaTable GetBindings()</font><br>
+ <br>
<font color=#888888>/*<br>
<br>
! <b><font size=+1 color=#DD0000><i>%class</i> <a name="wxLuaBinding">wxLuaBinding</a></font></b></font>
<blockquote><font color=#888888>
<font color=#009900>// No constructor as this is read only</font><br>
|