Allow the ability to set the number of visible items to GtkComboBox
As far as I can say GtkComboBox does not have an ability to set the number of visible items. So if the program have many items, the drop-down will have a scroller and it will go out of screen.
I'd like to have an ability to set the number of visible items so that the screen will not be covered completely (only partially).
If there is already a way - I apologize. I didn't see anything to that extent in the GtkComboBox documentation.
Basically I'm looking for something like:
gtk_combo_box_set_visible_elements_height(GtkComboBox *combo, int numElements);
Then only numElements will be visible when the drop-down is shown. Of course by default this value should be something like "-1" indicating the old behaviour.
Is it possible to add such a function, provided this functionality can not be achieved right now?
Thank you in advance for a reply.