.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Gnome2::Canvas::RichText 3pm" .TH Gnome2::Canvas::RichText 3pm "2017-07-23" "perl v5.26.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gnome2::Canvas::RichText \- Rich text canvas item .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 5 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gnome2::Canvas::Item \& +\-\-\-\-Gnome2::Canvas::RichText .Ve .SH "METHODS" .IX Header "METHODS" .ie n .SS "textbuffer = $text\->\fBget_buffer\fP" .el .SS "textbuffer = \f(CW$text\fP\->\fBget_buffer\fP" .IX Subsection "textbuffer = $text->get_buffer" .ie n .SS "$text\->\fBset_buffer\fP ($buffer)" .el .SS "\f(CW$text\fP\->\fBset_buffer\fP ($buffer)" .IX Subsection "$text->set_buffer ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (Gtk2::TextBuffer) .ie n .SS "$text\->\fBcopy_clipboard\fP" .el .SS "\f(CW$text\fP\->\fBcopy_clipboard\fP" .IX Subsection "$text->copy_clipboard" .ie n .SS "$text\->\fBcut_clipboard\fP" .el .SS "\f(CW$text\fP\->\fBcut_clipboard\fP" .IX Subsection "$text->cut_clipboard" .ie n .SS "textiter = $text\->\fBget_iter_at_location\fP ($x, $y)" .el .SS "textiter = \f(CW$text\fP\->\fBget_iter_at_location\fP ($x, \f(CW$y\fP)" .IX Subsection "textiter = $text->get_iter_at_location ($x, $y)" .IP "\(bu" 4 \&\f(CW$x\fR (integer) .IP "\(bu" 4 \&\f(CW$y\fR (integer) .ie n .SS "rectangle = $text\->\fBget_iter_location\fP ($iter)" .el .SS "rectangle = \f(CW$text\fP\->\fBget_iter_location\fP ($iter)" .IX Subsection "rectangle = $text->get_iter_location ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "$text\->\fBpaste_clipboard\fP" .el .SS "\f(CW$text\fP\->\fBpaste_clipboard\fP" .IX Subsection "$text->paste_clipboard" .SH "PROPERTIES" .IX Header "PROPERTIES" .ie n .IP "'anchor' (Gtk2::AnchorType : default ""north-west"" : readable / writable)" 4 .el .IP "'anchor' (Gtk2::AnchorType : default ``north-west'' : readable / writable)" 4 .IX Item "'anchor' (Gtk2::AnchorType : default north-west : readable / writable)" Anchor point for text .IP "'cursor\-blink' (boolean : default true : readable / writable)" 4 .IX Item "'cursor-blink' (boolean : default true : readable / writable)" Does the cursor blink in this rich text item? .IP "'cursor\-visible' (boolean : default true : readable / writable)" 4 .IX Item "'cursor-visible' (boolean : default true : readable / writable)" Is the cursor visible in this rich text item? .ie n .IP "'direction' (Gtk2::DirectionType : default ""tab-backward"" : readable / writable)" 4 .el .IP "'direction' (Gtk2::DirectionType : default ``tab-backward'' : readable / writable)" 4 .IX Item "'direction' (Gtk2::DirectionType : default tab-backward : readable / writable)" Text direction .IP "'editable' (boolean : default true : readable / writable)" 4 .IX Item "'editable' (boolean : default true : readable / writable)" Is this rich text item editable? .IP "'grow\-height' (boolean : default false : readable / writable)" 4 .IX Item "'grow-height' (boolean : default false : readable / writable)" Should the text box height grow if the text does not fit? .IP "'height' (double : default 0 : readable / writable)" 4 .IX Item "'height' (double : default 0 : readable / writable)" Height for text box .IP "'indent' (integer : default 0 : readable / writable)" 4 .IX Item "'indent' (integer : default 0 : readable / writable)" Number of pixels for indentation .ie n .IP "'justification' (Gtk2::Justification : default ""left"" : readable / writable)" 4 .el .IP "'justification' (Gtk2::Justification : default ``left'' : readable / writable)" 4 .IX Item "'justification' (Gtk2::Justification : default left : readable / writable)" Justification mode .IP "'left\-margin' (integer : default 0 : readable / writable)" 4 .IX Item "'left-margin' (integer : default 0 : readable / writable)" Number of pixels in the left margin .IP "'pixels\-above\-lines' (integer : default 0 : readable / writable)" 4 .IX Item "'pixels-above-lines' (integer : default 0 : readable / writable)" Number of pixels to put above lines .IP "'pixels\-below\-lines' (integer : default 0 : readable / writable)" 4 .IX Item "'pixels-below-lines' (integer : default 0 : readable / writable)" Number of pixels to put below lines .IP "'pixels\-inside\-wrap' (integer : default 0 : readable / writable)" 4 .IX Item "'pixels-inside-wrap' (integer : default 0 : readable / writable)" Number of pixels to put inside the wrap .IP "'right\-margin' (integer : default 0 : readable / writable)" 4 .IX Item "'right-margin' (integer : default 0 : readable / writable)" Number of pixels in the right margin .IP "'text' (string : default undef : readable / writable)" 4 .IX Item "'text' (string : default undef : readable / writable)" Text to display .IP "'visible' (boolean : default true : readable / writable)" 4 .IX Item "'visible' (boolean : default true : readable / writable)" Is this rich text item visible? .IP "'width' (double : default 0 : readable / writable)" 4 .IX Item "'width' (double : default 0 : readable / writable)" Width for text box .ie n .IP "'wrap\-mode' (Gtk2::WrapMode : default ""word"" : readable / writable)" 4 .el .IP "'wrap\-mode' (Gtk2::WrapMode : default ``word'' : readable / writable)" 4 .IX Item "'wrap-mode' (Gtk2::WrapMode : default word : readable / writable)" Wrap mode for multiline text .IP "'x' (double : default 0 : readable / writable)" 4 .IX Item "'x' (double : default 0 : readable / writable)" X position .IP "'y' (double : default 0 : readable / writable)" 4 .IX Item "'y' (double : default 0 : readable / writable)" Y position .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBtag-changed\fR (Gnome2::Canvas::RichText, Glib::Object)" 4 .IX Item "tag-changed (Gnome2::Canvas::RichText, Glib::Object)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::AnchorType" .IX Subsection "enum Gtk2::AnchorType" .PD 0 .IP "\(bu" 4 .PD \&'center' / '\s-1GTK_ANCHOR_CENTER\s0' .IP "\(bu" 4 \&'north' / '\s-1GTK_ANCHOR_NORTH\s0' .IP "\(bu" 4 \&'north\-west' / '\s-1GTK_ANCHOR_NORTH_WEST\s0' .IP "\(bu" 4 \&'north\-east' / '\s-1GTK_ANCHOR_NORTH_EAST\s0' .IP "\(bu" 4 \&'south' / '\s-1GTK_ANCHOR_SOUTH\s0' .IP "\(bu" 4 \&'south\-west' / '\s-1GTK_ANCHOR_SOUTH_WEST\s0' .IP "\(bu" 4 \&'south\-east' / '\s-1GTK_ANCHOR_SOUTH_EAST\s0' .IP "\(bu" 4 \&'west' / '\s-1GTK_ANCHOR_WEST\s0' .IP "\(bu" 4 \&'east' / '\s-1GTK_ANCHOR_EAST\s0' .IP "\(bu" 4 \&'n' / '\s-1GTK_ANCHOR_N\s0' .IP "\(bu" 4 \&'nw' / '\s-1GTK_ANCHOR_NW\s0' .IP "\(bu" 4 \&'ne' / '\s-1GTK_ANCHOR_NE\s0' .IP "\(bu" 4 \&'s' / '\s-1GTK_ANCHOR_S\s0' .IP "\(bu" 4 \&'sw' / '\s-1GTK_ANCHOR_SW\s0' .IP "\(bu" 4 \&'se' / '\s-1GTK_ANCHOR_SE\s0' .IP "\(bu" 4 \&'w' / '\s-1GTK_ANCHOR_W\s0' .IP "\(bu" 4 \&'e' / '\s-1GTK_ANCHOR_E\s0' .SS "enum Gtk2::DirectionType" .IX Subsection "enum Gtk2::DirectionType" .IP "\(bu" 4 \&'tab\-forward' / '\s-1GTK_DIR_TAB_FORWARD\s0' .IP "\(bu" 4 \&'tab\-backward' / '\s-1GTK_DIR_TAB_BACKWARD\s0' .IP "\(bu" 4 \&'up' / '\s-1GTK_DIR_UP\s0' .IP "\(bu" 4 \&'down' / '\s-1GTK_DIR_DOWN\s0' .IP "\(bu" 4 \&'left' / '\s-1GTK_DIR_LEFT\s0' .IP "\(bu" 4 \&'right' / '\s-1GTK_DIR_RIGHT\s0' .SS "enum Gtk2::Justification" .IX Subsection "enum Gtk2::Justification" .IP "\(bu" 4 \&'left' / '\s-1GTK_JUSTIFY_LEFT\s0' .IP "\(bu" 4 \&'right' / '\s-1GTK_JUSTIFY_RIGHT\s0' .IP "\(bu" 4 \&'center' / '\s-1GTK_JUSTIFY_CENTER\s0' .IP "\(bu" 4 \&'fill' / '\s-1GTK_JUSTIFY_FILL\s0' .SS "enum Gtk2::WrapMode" .IX Subsection "enum Gtk2::WrapMode" .IP "\(bu" 4 \&'none' / '\s-1GTK_WRAP_NONE\s0' .IP "\(bu" 4 \&'char' / '\s-1GTK_WRAP_CHAR\s0' .IP "\(bu" 4 \&'word' / '\s-1GTK_WRAP_WORD\s0' .IP "\(bu" 4 \&'word\-char' / '\s-1GTK_WRAP_WORD_CHAR\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gnome2::Canvas::Item .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2004 by the Gtk2\-Perl Team. .PP This software is licensed under the \s-1LGPL\s0; see Gnome2::Canvas for a full notice.