EnumListModel.findPosition

uint findPosition(int value)

Finds the position of a given enum value in self.

If the value is not found, [gtk.types.INVALID_LIST_POSITION] is returned.

Parameters

valuean enum value

Returns

the position of the value