src/lua-bindings/wrap_imgui_codegen.cpp
/*  open+begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! */
open+begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
open + begin popup when clicked on last item . if you can pass a NULL str_id only if the previous item had an id . If you want to use that on a non - interactive item such as Text () you need to pass in an explicit ID here . read comments in . cpp!
int w_BeginPopupContextItem(lua_State *L)
{
	auto str_id = luaL_optstring(L, 1, NULL);
	auto popup_flags = luax_optflags<ImGuiPopupFlags>(getImGuiPopupFlagsFromString, L, 2, 1);
	bool out = ImGui::BeginPopupContextItem(str_id, popup_flags);
	lua_pushboolean(L, out);
	return 1;
}
int w_BeginPopupContextItem ( lua_State * L ) { auto str_id = luaL_optstring ( L , 1 , NULL ) ; auto popup_flags = luax_optflags < ImGuiPopupFlags > ( getImGuiPopupFlagsFromString , L , 2 , 1 ) ; bool out = ImGui :: BeginPopupContextItem ( str_id , popup_flags ) ; lua_pushboolean ( L , out ) ; return 1 ; }
open+begin popup when clicked on last item.
open + begin popup when clicked on last item .