[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-txtw-ttags

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 8日 (土) 23:47:15 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-ttags
-------------------------
@@ -142,7 +142,75 @@
                    "background" => "#000000" }
  )
 
-In the API you can look up the properties you can define on the following link: Gtk::TextTag#Properties.
+In the API you can look up the properties you can define on the following link: Gtk::TextTag#Properties, and for your convenience I list them also here below.
+
+:Text Tag Properties:
+
+    * ((*background:*)) -  String (Write);    Background color as a string
+    * ((*background-full-height:*)) -  true or false (Read/Write);    Whether the background color fills the entire line height or only the height of the tagged characters
+    * ((*background-full-height-set:*)) -  true or false (Read/Write);    Whether this tag affects background height
+    * ((*background-gdk:*)) -  Gdk::Color (Read/Write);    Background color as a (possibly unallocated) Gdk::Color
+    * ((*background-set:*)) -  true or false (Read/Write);    Whether this tag affects the background color
+    * ((*background-stipple:*)) -  Gdk::Pixmap (Read/Write);    Bitmap to use as a mask when drawing the text background
+    * ((*background-stipple-set:*)) -  true or false (Read/Write);    Whether this tag affects the background stipple
+    * ((*direction:*)) -  Integer (Read/Write);    Text direction, e.g. right-to-left or left-to-right
+    * ((*editable:*)) -  true or false (Read/Write);    Whether the text can be modified by the user
+    * ((*editable-set:*)) -  true or false (Read/Write);    Whether this tag affects text editability
+    * ((*family:*)) -  String (Read/Write);    Name of the font family, e.g. Sans, Helvetica, Times, Monospace
+    * ((*family-set:*)) -  true or false (Read/Write);    Whether this tag affects the font family
+    * ((*font:*)) -  String (Read/Write);    Font description as a string, e.g. "Sans Italic 12"
+    * ((*font-desc:*)) -  Pango::FontDescription (Read/Write);    Font description as a Pango::FontDescription struct
+    * ((*foreground:*)) -  String (Write);    Foreground color as a string
+    * ((*foreground-gdk:*)) -  Gdk::Color (Read/Write);    Foreground color as a (possibly unallocated) Gdk::Color
+    * ((*foreground-set:*)) -  true or false (Read/Write);    Whether this tag affects the foreground color
+    * ((*foreground-stipple:*)) -  Gdk::Pixmap (Read/Write);    Bitmap to use as a mask when drawing the text foreground
+    * ((*foreground-stipple-set:*)) -  true or false (Read/Write);    Whether this tag affects the foreground stipple
+    * ((*indent:*)) -  Integer (Read/Write);    Amount to indent the paragraph, in pixels
+    * ((*indent-set:*)) -  true or false (Read/Write);    Whether this tag affects indentation
+    * ((*invisible:*)) -  true or false (Read/Write);    Whether this text is hidden. Not implemented in GTK 2.0
+    * ((*invisible-set:*)) -  true or false (Read/Write);    Whether this tag affects text visibility
+    * ((*justification:*)) -  Integer (Read/Write);    Left, right, or center justification
+    * ((*justification-set:*)) -  true or false (Read/Write);    Whether this tag affects paragraph justification
+    * ((*language:*)) -  String (Read/Write);    The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it
+    * ((*language-set:*)) -  true or false (Read/Write);    Whether this tag affects the language the text is rendered as
+    * ((*left-margin:*)) -  Integer (Read/Write);    Width of the left margin in pixels
+    * ((*left-margin-set:*)) -  true or false (Read/Write);    Whether this tag affects the left margin
+    * ((*name:*)) -  String (Read/Write);    Name used to refer to the text tag. nil for anonymous tags
+    * ((*pixels-above-lines:*)) -  Integer (Read/Write);    Pixels of blank space above paragraphs
+    * ((*pixels-above-lines-set:*)) -  true or false (Read/Write);    Whether this tag affects the number of pixels above lines
+    * ((*pixels-below-lines:*)) -  Integer (Read/Write);    Pixels of blank space below paragraphs
+    * ((*pixels-below-lines-set:*)) -  true or false (Read/Write);    Whether this tag affects the number of pixels above lines
+    * ((*pixels-inside-wrap:*)) -  Integer (Read/Write);    Pixels of blank space between wrapped lines in a paragraph
+    * ((*pixels-inside-wrap-set:*)) -  true or false (Read/Write);    Whether this tag affects the number of pixels between wrapped lines
+    * ((*right-margin:*)) -  Integer (Read/Write);    Width of the right margin in pixels
+    * ((*right-margin-set:*)) -  true or false (Read/Write);    Whether this tag affects the right margin
+    * ((*rise:*)) -  Integer (Read/Write);    Offset of text above the baseline (below the baseline if rise is negative) in pixels
+    * ((*rise-set:*)) -  true or false (Read/Write);    Whether this tag affects the rise
+    * ((*scale:*)) -  Float (Read/Write);    Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as Pango::AttrScale::X_LARGE
+    * ((*scale-set:*)) -  true or false (Read/Write);    Whether this tag scales the font size by a factor
+    * ((*size:*)) -  Integer (Read/Write);    Font size in Pango units
+    * ((*size-points:*)) -  Float (Read/Write);    Font size in points
+    * ((*size-set:*)) -  true or false (Read/Write);    Whether this tag affects the font size
+    * ((*stretch:*)) -  Integer (Read/Write);    Font stretch as a PangoStretch, e.g. Pango::FontDescription::STRETCH_CONDENSED
+    * ((*stretch-set:*)) -  true or false (Read/Write);    Whether this tag affects the font stretch
+    * ((*strikethrough:*)) -  true or false (Read/Write);    Whether to strike through the text
+    * ((*strikethrough-set:*)) -  true or false (Read/Write);    Whether this tag affects strikethrough
+    * ((*style:*)) -  Integer (Read/Write);    Font style as a PangoStyle, e.g. Pango::FontDescription::STYLE_ITALIC
+    * ((*style-set:*)) -  true or false (Read/Write);    Whether this tag affects the font style
+    * ((*tabs:*)) -  Pango::TabArray (Read/Write);    Custom tabs for this text
+    * ((*tabs-set:*)) -  true or false (Read/Write);    Whether this tag affects tabs
+    * ((*underline:*)) -  Integer (Read/Write);    Style of underline for this text
+    * ((*underline-set:*)) -  true or false (Read/Write);    Whether this tag affects underlining
+    * ((*variant:*)) -  Integer (Read/Write);    Font variant as a PangoVariant, e.g. Pango::FontDescription::VARIANT_SMALL_CAPS
+    * ((*variant-set:*)) -  true or false (Read/Write);    Whether this tag affects the font variant
+    * ((*weight:*)) -  Integer (Read/Write);    Font weight as an integer, see predefined values in PangoWeight; for example, Pango::FontDescription::WEIGHT_BOLD
+    * ((*weight-set:*)) -  true or false (Read/Write);    Whether this tag affects the font weight
+    * ((*wrap-mode:*)) -  Integer (Read/Write);    Whether to wrap lines never, at word boundaries, or at character boundaries
+    * ((*wrap-mode-set:*)) -  true or false (Read/Write);    Whether this tag affects line wrap mode
+    * ((*accumulative-margin:*)) -  true or false (Read/Write);    Whether left and right margins accumulate.
+    * ((*paragraph-background:*)) -  String (Write);    Paragraph background color as a string
+    * ((*paragraph-background-gdk:*)) -  Gdk::Color (Read/Write);    Paragraph background color as a (possibly unallocated) Gdk::Color
+    * ((*paragraph-background-set:*)) -  true or false (Read/Write);    Whether this tag affects the paragraph background color
 
 
 {{br}}




ruby-gnome2-cvs メーリングリストの案内
Back to archive index