EnumListModel.findPosition

Finds the position of a given enum value in self.

If the value is not found, GTK_INVALID_LIST_POSITION is returned.

class EnumListModel
uint
findPosition
(
int value
)

Parameters

value int

an enum value

Return Value

Type: uint

the position of the value