Package: gdk
Function gdk:content-provider-new-union
Lambda Listgdk:content-provider-new-union (&rest providers) ArgumentsReturn Value The new gdk:content-provider object representing the union of the given providers. Details Creates a content provider that represents all the given providers.
Whenever data needs to be written, the union provider will try the given providers in the given order and the first one supporting a format will
be chosen to provide it. This allows an easy way to support providing data in
different formats. Examples
(g:with-values ((gitem "BibItem" item)
(gstring "gchararray" (item-key item)))
(gdk:content-provider-new-union
(gdk:content-provider-new-for-value gitem)
(gdk:content-provider-new-for-value gstring))
...) | See also |
2026-03-25