GNU/Linux |
Debian 4.0(Etch) |
|
Gnome2::Canvas::RichText(3pm) |
Gnome2::Canvas::RichText
Glib::Object +−−−−Glib::Object::_Unregistered::GInitiallyUnowned +−−−−Gtk2::Object +−−−−Gnome2::Canvas::Item +−−−−Gnome2::Canvas::RichText
textbuffer = $text−>get_buffer
$text−>set_buffer ($buffer)
* $buffer (Gtk2::TextBuffer)
$text−>copy_clipboard
$text−>cut_clipboard
textiter = $text−>get_iter_at_location ($x, $y)
* $x (integer)
* $y (integer)
rectangle = $text−>get_iter_location ($iter)
* $iter (Gtk2::TextIter)
$text−>paste_clipboard
’anchor’ (Gtk2::AnchorType : readable / writable)
Anchor point for text
’cursor−blink’ (boolean : readable / writable)
Does the cursor blink in this rich text item?
’cursor−visible’ (boolean : readable / writable)
Is the cursor visible in this rich text item?
’direction’ (Gtk2::DirectionType : readable / writable)
Text direction
’editable’ (boolean : readable / writable)
Is this rich text item editable?
’grow−height’ (boolean : readable / writable)
Should the text box height grow if the text does not fit?
’height’ (double : readable / writable)
Height for text box
’indent’ (integer : readable / writable)
Number of pixels for indentation
’justification’ (Gtk2::Justification : readable / writable)
Justification mode
’left−margin’ (integer : readable / writable)
Number of pixels in the left margin
’pixels−above−lines’ (integer : readable / writable)
Number of pixels to put above lines
’pixels−below−lines’ (integer : readable / writable)
Number of pixels to put below lines
’pixels−inside−wrap’ (integer : readable / writable)
Number of pixels to put inside the wrap
’right−margin’ (integer : readable / writable)
Number of pixels in the right margin
’text’ (string : readable / writable)
Text to display
’visible’ (boolean : readable / writable)
Is this rich text item visible?
’width’ (double : readable / writable)
Width for text box
’wrap−mode’ (Gtk2::WrapMode : readable / writable)
Wrap mode for multiline text
’x’ (double : readable / writable)
X position
’y’ (double : readable / writable)
Y position
tag-changed (Gnome2::Canvas::RichText, Glib::Object)
enum
Gtk2::AnchorType
* ’center’ / ’
GTK_ANCHOR_CENTER ’
* ’north’ / ’
GTK_ANCHOR_NORTH ’
* ’north−west’ / ’
GTK_ANCHOR_NORTH_WEST ’
* ’north−east’ / ’
GTK_ANCHOR_NORTH_EAST ’
* ’south’ / ’
GTK_ANCHOR_SOUTH ’
* ’south−west’ / ’
GTK_ANCHOR_SOUTH_WEST ’
* ’south−east’ / ’
GTK_ANCHOR_SOUTH_EAST ’
* ’west’ / ’
GTK_ANCHOR_WEST ’
* ’east’ / ’
GTK_ANCHOR_EAST ’
* ’n’ / ’ GTK_ANCHOR_N
’
* ’nw’ / ’ GTK_ANCHOR_NW
’
* ’ne’ / ’ GTK_ANCHOR_NE
’
* ’s’ / ’ GTK_ANCHOR_S
’
* ’sw’ / ’ GTK_ANCHOR_SW
’
* ’se’ / ’ GTK_ANCHOR_SE
’
* ’w’ / ’ GTK_ANCHOR_W
’
* ’e’ / ’ GTK_ANCHOR_E
’
enum
Gtk2::DirectionType
* ’tab−forward’ / ’
GTK_DIR_TAB_FORWARD ’
* ’tab−backward’ / ’
GTK_DIR_TAB_BACKWARD ’
* ’up’ / ’ GTK_DIR_UP
’
* ’down’ / ’ GTK_DIR_DOWN
’
* ’left’ / ’ GTK_DIR_LEFT
’
* ’right’ / ’ GTK_DIR_RIGHT
’
enum
Gtk2::Justification
* ’left’ / ’
GTK_JUSTIFY_LEFT ’
* ’right’ / ’
GTK_JUSTIFY_RIGHT ’
* ’center’ / ’
GTK_JUSTIFY_CENTER ’
* ’fill’ / ’
GTK_JUSTIFY_FILL ’
enum
Gtk2::WrapMode
* ’none’ / ’ GTK_WRAP_NONE
’
* ’char’ / ’ GTK_WRAP_CHAR
’
* ’word’ / ’ GTK_WRAP_WORD
’
* ’word−char’ / ’
GTK_WRAP_WORD_CHAR ’
Gnome2::Canvas, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gnome2::Canvas::Item
Copyright (C) 2003−2004 by the Gtk2−Perl Team.
This software is licensed under the LGPL ; see Gnome2::Canvas for a full notice.
Gnome2::Canvas::RichText(3pm) |