1Gnome2::VFS::Mime::ApplUisceartiCoonn(t3r)ibuted Perl DoGcnuommeen2t:a:tViFoSn::Mime::Application(3)
2
3
4

NAME

6       Gnome2::VFS::Mime::Application
7

METHODS

9       application = Gnome2::VFS::Mime::Application->new_from_desktop_id ($id)
10
11           * $id (string)
12
13       application = Gnome2::VFS::Mime::Application->new_from_id ($id)
14
15           * $id (string)
16
17       string = $app->get_binary_name
18
19       string = $app->get_desktop_file_path
20
21       string = $app->get_desktop_id
22
23       string = $app->get_exec
24
25       string = $app->get_generic_name
26
27       string = $app->get_icon
28
29       boolean = $application->is_user_owned
30
31       result = $app->launch (...)
32
33           * ... (list) of URI strings
34
35       result = $app->launch_with_env ($uri_ref, $env_ref)
36
37           * $uri_ref (scalar)
38           * $env_ref (scalar)
39
40       string = $app->get_name
41
42       boolean = $app->requires_terminal
43
44       $application->save
45
46       string = $app->get_startup_wm_class
47
48       boolean = $app->supports_startup_notification
49
50       boolean = $app->supports_uris
51

ENUMS AND FLAGS

53       enum Gnome2::VFS::Result
54
55       * 'ok' / 'GNOME_VFS_OK'
56       * 'error-not-found' / 'GNOME_VFS_ERROR_NOT_FOUND'
57       * 'error-generic' / 'GNOME_VFS_ERROR_GENERIC'
58       * 'error-internal' / 'GNOME_VFS_ERROR_INTERNAL'
59       * 'error-bad-parameters' / 'GNOME_VFS_ERROR_BAD_PARAMETERS'
60       * 'error-not-supported' / 'GNOME_VFS_ERROR_NOT_SUPPORTED'
61       * 'error-io' / 'GNOME_VFS_ERROR_IO'
62       * 'error-corrupted-data' / 'GNOME_VFS_ERROR_CORRUPTED_DATA'
63       * 'error-wrong-format' / 'GNOME_VFS_ERROR_WRONG_FORMAT'
64       * 'error-bad-file' / 'GNOME_VFS_ERROR_BAD_FILE'
65       * 'error-too-big' / 'GNOME_VFS_ERROR_TOO_BIG'
66       * 'error-no-space' / 'GNOME_VFS_ERROR_NO_SPACE'
67       * 'error-read-only' / 'GNOME_VFS_ERROR_READ_ONLY'
68       * 'error-invalid-uri' / 'GNOME_VFS_ERROR_INVALID_URI'
69       * 'error-not-open' / 'GNOME_VFS_ERROR_NOT_OPEN'
70       * 'error-invalid-open-mode' / 'GNOME_VFS_ERROR_INVALID_OPEN_MODE'
71       * 'error-access-denied' / 'GNOME_VFS_ERROR_ACCESS_DENIED'
72       * 'error-too-many-open-files' / 'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES'
73       * 'error-eof' / 'GNOME_VFS_ERROR_EOF'
74       * 'error-not-a-directory' / 'GNOME_VFS_ERROR_NOT_A_DIRECTORY'
75       * 'error-in-progress' / 'GNOME_VFS_ERROR_IN_PROGRESS'
76       * 'error-interrupted' / 'GNOME_VFS_ERROR_INTERRUPTED'
77       * 'error-file-exists' / 'GNOME_VFS_ERROR_FILE_EXISTS'
78       * 'error-loop' / 'GNOME_VFS_ERROR_LOOP'
79       * 'error-not-permitted' / 'GNOME_VFS_ERROR_NOT_PERMITTED'
80       * 'error-is-directory' / 'GNOME_VFS_ERROR_IS_DIRECTORY'
81       * 'error-no-memory' / 'GNOME_VFS_ERROR_NO_MEMORY'
82       * 'error-host-not-found' / 'GNOME_VFS_ERROR_HOST_NOT_FOUND'
83       * 'error-invalid-host-name' / 'GNOME_VFS_ERROR_INVALID_HOST_NAME'
84       * 'error-host-has-no-address' / 'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS'
85       * 'error-login-failed' / 'GNOME_VFS_ERROR_LOGIN_FAILED'
86       * 'error-cancelled' / 'GNOME_VFS_ERROR_CANCELLED'
87       * 'error-directory-busy' / 'GNOME_VFS_ERROR_DIRECTORY_BUSY'
88       * 'error-directory-not-empty' / 'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY'
89       * 'error-too-many-links' / 'GNOME_VFS_ERROR_TOO_MANY_LINKS'
90       * 'error-read-only-file-system' / 'GNOME_VFS_ERROR_READ_ONLY_FILE_SYS‐
91       TEM'
92       * 'error-not-same-file-system' / 'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM'
93       * 'error-name-too-long' / 'GNOME_VFS_ERROR_NAME_TOO_LONG'
94       * 'error-service-not-available' / 'GNOME_VFS_ERROR_SERVICE_NOT_AVAIL‐
95       ABLE'
96       * 'error-service-obsolete' / 'GNOME_VFS_ERROR_SERVICE_OBSOLETE'
97       * 'error-protocol-error' / 'GNOME_VFS_ERROR_PROTOCOL_ERROR'
98       * 'error-no-master-browser' / 'GNOME_VFS_ERROR_NO_MASTER_BROWSER'
99       * 'error-no-default' / 'GNOME_VFS_ERROR_NO_DEFAULT'
100       * 'error-no-handler' / 'GNOME_VFS_ERROR_NO_HANDLER'
101       * 'error-parse' / 'GNOME_VFS_ERROR_PARSE'
102       * 'error-launch' / 'GNOME_VFS_ERROR_LAUNCH'
103       * 'error-timeout' / 'GNOME_VFS_ERROR_TIMEOUT'
104       * 'error-nameserver' / 'GNOME_VFS_ERROR_NAMESERVER'
105       * 'error-locked' / 'GNOME_VFS_ERROR_LOCKED'
106       * 'error-deprecated-function' / 'GNOME_VFS_ERROR_DEPRECATED_FUNCTION'
107       * 'error-invalid-filename' / 'GNOME_VFS_ERROR_INVALID_FILENAME'
108       * 'error-not-a-symbolic-link' / 'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK'
109       * 'num-errors' / 'GNOME_VFS_NUM_ERRORS'
110

SEE ALSO

112       Gnome2::VFS
113
115       Copyright (C) 2003-2007 by the gtk2-perl team.
116
117       This software is licensed under the LGPL.  See Gnome2::VFS for a full
118       notice.
119
120
121
122perl v5.8.8                       2007-10-24 Gnome2::VFS::Mime::Application(3)
Impressum