GsAppList
GsAppList — An application list
|
|
Stability Level
Unstable, unless otherwise indicated
Object Hierarchy
GObject
╰── GsAppList
Includes
#include <gnome-software.h>
Description
These functions provide a refcounted list of GsApp objects.
Functions
gs_app_list_new ()
GsAppList *
gs_app_list_new (void
);
Creates a new list.
gs_app_list_add ()
void
gs_app_list_add (GsAppList *list
,
GsApp *app
);
Adds an application to the list, adding a reference.
gs_app_list_index ()
GsApp *
gs_app_list_index (GsAppList *list
,
guint idx
);
Gets an application at a specific position in the list.
gs_app_list_length ()
guint
gs_app_list_length (GsAppList *list
);
Gets the length of the application list.
Types and Values
GS_TYPE_APP_LIST
#define GS_TYPE_APP_LIST (gs_app_list_get_type ())
GsAppList
typedef struct _GsAppList GsAppList;