Method

AppStreamComponentget_launchable

Declaration [src]

AsLaunchable*
as_component_get_launchable (
  AsComponent* cpt,
  AsLaunchableKind kind
)

Description [src]

Gets a AsLaunchable of a specific type that contains launchable entries for this component.

Available since:0.11.0

Parameters

kind AsLaunchableKind
 

A launch kind, e.g. AS_LAUNCHABLE_KIND_DESKTOP_ID.

Return value

Returns: AsLaunchable
 

A AsLaunchable or NULL if not found.

 The data is owned by the instance.
 The return value can be NULL.