Package: gtk

Accessor gtk:combo-box-button-sensitivity

Lambda List

gtk:combo-box-button-sensitivity (object)

Syntax

(gtk:combo-box-button-sensitivity object) => sensitivity
(setf (gtk:combo-box-button-sensitivity object) sensitivity)

Arguments

object -- a gtk:combo-box widget
sensitivity -- a value of the gtk:sensitivity-type enumeration

Details

Accessor of the button-sensitivity slot of the gtk:combo-box class. The gtk:combo-box-button-sensitivity function returns whether the combo box sets the dropdown button sensitive or not when there are no items in the model. The (setf gtk:combo-box-button-sensitivity) function sets the sensitivity.

The :on value if the dropdown button is sensitive when the model is empty, the :off value if the button is always insensitive or the :auto value if it is only sensitive as long as the model has one item to be selected.

Warning

The gtk:combo-box implementation is deprecated since 4.10. Use the gtk:drop-down widget instead.
 

See also

2024-4-26