BookmarkList

open class BookmarkList(pointer: <Error class: unknown class><<Error class: unknown class>>)

GtkBookmarkList is a list model that wraps GBookmarkFile.

It presents a GListModel and fills it asynchronously with the GFileInfos returned from that function.

The GFileInfos in the list have some attributes in the recent namespace added: recent::private (boolean) and recent:applications (stringv).

Skipped during bindings generation

  • method loading: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(filename: String? = null, attributes: String? = null)

Creates a new GtkBookmarkList with the given @attributes.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open var attributes: String?

The attributes to query.

Link copied to clipboard
open val filename: String

The bookmark file to load.

Link copied to clipboard
open val gioListModelPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkBookmarkListPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var ioPriority: Int

Priority used when loading.

Functions

Link copied to clipboard
open fun getAttributes(): String?

Gets the attributes queried on the children.

Link copied to clipboard
open fun getFilename(): String

Returns the filename of the bookmark file that this list is loading.

Link copied to clipboard
open fun getIoPriority(): Int

Gets the IO priority to use while loading file.

Link copied to clipboard
open fun isLoading(): Boolean

Returns true if the files are currently being loaded.

Link copied to clipboard
open fun setAttributes(attributes: String? = null)

Sets the @attributes to be enumerated and starts the enumeration.

Link copied to clipboard
open fun setIoPriority(ioPriority: Int)

Sets the IO priority to use while loading files.