gsimguigsimguiCombo本页总览Combo 在当前上下文,添加一个列表框 声明 int Combo(string label, ImInt current_item, array items, int popup_max_height_in_items) 参数 参数名描述label显示文本current_item当前选中的值items列表项popup_max_height_in_items列表框的最大高度, -1 为默认值, imgui 会自动计算高度 返回值 使用方式 gsimgui.Combo("##combo_1", _int1, ["a", "b", "c"]); 返回文档