get_active_id


Description:

[ Version ( since = "3.0" ) ]
public unowned string? get_active_id ()

Returns the ID of the active row of this.

This value is taken from the active row and the column specified by the id_column property of this (see set_id_column).

The returned value is an interned string which means that you can compare the pointer by value to other interned strings and that you must not free it.

If the id_column property of this is not set, or if no row is active, or if the active row has a null ID value, then null is returned.

Parameters:

this

a ComboBox

Returns:

the ID of the active row, or null




2022 vala-language.org