gtk.bookmark_list
Module for [BookmarkList] class
Types 3
[gtk.bookmark_list.BookmarkList] is a list model that wraps [glib.bookmark_file.BookmarkFile].
It presents a [gio.list_model.ListModel] and fills it asynchronously with the [gio.file_info.FileInfo]s returned from that function.
The [gio.file_info.FileInfo]s in the list have some attributes in the recent namespace added: recent::private (boolean) and recent:applications (stringv).
Methods
BookmarkList self()Returns `this`, for use in `with` statements.BookmarkListGidBuilder builder()Get builder for [gtk.bookmark_list.BookmarkList] Returns: New builder objectvoid attributes(string propval) @propertySet `attributes` property. Params: propval = The attributes to query.void ioPriority(int propval) @propertySet `ioPriority` property. Params: propval = Priority used when loading.gobject.types.GType itemType() @propertyGet `itemType` property. Returns: The type of items. See [gio.list_model.ListModel.getItemType].uint nItems() @propertyGet `nItems` property. Returns: The number of items. See [gio.list_model.ListModel.getNItems].string getAttributes()Gets the attributes queried on the children. Returns: The queried attributesstring getFilename()Returns the filename of the bookmark file that this list is loading. Returns: the filename of the .xbel fileint getIoPriority()Gets the IO priority to use while loading file. Returns: The IO priority.bool isLoading()Returns true if the files are currently being loaded.void setAttributes(string attributes = null)Sets the attributes to be enumerated and starts the enumeration.void setIoPriority(int ioPriority)Sets the IO priority to use while loading files.classBookmarkListGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.list_model.ListModelGidBuilderImpl!T
Methods
T attributes(string propval)Set `attributes` property. Params: propval = The attributes to query. Returns: Builder instance for fluent chainingT filename(string propval)Set `filename` property. Params: propval = The bookmark file to load. Returns: Builder instance for fluent chainingT ioPriority(int propval)Set `ioPriority` property. Params: propval = Priority used when loading. Returns: Builder instance for fluent chainingFluent builder for [gtk.bookmark_list.BookmarkList]
Methods