DropDown#
- class ignis.widgets.Widget.DropDown(*args: Any, **kwargs: Any)#
Bases:
Gtk.DropDown
A widget that allows the user to choose an item from a list of options.
Widget.DropDown( items=["option 1", "option 2", "option 3"], on_selected=lambda x, selected: print(selected) )
- property items: list[str]#
optional, read-write
A list of strings that can be selected in the popover.