You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Creates a new listbox control. The format is `listbox!("attributes")` where the attributes are pairs of key-value, separated by comma, in the format `key=value` or `key:value`.
712
+
/// If the `value` is a string, use single quotes to delimit the value.
713
+
/// The following attributes are supported:
714
+
/// * `flags` - The flags of the listbox. The following values are supported:
715
+
/// - **ScrollBars** - Adds scrollbars to the listbox
716
+
/// - **SearchBar** - Adds a search bar for filtering items
717
+
/// - **CheckBoxes** - Adds checkboxes for multiple selection
718
+
/// - **AutoScroll** - Automatically scrolls to newly added items
719
+
/// - **HighlightSelectedItemWhenInactive** - Highlights selected item even when inactive
720
+
/// * `items` - A list of strings to populate the listbox with. Format: `['item1', 'item2', ...]`
721
+
/// * `index` or `selected_index` - The index of the initially selected item (0-based)
722
+
/// * `lsm` or `left-scroll-margin` - Left scroll margin in characters
723
+
/// * `tsm` or `top-scroll-margin` - Top scroll margin in characters
724
+
/// * `em` or `empty-message` - Message to display when the listbox is empty
725
+
/// * Position and size:
726
+
/// - `x`, `y` - Position coordinates
727
+
/// - `width`/`w`, `height`/`h` - Control dimensions
0 commit comments