Role

Namespace for Role enum

Members

Static functions

forName
atk.types.Role forName(string name)

Get the #AtkRole type corresponding to a rolew name.

getLocalizedName
string getLocalizedName(atk.types.Role role)

Gets the localized description string describing the #AtkRole role.

getName
string getName(atk.types.Role role)

Gets the description string describing the #AtkRole role.

register
atk.types.Role register(string name)

Registers the role specified by name. name must be a meaningful name. So it should not be empty, or consisting on whitespaces.