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
Pango::Layout(3) User Contributed Perl Documentation Pango::Layout(3)

Pango::Layout - wrapper for PangoLayout

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

$context (Pango::Context)

$layout->set_alignment ($alignment)

$alignment (Pango::Alignment)

$layout->set_attributes ($attrs)

$attrs (Pango::AttrList or undef)

boolean = $layout->get_auto_dir

Since: pango 1.4

$layout->set_auto_dir ($auto_dir)

$auto_dir (boolean)

Since: pango 1.4

integer = $layout->get_baseline

Since: pango 1.22

$index_ (integer)

Since: pango 1.6

$layout->set_ellipsize ($ellipsize)

$ellipsize (Pango::EllipsizeMode)

Since: pango 1.6

(ink_rect, logical_rect) = $layout->get_extents

(ink_rect, logical_rect) = $layout->get_pixel_extents

Since: pango 1.8

$layout->set_font_description ($desc)

$desc (Pango::FontDescription or undef)

integer = $layout->get_height

Since: pango 1.20

$layout->set_height ($height)

$height (integer)

Since: pango 1.20

integer = $layout->get_indent

$layout->set_indent ($newval)

$newval (integer)

$index_ (integer)

boolean = $layout->is_ellipsized

Since: pango 1.16

boolean = $layout->is_wrapped

Since: pango 1.16

integer = $layout->get_justify

$layout->set_justify ($newval)

$newval (integer)

integer = $layout->get_line_count

layoutline or undef = $layout->get_line ($line)

$line (integer)

layoutline or undef = $layout->get_line_readonly ($line)

$line (integer)

Since: pango 1.16

list = $layout->get_lines

list = $layout->get_lines_readonly

Since: pango 1.16

list = $layout->get_log_attrs

Returns a list of Pango::LogAttr's

$layout->set_markup ($markup)

$markup (string)

  • $markup (string)
  • $accel_marker (character)

  • $strong (boolean)
  • $old_index (integer)
  • $old_trailing (integer)
  • $direction (integer)

list = $layout->get_pixel_extents

(width, height) = $layout->get_pixel_size

integer = $layout->get_single_paragraph_mode

$layout->set_single_paragraph_mode ($newval)

$newval (integer)

(width, height) = $layout->get_size

integer = $layout->get_spacing

$layout->set_spacing ($newval)

$newval (integer)

$layout->set_tabs ($tabs)

$tabs (Pango::TabArray or undef)

$layout->set_text ($text)

$text (string)

integer = $layout->get_unknown_glyphs_count

Since: pango 1.16

integer = $layout->get_width

$layout->set_width ($newval)

$newval (integer)

$layout->set_wrap ($wrap)

$wrap (Pango::WrapMode)

  • $x (integer)
  • $y (integer)

  • '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'
  • 'none' / 'PANGO_WRAP_NONE'

Pango, Glib::Object

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

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

2025-07-03 perl v5.40.2

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.