Sets our main struct and passes it to the parent class.
Creates a new empty #GBookmarkFile object.
Adds the application with @name and @exec to the list of applications that have registered a bookmark for @uri into @bookmark.
Adds @group to the list of groups to which the bookmark for @uri belongs to.
Frees a #GBookmarkFile.
Gets the time the bookmark for @uri was added to @bookmark
Gets the registration information of @app_name for the bookmark for @uri. See g_bookmark_file_set_app_info() for more information about the returned data.
Retrieves the names of the applications that have registered the bookmark for @uri.
Get the main Gtk struct
Retrieves the description of the bookmark for @uri.
Retrieves the list of group names of the bookmark for @uri.
Gets the icon of the bookmark for @uri.
Gets whether the private flag of the bookmark for @uri is set.
Retrieves the MIME type of the resource pointed by @uri.
Gets the time when the bookmark for @uri was last modified.
Gets the number of bookmarks inside @bookmark.
the main Gtk struct as a void*
Returns the title of the bookmark for @uri.
Returns all URIs of the bookmarks in the bookmark file @bookmark. The array of returned URIs will be %NULL-terminated, so @length may optionally be %NULL.
Gets the time the bookmark for @uri was last visited.
Checks whether the bookmark for @uri inside @bookmark has been registered by application @name.
Checks whether @group appears in the list of groups to which the bookmark for @uri belongs to.
Looks whether the desktop bookmark has an item with its URI set to @uri.
Loads a bookmark file from memory into an empty #GBookmarkFile structure. If the object cannot be created then @error is set to a #GBookmarkFileError.
This function looks for a desktop bookmark file named @file in the paths returned from g_get_user_data_dir() and g_get_system_data_dirs(), loads the file into @bookmark and returns the file's full path in @full_path. If the file could not be loaded then @error is set to either a #GFileError or #GBookmarkFileError.
Loads a desktop bookmark file into an empty #GBookmarkFile structure. If the file could not be loaded then @error is set to either a #GFileError or #GBookmarkFileError.
Changes the URI of a bookmark item from @old_uri to @new_uri. Any existing bookmark for @new_uri will be overwritten. If @new_uri is %NULL, then the bookmark is removed.
Removes application registered with @name from the list of applications that have registered a bookmark for @uri inside @bookmark.
Removes @group from the list of groups to which the bookmark for @uri belongs to.
Removes the bookmark for @uri from the bookmark file @bookmark.
Sets the time the bookmark for @uri was added into @bookmark.
Sets the meta-data of application @name inside the list of applications that have registered a bookmark for @uri inside @bookmark.
Sets @description as the description of the bookmark for @uri.
Sets a list of group names for the item with URI @uri. Each previously set group name list is removed.
Sets the icon for the bookmark for @uri. If @href is %NULL, unsets the currently set icon. @href can either be a full URL for the icon file or the icon name following the Icon Naming specification.
Sets the private flag of the bookmark for @uri.
Sets @mime_type as the MIME type of the bookmark for @uri.
Sets the last time the bookmark for @uri was last modified.
Sets @title as the title of the bookmark for @uri inside the bookmark file @bookmark.
Sets the time the bookmark for @uri was last visited.
This function outputs @bookmark as a string.
This function outputs @bookmark into a file. The write process is guaranteed to be atomic by using g_file_set_contents() internally.
the main Gtk struct
The GBookmarkFile structure contains only private data and should not be directly accessed.