ComboBoxText.getActiveText

string getActiveText()

Returns the currently active string in combo_box.

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

Returns

a newly allocated

string containing the currently active text. Must be freed with [glib.global.gfree].

Deprecated

Use [gtk.drop_down.DropDown]