Sponsored Content
Full Discussion: What else do you do?
The Lounge What is on Your Mind? What else do you do? Post 302152981 by blowtorch on Sunday 23rd of December 2007 12:51:41 AM
Old 12-23-2007
Quote:
Originally Posted by ghostdog74
which part of singapore are you located?
I'm in the north-east. Tampines to be exact.
 
Goo::Canvas::TextModel(3pm)				User Contributed Perl Documentation			       Goo::Canvas::TextModel(3pm)

NAME
Goo::Canvas::TextModel - wrapper for GooCanvasTextModel HIERARCHY
Glib::Object +----Goo::Canvas::ItemModelSimple +----Goo::Canvas::TextModel INTERFACES
Goo::Canvas::ItemModel METHODS
itemmodel = Goo::Canvas::TextModel->new ($parent, $string, $x, $y, $width, $anchor, ...) o $parent (Goo::Canvas::ItemModel) o $string (string) o $x (double) o $y (double) o $width (double) o $anchor (Gtk2::AnchorType) o ... (list) PROPERTIES
'alignment' (Pango::Alignment : default "left" : readable / writable) How to align the text 'anchor' (Gtk2::AnchorType : default "north-west" : readable / writable) How to position the text relative to the given x and y coordinates '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 'height' (double : default -1 : readable / writable) The height to use to layout the text, or -1 to use the natural height 'text' (string : default undef : readable / writable) The text to display 'use-markup' (boolean : default false : readable / writable) Whether to parse PangoMarkup in the text, to support different styles 'width' (double : default -1 : readable / writable) The width to use to layout the text 'wrap' (Pango::WrapMode : default "word" : readable / writable) The preferred method of wrapping the string if a width has been set 'x' (double : default 0 : readable / writable) The x coordinate of the text 'y' (double : default 0 : readable / writable) The y coordinate of the text ENUMS AND FLAGS
enum Gtk2::AnchorType o 'center' / 'GTK_ANCHOR_CENTER' o 'north' / 'GTK_ANCHOR_NORTH' o 'north-west' / 'GTK_ANCHOR_NORTH_WEST' o 'north-east' / 'GTK_ANCHOR_NORTH_EAST' o 'south' / 'GTK_ANCHOR_SOUTH' o 'south-west' / 'GTK_ANCHOR_SOUTH_WEST' o 'south-east' / 'GTK_ANCHOR_SOUTH_EAST' o 'west' / 'GTK_ANCHOR_WEST' o 'east' / 'GTK_ANCHOR_EAST' o 'n' / 'GTK_ANCHOR_N' o 'nw' / 'GTK_ANCHOR_NW' o 'ne' / 'GTK_ANCHOR_NE' o 's' / 'GTK_ANCHOR_S' o 'sw' / 'GTK_ANCHOR_SW' o 'se' / 'GTK_ANCHOR_SE' o 'w' / 'GTK_ANCHOR_W' o 'e' / 'GTK_ANCHOR_E' enum Pango::Alignment o 'left' / 'PANGO_ALIGN_LEFT' o 'center' / 'PANGO_ALIGN_CENTER' o 'right' / 'PANGO_ALIGN_RIGHT' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' enum Pango::WrapMode o 'word' / 'PANGO_WRAP_WORD' o 'char' / 'PANGO_WRAP_CHAR' o 'word-char' / 'PANGO_WRAP_WORD_CHAR' SEE ALSO
Glib::Object, Goo::Canvas::ItemModelSimple COPYRIGHT
Copyright (C) 2011 Gtk2-Perl Team perl v5.14.2 2011-11-16 Goo::Canvas::TextModel(3pm)
All times are GMT -4. The time now is 11:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy