1Gtk2::PrintSettings(3)User Contributed Perl DocumentationGtk2::PrintSettings(3)
2
3
4
6 Gtk2::PrintSettings - wrapper for GtkPrintSettings
7
9 Glib::Object
10 +----Gtk2::PrintSettings
11
13 printsettings = Gtk2::PrintSettings->new
14 printsettings = Gtk2::PrintSettings->new_from_file ($file_name)
15 · $file_name (localized file name)
16
17 May croak with a Glib::Error in $@ on failure.
18
19 Since: gtk+ 2.12
20
21 printsettings = Gtk2::PrintSettings->new_from_key_file ($key_file,
22 $group_name)
23 · $key_file (Glib::KeyFile)
24
25 · $group_name (string or undef)
26
27 May croak with a Glib::Error in $@ on failure.
28
29 Since: gtk+ 2.12
30
31 $settings->foreach ($func, $data=undef)
32 · $func (scalar)
33
34 · $data (scalar)
35
36 string or undef = $settings->get ($key)
37 · $key (string)
38
39 $settings->set ($key, $value)
40 · $key (string)
41
42 · $value (string or undef)
43
44 boolean = $settings->has_key ($key)
45 · $key (string)
46
47 $settings->load_file ($file_name)
48 · $file_name (string)
49
50 May croak with a Glib::Error in $@ on failure.
51
52 Since: gtk+ 2.14
53
54 $settings->load_key_file ($key_file, $group_name)
55 · $key_file (Glib::KeyFile)
56
57 · $group_name (string or undef)
58
59 May croak with a Glib::Error in $@ on failure.
60
61 Since: gtk+ 2.14
62
63 $settings->to_file ($file_name)
64 · $file_name (localized file name)
65
66 May croak with a Glib::Error in $@ on failure.
67
68 Since: gtk+ 2.12
69
70 $settings->to_key_file ($key_file, $group_name)
71 · $key_file (Glib::KeyFile)
72
73 · $group_name (string or undef)
74
75 Since: gtk+ 2.12
76
77 $settings->unset ($key)
78 · $key (string)
79
81 Gtk2, Glib::Object
82
84 Copyright (C) 2003-2011 by the gtk2-perl team.
85
86 This software is licensed under the LGPL. See Gtk2 for a full notice.
87
88
89
90perl v5.28.0 2018-07-18 Gtk2::PrintSettings(3)