Gtk2::PrintSettings(3) User Contributed Perl Documentation Gtk2::PrintSettings(3)

Gtk2::PrintSettings - wrapper for GtkPrintSettings

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

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)

$key (string)

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

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

$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)

Gtk2, Glib::Object

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

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

2022-05-29 perl v5.36.0