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.FileInfos returned from that function.
The gio.file_info.FileInfos in the list have some attributes in the recent namespace added: recent::private (boolean) and recent:applications (stringv).
Methods
BookmarkListGidBuilder builder() static nothrowGet builder for [gtk.bookmark_list.BookmarkList] Returns: New builder objectvoid attributes(string propval) @property nothrowSet `attributes` property. Params: propval = The attributes to query.void ioPriority(int propval) @property nothrowSet `ioPriority` property. Params: propval = Priority used when loading.gobject.types.GType itemType() @property nothrowGet `itemType` property. Returns: The type of items. See [gio.list_model.ListModel.getItemType].uint nItems() @property nothrowGet `nItems` property. Returns: The number of items. See [gio.list_model.ListModel.getNItems].string getAttributes() nothrowGets the attributes queried on the children. Returns: The queried attributesstring getFilename() nothrowReturns the filename of the bookmark file that this list is loading. Returns: the filename of the .xbel fileint getIoPriority() nothrowGets the IO priority to use while loading file. Returns: The IO priority.void setAttributes(string attributes = null) nothrowSets the attributes to be enumerated and starts the enumeration.classBookmarkListGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.list_model.ListModelGidBuilderImpl!T
Fluent builder implementation template for gtk.bookmark_list.BookmarkList
Methods
T attributes(string propval) nothrowSet `attributes` property. Params: propval = The attributes to query. Returns: Builder instance for fluent chainingT filename(string propval) nothrowSet `filename` property. Params: propval = The bookmark file to load. Returns: Builder instance for fluent chainingT ioPriority(int propval) nothrowSet `ioPriority` property. Params: propval = Priority used when loading. Returns: Builder instance for fluent chainingFluent builder for gtk.bookmark_list.BookmarkList
Methods