Method

HeDropdownget_active

Declaration

gchar*
he_dropdown_get_active (
  HeDropdown* self
)

Description [src]

Returns the currently active string in this. 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)..

Return value

Type: gchar*

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

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.