src/wren-bindings/wrap_imgui_codegen.cpp
/*  create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. */
create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
create a Tab behaving like a button . return true when clicked . cannot be selected in the tab bar .
void w_TabItemButton(WrenVM *vm)
{
	auto label = wrenExGetSlot<const char*>(vm, 1);
	auto flags = wrenExIsSlotDefault(vm, 2) ? 0 : wrenExGetSlotFlags<ImGuiTabItemFlags>(getImGuiTabItemFlagsFromString, vm, 2);
	bool out = ImGui::TabItemButton(label, flags);
	wrenSetSlotBool(vm, 0, out);
}
void w_TabItemButton ( WrenVM * vm ) { auto label = wrenExGetSlot < const char * > ( vm , 1 ) ; auto flags = wrenExIsSlotDefault ( vm , 2 ) ? 0 : wrenExGetSlotFlags < ImGuiTabItemFlags > ( getImGuiTabItemFlagsFromString , vm , 2 ) ; bool out = ImGui :: TabItemButton ( label , flags ) ; wrenSetSlotBool ( vm , 0 , out ) ; }
create a Tab behaving like a button.
create a Tab behaving like a button .