.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" 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 "Goo::Canvas::TextModel 3pm" .TH Goo::Canvas::TextModel 3pm "2014-02-22" "perl v5.24.1" "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" Goo::Canvas::TextModel \- wrapper for GooCanvasTextModel .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 3 \& Glib::Object \& +\-\-\-\-Goo::Canvas::ItemModelSimple \& +\-\-\-\-Goo::Canvas::TextModel .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 1 \& Goo::Canvas::ItemModel .Ve .SH "METHODS" .IX Header "METHODS" .ie n .SS "itemmodel = Goo::Canvas::TextModel\->\fBnew\fP ($parent, $string, $x, $y, $width, $anchor, ...)" .el .SS "itemmodel = Goo::Canvas::TextModel\->\fBnew\fP ($parent, \f(CW$string\fP, \f(CW$x\fP, \f(CW$y\fP, \f(CW$width\fP, \f(CW$anchor\fP, ...)" .IX Subsection "itemmodel = Goo::Canvas::TextModel->new ($parent, $string, $x, $y, $width, $anchor, ...)" .IP "\(bu" 4 \&\f(CW$parent\fR (Goo::Canvas::ItemModel) .IP "\(bu" 4 \&\f(CW$string\fR (string) .IP "\(bu" 4 \&\f(CW$x\fR (double) .IP "\(bu" 4 \&\f(CW$y\fR (double) .IP "\(bu" 4 \&\f(CW$width\fR (double) .IP "\(bu" 4 \&\f(CW$anchor\fR (Gtk2::AnchorType) .IP "\(bu" 4 \&... (list) .SH "PROPERTIES" .IX Header "PROPERTIES" .ie n .IP "'alignment' (Pango::Alignment : default ""left"" : readable / writable)" 4 .el .IP "'alignment' (Pango::Alignment : default ``left'' : readable / writable)" 4 .IX Item "'alignment' (Pango::Alignment : default left : readable / writable)" How to align the text .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)" How to position the text relative to the given x and y coordinates .ie n .IP "'ellipsize' (Pango::EllipsizeMode : default ""none"" : readable / writable)" 4 .el .IP "'ellipsize' (Pango::EllipsizeMode : default ``none'' : readable / writable)" 4 .IX Item "'ellipsize' (Pango::EllipsizeMode : default none : readable / writable)" The preferred place to ellipsize the string, if the label does not have enough room to display the entire string .IP "'height' (double : default \-1 : readable / writable)" 4 .IX Item "'height' (double : default -1 : readable / writable)" The height to use to layout the text, or \-1 to let the text use as much vertical space as needed .IP "'text' (string : default undef : readable / writable)" 4 .IX Item "'text' (string : default undef : readable / writable)" The text to display .IP "'use\-markup' (boolean : default false : readable / writable)" 4 .IX Item "'use-markup' (boolean : default false : readable / writable)" Whether to parse PangoMarkup in the text, to support different styles .IP "'width' (double : default \-1 : readable / writable)" 4 .IX Item "'width' (double : default -1 : readable / writable)" The width to use to layout the text, or \-1 to let the text use as much horizontal space as needed .ie n .IP "'wrap' (Pango::WrapMode : default ""word"" : readable / writable)" 4 .el .IP "'wrap' (Pango::WrapMode : default ``word'' : readable / writable)" 4 .IX Item "'wrap' (Pango::WrapMode : default word : readable / writable)" The preferred method of wrapping the string if a width has been set .IP "'x' (double : default 0 : readable / writable)" 4 .IX Item "'x' (double : default 0 : readable / writable)" The x coordinate of the text .IP "'y' (double : default 0 : readable / writable)" 4 .IX Item "'y' (double : default 0 : readable / writable)" The y coordinate of the text .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::AnchorType" .IX Subsection "enum Gtk2::AnchorType" .IP "\(bu" 4 \&'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 Pango::Alignment" .IX Subsection "enum Pango::Alignment" .IP "\(bu" 4 \&'left' / '\s-1PANGO_ALIGN_LEFT\s0' .IP "\(bu" 4 \&'center' / '\s-1PANGO_ALIGN_CENTER\s0' .IP "\(bu" 4 \&'right' / '\s-1PANGO_ALIGN_RIGHT\s0' .SS "enum Pango::EllipsizeMode" .IX Subsection "enum Pango::EllipsizeMode" .IP "\(bu" 4 \&'none' / '\s-1PANGO_ELLIPSIZE_NONE\s0' .IP "\(bu" 4 \&'start' / '\s-1PANGO_ELLIPSIZE_START\s0' .IP "\(bu" 4 \&'middle' / '\s-1PANGO_ELLIPSIZE_MIDDLE\s0' .IP "\(bu" 4 \&'end' / '\s-1PANGO_ELLIPSIZE_END\s0' .SS "enum Pango::WrapMode" .IX Subsection "enum Pango::WrapMode" .IP "\(bu" 4 \&'word' / '\s-1PANGO_WRAP_WORD\s0' .IP "\(bu" 4 \&'char' / '\s-1PANGO_WRAP_CHAR\s0' .IP "\(bu" 4 \&'word\-char' / '\s-1PANGO_WRAP_WORD_CHAR\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Glib::Object, Goo::Canvas::ItemModelSimple .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2014 Gtk2\-Perl Team