used as 'chooser_base_t::flags'
|Modal chooser. |
|The chooser instance's lifecycle is not tied to the lifecycle of the widget showing its contents. More...|
|The chooser will allow multi-selection (only for GUI choosers). More...|
|do not display ok/cancel/help/search buttons. More...|
|generate ui_get_chooser_item_attrs (gui only) |
|use the chooser before opening the database |
|if a non-modal chooser was already open, change selection to the default one |
|allow to insert new items |
|allow to delete existing item(s) |
|allow to edit existing item(s) |
|allow to refresh chooser |
|open with quick filter enabled and focused |
|set quick filtering type to the possible existing default for this chooser |
|#define||CH_QFTYP_NORMAL (1 << CH_QFTYP_SHIFT)|
|normal (i.e., lexicographical) quick filter type |
|#define||CH_QFTYP_WHOLE_WORDS (2 << CH_QFTYP_SHIFT)|
|whole words quick filter type |
|#define||CH_QFTYP_REGEX (3 << CH_QFTYP_SHIFT)|
|regex quick filter type |
|#define||CH_QFTYP_FUZZY (4 << CH_QFTYP_SHIFT)|
|fuzzy search quick filter type |
|#define||CH_QFTYP_MASK (0x7 << CH_QFTYP_SHIFT)|
|#define||CH_BUILTIN(id) ((id+1) << CH_BUILTIN_SHIFT)|
|#define||CH_BUILTIN_MASK (0x1F << CH_BUILTIN_SHIFT)|
|Mask for builtin chooser numbers. Plugins should not use them. |
Macro Definition Documentation
|#define CH_KEEP 0x00000002|
The chooser instance's lifecycle is not tied to the lifecycle of the widget showing its contents.
Closing the widget will not destroy the chooser structure. This allows for, e.g., static global chooser instances that don't need to be allocated on the heap. Also stack-allocated chooser instances must set this bit.
|#define CH_MULTI 0x00000004|
The chooser will allow multi-selection (only for GUI choosers).
This bit is set when using the chooser_multi_t structure. Obsolete
|#define CH_NOBTNS 0x00000010|
do not display ok/cancel/help/search buttons.
Meaningful only for gui modal windows because non-modal windows do not have any buttons anyway. Text mode does not have them neither.
Generated by 126.96.36.199