Struct

GLibBookmarkFile

Description

struct GBookmarkFile {
  /* No available fields */
}

An opaque data structure representing a set of bookmarks.

Functions

g_bookmark_file_error_quark
No description available.
g_bookmark_file_new

Creates a new empty GBookmarkFile object.

Available since: 2.12

Instance methods

g_bookmark_file_add_application

Adds the application with name and exec to the list of applications that have registered a bookmark for uri into bookmark.

Available since: 2.12

g_bookmark_file_add_group

Adds group to the list of groups to which the bookmark for uri belongs to.

Available since: 2.12

g_bookmark_file_free

Frees a GBookmarkFile.

Available since: 2.12

g_bookmark_file_get_added

Gets the time the bookmark for uri was added to bookmark.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_get_added_date_time

Gets the time the bookmark for uri was added to bookmark.

Available since: 2.66

g_bookmark_file_get_app_info

Gets the registration information of app_name for the bookmark for uri. See g_bookmark_file_set_application_info() for more information about the returned data.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_get_application_info

Gets the registration information of app_name for the bookmark for uri. See g_bookmark_file_set_application_info() for more information about the returned data.

Available since: 2.66

g_bookmark_file_get_applications

Retrieves the names of the applications that have registered the bookmark for uri.

Available since: 2.12

g_bookmark_file_get_description

Retrieves the description of the bookmark for uri.

Available since: 2.12

g_bookmark_file_get_groups

Retrieves the list of group names of the bookmark for uri.

Available since: 2.12

g_bookmark_file_get_icon

Gets the icon of the bookmark for uri.

Available since: 2.12

g_bookmark_file_get_is_private

Gets whether the private flag of the bookmark for uri is set.

Available since: 2.12

g_bookmark_file_get_mime_type

Retrieves the MIME type of the resource pointed by uri.

Available since: 2.12

g_bookmark_file_get_modified

Gets the time when the bookmark for uri was last modified.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_get_modified_date_time

Gets the time when the bookmark for uri was last modified.

Available since: 2.66

g_bookmark_file_get_size

Gets the number of bookmarks inside bookmark.

Available since: 2.12

g_bookmark_file_get_title

Returns the title of the bookmark for uri.

Available since: 2.12

g_bookmark_file_get_uris

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.

Available since: 2.12

g_bookmark_file_get_visited

Gets the time the bookmark for uri was last visited.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_get_visited_date_time

Gets the time the bookmark for uri was last visited.

Available since: 2.66

g_bookmark_file_has_application

Checks whether the bookmark for uri inside bookmark has been registered by application name.

Available since: 2.12

g_bookmark_file_has_group

Checks whether group appears in the list of groups to which the bookmark for uri belongs to.

Available since: 2.12

g_bookmark_file_has_item

Looks whether the desktop bookmark has an item with its URI set to uri.

Available since: 2.12

g_bookmark_file_load_from_data

Loads a bookmark file from memory into an empty GBookmarkFile structure. If the object cannot be created then error is set to a GBookmarkFileError.

Available since: 2.12

g_bookmark_file_load_from_data_dirs

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.

Available since: 2.12

g_bookmark_file_load_from_file

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.

Available since: 2.12

g_bookmark_file_move_item

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.

Available since: 2.12

g_bookmark_file_remove_application

Removes application registered with name from the list of applications that have registered a bookmark for uri inside bookmark.

Available since: 2.12

g_bookmark_file_remove_group

Removes group from the list of groups to which the bookmark for uri belongs to.

Available since: 2.12

g_bookmark_file_remove_item

Removes the bookmark for uri from the bookmark file bookmark.

Available since: 2.12

g_bookmark_file_set_added

Sets the time the bookmark for uri was added into bookmark.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_set_added_date_time

Sets the time the bookmark for uri was added into bookmark.

Available since: 2.66

g_bookmark_file_set_app_info

Sets the meta-data of application name inside the list of applications that have registered a bookmark for uri inside bookmark.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_set_application_info

Sets the meta-data of application name inside the list of applications that have registered a bookmark for uri inside bookmark.

Available since: 2.66

g_bookmark_file_set_description

Sets description as the description of the bookmark for uri.

Available since: 2.12

g_bookmark_file_set_groups

Sets a list of group names for the item with URI uri. Each previously set group name list is removed.

Available since: 2.12

g_bookmark_file_set_icon

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.

Available since: 2.12

g_bookmark_file_set_is_private

Sets the private flag of the bookmark for uri.

Available since: 2.12

g_bookmark_file_set_mime_type

Sets mime_type as the MIME type of the bookmark for uri.

Available since: 2.12

g_bookmark_file_set_modified

Sets the last time the bookmark for uri was last modified.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_set_modified_date_time

Sets the last time the bookmark for uri was last modified.

Available since: 2.66

g_bookmark_file_set_title

Sets title as the title of the bookmark for uri inside the bookmark file bookmark.

Available since: 2.12

g_bookmark_file_set_visited

Sets the time the bookmark for uri was last visited.

Available since: 2.12

Deprecated since: 2.66

g_bookmark_file_set_visited_date_time

Sets the time the bookmark for uri was last visited.

Available since: 2.66

g_bookmark_file_to_data

This function outputs bookmark as a string.

Available since: 2.12

g_bookmark_file_to_file

This function outputs bookmark into a file. The write process is guaranteed to be atomic by using g_file_set_contents() internally.

Available since: 2.12