mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	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:
		
				
					committed by
					
						 Ryan Lortie
						Ryan Lortie
					
				
			
			
				
	
			
			
			
						parent
						
							682bca0950
						
					
				
				
					commit
					1edbaec7b7
				
			| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user