Class: Wx::FontFamily

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

Overview

Standard font families: these are used mainly during Font creation to specify the generic properties of the font without hardcoding in the sources a specific face name.

FontFamily thus allows grouping the font face names of fonts with similar properties. Most wxWidgets ports use lists of fonts for each font family inspired by the data taken from www.codestyle.org/css/font-family.

Constant Summary collapse

FONTFAMILY_DEFAULT =

Chooses a default font.

Wx::FontFamily.new(70)
FONTFAMILY_DECORATIVE =

A decorative font.

Wx::FontFamily.new(71)
FONTFAMILY_ROMAN =

A formal, serif font.

Wx::FontFamily.new(72)
FONTFAMILY_SCRIPT =

A handwriting font.

Wx::FontFamily.new(73)
FONTFAMILY_SWISS =

A sans-serif font.

Wx::FontFamily.new(74)
FONTFAMILY_MODERN =

A fixed pitch font.

Wx::FontFamily.new(75)
FONTFAMILY_TELETYPE =

A teletype (i.e. monospaced) font.

Wx::FontFamily.new(76)
FONTFAMILY_MAX =
Wx::FontFamily.new(77)
FONTFAMILY_UNKNOWN =

Invalid font family value, returned by Wx::Font#get_family when the font is invalid for example.

Wx::FontFamily.new(77)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, #allbits?, #anybits?, #coerce, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, #real?, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum