src/lua-bindings/wrap_imgui_codegen.cpp
/*  return true if the modal is open, and you can start outputting to it. */
return true if the modal is open, and you can start outputting to it.
return true if the modal is open and you can start outputting to it .
int w_BeginPopupModal(lua_State *L)
{
	auto name = luaL_checkstring(L, 1);
	bool p_open = luax_optboolean(L, 2, NULL);
	auto flags = luax_optflags<ImGuiWindowFlags>(getImGuiWindowFlagsFromString, L, 3, 0);
	bool out = ImGui::BeginPopupModal(name, &p_open, flags);
	lua_pushboolean(L, p_open);
	lua_pushboolean(L, out);
	return 2;
}
int w_BeginPopupModal ( lua_State * L ) { auto name = luaL_checkstring ( L , 1 ) ; bool p_open = luax_optboolean ( L , 2 , NULL ) ; auto flags = luax_optflags < ImGuiWindowFlags > ( getImGuiWindowFlagsFromString , L , 3 , 0 ) ; bool out = ImGui :: BeginPopupModal ( name , & p_open , flags ) ; lua_pushboolean ( L , p_open ) ; lua_pushboolean ( L , out ) ; return 2 ; }
return true if the modal is open, and you can start outputting to it.
return true if the modal is open and you can start outputting to it .