Package: gtk

Accessor gtk:combo-box-active-id

Lambda List

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

Syntax

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

Arguments

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

Details

The accessor for the active-id slot gets or sets the ID of the active row of the combo box. This value is taken from the active row and the column specified by the id-column property of the combo box. Unsets the active row if active-id is nil. Rows having a nil ID string cannot be made active by this function.

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

See also

2026-07-10