GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Goo::Canvas::TextModel(3) User Contributed Perl Documentation Goo::Canvas::TextModel(3)

Goo::Canvas::TextModel - wrapper for GooCanvasTextModel

  Glib::Object
  +----Goo::Canvas::ItemModelSimple
       +----Goo::Canvas::TextModel

  Goo::Canvas::ItemModel

  • $parent (Goo::Canvas::ItemModel)
  • $string (string)
  • $x (double)
  • $y (double)
  • $width (double)
  • $anchor (Gtk2::AnchorType)
  • ... (list)

'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 let the text use as much vertical space as needed
'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, or -1 to let the text use as much horizontal space as needed
'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

  • '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'

  • 'left' / 'PANGO_ALIGN_LEFT'
  • 'center' / 'PANGO_ALIGN_CENTER'
  • 'right' / 'PANGO_ALIGN_RIGHT'

  • 'none' / 'PANGO_ELLIPSIZE_NONE'
  • 'start' / 'PANGO_ELLIPSIZE_START'
  • 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
  • 'end' / 'PANGO_ELLIPSIZE_END'

  • 'word' / 'PANGO_WRAP_WORD'
  • 'char' / 'PANGO_WRAP_CHAR'
  • 'word-char' / 'PANGO_WRAP_WORD_CHAR'

Glib::Object, Goo::Canvas::ItemModelSimple

Copyright (C) 2022 Gtk2-Perl Team
2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.