Gnome2::Canvas::Text(3pm)

NAME

Gnome2::Canvas::Text - Text as CanvasItems

HIERARCHY

Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gnome2::Canvas::Item
+----Gnome2::Canvas::Text

PROPERTIES

'anchor' (Gtk2::AnchorType : readable / writable)
'attributes' (Gtk2::Pango::AttrList : readable / writable)
'clip' (boolean : readable / writable)
'clip-height' (double : readable / writable)
'clip-width' (double : readable / writable)
'family' (string : readable / writable)
Name of the font family, e.g. Sans, Helvetica, Times, Monospace
'family-set' (boolean : readable / writable)
Whether this tag affects the font family
'fill-color' (string : readable / writable)
Text color, as string
'fill-color-gdk' (Gtk2::Gdk::Color : readable / writable)
Text color, as a GdkColor
'fill-color-rgba' (Glib::UInt : readable / writable)
Text color, as an R/G/B/A combined integer
'fill-stipple' (Gtk2::Gdk::Drawable : readable / writable)
'font' (string : readable / writable)
Font description as a string
'font-desc' (Gtk2::Pango::FontDescription : readable / writable)
Font description as a PangoFontDescription struct
'justification' (Gtk2::Justification : readable / writable)
'markup' (string : writable)
Marked up text to render
'rise' (integer : readable / writable)
Offset of text above the baseline (below the baseline if rise is
negative)
'rise-set' (boolean : readable / writable)
Whether this tag affects the rise
'scale' (double : readable / writable)
Size of font, relative to default size
'scale-set' (boolean : readable / writable)
Whether this tag affects font scaling
'size' (integer : readable / writable)
Font size (as a multiple of PANGO_SCALE, eg. 12*PANGO_SCALE for a
12pt font size)
'size-points' (double : readable / writable)
Font size in points (eg. 12 for a 12pt font size)
'size-set' (boolean : readable / writable)
Whether this tag affects the font size
'stretch' (Gtk2::Pango::Stretch : readable / writable)
Font stretch
'stretch-set' (boolean : readable / writable)
Whether this tag affects the font stretch
'strikethrough' (boolean : readable / writable)
Whether to strike through the text
'strikethrough-set' (boolean : readable / writable)
Whether this tag affects strikethrough
'style' (Gtk2::Pango::Style : readable / writable)
Font style
'style-set' (boolean : readable / writable)
Whether this tag affects the font style
'text' (string : readable / writable)
Text to render
'text-height' (double : readable)
Height of the rendered text
'text-width' (double : readable)
Width of the rendered text
'underline' (Gtk2::Pango::Underline : readable / writable)
Style of underline for this text
'underline-set' (boolean : readable / writable)
Whether this tag affects underlining
'variant' (Gtk2::Pango::Variant : readable / writable)
Font variant
'variant-set' (boolean : readable / writable)
Whether this tag affects the font variant
'weight' (integer : readable / writable)
Font weight
'weight-set' (boolean : readable / writable)
Whether this tag affects the font weight
'x' (double : readable / writable)
'x-offset' (double : readable / writable)
'y' (double : readable / writable)
'y-offset' (double : readable / writable)

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 Gtk2::Justification
o 'left' / 'GTK_JUSTIFY_LEFT'
o 'right' / 'GTK_JUSTIFY_RIGHT'
o 'center' / 'GTK_JUSTIFY_CENTER'
o 'fill' / 'GTK_JUSTIFY_FILL'
enum Gtk2::Pango::Stretch
o 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
o 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
o 'condensed' / 'PANGO_STRETCH_CONDENSED'
o 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
o 'normal' / 'PANGO_STRETCH_NORMAL'
o 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
o 'expanded' / 'PANGO_STRETCH_EXPANDED'
o 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
o 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'
enum Gtk2::Pango::Style
o 'normal' / 'PANGO_STYLE_NORMAL'
o 'oblique' / 'PANGO_STYLE_OBLIQUE'
o 'italic' / 'PANGO_STYLE_ITALIC'
enum Gtk2::Pango::Underline
o 'none' / 'PANGO_UNDERLINE_NONE'
o 'single' / 'PANGO_UNDERLINE_SINGLE'
o 'double' / 'PANGO_UNDERLINE_DOUBLE'
o 'low' / 'PANGO_UNDERLINE_LOW'
o 'error' / 'PANGO_UNDERLINE_ERROR'
enum Gtk2::Pango::Variant
o 'normal' / 'PANGO_VARIANT_NORMAL'
o 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'

SEE ALSO

Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
Gnome2::Canvas::Item

COPYRIGHT

Copyright (C) 2003-2004 by the Gtk2-Perl Team.

This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout