GLib.AppInfo – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
AppInfo
create_from_commandline
get_all
get_all_for_type
get_default_for_type
get_default_for_uri_scheme
get_fallback_for_type
get_recommended_for_type
launch_default_for_uri
reset_type_associations
@delete
add_supports_type
can_delete
can_remove_supports_type
dup
equal
get_commandline
get_description
get_display_name
get_executable
get_icon
get_id
get_name
get_supported_types
launch
launch_uris
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
AppInfo
Object Hierarchy:
Description:
public
interface
AppInfo
:
Object
Namespace:
GLib
Package:
gio-2.0
Content:
Static methods:
public
static
AppInfo
create_from_commandline
(
string
commandline,
string
? application_name,
AppInfoCreateFlags
flags)
throws
Error
public
static
List
<
AppInfo
>
get_all
()
public
static
List
<
AppInfo
>
get_all_for_type
(
string
content_type)
public
static
AppInfo
get_default_for_type
(
string
content_type,
bool
must_support_uris)
public
static
AppInfo
get_default_for_uri_scheme
(
string
uri_scheme)
public
static
List
<
AppInfo
>
get_fallback_for_type
(
string
content_type)
public
static
List
<
AppInfo
>
get_recommended_for_type
(
string
content_type)
public
static
bool
launch_default_for_uri
(
string
uri,
AppLaunchContext
? launch_context)
throws
Error
public
static
void
reset_type_associations
(
string
content_type)
Methods:
public
abstract
bool
add_supports_type
(
string
content_type)
throws
Error
public
abstract
bool
can_delete
()
public
abstract
bool
can_remove_supports_type
()
public
abstract
bool
@delete
()
public
abstract
AppInfo
dup
()
public
abstract
bool
equal
(
AppInfo
appinfo2)
public
abstract
unowned
string
get_commandline
()
public
abstract
unowned
string
get_description
()
public
abstract
unowned
string
get_display_name
()
public
abstract
unowned
string
get_executable
()
public
abstract
weak
Icon
get_icon
()
public
abstract
unowned
string
get_id
()
public
abstract
unowned
string
get_name
()
public
abstract
weak
string
[]
get_supported_types
()
public
abstract
bool
launch
(
List
<
File
>? files,
AppLaunchContext
? launch_context)
throws
Error
public
abstract
bool
launch_uris
(
List
<
string
>? uris,
AppLaunchContext
? launch_context)
throws
Error
public
abstract
bool
remove_supports_type
(
string
content_type)
throws
Error
public
abstract
bool
set_as_default_for_extension
(
string
extension)
throws
Error
public
abstract
bool
set_as_default_for_type
(
string
content_type)
throws
Error
public
abstract
bool
set_as_last_used_for_type
(
string
content_type)
throws
Error
public
abstract
bool
should_show
()
public
abstract
bool
supports_files
()
public
abstract
bool
supports_uris
()
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count