Gtk2::PrintSettings.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::PrintSettings

HIERARCHY

   Glib::Object
   +----Gtk2::PrintSettings
 
 

METHODS

printsettings = Gtk2::PrintSettings->new

printsettings = Gtk2::PrintSettings->new_from_file ($file_name)

*
$file_name (localized file name)

May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12

printsettings = Gtk2::PrintSettings->new_from_key_file ($key_file, $group_name)

*
$key_file (Glib::KeyFile)
*
$group_name (string or undef)

May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12

$settings->foreach ($func, $data=undef)

*
$func (scalar)
*
$data (scalar)

string or undef = $settings->get ($key)

*
$key (string)

$settings->set ($key, $value)

*
$key (string)
*
$value (string or undef)

boolean = $settings->has_key ($key)

*
$key (string)

$settings->load_file ($file_name)

*
$file_name (string)

May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.14

$settings->load_key_file ($key_file, $group_name)

*
$key_file (Glib::KeyFile)
*
$group_name (string or undef)

May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.14

$settings->to_file ($file_name)

*
$file_name (localized file name)

May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12

$settings->to_key_file ($key_file, $group_name)

*
$key_file (Glib::KeyFile)
*
$group_name (string or undef)

Since: gtk+ 2.12

$settings->unset ($key)

*
$key (string)

SEE ALSO

Gtk2, Glib::Object Copyright (C) 2003-2008 by the gtk2-perl team.

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