Documentation
Dlang.org
GAppInfoIface.setAsDefaultForExtension
gio
c
types
GAppInfoIface
Sets an application as default for a given file extension.
struct
GAppInfoIface
extern (
C
)
bool
function
(
GAppInfo
*
appinfo
,
const
(
char
)*
extension
,
GError
**
_err
)
setAsDefaultForExtension
;
gio
c
types
GAppInfoIface
variables
addSupportsType
canDelete
canRemoveSupportsType
doDelete
dup
equal
gIface
getCommandline
getDescription
getDisplayName
getExecutable
getIcon
getId
getName
getSupportedTypes
launch
launchUris
launchUrisAsync
launchUrisFinish
removeSupportsType
setAsDefaultForExtension
setAsDefaultForType
setAsLastUsedForType
shouldShow
supportsFiles
supportsUris
Sets an application as default for a given file extension.