get_active_id


Description:

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 [[email protected]:id-column] property of this (see [[email protected]_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 [[email protected]: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 `GtkComboBox`

Returns:

the ID of the active row




2022 vala-language.org