Add GListModel

GListModel is an interface that represents a dynamic list of GObjects.
Also add GListStore, a simple implementation of GListModel that stores
all objects in memory.

https://bugzilla.gnome.org/show_bug.cgi?id=729351
This commit is contained in:
Lars Uebernickel
2014-05-01 20:04:32 +02:00
committed by Ryan Lortie
parent 682bca0950
commit 1edbaec7b7
10 changed files with 845 additions and 0 deletions

View File

@@ -4244,3 +4244,40 @@ G_TYPE_NOTIFICATION
G_TYPE_NOTIFICATION_BACKEND
g_notification_get_type
</SECTION>
<SECTION>
<FILE>glistmodel</FILE>
<TITLE>GListModel</TITLE>
GListModel
g_list_model_new
<SUBSECTION>
g_list_model_get_type
g_list_model_get_item_type
g_list_model_get_n_items
g_list_model_get_item
g_list_model_items_changed
<SUBSECTION>
G_TYPE_LIST_MODEL
G_LIST_MODEL
G_IS_LIST_MODEL
G_LIST_MODEL_GET_IFACE
</SECTION>
<SECTION>
<FILE>gliststore</FILE>
<TITLE>GListStore</TITLE>
GListStore
g_list_store_new
<SUBSECTION>
g_list_store_get_type
g_list_store_new
g_list_store_insert
g_list_store_append
g_list_store_remove
g_list_store_remove_all
g_list_store_splice
<SUBSECTION>
#define G_TYPE_LIST_STORE (g_list_store_get_type ())
#define G_LIST_STORE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_LIST_STORE, GListStore))
#define G_IS_LIST_STORE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_LIST_STORE))
</SECTION>