====== 参数(args) ====== ----- \\ ===== 窗口参数(imgui.flags) ===== ^参数名(单例对象) ^描述 ^ |no_title_bar |无标题栏 | |no_resize |不允许调整大小 | |no_move |不允许移动位置 | |no_scroll_bar |无滚动条 | |no_collapse |不允许折叠 | |always_auto_resize |自动调整大小 | |no_saved_settings |不保存设置 | |menu_bar |开启菜单栏 | |horizontal_scroll_bar |开启横向滚动条 | ===== 标签参数(imgui.flags) ===== ^参数名(单例对象) ^描述 ^ |unsaved_document |设置为未保存标签 | |set_selected |选中标签 | ===== 输入框参数(imgui.flags) ===== ^参数名(单例对象) ^描述 ^ |allow_tab|允许在输入框中输入Tab | |read_only|设置输入框为只读 | |password |设置输入框为密码输入模式(全部输入均显示为*) | ===== 方位(imgui.dirs) ===== ^参数名(单例对象) ^描述 ^ |left |左 | |right |右 | |up |上 | |down |下 | ===== 特殊键(imgui.keys) ===== ^参数名(单例对象) ^描述 ^ |tab |制表键 | |left |方向左键 | |right |方向右键 | |up |方向上键 | |down |方向下键 | |page_up |向上翻页键 | |page_down |向下翻页键 | |home |主页键 | |end_key |结束键 | |insert |插入键 | |delete |删除键 | |backspace |退格键 | |space |空格键 | |enter |回车键 | |escape |回退键 | |ctrl_a |Ctrl+A | |ctrl_c |Ctrl+C | |ctrl_v |Ctrl+V | |ctrl_x |Ctrl+X | |ctrl_y |Ctrl+Y | |ctrl_z |Ctrl+Z | ----- \\