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)


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

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)


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

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)


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

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)


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

def canonical_ref=(val); end

#descriptionString

Human-readable name of the language in English.

Returns:

  • (String)


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

def description; end

#description=(val) ⇒ void

This method returns an undefined value.

Human-readable name of the language in English.

Parameters:

  • val (String)


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

def description=(val); end

#description_nativeString

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

Returns:

  • (String)


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

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)


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

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)


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

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


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

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)


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

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)


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

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)


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

def language=(val); end

#layout_directionWx::LayoutDirection

The layout direction used for this language.

Returns:



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

def layout_direction; end

#layout_direction=(val) ⇒ void

This method returns an undefined value.

The layout direction used for this language.

Parameters:



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

def layout_direction=(val); end

#locale_tagString

Tag for locale in BCP 47-like notation.

Returns:

  • (String)


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

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)


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

def locale_tag=(val); end

#win_langInteger

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

Returns:

  • (Integer)


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

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)


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

def win_lang=(val); end

#win_sublangInteger

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

Returns:

  • (Integer)


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

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)


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

def win_sublang=(val); end