Gtk.ComboBox.prototype.get_button_sensitivity
function get_button_sensitivity():Gtk.SensitivityType { // Gjs wrapper for gtk_combo_box_get_button_sensitivity() }
Returns whether the combo box sets the dropdown button sensitive or not when there are no items in the model.
Since 2.14
- Returns
Gtk.SensitivityType.on if the dropdown button is sensitive when the model is empty, Gtk.SensitivityType.off if the button is always insensitive or Gtk.SensitivityType.auto if it is only sensitive as long as the model has one item to be selected.