-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev/version-2.0' of github.com:pyimgui/pyimgui into dev…
…/version-2.0
- Loading branch information
Showing
7 changed files
with
151 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.. _guide-combo-flags: | ||
|
||
Using combo flags | ||
====================== | ||
|
||
Combo functions accept various flags to manage their behaviour. | ||
|
||
List of all available combo flags (click to see documentation): | ||
|
||
.. _combo-flag-options: | ||
|
||
* :py:data:`COMBO_NONE` = core.COMBO_NONE | ||
* :py:data:`COMBO_POPUP_ALIGN_LEFT` Align the popup toward the left by default | ||
* :py:data:`COMBO_HEIGHT_SMALL` Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo() | ||
* :py:data:`COMBO_HEIGHT_REGULAR` Max ~8 items visible (default) | ||
* :py:data:`COMBO_HEIGHT_LARGE` Max ~20 items visible | ||
* :py:data:`COMBO_HEIGHT_LARGEST` As many fitting items as possible | ||
* :py:data:`COMBO_NO_ARROW_BUTTON` Display on the preview box without the square arrow button | ||
* :py:data:`COMBO_NO_PREVIEW` Display only a square arrow button | ||
* :py:data:`COMBO_HEIGHT_MASK` Shortcut: "imgui.COMBO_HEIGHT_SMALL | imgui.COMBO_HEIGHT_REGULAR | imgui.COMBO_HEIGHT_LARGE | imgui.COMBO_HEIGHT_LARGEST". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ Usage guide | |
selectable-flag | ||
inputtext-flags | ||
slider-flags | ||
combo-flags | ||
tabbar-flags | ||
draw-flags | ||
|
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
doc/source/visual_examples/imgui.core.show_metrics_window_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters