Class: Wx::TextAttrFlags
- Defined in:
- lib/wx/doc/gen/text_ctrl.rb
Overview
The following values are passed in a bitlist to Wx::TextAttr#set_flags to determine what attributes will be considered when setting the attributes for a text control.
Constant Summary collapse
- TEXT_ATTR_TEXT_COLOUR =
Wx::TextAttrFlags.new(1)
- TEXT_ATTR_BACKGROUND_COLOUR =
Wx::TextAttrFlags.new(2)
- TEXT_ATTR_FONT_FACE =
Wx::TextAttrFlags.new(4)
- TEXT_ATTR_FONT_POINT_SIZE =
Wx::TextAttrFlags.new(8)
- TEXT_ATTR_FONT_PIXEL_SIZE =
Wx::TextAttrFlags.new(268435456)
- TEXT_ATTR_FONT_WEIGHT =
Wx::TextAttrFlags.new(16)
- TEXT_ATTR_FONT_ITALIC =
Wx::TextAttrFlags.new(32)
- TEXT_ATTR_FONT_UNDERLINE =
Wx::TextAttrFlags.new(64)
- TEXT_ATTR_FONT_STRIKETHROUGH =
Wx::TextAttrFlags.new(134217728)
- TEXT_ATTR_FONT_ENCODING =
Wx::TextAttrFlags.new(33554432)
- TEXT_ATTR_FONT_FAMILY =
Wx::TextAttrFlags.new(67108864)
- TEXT_ATTR_FONT_SIZE =
Wx::TextAttrFlags.new(268435464)
- TEXT_ATTR_FONT =
Defined as the combination of all
wxTEXT_ATTR_FONT_*
values above. Wx::TextAttrFlags.new(503316604)
- TEXT_ATTR_ALIGNMENT =
Wx::TextAttrFlags.new(128)
- TEXT_ATTR_LEFT_INDENT =
Wx::TextAttrFlags.new(256)
- TEXT_ATTR_RIGHT_INDENT =
Wx::TextAttrFlags.new(512)
- TEXT_ATTR_TABS =
Wx::TextAttrFlags.new(1024)
- TEXT_ATTR_PARA_SPACING_AFTER =
Wx::TextAttrFlags.new(2048)
- TEXT_ATTR_PARA_SPACING_BEFORE =
Wx::TextAttrFlags.new(4096)
- TEXT_ATTR_LINE_SPACING =
Wx::TextAttrFlags.new(8192)
- TEXT_ATTR_CHARACTER_STYLE_NAME =
Wx::TextAttrFlags.new(16384)
- TEXT_ATTR_PARAGRAPH_STYLE_NAME =
Wx::TextAttrFlags.new(32768)
- TEXT_ATTR_LIST_STYLE_NAME =
Wx::TextAttrFlags.new(65536)
- TEXT_ATTR_BULLET_STYLE =
Wx::TextAttrFlags.new(131072)
- TEXT_ATTR_BULLET_NUMBER =
Wx::TextAttrFlags.new(262144)
- TEXT_ATTR_BULLET_TEXT =
Wx::TextAttrFlags.new(524288)
- TEXT_ATTR_BULLET_NAME =
Wx::TextAttrFlags.new(1048576)
- TEXT_ATTR_BULLET =
Defined as the combination of all
wxTEXT_ATTR_BULLET_*
values above. Wx::TextAttrFlags.new(1966080)
- TEXT_ATTR_URL =
Wx::TextAttrFlags.new(2097152)
- TEXT_ATTR_PAGE_BREAK =
Wx::TextAttrFlags.new(4194304)
- TEXT_ATTR_EFFECTS =
Wx::TextAttrFlags.new(8388608)
- TEXT_ATTR_OUTLINE_LEVEL =
Wx::TextAttrFlags.new(16777216)
- TEXT_ATTR_AVOID_PAGE_BREAK_BEFORE =
Wx::TextAttrFlags.new(536870912)
- TEXT_ATTR_AVOID_PAGE_BREAK_AFTER =
Wx::TextAttrFlags.new(1073741824)
- TEXT_ATTR_CHARACTER =
Combines the styles TEXT_ATTR_FONT, TEXT_ATTR_EFFECTS, TEXT_ATTR_BACKGROUND_COLOUR, TEXT_ATTR_TEXT_COLOUR, TEXT_ATTR_CHARACTER_STYLE_NAME, TEXT_ATTR_URL.
Wx::TextAttrFlags.new(513818751)
- TEXT_ATTR_PARAGRAPH =
Combines all the styles regarding text paragraphs.
Wx::TextAttrFlags.new(1633664896)
- TEXT_ATTR_ALL =
Combines all previous values.
Wx::TextAttrFlags.new(2147483647)
Method Summary
Methods inherited from Enum
#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #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