Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | snapd_app_get_name () |
gboolean | snapd_app_get_active () |
GStrv | snapd_app_get_aliases () |
const gchar * | snapd_app_get_common_id () |
SnapdDaemonType | snapd_app_get_daemon_type () |
const gchar * | snapd_app_get_desktop_file () |
gboolean | snapd_app_get_enabled () |
const gchar * | snapd_app_get_snap () |
gboolean | active | Read / Write / Construct Only |
GStrv | aliases | Read / Write / Construct Only |
gchar * | common-id | Read / Write / Construct Only |
SnapdDaemonType | daemon-type | Read / Write / Construct Only |
gchar * | desktop-file | Read / Write / Construct Only |
gboolean | enabled | Read / Write / Construct Only |
gchar * | name | Read / Write / Construct Only |
gchar * | snap | Read / Write / Construct Only |
A SnapdApp contains information about an application that snapd provides.
Apps are retrieved using snapd_snap_get_apps()
.
const gchar *
snapd_app_get_name (SnapdApp *app
);
Get the name of this app.
Since: 1.0
gboolean
snapd_app_get_active (SnapdApp *app
);
Get if this service is active.
Since: 1.25
GStrv
snapd_app_get_aliases (SnapdApp *app
);
snapd_app_get_aliases
has been deprecated since version 1.25 and should not be used in newly-written code.
Get the aliases for this app.
Since: 1.7
const gchar *
snapd_app_get_common_id (SnapdApp *app
);
Get the common ID associated with this app.
Since: 1.41
SnapdDaemonType
snapd_app_get_daemon_type (SnapdApp *app
);
Get the daemon type for this app.
Since: 1.9
const gchar *
snapd_app_get_desktop_file (SnapdApp *app
);
Get the path to the desktop file for this app.
Since: 1.14
gboolean
snapd_app_get_enabled (SnapdApp *app
);
Get if this service is enabled.
Since: 1.25
“active”
property“active” gboolean
TRUE if active.
Flags: Read / Write / Construct Only
Default value: FALSE
“common-id”
property“common-id” gchar *
Common ID.
Flags: Read / Write / Construct Only
Default value: NULL
“daemon-type”
property“daemon-type” SnapdDaemonType
Daemon type.
Flags: Read / Write / Construct Only
Default value: SNAPD_DAEMON_TYPE_UNKNOWN
“desktop-file”
property“desktop-file” gchar *
App desktop file path.
Flags: Read / Write / Construct Only
Default value: NULL
“enabled”
property“enabled” gboolean
TRUE if enabled.
Flags: Read / Write / Construct Only
Default value: FALSE
“name”
property“name” gchar *
App name.
Flags: Read / Write / Construct Only
Default value: NULL
“snap”
property“snap” gchar *
Snap name.
Flags: Read / Write / Construct Only
Default value: NULL