1Gnome2::Program(3) User Contributed Perl Documentation Gnome2::Program(3)
2
3
4
6 Gnome2::Program
7
9 Glib::Object
10 +----Gnome2::Program
11
13 string = $program->get_app_id
14 string = $program->get_app_version
15 string = $program->get_human_readable_name
16 program = Gnome2::Program->init ($app_id, $app_version, $module_info=undef,
17 ...)
18 · $app_id (string)
19
20 · $app_version (string)
21
22 · $module_info (scalar)
23
24 · ... (list)
25
26 The list argument is for property-value pairs.
27
28 list = $program->locate_file ($domain, $file_name, $only_if_exists)
29 · $domain (Gnome2::FileDomain)
30
31 · $file_name (string)
32
33 · $only_if_exists (boolean)
34
35 Returns a list of locations.
36
37 moduleinfo = Gnome2::Program->module_load ($mod_name)
38 · $mod_name (string)
39
40 Gnome2::Program->module_register ($module_info)
41 · $module_info (scalar)
42
43 boolean = Gnome2::Program->module_registered ($module_info)
44 · $module_info (scalar)
45
46 program or undef = Gnome2::Program->get_program
48 'app-datadir' (string : readable / writable)
49 Data prefix where this application was installed
50
51 'app-id' (string : readable)
52 ID string to use for this application
53
54 'app-libdir' (string : readable / writable)
55 Library prefix where this application was installed
56
57 'app-prefix' (string : readable / writable)
58 Prefix where this application was installed
59
60 'app-sysconfdir' (string : readable / writable)
61 Configuration prefix where this application was installed
62
63 'app-version' (string : readable)
64 Version of this application
65
66 'create-directories' (boolean : readable / writable / construct-only)
67 Create standard GNOME directories on startup
68
69 'enable-sound' (boolean : readable / writable)
70 Enable sound on startup
71
72 'espeaker' (string : readable / writable)
73 How to connect to esd
74
75 'gnome-datadir' (string : readable / writable / construct-only)
76 Data prefix where GNOME was installed
77
78 'gnome-libdir' (string : readable / writable / construct-only)
79 Library prefix where GNOME was installed
80
81 'gnome-path' (string : readable / writable / construct-only)
82 Path in which to look for installed files
83
84 'gnome-prefix' (string : readable / writable / construct-only)
85 Prefix where GNOME was installed
86
87 'gnome-sysconfdir' (string : readable / writable / construct-only)
88 Configuration prefix where GNOME was installed
89
90 'goption-context' (gpointer : readable / writable / construct-only)
91 The goption context pointer that GnomeProgram is using
92
93 'human-readable-name' (string : readable / writable / construct-only)
94 Human readable name of this application
95
96 'popt-context' (gpointer : readable)
97 The popt context pointer that GnomeProgram is using
98
99 'popt-flags' (integer : writable / construct-only)
100 The flags to use for popt
101
102 'popt-table' (gpointer : writable / construct-only)
103 The table of options for popt
104
106 enum Gnome2::FileDomain
107 · 'unknown' / 'GNOME_FILE_DOMAIN_UNKNOWN'
108
109 · 'libdir' / 'GNOME_FILE_DOMAIN_LIBDIR'
110
111 · 'datadir' / 'GNOME_FILE_DOMAIN_DATADIR'
112
113 · 'sound' / 'GNOME_FILE_DOMAIN_SOUND'
114
115 · 'pixmap' / 'GNOME_FILE_DOMAIN_PIXMAP'
116
117 · 'config' / 'GNOME_FILE_DOMAIN_CONFIG'
118
119 · 'help' / 'GNOME_FILE_DOMAIN_HELP'
120
121 · 'app-libdir' / 'GNOME_FILE_DOMAIN_APP_LIBDIR'
122
123 · 'app-datadir' / 'GNOME_FILE_DOMAIN_APP_DATADIR'
124
125 · 'app-sound' / 'GNOME_FILE_DOMAIN_APP_SOUND'
126
127 · 'app-pixmap' / 'GNOME_FILE_DOMAIN_APP_PIXMAP'
128
129 · 'app-config' / 'GNOME_FILE_DOMAIN_APP_CONFIG'
130
131 · 'app-help' / 'GNOME_FILE_DOMAIN_APP_HELP'
132
134 Gnome2, Glib::Object
135
137 Copyright (C) 2003-2004 by the gtk2-perl team.
138
139 This software is licensed under the LGPL. See Gnome2 for a full
140 notice.
141
142
143
144perl v5.12.0 2010-05-12 Gnome2::Program(3)