Package: gtk

Accessor gtk:combo-box-active-id

Lambda List

gtk:combo-box-active-id (object)

Syntax

(gtk:combo-box-active-id object) => id
(setf (gtk:combo-box-active-id object) id)

Arguments

object -- a gtk:combo-box widget
id -- a string for the ID of the row to select, or nil

Details

The accessor for the active-id slot of the gtk:combo-box class gets or sets the ID of the active row of the combo box. Rows having a nil ID string cannot be made active by this function.

If the id-column property of the combo box is unset or if no row has the given ID then the function does nothing and returns nil.

Warning

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

See also

2025-08-12