summaryrefslogtreecommitdiff
path: root/tests/testdropdown.c
Commit message (Collapse)AuthorAgeFilesLines
* dropdown: Revise constructorsMatthias Clasen2020-07-261-3/+3
| | | | | | | | | | | | A dropdown without a model is useless, so accept a model and expression in the constructor. Allow them to be NULL, but consume them if given. This makes chained constructors convenient without breaking language bindings. Drop gtk_drop_down_set_from_strings() and instead add gtk_drop_down_new_from_strings(). Update all users.
* Drop unnecessary uses of gtk_style_context_add_classMatthias Clasen2020-06-301-1/+1
| | | | We can use gtk_widget_add_css_class instead, most places.
* testdropdown: Add some more testsMatthias Clasen2020-06-121-0/+248
| | | | | Add a homegrown combobox entry replacement that combines a dropdown with a plain entry.
* Add GtkDropDownMatthias Clasen2020-05-301-0/+321
This is a simple drop down control using list models.