home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / lib / perl5 / Gnome2 / Canvas / Text.pod < prev    next >
Encoding:
Text File  |  2005-12-16  |  5.6 KB  |  305 lines

  1. =head1 NAME
  2.  
  3. Gnome2::Canvas::Text - Text as CanvasItems
  4.  
  5. =head1 HIERARCHY
  6.  
  7.   Glib::Object
  8.   +----Gtk2::Object
  9.        +----Gnome2::Canvas::Item
  10.             +----Gnome2::Canvas::Text
  11.  
  12. =for object Gnome2::Canvas::Text - Text as CanvasItems
  13.  
  14. =cut
  15.  
  16.  
  17.  
  18.  
  19. =head1 PROPERTIES
  20.  
  21. =over
  22.  
  23. =item 'anchor' (Gtk2::AnchorType : readable / writable)
  24.  
  25. =item 'attributes' (Gtk2::Pango::AttrList : readable / writable)
  26.  
  27. =item 'clip' (boolean : readable / writable)
  28.  
  29. =item 'clip-height' (double : readable / writable)
  30.  
  31. =item 'clip-width' (double : readable / writable)
  32.  
  33. =item 'family' (string : readable / writable)
  34.  
  35. Name of the font family, e.g. Sans, Helvetica, Times, Monospace
  36.  
  37. =item 'family-set' (boolean : readable / writable)
  38.  
  39. Whether this tag affects the font family
  40.  
  41. =item 'fill-color' (string : readable / writable)
  42.  
  43. Text color, as string
  44.  
  45. =item 'fill-color-gdk' (Gtk2::Gdk::Color : readable / writable)
  46.  
  47. Text color, as a GdkColor
  48.  
  49. =item 'fill-color-rgba' (Glib::UInt : readable / writable)
  50.  
  51. Text color, as an R/G/B/A combined integer
  52.  
  53. =item 'fill-stipple' (Gtk2::Gdk::Drawable : readable / writable)
  54.  
  55. =item 'font' (string : readable / writable)
  56.  
  57. Font description as a string
  58.  
  59. =item 'font-desc' (Gtk2::Pango::FontDescription : readable / writable)
  60.  
  61. Font description as a PangoFontDescription struct
  62.  
  63. =item 'justification' (Gtk2::Justification : readable / writable)
  64.  
  65. =item 'markup' (string : writable)
  66.  
  67. Marked up text to render
  68.  
  69. =item 'rise' (integer : readable / writable)
  70.  
  71. Offset of text above the baseline (below the baseline if rise is negative)
  72.  
  73. =item 'rise-set' (boolean : readable / writable)
  74.  
  75. Whether this tag affects the rise
  76.  
  77. =item 'scale' (double : readable / writable)
  78.  
  79. Size of font, relative to default size
  80.  
  81. =item 'scale-set' (boolean : readable / writable)
  82.  
  83. Whether this tag affects font scaling
  84.  
  85. =item 'size' (integer : readable / writable)
  86.  
  87. Font size
  88.  
  89. =item 'size-points' (double : readable / writable)
  90.  
  91. Font size in points
  92.  
  93. =item 'size-set' (boolean : readable / writable)
  94.  
  95. Whether this tag affects the font size
  96.  
  97. =item 'stretch' (Gtk2::Pango::Stretch : readable / writable)
  98.  
  99. Font stretch
  100.  
  101. =item 'stretch-set' (boolean : readable / writable)
  102.  
  103. Whether this tag affects the font stretch
  104.  
  105. =item 'strikethrough' (boolean : readable / writable)
  106.  
  107. Whether to strike through the text
  108.  
  109. =item 'strikethrough-set' (boolean : readable / writable)
  110.  
  111. Whether this tag affects strikethrough
  112.  
  113. =item 'style' (Gtk2::Pango::Style : readable / writable)
  114.  
  115. Font style
  116.  
  117. =item 'style-set' (boolean : readable / writable)
  118.  
  119. Whether this tag affects the font style
  120.  
  121. =item 'text' (string : readable / writable)
  122.  
  123. Text to render
  124.  
  125. =item 'text-height' (double : readable)
  126.  
  127. Height of the rendered text
  128.  
  129. =item 'text-width' (double : readable)
  130.  
  131. Width of the rendered text
  132.  
  133. =item 'underline' (Gtk2::Pango::Underline : readable / writable)
  134.  
  135. Style of underline for this text
  136.  
  137. =item 'underline-set' (boolean : readable / writable)
  138.  
  139. Whether this tag affects underlining
  140.  
  141. =item 'variant' (Gtk2::Pango::Variant : readable / writable)
  142.  
  143. Font variant
  144.  
  145. =item 'variant-set' (boolean : readable / writable)
  146.  
  147. Whether this tag affects the font variant
  148.  
  149. =item 'weight' (integer : readable / writable)
  150.  
  151. Font weight
  152.  
  153. =item 'weight-set' (boolean : readable / writable)
  154.  
  155. Whether this tag affects the font weight
  156.  
  157. =item 'x' (double : readable / writable)
  158.  
  159. =item 'x-offset' (double : readable / writable)
  160.  
  161. =item 'y' (double : readable / writable)
  162.  
  163. =item 'y-offset' (double : readable / writable)
  164.  
  165. =back
  166.  
  167.  
  168. =head1 ENUMS AND FLAGS
  169.  
  170. =head2 enum Gtk2::AnchorType
  171.  
  172. =over
  173.  
  174. =item * 'center' / 'GTK_ANCHOR_CENTER'
  175.  
  176. =item * 'north' / 'GTK_ANCHOR_NORTH'
  177.  
  178. =item * 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
  179.  
  180. =item * 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
  181.  
  182. =item * 'south' / 'GTK_ANCHOR_SOUTH'
  183.  
  184. =item * 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
  185.  
  186. =item * 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
  187.  
  188. =item * 'west' / 'GTK_ANCHOR_WEST'
  189.  
  190. =item * 'east' / 'GTK_ANCHOR_EAST'
  191.  
  192. =item * 'n' / 'GTK_ANCHOR_N'
  193.  
  194. =item * 'nw' / 'GTK_ANCHOR_NW'
  195.  
  196. =item * 'ne' / 'GTK_ANCHOR_NE'
  197.  
  198. =item * 's' / 'GTK_ANCHOR_S'
  199.  
  200. =item * 'sw' / 'GTK_ANCHOR_SW'
  201.  
  202. =item * 'se' / 'GTK_ANCHOR_SE'
  203.  
  204. =item * 'w' / 'GTK_ANCHOR_W'
  205.  
  206. =item * 'e' / 'GTK_ANCHOR_E'
  207.  
  208. =back
  209.  
  210.  
  211. =head2 enum Gtk2::Justification
  212.  
  213. =over
  214.  
  215. =item * 'left' / 'GTK_JUSTIFY_LEFT'
  216.  
  217. =item * 'right' / 'GTK_JUSTIFY_RIGHT'
  218.  
  219. =item * 'center' / 'GTK_JUSTIFY_CENTER'
  220.  
  221. =item * 'fill' / 'GTK_JUSTIFY_FILL'
  222.  
  223. =back
  224.  
  225.  
  226. =head2 enum Gtk2::Pango::Stretch
  227.  
  228. =over
  229.  
  230. =item * 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
  231.  
  232. =item * 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
  233.  
  234. =item * 'condensed' / 'PANGO_STRETCH_CONDENSED'
  235.  
  236. =item * 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
  237.  
  238. =item * 'normal' / 'PANGO_STRETCH_NORMAL'
  239.  
  240. =item * 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
  241.  
  242. =item * 'expanded' / 'PANGO_STRETCH_EXPANDED'
  243.  
  244. =item * 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
  245.  
  246. =item * 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'
  247.  
  248. =back
  249.  
  250.  
  251. =head2 enum Gtk2::Pango::Style
  252.  
  253. =over
  254.  
  255. =item * 'normal' / 'PANGO_STYLE_NORMAL'
  256.  
  257. =item * 'oblique' / 'PANGO_STYLE_OBLIQUE'
  258.  
  259. =item * 'italic' / 'PANGO_STYLE_ITALIC'
  260.  
  261. =back
  262.  
  263.  
  264. =head2 enum Gtk2::Pango::Underline
  265.  
  266. =over
  267.  
  268. =item * 'none' / 'PANGO_UNDERLINE_NONE'
  269.  
  270. =item * 'single' / 'PANGO_UNDERLINE_SINGLE'
  271.  
  272. =item * 'double' / 'PANGO_UNDERLINE_DOUBLE'
  273.  
  274. =item * 'low' / 'PANGO_UNDERLINE_LOW'
  275.  
  276. =item * 'error' / 'PANGO_UNDERLINE_ERROR'
  277.  
  278. =back
  279.  
  280.  
  281. =head2 enum Gtk2::Pango::Variant
  282.  
  283. =over
  284.  
  285. =item * 'normal' / 'PANGO_VARIANT_NORMAL'
  286.  
  287. =item * 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
  288.  
  289. =back
  290.  
  291.  
  292.  
  293. =head1 SEE ALSO
  294.  
  295. L<Gnome2::Canvas>, L<Glib::Object>, L<Gtk2::Object>, L<Gnome2::Canvas::Item>
  296.  
  297. =head1 COPYRIGHT
  298.  
  299. Copyright (C) 2003-2004 by the Gtk2-Perl Team.
  300.  
  301. This software is licensed under the LGPL; see L<Gnome2::Canvas> for a full notice.
  302.  
  303. =cut
  304.  
  305.