src/lua-bindings/wrap_imgui_codegen.cpp
/*  helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) */
helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
helper to open popup when clicked on last item . return true when just opened . ( note : actually triggers on the mouse _released_ event to be consistent with popup behaviors )
int w_OpenPopupOnItemClick(lua_State *L)
{
	auto str_id = luaL_optstring(L, 1, NULL);
	auto popup_flags = luax_optflags<ImGuiPopupFlags>(getImGuiPopupFlagsFromString, L, 2, 1);
	ImGui::OpenPopupOnItemClick(str_id, popup_flags);
	return 0;
}
int w_OpenPopupOnItemClick ( lua_State * L ) { auto str_id = luaL_optstring ( L , 1 , NULL ) ; auto popup_flags = luax_optflags < ImGuiPopupFlags > ( getImGuiPopupFlagsFromString , L , 2 , 1 ) ; ImGui :: OpenPopupOnItemClick ( str_id , popup_flags ) ; return 0 ; }
helper to open popup when clicked on last item.
helper to open popup when clicked on last item .