Gtk2::Pango::Context

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::Pango::Context  

HIERARCHY

  Glib::Object
  +----Gtk2::Pango::Context

 

METHODS

 

direction = $context->get_base_dir

 

$context->set_base_dir ($direction)

* $direction (Gtk2::Pango::Direction)
 

fontdescription = $context->get_font_description

 

$context->set_font_description ($desc)

* $desc (Gtk2::Pango::FontDescription)
 

fontmap = $context->get_font_map

Since: pango 1.6
 

language = $context->get_language

 

$context->set_language ($language)

* $language (Gtk2::Pango::Language)
 

@families = $context->list_families

 

font = $context->load_font ($desc)

* $desc (Gtk2::Pango::FontDescription or undef)
 

fontset = $context->load_fontset ($desc, $language)

* $desc (Gtk2::Pango::FontDescription)
* $language (Gtk2::Pango::Language or undef)
 

matrix or undef = $context->get_matrix

Since: pango 1.6
 

$context->set_matrix ($matrix)

* $matrix (Gtk2::Pango::Matrix or undef)

Since: pango 1.6

 

fontmetrics = $context->get_metrics ($desc, $language)

* $desc (Gtk2::Pango::FontDescription)
* $language (Gtk2::Pango::Language or undef)
 

ENUMS AND FLAGS

 

enum Gtk2::Pango::Direction

* 'ltr' / 'PANGO_DIRECTION_LTR'
* 'rtl' / 'PANGO_DIRECTION_RTL'
* 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'
* 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'
* 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'
* 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'
* 'neutral' / 'PANGO_DIRECTION_NEUTRAL'
 

SEE ALSO

Gtk2, Glib::Object  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
direction = $context->get_base_dir
$context->set_base_dir ($direction)
fontdescription = $context->get_font_description
$context->set_font_description ($desc)
fontmap = $context->get_font_map
language = $context->get_language
$context->set_language ($language)
@families = $context->list_families
font = $context->load_font ($desc)
fontset = $context->load_fontset ($desc, $language)
matrix or undef = $context->get_matrix
$context->set_matrix ($matrix)
fontmetrics = $context->get_metrics ($desc, $language)
ENUMS AND FLAGS
enum Gtk2::Pango::Direction
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages