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)


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

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)


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

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)


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

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)


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

def canonical_ref=(val); end

#descriptionString

Human-readable name of the language in English.

Returns:

  • (String)


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

def description; end

#description=(val) ⇒ void

This method returns an undefined value.

Human-readable name of the language in English.

Parameters:

  • val (String)


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

def description=(val); end

#description_nativeString

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

Returns:

  • (String)


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

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)


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

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)


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

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


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

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)


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

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)


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

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)


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

def language=(val); end

#layout_directionWx::LayoutDirection

The layout direction used for this language.

Returns:



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

def layout_direction; end

#layout_direction=(val) ⇒ void

This method returns an undefined value.

The layout direction used for this language.

Parameters:



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

def layout_direction=(val); end

#locale_tagString

Tag for locale in BCP 47-like notation.

Returns:

  • (String)


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

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)


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

def locale_tag=(val); end

#win_langInteger

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

Returns:

  • (Integer)


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

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)


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

def win_lang=(val); end

#win_sublangInteger

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

Returns:

  • (Integer)


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

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)


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

def win_sublang=(val); end