App
Info
Iface
constructor
g
Iface
name
add
Supports
Type
can
Delete
can
Remove
Supports
Type
do
Delete
dup
equal
get
Commandline
get
Description
get
Display
Name
get
Executable
get
Icon
get
Id
get
Name
get
Supported
Types
launch
launch
Uris
launch
Uris
Async
launch
Uris
Finish
remove
Supports
Type
set
As
Default
For
Extension
set
As
Default
For
Type
set
As
Last
Used
For
Type
should
Show
supports
Files
supports
Uris
NODE-GTK API Reference
Gio-2.0
Gio
AppInfoIface
Class AppInfoIface
Application Information interface, for operating system portability.
record
Hierarchy
AppInfoIface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
add
Supports
Type
can
Delete
can
Remove
Supports
Type
do
Delete
dup
equal
get
Commandline
get
Description
get
Display
Name
get
Executable
get
Icon
get
Id
get
Name
get
Supported
Types
launch
launch
Uris
launch
Uris
Async
launch
Uris
Finish
remove
Supports
Type
set
As
Default
For
Extension
set
As
Default
For
Type
set
As
Last
Used
For
Type
should
Show
supports
Files
supports
Uris
Constructors
constructor
new
App
Info
Iface
(
)
:
AppInfoIface
Returns
AppInfoIface
Properties
g
Iface
g
Iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
add
Supports
Type
add
Supports
Type
(
appinfo
:
AppInfo
, contentType
:
string
)
:
boolean
Parameters
appinfo:
AppInfo
contentType:
string
Returns
boolean
can
Delete
can
Delete
(
appinfo
:
AppInfo
)
:
boolean
Parameters
appinfo:
AppInfo
Returns
boolean
can
Remove
Supports
Type
can
Remove
Supports
Type
(
appinfo
:
AppInfo
)
:
boolean
Parameters
appinfo:
AppInfo
Returns
boolean
do
Delete
do
Delete
(
appinfo
:
AppInfo
)
:
boolean
Parameters
appinfo:
AppInfo
Returns
boolean
dup
dup
(
appinfo
:
AppInfo
)
:
AppInfo
Parameters
appinfo:
AppInfo
Returns
AppInfo
equal
equal
(
appinfo1
:
AppInfo
, appinfo2
:
AppInfo
)
:
boolean
Parameters
appinfo1:
AppInfo
appinfo2:
AppInfo
Returns
boolean
get
Commandline
get
Commandline
(
appinfo
:
AppInfo
)
:
string
Parameters
appinfo:
AppInfo
Returns
string
get
Description
get
Description
(
appinfo
:
AppInfo
)
:
string
Parameters
appinfo:
AppInfo
Returns
string
get
Display
Name
get
Display
Name
(
appinfo
:
AppInfo
)
:
string
Parameters
appinfo:
AppInfo
Returns
string
get
Executable
get
Executable
(
appinfo
:
AppInfo
)
:
string
Parameters
appinfo:
AppInfo
Returns
string
get
Icon
get
Icon
(
appinfo
:
AppInfo
)
:
Gio
.
Icon
Parameters
appinfo:
AppInfo
Returns
Gio
.
Icon
get
Id
get
Id
(
appinfo
:
AppInfo
)
:
string
Parameters
appinfo:
AppInfo
Returns
string
get
Name
get
Name
(
appinfo
:
AppInfo
)
:
string
Parameters
appinfo:
AppInfo
Returns
string
get
Supported
Types
get
Supported
Types
(
appinfo
:
AppInfo
)
:
string
[]
Parameters
appinfo:
AppInfo
Returns
string
[]
launch
launch
(
appinfo
:
AppInfo
, files
:
Gio
.
File
[]
, context
:
Gio
.
AppLaunchContext
)
:
boolean
Parameters
appinfo:
AppInfo
files:
Gio
.
File
[]
context:
Gio
.
AppLaunchContext
Returns
boolean
launch
Uris
launch
Uris
(
appinfo
:
AppInfo
, uris
:
string
[]
, context
:
Gio
.
AppLaunchContext
)
:
boolean
Parameters
appinfo:
AppInfo
uris:
string
[]
context:
Gio
.
AppLaunchContext
Returns
boolean
launch
Uris
Async
launch
Uris
Async
(
appinfo
:
AppInfo
, uris
:
string
[]
, context
:
Gio
.
AppLaunchContext
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
appinfo:
AppInfo
uris:
string
[]
context:
Gio
.
AppLaunchContext
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
launch
Uris
Finish
launch
Uris
Finish
(
appinfo
:
AppInfo
, result
:
AsyncResult
)
:
boolean
Parameters
appinfo:
AppInfo
result:
AsyncResult
Returns
boolean
remove
Supports
Type
remove
Supports
Type
(
appinfo
:
AppInfo
, contentType
:
string
)
:
boolean
Parameters
appinfo:
AppInfo
contentType:
string
Returns
boolean
set
As
Default
For
Extension
set
As
Default
For
Extension
(
appinfo
:
AppInfo
, extension
:
string
)
:
boolean
Parameters
appinfo:
AppInfo
extension:
string
Returns
boolean
set
As
Default
For
Type
set
As
Default
For
Type
(
appinfo
:
AppInfo
, contentType
:
string
)
:
boolean
Parameters
appinfo:
AppInfo
contentType:
string
Returns
boolean
set
As
Last
Used
For
Type
set
As
Last
Used
For
Type
(
appinfo
:
AppInfo
, contentType
:
string
)
:
boolean
Parameters
appinfo:
AppInfo
contentType:
string
Returns
boolean
should
Show
should
Show
(
appinfo
:
AppInfo
)
:
boolean
Parameters
appinfo:
AppInfo
Returns
boolean
supports
Files
supports
Files
(
appinfo
:
AppInfo
)
:
boolean
Parameters
appinfo:
AppInfo
Returns
boolean
supports
Uris
supports
Uris
(
appinfo
:
AppInfo
)
:
boolean
Parameters
appinfo:
AppInfo
Returns
boolean
App
Info
Iface
constructor
g
Iface
name
add
Supports
Type
can
Delete
can
Remove
Supports
Type
do
Delete
dup
equal
get
Commandline
get
Description
get
Display
Name
get
Executable
get
Icon
get
Id
get
Name
get
Supported
Types
launch
launch
Uris
launch
Uris
Async
launch
Uris
Finish
remove
Supports
Type
set
As
Default
For
Extension
set
As
Default
For
Type
set
As
Last
Used
For
Type
should
Show
supports
Files
supports
Uris
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5BcHBJbmZvSWZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcm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