Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Goo::Canvas::TextModelUser Contributed Perl DocumentaGoo::Canvas::TextModel(3)

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

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) 2020 Gtk2-Perl Team

perl v5.32.0			  2020-08-30	     Goo::Canvas::TextModel(3)

NAME | HIERARCHY | INTERFACES | METHODS | PROPERTIES | ENUMS AND FLAGS | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Goo::Canvas::TextModel&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help