Method

GtkStringListfind

unstable since: 4.18

Declaration [src]

guint
gtk_string_list_find (
  GtkStringList* self,
  const char* string
)

Description [src]

Gets the position of the string in self.

If self does not contain string item, G_MAXUINT is returned.

Available since: 4.18

Parameters

string

Type: const char*

The string to find.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: guint

The position of the string.