1Gnome2::GConf::ChangeSeUts(e3r)Contributed Perl DocumentGantoimoen2::GConf::ChangeSet(3)
2
3
4
6 Gnome2::GConf::ChangeSet - A set of configuration changes to be made
7
9 $cs = {
10 '/apps/someapp/some_int_key' => { type => 'int', value => 42 },
11 '/apps/someapp/some_string_key' => { type => 'string', value => 'hi' },
12 };
13
14 $reverse_cs = $client->reverse_change_set($cs);
15 $client->commit_change_set($cs, FALSE);
16
18 A "GConfChangeSet" allows you to collect a set of changes to
19 configuration keys (set/unset operations). You can then commit all the
20 changes at once.
21
22 In C, "GConfChangeSet" is an hash containing keys and "GConfValue"s to
23 be committed in a single pass (though not yet with an atomic
24 operation). Since perl has hashes as a built-in type, "GConfChangeSet"
25 is threated as an hash with the GConf keys as keys, and their relative
26 Gnome2::GConf::Value as payload.
27
29 Gnome2::GConf(3pm), Gnome2::GConf::Value(3pm).
30
32 Gnome2::GConf
33
35 Copyright (C) 2003-2006 by the gtk2-perl team.
36
37 This software is licensed under the LGPL. See Gnome2::GConf for a full
38 notice.
39
40
41
42perl v5.36.0 2022-07-22 Gnome2::GConf::ChangeSet(3)