src/lua-bindings/wrap_imgui_codegen.cpp
/*  "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height */
"bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state.
" bool selected " carry the selection state ( read - only ) . Selectable () is clicked is returns true so you can modify your selection state .
int w_Selectable_Override1(lua_State *L)
{
	auto label = luaL_checkstring(L, 1);
	auto selected = luax_optboolean(L, 2, false);
	auto flags = luax_optflags<ImGuiSelectableFlags>(getImGuiSelectableFlagsFromString, L, 3, 0);
	auto size = ImVec2(0, 0);
	size.x = luax_optfloat(L, 4, size.x);
	size.y = luax_optfloat(L, 5, size.y);
	bool out = ImGui::Selectable(label, selected, flags, size);
	lua_pushboolean(L, out);
	return 1;
}
int w_Selectable_Override1 ( lua_State * L ) { auto label = luaL_checkstring ( L , 1 ) ; auto selected = luax_optboolean ( L , 2 , false ) ; auto flags = luax_optflags < ImGuiSelectableFlags > ( getImGuiSelectableFlagsFromString , L , 3 , 0 ) ; auto size = ImVec2 ( 0 , 0 ) ; size . x = luax_optfloat ( L , 4 , size . x ) ; size . y = luax_optfloat ( L , 5 , size . y ) ; bool out = ImGui :: Selectable ( label , selected , flags , size ) ; lua_pushboolean ( L , out ) ; return 1 ; }
"bool selected" carry the selection state (read-only).
" bool selected " carry the selection state ( read - only ) .