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

  1. =head1 NAME
  2.  
  3. Gnome2::Canvas::RichText
  4.  
  5. =head1 HIERARCHY
  6.  
  7.   Glib::Object
  8.   +----Gtk2::Object
  9.        +----Gnome2::Canvas::Item
  10.             +----Gnome2::Canvas::RichText
  11.  
  12.  
  13. =head1 METHODS
  14.  
  15. =head2 textbuffer = $text-E<gt>B<get_buffer> 
  16.  
  17. =over
  18.  
  19. =back
  20.  
  21. =head2 $text-E<gt>B<set_buffer> ($buffer)
  22.  
  23. =over
  24.  
  25. =over
  26.  
  27. =item * $buffer (Gtk2::TextBuffer) 
  28.  
  29. =back
  30.  
  31. =back
  32.  
  33. =head2 $text-E<gt>B<copy_clipboard> 
  34.  
  35. =over
  36.  
  37. =back
  38.  
  39. =head2 $text-E<gt>B<cut_clipboard> 
  40.  
  41. =over
  42.  
  43. =back
  44.  
  45. =head2 textiter = $text-E<gt>B<get_iter_at_location> ($x, $y)
  46.  
  47. =over
  48.  
  49. =over
  50.  
  51. =item * $x (integer) 
  52.  
  53. =item * $y (integer) 
  54.  
  55. =back
  56.  
  57. =back
  58.  
  59. =head2 rectangle = $text-E<gt>B<get_iter_location> ($iter)
  60.  
  61. =over
  62.  
  63. =over
  64.  
  65. =item * $iter (Gtk2::TextIter) 
  66.  
  67. =back
  68.  
  69. =back
  70.  
  71. =head2 $text-E<gt>B<paste_clipboard> 
  72.  
  73. =over
  74.  
  75. =back
  76.  
  77.  
  78. =head1 PROPERTIES
  79.  
  80. =over
  81.  
  82. =item 'anchor' (Gtk2::AnchorType : readable / writable)
  83.  
  84. Anchor point for text
  85.  
  86. =item 'cursor-blink' (boolean : readable / writable)
  87.  
  88. Does the cursor blink in this rich text item?
  89.  
  90. =item 'cursor-visible' (boolean : readable / writable)
  91.  
  92. Is the cursor visible in this rich text item?
  93.  
  94. =item 'direction' (Gtk2::DirectionType : readable / writable)
  95.  
  96. Text direction
  97.  
  98. =item 'editable' (boolean : readable / writable)
  99.  
  100. Is this rich text item editable?
  101.  
  102. =item 'grow-height' (boolean : readable / writable)
  103.  
  104. Should the text box height grow if the text does not fit?
  105.  
  106. =item 'height' (double : readable / writable)
  107.  
  108. Height for text box
  109.  
  110. =item 'indent' (integer : readable / writable)
  111.  
  112. Number of pixels for indentation
  113.  
  114. =item 'justification' (Gtk2::Justification : readable / writable)
  115.  
  116. Justification mode
  117.  
  118. =item 'left-margin' (integer : readable / writable)
  119.  
  120. Number of pixels in the left margin
  121.  
  122. =item 'pixels-above-lines' (integer : readable / writable)
  123.  
  124. Number of pixels to put above lines
  125.  
  126. =item 'pixels-below-lines' (integer : readable / writable)
  127.  
  128. Number of pixels to put below lines
  129.  
  130. =item 'pixels-inside-wrap' (integer : readable / writable)
  131.  
  132. Number of pixels to put inside the wrap
  133.  
  134. =item 'right-margin' (integer : readable / writable)
  135.  
  136. Number of pixels in the right margin
  137.  
  138. =item 'text' (string : readable / writable)
  139.  
  140. Text to display
  141.  
  142. =item 'visible' (boolean : readable / writable)
  143.  
  144. Is this rich text item visible?
  145.  
  146. =item 'width' (double : readable / writable)
  147.  
  148. Width for text box
  149.  
  150. =item 'wrap-mode' (Gtk2::WrapMode : readable / writable)
  151.  
  152. Wrap mode for multiline text
  153.  
  154. =item 'x' (double : readable / writable)
  155.  
  156. X position
  157.  
  158. =item 'y' (double : readable / writable)
  159.  
  160. Y position
  161.  
  162. =back
  163.  
  164.  
  165. =head1 SIGNALS
  166.  
  167. =over
  168.  
  169. =item B<tag-changed> (Gnome2::Canvas::RichText, Glib::Object)
  170.  
  171. =back
  172.  
  173.  
  174. =head1 ENUMS AND FLAGS
  175.  
  176. =head2 enum Gtk2::AnchorType
  177.  
  178. =over
  179.  
  180. =item * 'center' / 'GTK_ANCHOR_CENTER'
  181.  
  182. =item * 'north' / 'GTK_ANCHOR_NORTH'
  183.  
  184. =item * 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
  185.  
  186. =item * 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
  187.  
  188. =item * 'south' / 'GTK_ANCHOR_SOUTH'
  189.  
  190. =item * 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
  191.  
  192. =item * 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
  193.  
  194. =item * 'west' / 'GTK_ANCHOR_WEST'
  195.  
  196. =item * 'east' / 'GTK_ANCHOR_EAST'
  197.  
  198. =item * 'n' / 'GTK_ANCHOR_N'
  199.  
  200. =item * 'nw' / 'GTK_ANCHOR_NW'
  201.  
  202. =item * 'ne' / 'GTK_ANCHOR_NE'
  203.  
  204. =item * 's' / 'GTK_ANCHOR_S'
  205.  
  206. =item * 'sw' / 'GTK_ANCHOR_SW'
  207.  
  208. =item * 'se' / 'GTK_ANCHOR_SE'
  209.  
  210. =item * 'w' / 'GTK_ANCHOR_W'
  211.  
  212. =item * 'e' / 'GTK_ANCHOR_E'
  213.  
  214. =back
  215.  
  216.  
  217. =head2 enum Gtk2::DirectionType
  218.  
  219. =over
  220.  
  221. =item * 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
  222.  
  223. =item * 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
  224.  
  225. =item * 'up' / 'GTK_DIR_UP'
  226.  
  227. =item * 'down' / 'GTK_DIR_DOWN'
  228.  
  229. =item * 'left' / 'GTK_DIR_LEFT'
  230.  
  231. =item * 'right' / 'GTK_DIR_RIGHT'
  232.  
  233. =back
  234.  
  235.  
  236. =head2 enum Gtk2::Justification
  237.  
  238. =over
  239.  
  240. =item * 'left' / 'GTK_JUSTIFY_LEFT'
  241.  
  242. =item * 'right' / 'GTK_JUSTIFY_RIGHT'
  243.  
  244. =item * 'center' / 'GTK_JUSTIFY_CENTER'
  245.  
  246. =item * 'fill' / 'GTK_JUSTIFY_FILL'
  247.  
  248. =back
  249.  
  250.  
  251. =head2 enum Gtk2::WrapMode
  252.  
  253. =over
  254.  
  255. =item * 'none' / 'GTK_WRAP_NONE'
  256.  
  257. =item * 'char' / 'GTK_WRAP_CHAR'
  258.  
  259. =item * 'word' / 'GTK_WRAP_WORD'
  260.  
  261. =item * 'word-char' / 'GTK_WRAP_WORD_CHAR'
  262.  
  263. =back
  264.  
  265.  
  266.  
  267. =head1 SEE ALSO
  268.  
  269. L<Gnome2::Canvas>, L<Glib::Object>, L<Gtk2::Object>, L<Gnome2::Canvas::Item>
  270.  
  271. =head1 COPYRIGHT
  272.  
  273. Copyright (C) 2003-2004 by the Gtk2-Perl Team.
  274.  
  275. This software is licensed under the LGPL; see L<Gnome2::Canvas> for a full notice.
  276.  
  277. =cut
  278.  
  279.