Top | ![]() |
![]() |
![]() |
![]() |
void | sw_item_view_set_from_set () |
void | sw_item_view_remove_by_uid () |
const gchar * | sw_item_view_get_object_path () |
SwService * | sw_item_view_get_service () |
void sw_item_view_set_from_set (SwItemView *item_view
,SwSet *set
);
Updates what the view contains based on the given SwSet. Removed signals will be fired for any items that were in the view but that are not present in the supplied set. Conversely any items that are new will cause signals to be fired indicating their addition.
This implemented by maintaining a set inside the SwItemView
void sw_item_view_remove_by_uid (SwItemView *item_view
,const gchar *uid
);
const gchar *
sw_item_view_get_object_path (SwItemView *item_view
);
Since SwItemView is responsible for constructing the object path and registering the object on the bus. This function is necessary for SwCore to be able to return the object path as the result of a function to open a view.
“object-path”
property “object-path” gchar *
The object path of this view.
Flags: Read
Default value: NULL
“service”
property“service” SwService *
The service this view is using.
Flags: Read / Write / Construct Only