.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Gnome2::VFS::Mime::Type 3pm" .TH Gnome2::VFS::Mime::Type 3pm "2013-10-17" "perl v5.24.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gnome2::VFS::Mime::Type \- represents a Mime type .SH "METHODS" .IX Header "METHODS" .SS "scalar = Gnome2::VFS::Mime::Type\->\fBnew\fP ($mime_type)" .IX Subsection "scalar = Gnome2::VFS::Mime::Type->new ($mime_type)" .IP "\(bu" 4 \&\f(CW$mime_type\fR (string) .ie n .SS "result = $mime_type\->\fBadd_application_to_short_list\fP ($application_id)" .el .SS "result = \f(CW$mime_type\fP\->\fBadd_application_to_short_list\fP ($application_id)" .IX Subsection "result = $mime_type->add_application_to_short_list ($application_id)" .IP "\(bu" 4 \&\f(CW$application_id\fR (string) .ie n .SS "result = $mime_type\->\fBadd_extension\fP ($extension)" .el .SS "result = \f(CW$mime_type\fP\->\fBadd_extension\fP ($extension)" .IX Subsection "result = $mime_type->add_extension ($extension)" .IP "\(bu" 4 \&\f(CW$extension\fR (string) .ie n .SS "list = $mime_type\->\fBget_all_applications_for_uri\fP ($uri)" .el .SS "list = \f(CW$mime_type\fP\->\fBget_all_applications_for_uri\fP ($uri)" .IX Subsection "list = $mime_type->get_all_applications_for_uri ($uri)" .IP "\(bu" 4 \&\f(CW$uri\fR (string) .PP Since: vfs 2.10 .ie n .SS "list = $mime_type\->\fBget_all_applications\fP" .el .SS "list = \f(CW$mime_type\fP\->\fBget_all_applications\fP" .IX Subsection "list = $mime_type->get_all_applications" Returns a list of GnomeVFSMimeApplication's. .ie n .SS "list = $mime_type\->\fBget_all_desktop_entries\fP" .el .SS "list = \f(CW$mime_type\fP\->\fBget_all_desktop_entries\fP" .IX Subsection "list = $mime_type->get_all_desktop_entries" Since: vfs 2.8 .ie n .SS "boolean = $mime_type\->\fBcan_be_executable\fP" .el .SS "boolean = \f(CW$mime_type\fP\->\fBcan_be_executable\fP" .IX Subsection "boolean = $mime_type->can_be_executable" .ie n .SS "result = $mime_type\->\fBset_can_be_executable\fP ($new_value)" .el .SS "result = \f(CW$mime_type\fP\->\fBset_can_be_executable\fP ($new_value)" .IX Subsection "result = $mime_type->set_can_be_executable ($new_value)" .IP "\(bu" 4 \&\f(CW$new_value\fR (boolean) .ie n .SS "mimeactiontype = $mime_type\->\fBget_default_action_type\fP" .el .SS "mimeactiontype = \f(CW$mime_type\fP\->\fBget_default_action_type\fP" .IX Subsection "mimeactiontype = $mime_type->get_default_action_type" .ie n .SS "result = $mime_type\->\fBset_default_action_type\fP ($action_type)" .el .SS "result = \f(CW$mime_type\fP\->\fBset_default_action_type\fP ($action_type)" .IX Subsection "result = $mime_type->set_default_action_type ($action_type)" .IP "\(bu" 4 \&\f(CW$action_type\fR (Gnome2::VFS::MimeActionType) .ie n .SS "application = $mime_type\->\fBget_default_application_for_uri\fP ($uri)" .el .SS "application = \f(CW$mime_type\fP\->\fBget_default_application_for_uri\fP ($uri)" .IX Subsection "application = $mime_type->get_default_application_for_uri ($uri)" .IP "\(bu" 4 \&\f(CW$uri\fR (string) .PP Since: vfs 2.10 .ie n .SS "application = $mime_type\->\fBget_default_application\fP" .el .SS "application = \f(CW$mime_type\fP\->\fBget_default_application\fP" .IX Subsection "application = $mime_type->get_default_application" .ie n .SS "result = $mime_type\->\fBset_default_application\fP ($application_id)" .el .SS "result = \f(CW$mime_type\fP\->\fBset_default_application\fP ($application_id)" .IX Subsection "result = $mime_type->set_default_application ($application_id)" .IP "\(bu" 4 \&\f(CW$application_id\fR (string) .ie n .SS "string = $mime_type\->\fBget_default_desktop_entry\fP" .el .SS "string = \f(CW$mime_type\fP\->\fBget_default_desktop_entry\fP" .IX Subsection "string = $mime_type->get_default_desktop_entry" Since: vfs 2.8 .ie n .SS "string = $mime_type\->\fBget_description\fP" .el .SS "string = \f(CW$mime_type\fP\->\fBget_description\fP" .IX Subsection "string = $mime_type->get_description" .ie n .SS "result = $mime_type\->\fBset_description\fP ($description)" .el .SS "result = \f(CW$mime_type\fP\->\fBset_description\fP ($description)" .IX Subsection "result = $mime_type->set_description ($description)" .IP "\(bu" 4 \&\f(CW$description\fR (string) .ie n .SS "mimeequivalence = $mime_type\->\fBget_equivalence\fP ($base_mime_type)" .el .SS "mimeequivalence = \f(CW$mime_type\fP\->\fBget_equivalence\fP ($base_mime_type)" .IX Subsection "mimeequivalence = $mime_type->get_equivalence ($base_mime_type)" .IP "\(bu" 4 \&\f(CW$base_mime_type\fR (Gnome2::VFS::Mime::Type) .PP Since: vfs 2.8 .ie n .SS "result = $mime_type\->\fBextend_all_applications\fP (...)" .el .SS "result = \f(CW$mime_type\fP\->\fBextend_all_applications\fP (...)" .IX Subsection "result = $mime_type->extend_all_applications (...)" .IP "\(bu" 4 \&... (list) of application id's .ie n .SS "string = $mime_type\->\fBget_icon\fP" .el .SS "string = \f(CW$mime_type\fP\->\fBget_icon\fP" .IX Subsection "string = $mime_type->get_icon" .ie n .SS "result = $mime_type\->\fBset_icon\fP ($filename)" .el .SS "result = \f(CW$mime_type\fP\->\fBset_icon\fP ($filename)" .IX Subsection "result = $mime_type->set_icon ($filename)" .IP "\(bu" 4 \&\f(CW$filename\fR (string) .ie n .SS "boolean = $a\->\fBis_equal\fP ($b)" .el .SS "boolean = \f(CW$a\fP\->\fBis_equal\fP ($b)" .IX Subsection "boolean = $a->is_equal ($b)" .IP "\(bu" 4 \&\f(CW$b\fR (Gnome2::VFS::Mime::Type) .PP Since: vfs 2.8 .ie n .SS "result = $mime_type\->\fBremove_application_from_short_list\fP ($application_id)" .el .SS "result = \f(CW$mime_type\fP\->\fBremove_application_from_short_list\fP ($application_id)" .IX Subsection "result = $mime_type->remove_application_from_short_list ($application_id)" .IP "\(bu" 4 \&\f(CW$application_id\fR (string) .ie n .SS "result = $mime_type\->\fBremove_extension\fP ($extension)" .el .SS "result = \f(CW$mime_type\fP\->\fBremove_extension\fP ($extension)" .IX Subsection "result = $mime_type->remove_extension ($extension)" .IP "\(bu" 4 \&\f(CW$extension\fR (string) .ie n .SS "result = $mime_type\->\fBremove_from_all_applications\fP (...)" .el .SS "result = \f(CW$mime_type\fP\->\fBremove_from_all_applications\fP (...)" .IX Subsection "result = $mime_type->remove_from_all_applications (...)" .IP "\(bu" 4 \&... (list) of application id's .ie n .SS "list = $mime_type\->\fBget_short_list_applications\fP" .el .SS "list = \f(CW$mime_type\fP\->\fBget_short_list_applications\fP" .IX Subsection "list = $mime_type->get_short_list_applications" Returns a list of GnomeVFSMimeApplication's. .ie n .SS "result = $mime_type\->\fBset_short_list_applications\fP (...)" .el .SS "result = \f(CW$mime_type\fP\->\fBset_short_list_applications\fP (...)" .IX Subsection "result = $mime_type->set_short_list_applications (...)" .IP "\(bu" 4 \&... (list) of application id's .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gnome2::VFS::MimeActionType" .IX Subsection "enum Gnome2::VFS::MimeActionType" .IP "\(bu" 4 \&'none' / '\s-1GNOME_VFS_MIME_ACTION_TYPE_NONE\s0' .IP "\(bu" 4 \&'application' / '\s-1GNOME_VFS_MIME_ACTION_TYPE_APPLICATION\s0' .IP "\(bu" 4 \&'component' / '\s-1GNOME_VFS_MIME_ACTION_TYPE_COMPONENT\s0' .SS "enum Gnome2::VFS::MimeEquivalence" .IX Subsection "enum Gnome2::VFS::MimeEquivalence" .IP "\(bu" 4 \&'unrelated' / '\s-1GNOME_VFS_MIME_UNRELATED\s0' .IP "\(bu" 4 \&'identical' / '\s-1GNOME_VFS_MIME_IDENTICAL\s0' .IP "\(bu" 4 \&'parent' / '\s-1GNOME_VFS_MIME_PARENT\s0' .SS "enum Gnome2::VFS::Result" .IX Subsection "enum Gnome2::VFS::Result" .IP "\(bu" 4 \&'ok' / '\s-1GNOME_VFS_OK\s0' .IP "\(bu" 4 \&'error\-not\-found' / '\s-1GNOME_VFS_ERROR_NOT_FOUND\s0' .IP "\(bu" 4 \&'error\-generic' / '\s-1GNOME_VFS_ERROR_GENERIC\s0' .IP "\(bu" 4 \&'error\-internal' / '\s-1GNOME_VFS_ERROR_INTERNAL\s0' .IP "\(bu" 4 \&'error\-bad\-parameters' / '\s-1GNOME_VFS_ERROR_BAD_PARAMETERS\s0' .IP "\(bu" 4 \&'error\-not\-supported' / '\s-1GNOME_VFS_ERROR_NOT_SUPPORTED\s0' .IP "\(bu" 4 \&'error\-io' / '\s-1GNOME_VFS_ERROR_IO\s0' .IP "\(bu" 4 \&'error\-corrupted\-data' / '\s-1GNOME_VFS_ERROR_CORRUPTED_DATA\s0' .IP "\(bu" 4 \&'error\-wrong\-format' / '\s-1GNOME_VFS_ERROR_WRONG_FORMAT\s0' .IP "\(bu" 4 \&'error\-bad\-file' / '\s-1GNOME_VFS_ERROR_BAD_FILE\s0' .IP "\(bu" 4 \&'error\-too\-big' / '\s-1GNOME_VFS_ERROR_TOO_BIG\s0' .IP "\(bu" 4 \&'error\-no\-space' / '\s-1GNOME_VFS_ERROR_NO_SPACE\s0' .IP "\(bu" 4 \&'error\-read\-only' / '\s-1GNOME_VFS_ERROR_READ_ONLY\s0' .IP "\(bu" 4 \&'error\-invalid\-uri' / '\s-1GNOME_VFS_ERROR_INVALID_URI\s0' .IP "\(bu" 4 \&'error\-not\-open' / '\s-1GNOME_VFS_ERROR_NOT_OPEN\s0' .IP "\(bu" 4 \&'error\-invalid\-open\-mode' / '\s-1GNOME_VFS_ERROR_INVALID_OPEN_MODE\s0' .IP "\(bu" 4 \&'error\-access\-denied' / '\s-1GNOME_VFS_ERROR_ACCESS_DENIED\s0' .IP "\(bu" 4 \&'error\-too\-many\-open\-files' / '\s-1GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES\s0' .IP "\(bu" 4 \&'error\-eof' / '\s-1GNOME_VFS_ERROR_EOF\s0' .IP "\(bu" 4 \&'error\-not\-a\-directory' / '\s-1GNOME_VFS_ERROR_NOT_A_DIRECTORY\s0' .IP "\(bu" 4 \&'error\-in\-progress' / '\s-1GNOME_VFS_ERROR_IN_PROGRESS\s0' .IP "\(bu" 4 \&'error\-interrupted' / '\s-1GNOME_VFS_ERROR_INTERRUPTED\s0' .IP "\(bu" 4 \&'error\-file\-exists' / '\s-1GNOME_VFS_ERROR_FILE_EXISTS\s0' .IP "\(bu" 4 \&'error\-loop' / '\s-1GNOME_VFS_ERROR_LOOP\s0' .IP "\(bu" 4 \&'error\-not\-permitted' / '\s-1GNOME_VFS_ERROR_NOT_PERMITTED\s0' .IP "\(bu" 4 \&'error\-is\-directory' / '\s-1GNOME_VFS_ERROR_IS_DIRECTORY\s0' .IP "\(bu" 4 \&'error\-no\-memory' / '\s-1GNOME_VFS_ERROR_NO_MEMORY\s0' .IP "\(bu" 4 \&'error\-host\-not\-found' / '\s-1GNOME_VFS_ERROR_HOST_NOT_FOUND\s0' .IP "\(bu" 4 \&'error\-invalid\-host\-name' / '\s-1GNOME_VFS_ERROR_INVALID_HOST_NAME\s0' .IP "\(bu" 4 \&'error\-host\-has\-no\-address' / '\s-1GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS\s0' .IP "\(bu" 4 \&'error\-login\-failed' / '\s-1GNOME_VFS_ERROR_LOGIN_FAILED\s0' .IP "\(bu" 4 \&'error\-cancelled' / '\s-1GNOME_VFS_ERROR_CANCELLED\s0' .IP "\(bu" 4 \&'error\-directory\-busy' / '\s-1GNOME_VFS_ERROR_DIRECTORY_BUSY\s0' .IP "\(bu" 4 \&'error\-directory\-not\-empty' / '\s-1GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY\s0' .IP "\(bu" 4 \&'error\-too\-many\-links' / '\s-1GNOME_VFS_ERROR_TOO_MANY_LINKS\s0' .IP "\(bu" 4 \&'error\-read\-only\-file\-system' / '\s-1GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM\s0' .IP "\(bu" 4 \&'error\-not\-same\-file\-system' / '\s-1GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM\s0' .IP "\(bu" 4 \&'error\-name\-too\-long' / '\s-1GNOME_VFS_ERROR_NAME_TOO_LONG\s0' .IP "\(bu" 4 \&'error\-service\-not\-available' / '\s-1GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE\s0' .IP "\(bu" 4 \&'error\-service\-obsolete' / '\s-1GNOME_VFS_ERROR_SERVICE_OBSOLETE\s0' .IP "\(bu" 4 \&'error\-protocol\-error' / '\s-1GNOME_VFS_ERROR_PROTOCOL_ERROR\s0' .IP "\(bu" 4 \&'error\-no\-master\-browser' / '\s-1GNOME_VFS_ERROR_NO_MASTER_BROWSER\s0' .IP "\(bu" 4 \&'error\-no\-default' / '\s-1GNOME_VFS_ERROR_NO_DEFAULT\s0' .IP "\(bu" 4 \&'error\-no\-handler' / '\s-1GNOME_VFS_ERROR_NO_HANDLER\s0' .IP "\(bu" 4 \&'error\-parse' / '\s-1GNOME_VFS_ERROR_PARSE\s0' .IP "\(bu" 4 \&'error\-launch' / '\s-1GNOME_VFS_ERROR_LAUNCH\s0' .IP "\(bu" 4 \&'error\-timeout' / '\s-1GNOME_VFS_ERROR_TIMEOUT\s0' .IP "\(bu" 4 \&'error\-nameserver' / '\s-1GNOME_VFS_ERROR_NAMESERVER\s0' .IP "\(bu" 4 \&'error\-locked' / '\s-1GNOME_VFS_ERROR_LOCKED\s0' .IP "\(bu" 4 \&'error\-deprecated\-function' / '\s-1GNOME_VFS_ERROR_DEPRECATED_FUNCTION\s0' .IP "\(bu" 4 \&'error\-invalid\-filename' / '\s-1GNOME_VFS_ERROR_INVALID_FILENAME\s0' .IP "\(bu" 4 \&'error\-not\-a\-symbolic\-link' / '\s-1GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK\s0' .IP "\(bu" 4 \&'num\-errors' / '\s-1GNOME_VFS_NUM_ERRORS\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gnome2::VFS .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2007, 2013 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL. \s0 See Gnome2::VFS for a full notice.