find_position


Description:

public uint find_position (int value)

Finds the position of a given enum value in self.

If the value is not found, [const@Gtk.INVALID_LIST_POSITION] is returned.

Parameters:

value

an enum value

Returns:

the position of the value