8 breaking releases

0.9.0 Mar 27, 2024
0.7.0 Feb 7, 2024
0.5.0 Nov 28, 2023
0.3.0 Jun 11, 2023
0.1.0 Nov 3, 2022

#255 in Text processing

Download history 35/week @ 2024-02-01 87/week @ 2024-02-08 76/week @ 2024-02-15 101/week @ 2024-02-22 33/week @ 2024-02-29 73/week @ 2024-03-07 93/week @ 2024-03-14 211/week @ 2024-03-21 140/week @ 2024-03-28 60/week @ 2024-04-04 67/week @ 2024-04-11 835/week @ 2024-04-18 603/week @ 2024-04-25 769/week @ 2024-05-02 788/week @ 2024-05-09 734/week @ 2024-05-16

2,978 downloads per month
Used in 16 crates (2 directly)

MIT license

25KB
116 lines

egui-dropdown

Dropdown list for egui.

Installation

[dependencies]
egui-dropdown = "0.2"

Usage

// Working example can be found in `examples/dropdown.rs`

ui.add(DropDownBox::from_iter(
    &self.items,
    "test_dropbox",
    &mut self.buf,
    |ui, text| ui.selectable_label(false, text)
));

Naming

Although it's called DropDownBox, technically speaking it should be called ComboBox. But this is what egui uses for its version of the widget so yeah.


lib.rs:

egui-dropdown

Dependencies

~4.5–10MB
~80K SLoC