GtkComboBox::get_active_text

string get_active_text();

The get_active_text() method returns the currently active string or null if no entry is selected. Note that you can only use this function with combo boxes constructed with the new_text function.