Reference for the Mosaic class Core::LanguageEvent

Core::LanguageEvent
NewLanguage
OldLanguage
Initialize()
Core::Event
IsTimeExact
Time
GetCurrentTime()

The class Core::LanguageEvent provides a notification event, used to inform GUI components about the change of the user language. In response to this event GUI components can adapt their aspect, etc.

method Core::LanguageEvent Initialize
(
arg language aOldLanguage,
arg language aNewLanguage
);

The method Initialize() initializes this Core::LanguageEvent object with the given parameters and returns this object to the caller.

var language NewLanguage;

The variable 'NewLanguage' stores the new name of the language after the language has been changed.

var language OldLanguage;

The variable 'OldLanguage' stores the previous name of the language before the language has been changed.