Class: Wx::LanguageInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/locale.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

Encapsulates a Language identifier together with OS-specific information related to that language.

Requires:

  • USE_INTL

Instance Method Summary collapse

Instance Method Details

#canonical_nameString

Canonical name of the language, e.g. fr_FR.

Returns:

  • (String)


4079
# File 'lib/wx/doc/gen/locale.rb', line 4079

def canonical_name; end

#canonical_name=(val) ⇒ void

This method returns an undefined value.

Canonical name of the language, e.g. fr_FR.

Parameters:

  • val (String)


4085
# File 'lib/wx/doc/gen/locale.rb', line 4085

def canonical_name=(val); end

#canonical_refString

Canonical reference including region. Set, if the name specifies the language only, e.g. fr_FR for fr. Empty, if region is unknown or already part of the name.

Returns:

  • (String)


4091
# File 'lib/wx/doc/gen/locale.rb', line 4091

def canonical_ref; end

#canonical_ref=(val) ⇒ void

This method returns an undefined value.

Canonical reference including region. Set, if the name specifies the language only, e.g. fr_FR for fr. Empty, if region is unknown or already part of the name.

Parameters:

  • val (String)


4097
# File 'lib/wx/doc/gen/locale.rb', line 4097

def canonical_ref=(val); end

#descriptionString

Human-readable name of the language in English.

Returns:

  • (String)


4103
# File 'lib/wx/doc/gen/locale.rb', line 4103

def description; end

#description=(val) ⇒ void

This method returns an undefined value.

Human-readable name of the language in English.

Parameters:

  • val (String)


4109
# File 'lib/wx/doc/gen/locale.rb', line 4109

def description=(val); end

#description_nativeString

Human-readable name of the language in this language itself.

Returns:

  • (String)


4115
# File 'lib/wx/doc/gen/locale.rb', line 4115

def description_native; end

#description_native=(val) ⇒ void

This method returns an undefined value.

Human-readable name of the language in this language itself.

Parameters:

  • val (String)


4121
# File 'lib/wx/doc/gen/locale.rb', line 4121

def description_native=(val); end

#get_canonical_with_regionString Also known as: canonical_with_region

Return the canonical locale name including the region, if known.

The value is identical to CanonicalRef, if not empty, otherwise it is identical to CanonicalName.

Returns:

  • (String)


4154
# File 'lib/wx/doc/gen/locale.rb', line 4154

def get_canonical_with_region; end

#get_lcidInteger Also known as: lcid

Return the LCID corresponding to this language.

Availability: only available for the WXMSW port.

Returns:

  • (Integer)

Requires:

  • WXMSW


4140
# File 'lib/wx/doc/gen/locale.rb', line 4140

def get_lcid; end

#get_locale_nameString Also known as: locale_name

Return the locale name corresponding to this language usable with setlocale() on the current system.

If setting locale for this language is not supported, the returned string is empty.

Returns:

  • (String)


4147
# File 'lib/wx/doc/gen/locale.rb', line 4147

def get_locale_name; end

#languageInteger

Wx::Language id. It should be greater than Wx::Language::LANGUAGE_USER_DEFINED when defining your own language info structure.

Returns:

  • (Integer)


4055
# File 'lib/wx/doc/gen/locale.rb', line 4055

def language; end

#language=(val) ⇒ void

This method returns an undefined value.

Wx::Language id. It should be greater than Wx::Language::LANGUAGE_USER_DEFINED when defining your own language info structure.

Parameters:

  • val (Integer)


4061
# File 'lib/wx/doc/gen/locale.rb', line 4061

def language=(val); end

#layout_directionWx::LayoutDirection

The layout direction used for this language.

Returns:



4127
# File 'lib/wx/doc/gen/locale.rb', line 4127

def layout_direction; end

#layout_direction=(val) ⇒ void

This method returns an undefined value.

The layout direction used for this language.

Parameters:



4133
# File 'lib/wx/doc/gen/locale.rb', line 4133

def layout_direction=(val); end

#locale_tagString

Tag for locale in BCP 47-like notation.

Returns:

  • (String)


4067
# File 'lib/wx/doc/gen/locale.rb', line 4067

def locale_tag; end

#locale_tag=(val) ⇒ void

This method returns an undefined value.

Tag for locale in BCP 47-like notation.

Parameters:

  • val (String)


4073
# File 'lib/wx/doc/gen/locale.rb', line 4073

def locale_tag=(val); end

#win_langInteger

Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx). Availability: only available for the WXMSW port.

Returns:

  • (Integer)


4031
# File 'lib/wx/doc/gen/locale.rb', line 4031

def win_lang; end

#win_lang=(val) ⇒ void

This method returns an undefined value.

Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx). Availability: only available for the WXMSW port.

Parameters:

  • val (Integer)


4037
# File 'lib/wx/doc/gen/locale.rb', line 4037

def win_lang=(val); end

#win_sublangInteger

Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx). Availability: only available for the WXMSW port.

Returns:

  • (Integer)


4043
# File 'lib/wx/doc/gen/locale.rb', line 4043

def win_sublang; end

#win_sublang=(val) ⇒ void

This method returns an undefined value.

Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx). Availability: only available for the WXMSW port.

Parameters:

  • val (Integer)


4049
# File 'lib/wx/doc/gen/locale.rb', line 4049

def win_sublang=(val); end