atk.role

Module for [Role] enum namespace

struct Role

Types 1

structRole

Namespace for [Role] enum

Methods
atk.types.Role forName(string name)Get the #AtkRole type corresponding to a rolew name.
string getLocalizedName(atk.types.Role role)Gets the localized description string describing the #AtkRole role.
string getName(atk.types.Role role)Gets the description string describing the #AtkRole role.
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.