Package: gtk

Function gtk-recent-manager-add-item

Lambda List

gtk-recent-manager-add-item (manager uri)

Arguments

manager -- a gtk-recent-manager object
uri -- a string with a valid URI

Return Value

True if the new item was successfully added to the recently used resources list.

Details

Adds a new resource, pointed by uri, into the recently used resources list.

This function automatically retrieves some of the needed metadata and setting other metadata to common default values. It then feeds the data to the gtk-recent-manager-add-full function.

See the gtk-recent-manager-add-full function if you want to explicitly define the metadata for the resource pointed by uri.
 

See also

2021-12-27