Rechercher une page de manuel
Gtk2::Pango::FontDescription.3pm
Langue: en
Version: 2010-05-02 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- HIERARCHY
- METHODS
- fontdescription = Gtk2::Pango::FontDescription->new
- double = Gtk2::Pango->PANGO_PIXELS ($d)
- $desc->set_absolute_size ($size)
- boolean = $desc->better_match ($old_match, $new_match)
- boolean = $desc1->equal ($desc2)
- string = $desc->get_family
- $desc->set_family ($family)
- $desc->set_family_static ($family)
- fontdescription = Gtk2::Pango::FontDescription->from_string ($str)
- gravity = $desc->get_gravity
- $desc->set_gravity ($gravity)
- integer = $desc->hash
- $desc->merge ($desc_to_merge, $replace_existing)
- $desc->merge_static ($desc_to_merge, $replace_existing)
- double = Gtk2::Pango->pixels ($d)
- double = Gtk2::Pango->scale
- double = Gtk2::Pango->scale_large
- double = Gtk2::Pango->scale_medium
- double = Gtk2::Pango->scale_small
- double = Gtk2::Pango->scale_x_large
- double = Gtk2::Pango->scale_x_small
- double = Gtk2::Pango->scale_xx_large
- double = Gtk2::Pango->scale_xx_small
- fontmask = $desc->get_set_fields
- integer = $desc->get_size
- boolean = $desc->get_size_is_absolute
- $desc->set_size ($size)
- stretch = $desc->get_stretch
- $desc->set_stretch ($stretch)
- style = $desc->get_style
- $desc->set_style ($style)
- string = $desc->to_filename
- string = $desc->to_string
- $desc->unset_fields ($to_unset)
- variant = $desc->get_variant
- $desc->set_variant ($variant)
- weight = $desc->get_weight
- $desc->set_weight ($weight)
- ENUMS AND FLAGS
- SEE ALSO
- COPYRIGHT
NAME
Gtk2::Pango::FontDescriptionHIERARCHY
Glib::Boxed +----Gtk2::Pango::FontDescription
METHODS
fontdescription = Gtk2::Pango::FontDescription->new
double = Gtk2::Pango->PANGO_PIXELS ($d)
-
- *
- $d (double)
$desc->set_absolute_size ($size)
-
- *
- $size (double)
Since: pango 1.8
boolean = $desc->better_match ($old_match, $new_match)
-
- *
- $old_match (Gtk2::Pango::FontDescription or undef)
- *
- $new_match (Gtk2::Pango::FontDescription)
boolean = $desc1->equal ($desc2)
-
- *
- $desc2 (Gtk2::Pango::FontDescription)
string = $desc->get_family
$desc->set_family ($family)
-
- *
- $family (string)
$desc->set_family_static ($family)
-
- *
- $family (string)
fontdescription = Gtk2::Pango::FontDescription->from_string ($str)
-
- *
- $str (string)
gravity = $desc->get_gravity
- Since: pango 1.16
$desc->set_gravity ($gravity)
-
- *
- $gravity (Gtk2::Pango::Gravity)
Since: pango 1.16
integer = $desc->hash
$desc->merge ($desc_to_merge, $replace_existing)
-
- *
- $desc_to_merge (Gtk2::Pango::FontDescription)
- *
- $replace_existing (boolean)
$desc->merge_static ($desc_to_merge, $replace_existing)
-
- *
- $desc_to_merge (Gtk2::Pango::FontDescription)
- *
- $replace_existing (boolean)
double = Gtk2::Pango->pixels ($d)
-
- *
- $d (double)
double = Gtk2::Pango->scale
double = Gtk2::Pango->scale_large
double = Gtk2::Pango->scale_medium
double = Gtk2::Pango->scale_small
double = Gtk2::Pango->scale_x_large
double = Gtk2::Pango->scale_x_small
double = Gtk2::Pango->scale_xx_large
double = Gtk2::Pango->scale_xx_small
fontmask = $desc->get_set_fields
integer = $desc->get_size
boolean = $desc->get_size_is_absolute
- Since: pango 1.8
$desc->set_size ($size)
-
- *
- $size (integer)
stretch = $desc->get_stretch
$desc->set_stretch ($stretch)
-
- *
- $stretch (Gtk2::Pango::Stretch)
style = $desc->get_style
$desc->set_style ($style)
-
- *
- $style (Gtk2::Pango::Style)
string = $desc->to_filename
string = $desc->to_string
$desc->unset_fields ($to_unset)
-
- *
- $to_unset (Gtk2::Pango::FontMask)
variant = $desc->get_variant
$desc->set_variant ($variant)
-
- *
- $variant (Gtk2::Pango::Variant)
weight = $desc->get_weight
$desc->set_weight ($weight)
-
- *
- $weight (Gtk2::Pango::Weight)
ENUMS AND FLAGS
flags Gtk2::Pango::FontMask
- *
- 'family' / 'PANGO_FONT_MASK_FAMILY'
- *
- 'style' / 'PANGO_FONT_MASK_STYLE'
- *
- 'variant' / 'PANGO_FONT_MASK_VARIANT'
- *
- 'weight' / 'PANGO_FONT_MASK_WEIGHT'
- *
- 'stretch' / 'PANGO_FONT_MASK_STRETCH'
- *
- 'size' / 'PANGO_FONT_MASK_SIZE'
- *
- 'gravity' / 'PANGO_FONT_MASK_GRAVITY'
enum Gtk2::Pango::Gravity
- *
- 'south' / 'PANGO_GRAVITY_SOUTH'
- *
- 'east' / 'PANGO_GRAVITY_EAST'
- *
- 'north' / 'PANGO_GRAVITY_NORTH'
- *
- 'west' / 'PANGO_GRAVITY_WEST'
- *
- 'auto' / 'PANGO_GRAVITY_AUTO'
enum Gtk2::Pango::Stretch
- *
- 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
- *
- 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
- *
- 'condensed' / 'PANGO_STRETCH_CONDENSED'
- *
- 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
- *
- 'normal' / 'PANGO_STRETCH_NORMAL'
- *
- 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
- *
- 'expanded' / 'PANGO_STRETCH_EXPANDED'
- *
- 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
- *
- 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'
enum Gtk2::Pango::Style
- *
- 'normal' / 'PANGO_STYLE_NORMAL'
- *
- 'oblique' / 'PANGO_STYLE_OBLIQUE'
- *
- 'italic' / 'PANGO_STYLE_ITALIC'
enum Gtk2::Pango::Variant
- *
- 'normal' / 'PANGO_VARIANT_NORMAL'
- *
- 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
enum Gtk2::Pango::Weight
- *
- 'thin' / 'PANGO_WEIGHT_THIN'
- *
- 'ultralight' / 'PANGO_WEIGHT_ULTRALIGHT'
- *
- 'light' / 'PANGO_WEIGHT_LIGHT'
- *
- 'book' / 'PANGO_WEIGHT_BOOK'
- *
- 'normal' / 'PANGO_WEIGHT_NORMAL'
- *
- 'medium' / 'PANGO_WEIGHT_MEDIUM'
- *
- 'semibold' / 'PANGO_WEIGHT_SEMIBOLD'
- *
- 'bold' / 'PANGO_WEIGHT_BOLD'
- *
- 'ultrabold' / 'PANGO_WEIGHT_ULTRABOLD'
- *
- 'heavy' / 'PANGO_WEIGHT_HEAVY'
- *
- 'ultraheavy' / 'PANGO_WEIGHT_ULTRAHEAVY'
SEE ALSO
Gtk2, Glib::BoxedCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre