man Gtk2::Pango::Layout () - Gtk2::Pango::Layout

NAME

Gtk2::Pango::Layout

HIERARCHY

  Glib::Object
  +----Gtk2::Pango::Layout

METHODS

layout = Gtk2::Pango::Layout->new ($context)

$layout->set_alignment ($alignment)

$layout->set_attributes ($attrs)

$layout->set_auto_dir ($auto_dir)

$layout->context_changed

$layout->set_ellipsize ($ellipsize)

$layout->set_font_description ($desc)

$layout->set_indent ($newval)

$layout->set_justify ($newval)

Returns a list of Gtk2::Pango::LogAttr's

$layout->set_markup ($markup)

$layout->set_single_paragraph_mode ($newval)

$layout->set_spacing ($newval)

$layout->set_tabs ($tabs)

$layout->set_text ($text)

$layout->set_width ($newval)

$layout->set_wrap ($wrap)

ENUMS AND FLAGS

enum Gtk2::Pango::Alignment

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

enum Gtk2::Pango::EllipsizeMode

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

enum Gtk2::Pango::WrapMode

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

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.