Efl.Ui.Layout_Part_Text.l10n_text

Description

A unique string to be translated.

Often this will be a human-readable string (e.g. in English) but it can also be a unique string identifier that must then be translated to the current locale with dgettext() or any similar mechanism.

Setting this property will enable translation for this object or part.

Values

Getter

  • domain - A translation domain. If null this means the default domain is used.

Setter

  • label - A unique (untranslated) string.
  • domain - A translation domain. If null this uses the default domain (eg. set by textdomain()).

Setter

Sets the new untranslated string and domain for this object.

Overridden from Efl.Ui.L10n.l10n_text (get, set).

Signature

@property l10n_text @pure_virtual {
    get {
        values {
            domain: string @optional;
        }
        return: string;
    }
    set {
        values {
            label: string;
            domain: string @optional;
        }
    }
}

C signature

const char *efl_ui_l10n_text_get(const Eo *obj, const char **domain);
void efl_ui_l10n_text_set(Eo *obj, const char *label, const char *domain);

Implemented by