src/wren-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!
void w_BeginPopupContextItem(WrenVM *vm)
{
	auto str_id = wrenExIsSlotDefault(vm, 1) ? NULL : wrenExGetSlot<const char*>(vm, 1);
	auto popup_flags = wrenExIsSlotDefault(vm, 2) ? 1 : wrenExGetSlotFlags<ImGuiPopupFlags>(getImGuiPopupFlagsFromString, vm, 2);
	bool out = ImGui::BeginPopupContextItem(str_id, popup_flags);
	wrenSetSlotBool(vm, 0, out);
}
void w_BeginPopupContextItem ( WrenVM * vm ) { auto str_id = wrenExIsSlotDefault ( vm , 1 ) ? NULL : wrenExGetSlot < const char * > ( vm , 1 ) ; auto popup_flags = wrenExIsSlotDefault ( vm , 2 ) ? 1 : wrenExGetSlotFlags < ImGuiPopupFlags > ( getImGuiPopupFlagsFromString , vm , 2 ) ; bool out = ImGui :: BeginPopupContextItem ( str_id , popup_flags ) ; wrenSetSlotBool ( vm , 0 , out ) ; }
open+begin popup when clicked on last item.
open + begin popup when clicked on last item .