1Gnome2::Client(3) User Contributed Perl Documentation Gnome2::Client(3)
2
3
4
6 Gnome2::Client - wrapper for GnomeClient
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gnome2::Client
13
15 client = Gnome2::Client->new
16 client = Gnome2::Client->new_without_connection
17 $client->add_static_arg (...)
18 · ... (list)
19
20 $client->set_clone_command (...)
21 · ... (list)
22
23 string = $client->get_config_prefix
24 $client->connect
25 boolean = $client->connected
26 $client->set_current_directory ($dir)
27 · $dir (string)
28
29 string = $client->get_desktop_id
30 $client->set_discard_command (...)
31 · ... (list)
32
33 $client->disconnect
34 $client->set_environment ($name, $value)
35 · $name (string)
36
37 · $value (string)
38
39 clientflags = $client->get_flags
40 $client->flush
41 string = $client->get_global_config_prefix
42 $client->set_global_config_prefix ($prefix)
43 · $prefix (string)
44
45 string = $client->get_id
46 Gnome2::Client->interaction_key_return ($key, $cancel_shutdown)
47 · $key (integer)
48
49 · $cancel_shutdown (boolean)
50
51 client = Gnome2::Client->master
52 string = $client->get_previous_id
53 $client->set_priority ($priority)
54 · $priority (integer)
55
56 $client->request_interaction ($dialog_type, $function, $data=undef)
57 · $dialog_type (Gnome2::DialogType)
58
59 · $function (scalar)
60
61 · $data (scalar)
62
63 $client->request_phase_2
64 $client->request_save ($save_style, $shutdown, $interact_style, $fast,
65 $global)
66 · $save_style (Gnome2::SaveStyle)
67
68 · $shutdown (boolean)
69
70 · $interact_style (Gnome2::InteractStyle)
71
72 · $fast (boolean)
73
74 · $global (boolean)
75
76 $client->set_resign_command (...)
77 · ... (list)
78
79 $client->set_restart_command (...)
80 · ... (list)
81
82 $client->set_restart_style ($style)
83 · $style (Gnome2::RestartStyle)
84
85 $client->save_any_dialog ($dialog)
86 · $dialog (Gtk2::Dialog)
87
88 $client->save_error_dialog ($dialog)
89 · $dialog (Gtk2::Dialog)
90
91 $client->set_shutdown_command (...)
92 · ... (list)
93
95 connect (Gnome2::Client, boolean)
96 die (Gnome2::Client)
97 disconnect (Gnome2::Client)
98 save-complete (Gnome2::Client)
99 boolean = save-yourself (Gnome2::Client, integer, Gnome2::SaveStyle,
100 boolean, Gnome2::InteractStyle, boolean)
101 shutdown-cancelled (Gnome2::Client)
102
104 flags Gnome2::ClientFlags
105 · 'is-connected' / 'GNOME_CLIENT_IS_CONNECTED'
106
107 · 'restarted' / 'GNOME_CLIENT_RESTARTED'
108
109 · 'restored' / 'GNOME_CLIENT_RESTORED'
110
111 enum Gnome2::DialogType
112 · 'error' / 'GNOME_DIALOG_ERROR'
113
114 · 'normal' / 'GNOME_DIALOG_NORMAL'
115
116 enum Gnome2::InteractStyle
117 · 'none' / 'GNOME_INTERACT_NONE'
118
119 · 'errors' / 'GNOME_INTERACT_ERRORS'
120
121 · 'any' / 'GNOME_INTERACT_ANY'
122
123 enum Gnome2::RestartStyle
124 · 'if-running' / 'GNOME_RESTART_IF_RUNNING'
125
126 · 'anyway' / 'GNOME_RESTART_ANYWAY'
127
128 · 'immediately' / 'GNOME_RESTART_IMMEDIATELY'
129
130 · 'never' / 'GNOME_RESTART_NEVER'
131
132 enum Gnome2::SaveStyle
133 · 'global' / 'GNOME_SAVE_GLOBAL'
134
135 · 'local' / 'GNOME_SAVE_LOCAL'
136
137 · 'both' / 'GNOME_SAVE_BOTH'
138
140 Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
141
143 Copyright (C) 2003-2004 by the gtk2-perl team.
144
145 This software is licensed under the LGPL. See Gnome2 for a full
146 notice.
147
148
149
150perl v5.30.1 2020-01-30 Gnome2::Client(3)