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:
471: int MenuItem :: action(lua_State *L)

// gtk callback system:
93: void MenuBarImpl :: dispatch(MenuItem *mi)
419: void MenuItem :: implEnableAction()