wxlstate.h File Reference

#include "wxlua/include/wxldefs.h"
#include "wxlua/include/wxlbind.h"
#include "wx/filefn.h"
#include "wx/filename.h"
#include "wx/hashmap.h"
Include dependency graph for wxlstate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wxLuaCharBuffer
class  wxLuaStateData
class  wxLuaStateRefData
class  wxLuaState
class  wxLuaEvent

Defines

#define WXLUA_USE_WXSTR_CONVCURRENT   1
#define wxlua_iswxuserdata(L, stack_idx)   (lua_type((L), (stack_idx)) == LUA_TUSERDATA)
#define wxlua_isstringtype(L, stack_idx)   (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TSTRING) == 1)
#define wxlua_isbooleantype(L, stack_idx)   (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TBOOLEAN) == 1)
#define wxlua_isintegertype(L, stack_idx)   (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TINTEGER) == 1)
#define wxlua_isnumbertype(L, stack_idx)   (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TNUMBER) == 1)
#define wxLuaEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)(wxNotifyEventFunction)wxStaticCastEvent(wxLuaEventFunction, &func)
#define wx__DECLARE_WXLUAEVT(evt, id, fn)   wx__DECLARE_EVT1(evt, id, wxLuaEventHandler(fn))
#define EVT_LUA_CREATION(id, fn)   wx__DECLARE_WXLUAEVT(wxEVT_LUA_CREATION, id, fn)
#define EVT_LUA_PRINT(id, fn)   wx__DECLARE_WXLUAEVT(wxEVT_LUA_PRINT, id, fn)
#define EVT_LUA_ERROR(id, fn)   wx__DECLARE_WXLUAEVT(wxEVT_LUA_ERROR, id, fn)
#define EVT_LUA_DEBUG_HOOK(id, fn)   wx__DECLARE_WXLUAEVT(wxEVT_LUA_DEBUG_HOOK, id, fn)

Typedefs

typedef void(wxEvtHandler::* wxLuaEventFunction )(wxLuaEvent &)

Enumerations

enum  wxLuaGCObject_Flags { WXLUA_DELETE_OBJECT_LAST = 0x0000, WXLUA_DELETE_OBJECT_ALL = 0x0001 }
enum  wxLuaState_Type { wxLUASTATE_GETSTATE = 1, wxLUASTATE_SETSTATE = 2, wxLUASTATE_STATICSTATE = 0x10, wxLUASTATE_OPENBINDINGS = 0x20 }

Functions

wxString lua2wx (const char *luastr)
const wxCharBuffer wx2lua (const wxString &wxstr)
void wxlua_lreg_createtable (lua_State *L, void *lightuserdata_reg_key, int narr=0, int nrec=0)
wxString wxlua_LUA_ERR_msg (int LUA_ERRx)
bool wxlua_errorinfo (lua_State *L, int status, int top, wxString *errMsg=NULL, int *line_num=NULL)
void LUACALL wxlua_error (lua_State *L, const char *errorMsg)
void LUACALL wxlua_argerror (lua_State *L, int stack_idx, const wxString &expectedType)
void LUACALL wxlua_argerrormsg (lua_State *L, const wxString &msg)
void *LUACALL wxlua_touserdata (lua_State *L, int stack_idx, bool null_ptr=false)
int LUACALL wxluaR_ref (lua_State *L, int stack_idx, void *lightuserdata_reg_key)
bool LUACALL wxluaR_unref (lua_State *L, int wxlref_idx, void *lightuserdata_reg_key)
bool LUACALL wxluaR_getref (lua_State *L, int wxlref_idx, void *lightuserdata_reg_key)
int LUACALL wxluaR_isrefed (lua_State *L, int stack_idx, void *lightuserdata_reg_key)
void LUACALL wxluaO_addgcobject (lua_State *L, wxObject *wxobj)
void LUACALL wxluaO_addgcobject (lua_State *L, void *obj_ptr, wxObject *wxobj)
bool LUACALL wxluaO_deletegcobject (lua_State *L, void *udata, void *obj_ptr, int flags)
bool LUACALL wxluaO_undeletegcobject (lua_State *L, void *obj_ptr)
bool LUACALL wxluaO_isgcobject (lua_State *L, void *obj_ptr)
wxArrayString LUACALL wxluaO_getgcobjectinfo (lua_State *L)
void LUACALL wxluaO_trackweakobject (lua_State *L, int udata_stack_idx, void *obj_ptr, int wxl_type)
int LUACALL wxluaO_untrackweakobject (lua_State *L, void *udata, void *obj_ptr)
bool LUACALL wxluaO_istrackedweakobject (lua_State *L, void *obj_ptr, int wxl_type, bool push_on_stack)
wxArrayString LUACALL wxluaO_gettrackedweakobjectinfo (lua_State *L)
void LUACALL wxluaW_addtrackedwindow (lua_State *L, wxObject *wxobj)
void LUACALL wxluaW_removetrackedwindow (lua_State *L, wxWindow *win)
bool LUACALL wxluaW_istrackedwindow (lua_State *L, wxWindow *win, bool check_parents)
wxArrayString LUACALL wxluaW_gettrackedwindowinfo (lua_State *L)
int LUACALL wxluaT_newmetatable (lua_State *L, int wxl_type)
bool LUACALL wxluaT_getmetatable (lua_State *L, int wxl_type)
bool LUACALL wxluaT_setmetatable (lua_State *L, int wxl_type)
int LUACALL wxluaT_type (lua_State *L, int stack_idx)
wxString LUACALL wxluaT_typename (lua_State *L, int wxl_type)
wxString LUACALL wxluaT_gettypename (lua_State *L, int stack_idx)
wxString LUACALL wxlua_luaL_typename (lua_State *L, int stack_idx)
int LUACALL wxluaT_gettype (lua_State *L, const char *name)
const wxLuaBindClass *LUACALL wxluaT_getclass (lua_State *L, int wxl_type)
const wxLuaBindClass *LUACALL wxluaT_getclass (lua_State *L, const char *class_name)
bool wxluaT_isuserdatatype (lua_State *L, int stack_idx, int wxl_type)
void *LUACALL wxluaT_getuserdatatype (lua_State *L, int stack_idx, int wxl_type)
bool LUACALL wxluaT_pushuserdatatype (lua_State *L, const void *obj_ptr, int wxl_type, bool track=true, bool allow_NULL=false)
int LUACALL wxluaT_isderivedtype (lua_State *L, int wxl_type, int base_wxl_type)
int LUACALL wxluaT_isderivedclass (const wxLuaBindClass *wxlClass, const wxLuaBindClass *base_wxlClass)
int LUACALL wxlua_iswxluatype (int luatype, int wxl_type, lua_State *L=NULL)
int wxlua_luatowxluatype (int luatype)
int wxlua_wxluatoluatype (int wxluatype)
bool wxlua_iswxstringtype (lua_State *L, int stack_idx)
const char *LUACALL wxlua_getstringtype (lua_State *L, int stack_idx)
wxString LUACALL wxlua_getwxStringtype (lua_State *L, int stack_idx)
bool LUACALL wxlua_getbooleantype (lua_State *L, int stack_idx)
long LUACALL wxlua_getenumtype (lua_State *L, int stack_idx)
long LUACALL wxlua_getintegertype (lua_State *L, int stack_idx)
unsigned long LUACALL wxlua_getuintegertype (lua_State *L, int stack_idx)
double LUACALL wxlua_getnumbertype (lua_State *L, int stack_idx)
const char **LUACALL wxlua_getchararray (lua_State *L, int stack_idx, int &count)
wxString *LUACALL wxlua_getwxStringarray (lua_State *L, int stack_idx, int &count)
int *LUACALL wxlua_getintarray (lua_State *L, int stack_idx, int &count)
wxLuaSmartwxArrayString LUACALL wxlua_getwxArrayString (lua_State *L, int stack_idx)
wxLuaSmartwxSortedArrayString
LUACALL 
wxlua_getwxSortedArrayString (lua_State *L, int stack_idx)
wxLuaSmartwxArrayInt LUACALL wxlua_getwxArrayInt (lua_State *L, int stack_idx)
int LUACALL wxlua_pushwxArrayStringtable (lua_State *L, const wxArrayString &strArray)
int LUACALL wxlua_pushwxArrayInttable (lua_State *L, const wxArrayInt &intArray)
void LUACALL wxlua_pushwxString (lua_State *L, const wxString &str)
wxString wxlua_concatwxArrayString (const wxArrayString &arr, const wxString &sep=wxT("\n"))
int wxlua_pushargs (lua_State *L, wxChar **argv, int argc, int start_n)
bool LUACALL wxlua_setderivedmethod (lua_State *L, void *obj_ptr, const char *method_name, wxLuaObject *wxlObj)
bool LUACALL wxlua_hasderivedmethod (lua_State *L, void *obj_ptr, const char *method_name, bool push_method)
bool LUACALL wxlua_removederivedmethods (lua_State *L, void *obj_ptr)
bool LUACALL wxlua_getcallbaseclassfunction (lua_State *L)
void LUACALL wxlua_setcallbaseclassfunction (lua_State *L, bool call_base)
wxEventType LUACALL wxlua_getwxeventtype (lua_State *L)
void LUACALL wxlua_setwxeventtype (lua_State *L, wxEventType evt_type)
wxLuaStateData *LUACALL wxlua_getwxluastatedata (lua_State *L)
 WX_DECLARE_VOIDPTR_HASH_MAP_WITH_DECL (wxLuaState *, wxHashMapLuaState, class)

Variables

const char * wxlua_lreg_types_key
const char * wxlua_lreg_refs_key
const char * wxlua_lreg_debug_refs_key
const char * wxlua_lreg_classes_key
const char * wxlua_lreg_derivedmethods_key
const char * wxlua_lreg_wxluastate_key
const char * wxlua_lreg_wxluabindings_key
const char * wxlua_lreg_weakobjects_key
const char * wxlua_lreg_gcobjects_key
const char * wxlua_lreg_evtcallbacks_key
const char * wxlua_lreg_windestroycallbacks_key
const char * wxlua_lreg_topwindows_key
const char * wxlua_lreg_callbaseclassfunc_key
const char * wxlua_lreg_wxeventtype_key
const char * wxlua_lreg_wxluastatedata_key
const char * wxlua_lreg_regtable_key
const char * wxlua_metatable_type_key
const char * wxlua_metatable_wxluabindclass_key
wxLuaState wxNullLuaState

Define Documentation

#define EVT_LUA_CREATION ( id,
fn   )     wx__DECLARE_WXLUAEVT(wxEVT_LUA_CREATION, id, fn)

Definition at line 1358 of file wxlstate.h.

#define EVT_LUA_DEBUG_HOOK ( id,
fn   )     wx__DECLARE_WXLUAEVT(wxEVT_LUA_DEBUG_HOOK, id, fn)

Definition at line 1361 of file wxlstate.h.

#define EVT_LUA_ERROR ( id,
fn   )     wx__DECLARE_WXLUAEVT(wxEVT_LUA_ERROR, id, fn)

Definition at line 1360 of file wxlstate.h.

#define EVT_LUA_PRINT ( id,
fn   )     wx__DECLARE_WXLUAEVT(wxEVT_LUA_PRINT, id, fn)

Definition at line 1359 of file wxlstate.h.

#define wx__DECLARE_WXLUAEVT ( evt,
id,
fn   )     wx__DECLARE_EVT1(evt, id, wxLuaEventHandler(fn))

Definition at line 1356 of file wxlstate.h.

#define wxlua_isbooleantype ( L,
stack_idx   )     (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TBOOLEAN) == 1)

Definition at line 474 of file wxlstate.h.

Referenced by wxLuaState::IsBooleanType().

#define wxlua_isintegertype ( L,
stack_idx   )     (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TINTEGER) == 1)

Definition at line 475 of file wxlstate.h.

Referenced by wxLuaState::IsIntegerType().

#define wxlua_isnumbertype ( L,
stack_idx   )     (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TNUMBER) == 1)

Definition at line 476 of file wxlstate.h.

Referenced by wxLuaState::IsNumberType(), and wxlua_getwxArrayInt().

#define wxlua_isstringtype ( L,
stack_idx   )     (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TSTRING) == 1)
#define wxlua_iswxuserdata ( L,
stack_idx   )     (lua_type((L), (stack_idx)) == LUA_TUSERDATA)
#define WXLUA_USE_WXSTR_CONVCURRENT   1

Definition at line 30 of file wxlstate.h.

#define wxLuaEventHandler ( func   )     (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)(wxNotifyEventFunction)wxStaticCastEvent(wxLuaEventFunction, &func)

Definition at line 1353 of file wxlstate.h.


Typedef Documentation

typedef void(wxEvtHandler::* wxLuaEventFunction)(wxLuaEvent &)

Definition at line 1351 of file wxlstate.h.


Enumeration Type Documentation

Enumerator:
WXLUA_DELETE_OBJECT_LAST 
WXLUA_DELETE_OBJECT_ALL 

Definition at line 286 of file wxlstate.h.

Enumerator:
wxLUASTATE_GETSTATE 
wxLUASTATE_SETSTATE 
wxLUASTATE_STATICSTATE 
wxLUASTATE_OPENBINDINGS 

Definition at line 660 of file wxlstate.h.


Function Documentation

wxString lua2wx ( const char *  luastr  ) 
const wxCharBuffer wx2lua ( const wxString &  wxstr  ) 
WX_DECLARE_VOIDPTR_HASH_MAP_WITH_DECL ( wxLuaState ,
wxHashMapLuaState  ,
class   
)
void LUACALL wxlua_argerror ( lua_State *  L,
int  stack_idx,
const wxString &  expectedType 
)
void LUACALL wxlua_argerrormsg ( lua_State *  L,
const wxString &  msg 
)
wxString wxlua_concatwxArrayString ( const wxArrayString &  arr,
const wxString &  sep = wxT("\n") 
)
void LUACALL wxlua_error ( lua_State *  L,
const char *  errorMsg 
)
bool wxlua_errorinfo ( lua_State *  L,
int  status,
int  top,
wxString *  errMsg = NULL,
int *  line_num = NULL 
)

Definition at line 235 of file wxlstate.cpp.

References lua2wx(), and wxlua_LUA_ERR_msg().

Referenced by wxLuaState::CompileBuffer(), and wxLuaState::SendLuaErrorEvent().

bool LUACALL wxlua_getbooleantype ( lua_State *  L,
int  stack_idx 
)

Definition at line 1429 of file wxlstate.cpp.

References wxlua_argerror(), wxlua_iswxluatype(), and WXLUA_TBOOLEAN.

Referenced by wxLuaState::GetBooleanType().

bool LUACALL wxlua_getcallbaseclassfunction ( lua_State *  L  ) 

Definition at line 1915 of file wxlstate.cpp.

References wxlua_lreg_callbaseclassfunc_key.

Referenced by wxLuaState::GetCallBaseClassFunction().

const char** LUACALL wxlua_getchararray ( lua_State *  L,
int  stack_idx,
int &  count 
)

Definition at line 1520 of file wxlstate.cpp.

References wxlua_argerror(), and wxlua_getstringtype().

Referenced by wxLuaState::GetCharArray().

long LUACALL wxlua_getenumtype ( lua_State *  L,
int  stack_idx 
)

Definition at line 1445 of file wxlstate.cpp.

References wxlua_argerror(), wxlua_iswxluatype(), and WXLUA_TINTEGER.

int* LUACALL wxlua_getintarray ( lua_State *  L,
int  stack_idx,
int &  count 
)

Definition at line 1564 of file wxlstate.cpp.

References wxlua_getwxArrayInt().

Referenced by wxLuaState::GetIntArray().

long LUACALL wxlua_getintegertype ( lua_State *  L,
int  stack_idx 
)

Definition at line 1461 of file wxlstate.cpp.

References wxlua_argerror(), wxlua_iswxluatype(), and WXLUA_TINTEGER.

Referenced by wxLuaState::GetIntegerType().

double LUACALL wxlua_getnumbertype ( lua_State *  L,
int  stack_idx 
)
const char* LUACALL wxlua_getstringtype ( lua_State *  L,
int  stack_idx 
)
unsigned long LUACALL wxlua_getuintegertype ( lua_State *  L,
int  stack_idx 
)

Definition at line 1482 of file wxlstate.cpp.

References wxlua_argerror(), wxlua_iswxluatype(), and WXLUA_TINTEGER.

wxLuaSmartwxArrayInt LUACALL wxlua_getwxArrayInt ( lua_State *  L,
int  stack_idx 
)
wxLuaSmartwxArrayString LUACALL wxlua_getwxArrayString ( lua_State *  L,
int  stack_idx 
)
wxEventType LUACALL wxlua_getwxeventtype ( lua_State *  L  ) 

Definition at line 1933 of file wxlstate.cpp.

References wxlua_lreg_wxeventtype_key.

Referenced by wxLuaState::GetInEventType(), and wxlua_debugHookFunction().

wxLuaStateData* LUACALL wxlua_getwxluastatedata ( lua_State *  L  ) 

Definition at line 1951 of file wxlstate.cpp.

References wxlua_lreg_wxluastatedata_key.

Referenced by wxlua_debugHookFunction().

wxLuaSmartwxSortedArrayString LUACALL wxlua_getwxSortedArrayString ( lua_State *  L,
int  stack_idx 
)
wxString* LUACALL wxlua_getwxStringarray ( lua_State *  L,
int  stack_idx,
int &  count 
)

Definition at line 1550 of file wxlstate.cpp.

References wxlua_getwxArrayString().

Referenced by wxLuaState::GetwxStringArray().

wxString LUACALL wxlua_getwxStringtype ( lua_State *  L,
int  stack_idx 
)
bool LUACALL wxlua_hasderivedmethod ( lua_State *  L,
void *  obj_ptr,
const char *  method_name,
bool  push_method 
)
int LUACALL wxlua_iswxluatype ( int  luatype,
int  wxl_type,
lua_State *  L = NULL 
)
bool wxlua_iswxstringtype ( lua_State *  L,
int  stack_idx 
)
void wxlua_lreg_createtable ( lua_State *  L,
void *  lightuserdata_reg_key,
int  narr = 0,
int  nrec = 0 
)
wxString wxlua_LUA_ERR_msg ( int  LUA_ERRx  ) 
wxString LUACALL wxlua_luaL_typename ( lua_State *  L,
int  stack_idx 
)
int wxlua_luatowxluatype ( int  luatype  ) 
int wxlua_pushargs ( lua_State *  L,
wxChar **  argv,
int  argc,
int  start_n 
)

Definition at line 1761 of file wxlstate.cpp.

References wx2lua().

int LUACALL wxlua_pushwxArrayInttable ( lua_State *  L,
const wxArrayInt &  intArray 
)

Definition at line 1730 of file wxlstate.cpp.

Referenced by wxLuaObject::GetObject(), and wxLuaState::PushwxArrayIntTable().

int LUACALL wxlua_pushwxArrayStringtable ( lua_State *  L,
const wxArrayString &  strArray 
)
void LUACALL wxlua_pushwxString ( lua_State *  L,
const wxString &  str 
)
bool LUACALL wxlua_removederivedmethods ( lua_State *  L,
void *  obj_ptr 
)
void LUACALL wxlua_setcallbaseclassfunction ( lua_State *  L,
bool  call_base 
)
bool LUACALL wxlua_setderivedmethod ( lua_State *  L,
void *  obj_ptr,
const char *  method_name,
wxLuaObject wxlObj 
)
void LUACALL wxlua_setwxeventtype ( lua_State *  L,
wxEventType  evt_type 
)

Definition at line 1944 of file wxlstate.cpp.

References wxlua_lreg_wxeventtype_key.

Referenced by wxLuaState::Create(), and wxLuaState::SetInEventType().

void* LUACALL wxlua_touserdata ( lua_State *  L,
int  stack_idx,
bool  null_ptr = false 
)
int wxlua_wxluatoluatype ( int  wxluatype  ) 
void LUACALL wxluaO_addgcobject ( lua_State *  L,
void *  obj_ptr,
wxObject *  wxobj 
)

Definition at line 487 of file wxlstate.cpp.

References wxlua_lreg_gcobjects_key.

void LUACALL wxluaO_addgcobject ( lua_State *  L,
wxObject *  wxobj 
)
bool LUACALL wxluaO_deletegcobject ( lua_State *  L,
void *  udata,
void *  obj_ptr,
int  flags 
)
wxArrayString LUACALL wxluaO_getgcobjectinfo ( lua_State *  L  ) 
wxArrayString LUACALL wxluaO_gettrackedweakobjectinfo ( lua_State *  L  ) 

Definition at line 760 of file wxlstate.cpp.

References wxlua_lreg_weakobjects_key, and wxluaT_typename().

Referenced by wxLua_function_GetTrackedObjectInfo().

bool LUACALL wxluaO_isgcobject ( lua_State *  L,
void *  obj_ptr 
)
bool LUACALL wxluaO_istrackedweakobject ( lua_State *  L,
void *  obj_ptr,
int  wxl_type,
bool  push_on_stack 
)
void LUACALL wxluaO_trackweakobject ( lua_State *  L,
int  udata_stack_idx,
void *  obj_ptr,
int  wxl_type 
)

Definition at line 627 of file wxlstate.cpp.

References ABS_LUA_STKIDX, and wxlua_lreg_weakobjects_key.

Referenced by wxluaT_pushuserdatatype().

bool LUACALL wxluaO_undeletegcobject ( lua_State *  L,
void *  obj_ptr 
)

Definition at line 558 of file wxlstate.cpp.

References wxlua_lreg_gcobjects_key.

Referenced by wxLua_function_ungcobject().

int LUACALL wxluaO_untrackweakobject ( lua_State *  L,
void *  udata,
void *  obj_ptr 
)
bool LUACALL wxluaR_getref ( lua_State *  L,
int  wxlref_idx,
void *  lightuserdata_reg_key 
)
int LUACALL wxluaR_isrefed ( lua_State *  L,
int  stack_idx,
void *  lightuserdata_reg_key 
)

Definition at line 437 of file wxlstate.cpp.

References ABS_LUA_STKIDX, and wxlua_lreg_debug_refs_key.

Referenced by wxLua_function_isrefed().

int LUACALL wxluaR_ref ( lua_State *  L,
int  stack_idx,
void *  lightuserdata_reg_key 
)
bool LUACALL wxluaR_unref ( lua_State *  L,
int  wxlref_idx,
void *  lightuserdata_reg_key 
)
const wxLuaBindClass* LUACALL wxluaT_getclass ( lua_State *  L,
const char *  class_name 
)

Definition at line 1071 of file wxlstate.cpp.

References wxlua_lreg_classes_key.

const wxLuaBindClass* LUACALL wxluaT_getclass ( lua_State *  L,
int  wxl_type 
)
bool LUACALL wxluaT_getmetatable ( lua_State *  L,
int  wxl_type 
)
int LUACALL wxluaT_gettype ( lua_State *  L,
const char *  name 
)
wxString LUACALL wxluaT_gettypename ( lua_State *  L,
int  stack_idx 
)

Definition at line 1033 of file wxlstate.cpp.

References wxluaT_type(), and wxluaT_typename().

Referenced by wxlua_getLuaArgsMsg().

void* LUACALL wxluaT_getuserdatatype ( lua_State *  L,
int  stack_idx,
int  wxl_type 
)
int LUACALL wxluaT_isderivedclass ( const wxLuaBindClass wxlClass,
const wxLuaBindClass base_wxlClass 
)

Definition at line 1243 of file wxlstate.cpp.

References wxluaT_isderivedtype_recurser(), and wxLuaBindClass::wxluatype.

Referenced by wxlua_iswxluatype().

int LUACALL wxluaT_isderivedtype ( lua_State *  L,
int  wxl_type,
int  base_wxl_type 
)
bool wxluaT_isuserdatatype ( lua_State *  L,
int  stack_idx,
int  wxl_type 
)
int LUACALL wxluaT_newmetatable ( lua_State *  L,
int  wxl_type 
)
bool LUACALL wxluaT_pushuserdatatype ( lua_State *  L,
const void *  obj_ptr,
int  wxl_type,
bool  track = true,
bool  allow_NULL = false 
)
bool LUACALL wxluaT_setmetatable ( lua_State *  L,
int  wxl_type 
)

Definition at line 941 of file wxlstate.cpp.

References wxlua_error(), and wxluaT_getmetatable().

Referenced by wxLuaState::wxluaT_SetMetatable().

int LUACALL wxluaT_type ( lua_State *  L,
int  stack_idx 
)
wxString LUACALL wxluaT_typename ( lua_State *  L,
int  wxl_type 
)
void LUACALL wxluaW_addtrackedwindow ( lua_State *  L,
wxObject *  wxobj 
)

Definition at line 801 of file wxlstate.cpp.

References wxlua_lreg_topwindows_key, and wxluaW_istrackedwindow().

Referenced by wxLuaState::AddTrackedWindow().

wxArrayString LUACALL wxluaW_gettrackedwindowinfo ( lua_State *  L  ) 
bool LUACALL wxluaW_istrackedwindow ( lua_State *  L,
wxWindow *  win,
bool  check_parents 
)

Definition at line 839 of file wxlstate.cpp.

References wxlua_lreg_topwindows_key.

Referenced by wxLuaState::IsTrackedWindow(), and wxluaW_addtrackedwindow().

void LUACALL wxluaW_removetrackedwindow ( lua_State *  L,
wxWindow *  win 
)

Definition at line 827 of file wxlstate.cpp.

References wxlua_lreg_topwindows_key.

Referenced by wxLuaState::RemoveTrackedWindow().


Variable Documentation

const char* wxlua_lreg_refs_key
const char* wxlua_lreg_types_key
Generated on Tue Jul 13 10:30:39 2010 for wxLua by  doxygen 1.6.3