lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I've got a system that allows me to set Lua functions as callback
actions from GtkMenuItems.  You can find he code here:

// generic interface:
http://www.mat.ucsb.edu/projects/luaAV/browser/trunk/LuaAV/library/src/LuaAVMenu.cpp
471: int MenuItem :: action(lua_State *L)


// gtk callback system:
http://www.mat.ucsb.edu/projects/luaAV/browser/trunk/LuaAV/library/linux/LuaAVMenuLinux.cpp
93: void MenuBarImpl :: dispatch(MenuItem *mi)
419: void MenuItem :: implEnableAction()


wes