Class ResourceDictionarySelector

Class Hierarchy

A resource dictionary selector is a type of a resource dictionary that redirects resource queries to its only nested dictionary. This type of dictionary is used internally by Screen to implement switching of locales and themes in theme groups. You can use Screen::setLocale to set the current locale and Screen::activateTheme to activate a theme in a theme group.

Inherits properties and message types from ResourceDictionarySelectorMetadata.

Synopsis

Methods
create()

Creates a resource dictionary selector

ResourceDictionarySelector.ResourceDictionarySelector:create(name)

Creates a resource dictionary selector.

Parameters
name (string)

The name of the resource dictionary selector.

Return Values
(ResourceDictionarySelector)

The pointer to the resource dictionary selector.