Class: Wx::LanguageInfo
- Inherits:
-
Object
- Object
- Wx::LanguageInfo
- Defined in:
- lib/wx/doc/gen/locale.rb
Overview
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.
Instance Method Summary collapse
-
#canonical_name ⇒ String
Canonical name of the language, e.g.
-
#canonical_name=(val) ⇒ void
Canonical name of the language, e.g.
-
#canonical_ref ⇒ String
Canonical reference including region.
-
#canonical_ref=(val) ⇒ void
Canonical reference including region.
-
#description ⇒ String
Human-readable name of the language in English.
-
#description=(val) ⇒ void
Human-readable name of the language in English.
-
#description_native ⇒ String
Human-readable name of the language in this language itself.
-
#description_native=(val) ⇒ void
Human-readable name of the language in this language itself.
-
#get_canonical_with_region ⇒ String
(also: #canonical_with_region)
Return the canonical locale name including the region, if known.
-
#get_lcid ⇒ Integer
(also: #lcid)
Return the LCID corresponding to this language.
-
#get_locale_name ⇒ String
(also: #locale_name)
Return the locale name corresponding to this language usable with
setlocale()
on the current system. -
#language ⇒ Integer
Language id.
-
#language=(val) ⇒ void
Language id.
-
#layout_direction ⇒ Wx::LayoutDirection
The layout direction used for this language.
-
#layout_direction=(val) ⇒ void
The layout direction used for this language.
-
#locale_tag ⇒ String
Tag for locale in BCP 47-like notation.
-
#locale_tag=(val) ⇒ void
Tag for locale in BCP 47-like notation.
-
#win_lang ⇒ Integer
Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
-
#win_lang=(val) ⇒ void
Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
-
#win_sublang ⇒ Integer
Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
-
#win_sublang=(val) ⇒ void
Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
Instance Method Details
#canonical_name ⇒ String
Canonical name of the language, e.g. fr_FR.
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.
4085 |
# File 'lib/wx/doc/gen/locale.rb', line 4085 def canonical_name=(val); end |
#canonical_ref ⇒ String
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.
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.
4097 |
# File 'lib/wx/doc/gen/locale.rb', line 4097 def canonical_ref=(val); end |
#description ⇒ String
Human-readable name of the language in English.
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.
4109 |
# File 'lib/wx/doc/gen/locale.rb', line 4109 def description=(val); end |
#description_native ⇒ String
Human-readable name of the language in this language itself.
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.
4121 |
# File 'lib/wx/doc/gen/locale.rb', line 4121 def description_native=(val); end |
#get_canonical_with_region ⇒ String 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.
4154 |
# File 'lib/wx/doc/gen/locale.rb', line 4154 def get_canonical_with_region; end |
#get_lcid ⇒ Integer Also known as: lcid
Return the LCID corresponding to this language.
Availability: only available for the WXMSW port.
4140 |
# File 'lib/wx/doc/gen/locale.rb', line 4140 def get_lcid; end |
#get_locale_name ⇒ String 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.
4147 |
# File 'lib/wx/doc/gen/locale.rb', line 4147 def get_locale_name; end |
#language ⇒ Integer
Wx::Language id. It should be greater than Wx::Language::LANGUAGE_USER_DEFINED when defining your own language info structure.
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.
4061 |
# File 'lib/wx/doc/gen/locale.rb', line 4061 def language=(val); end |
#layout_direction ⇒ Wx::LayoutDirection
The layout direction used for this language.
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.
4133 |
# File 'lib/wx/doc/gen/locale.rb', line 4133 def layout_direction=(val); end |
#locale_tag ⇒ String
Tag for locale in BCP 47-like notation.
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.
4073 |
# File 'lib/wx/doc/gen/locale.rb', line 4073 def locale_tag=(val); end |
#win_lang ⇒ Integer
Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx). Availability: only available for the WXMSW port.
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.
4037 |
# File 'lib/wx/doc/gen/locale.rb', line 4037 def win_lang=(val); end |
#win_sublang ⇒ Integer
Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx). Availability: only available for the WXMSW port.
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.
4049 |
# File 'lib/wx/doc/gen/locale.rb', line 4049 def win_sublang=(val); end |