Go to the source code of this file.
Namespaces | |
| gui2 | |
| Generic file dialog. | |
| lua_widget | |
Functions | |
| void | lua_widget::register_metatable (lua_State *L) |
| void | luaW_pushwidget (lua_State *L, gui2::widget &w) |
| bool | luaW_iswidget (lua_State *L, int idx) |
| gui2::widget & | luaW_checkwidget (lua_State *L, int idx) |
| lua_ptr< gui2::widget > & | luaW_checkwidget_ptr (lua_State *L, int idx) |
| void | luaW_pushwindowtable (lua_State *L, gui2::window *owner) |
| [-0, +1, -] More... | |
| void | luaW_clearwindowtable (lua_State *L, gui2::window *owner) |
| [-0, +0, -] More... | |
| void | luaW_pushwidgettable (lua_State *L, gui2::widget *wg, gui2::window *owner) |
| [-0, +1, -] More... | |
| bool | luaW_setwidgetcallback (lua_State *L, gui2::widget *wg, gui2::window *owner, std::string_view name) |
| returns true if a callback already existed. More... | |
| void | luaW_getwidgetcallback (lua_State *L, gui2::widget *wg, gui2::window *owner, std::string_view name) |
| pushed ther callback function onoto the stack [-0, +1, -] More... | |
| void | luaW_callwidgetcallback (lua_State *L, gui2::widget *wg, gui2::window *owner, std::string_view name) |
| callas a widgets callback [-0, +0, e] More... | |
| void luaW_callwidgetcallback | ( | lua_State * | L, |
| gui2::widget * | wg, | ||
| gui2::window * | owner, | ||
| std::string_view | name | ||
| ) |
callas a widgets callback [-0, +0, e]
Definition at line 174 of file lua_widget.cpp.
References luaW_getwidgetcallback(), and luaW_pushwidget().
| gui2::widget& luaW_checkwidget | ( | lua_State * | L, |
| int | idx | ||
| ) |
Definition at line 41 of file lua_widget.cpp.
References lua_ptr< T >::get_ptr(), n, and widgetKey.
Referenced by lua_widget::impl_widget_dir(), lua_widget::impl_widget_get(), impl_widget_length(), lua_widget::impl_widget_set(), intf_add_dialog_item(), intf_add_item_of_type(), intf_clear_items(), intf_dialog_close(), intf_find_widget(), intf_remove_dialog_item(), intf_set_dialog_canvas(), and intf_set_dialog_focus().
| lua_ptr<gui2::widget>& luaW_checkwidget_ptr | ( | lua_State * | L, |
| int | idx | ||
| ) |
Definition at line 51 of file lua_widget.cpp.
References lua_ptr< T >::get_ptr(), n, and widgetKey.
Referenced by intf_set_dialog_callback().
| void luaW_clearwindowtable | ( | lua_State * | L, |
| gui2::window * | owner | ||
| ) |
[-0, +0, -]
Definition at line 103 of file lua_widget.cpp.
References luaW_pushwidgettablecontainer().
Referenced by intf_show_dialog().
| void luaW_getwidgetcallback | ( | lua_State * | L, |
| gui2::widget * | wg, | ||
| gui2::window * | owner, | ||
| std::string_view | name | ||
| ) |
pushed ther callback function onoto the stack [-0, +1, -]
Definition at line 162 of file lua_widget.cpp.
References lua_push(), and luaW_pushwidgettable().
Referenced by luaW_callwidgetcallback().
| bool luaW_iswidget | ( | lua_State * | L, |
| int | idx | ||
| ) |
Definition at line 62 of file lua_widget.cpp.
References utf8::index(), and widgetKey.
| void luaW_pushwidget | ( | lua_State * | L, |
| gui2::widget & | w | ||
| ) |
Definition at line 35 of file lua_widget.cpp.
Referenced by lua_widget::impl_widget_get(), intf_add_dialog_item(), intf_add_item_of_type(), intf_find_widget(), intf_show_dialog(), lua_check_impl::lua_push(), luaW_callwidgetcallback(), luaW_pushwidgettable(), and WIDGET_SETTER().
| void luaW_pushwidgettable | ( | lua_State * | L, |
| gui2::widget * | wg, | ||
| gui2::window * | owner | ||
| ) |
[-0, +1, -]
Definition at line 113 of file lua_widget.cpp.
References luaW_pushwidget(), and luaW_pushwindowtable().
Referenced by luaW_getwidgetcallback(), and luaW_setwidgetcallback().
| void luaW_pushwindowtable | ( | lua_State * | L, |
| gui2::window * | owner | ||
| ) |
[-0, +1, -]
Definition at line 81 of file lua_widget.cpp.
References luaW_pushwidgettablecontainer().
Referenced by luaW_pushwidgettable().
| bool luaW_setwidgetcallback | ( | lua_State * | L, |
| gui2::widget * | wg, | ||
| gui2::window * | owner, | ||
| std::string_view | name | ||
| ) |
returns true if a callback already existed.
[-1, +0, -]
Definition at line 140 of file lua_widget.cpp.
References lua_push(), and luaW_pushwidgettable().
Referenced by intf_set_dialog_callback().