I am trying to make a combo box which contains a lot of items. Due to its length it hits the bottom of the screen. Here is an example of what happens when it hits the bottom of the screen:
There are 80 items in the combo box, but it can only display those five items, with the fifth being slightly cut off, as there's no vertical scroll bar which can allow for scrolling through the options.
In the UI file I have:
<child>
<object class="GtkComboBoxText" id="acc1_combo_box">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
After doing some tests using Glade, I found out that GTK3's combo boxes will allow for scrolling when the combo box hits the bottom of the screen (indicated here by the downwards arrow):
How do I make the combo boxes scrollable? Is there an alternative, or should I just convert my code to use GTK3, as it does have scrollable combo boxes?