(Not documented)
# File wx/classes/locale.rb, line 7 def get_system_encoding_name Wx::Font::ENCODING_NAMES[ get_system_encoding ] end
(Not documented)
# File wx/classes/locale.rb, line 3 def get_system_language_name get_language_name( get_system_language ) end
Set the current locale by a name, canonical name, or Wx::LANGUAGE_ constant; mainly here because it seems a bit strange in Ruby to have global side-effects in a constructor
# File wx/classes/locale.rb, line 14 def set_locale(locale) if locale.kind_of?(Fixnum) new(locale) elsif locale.kind_of?(String) and lang_info = find_language_info(locale) new(lang_info.language) else raise ArgumentError, "Unknown language #{locale}" end end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.