[Feature] Separate factory property for the button part of GtkDropDown
Background
I'm developing an app where some dropdown buttons get a limited amount of horizontal space at certain window sizes, and I'd like to make them ellipsize in those situations. From reading through a couple of discussions here and on GNOME's Discourse instance, it seems like the best way to get the button part of GtkDropDown to ellipsize is to use a custom factory for the button part of the widget (which I think is a reasonable approach considering the flexibility it provides).
When setting the factory
property of the dropdown, however, it also applies the factory to the list itself, removing the checkmarks of the default factory. To get them back, I currently reimplement them myself in another factory and set that as the list-factory
of the dropdown. It would be more convenient if I could just set a custom factory for the button without having to reimplement the checkmarks alongside it.
Proposed solution
A button-factory
property for setting the list item factory of a GtkDropDown
's button, not affecting the factory used for the list itself.