get_active_text


Description:

public string? get_active_text ()

Returns the currently active string in this.

Note:

Use [class@Gtk.DropDown]

If no row is currently selected, null is returned. If this contains an entry, this function will return its contents (which will not necessarily be an item from the list).

Parameters:

this

A `GtkComboBoxText`

Returns:

a newly allocated string containing the currently active text. Must be freed with g_free.