Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: object
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). They also
have the GFile referred by the URI in standard::file attribute.
BookmarkList (filename = null, attributes = null)
Creates a new
GtkBookmarkListwith the given @attributes.
filename is The bookmark file to load.attributes is The attributes to query.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.asListModel ()
Wraps this handle as
ListModel.
A ListModel object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setAttributes (string Value)
The attributes to query.
Value is the new property value.None.setIopriority (int Value)
Priority used when loading.
Value is the new property value.None.get_attributes ()
Gets the attributes queried on the children.
get_filename ()
Returns the filename of the bookmark file that this list is loading.
get_io_priority ()
Gets the IO priority to use while loading file.
is_loading ()
Returns %TRUE if the files are currently being loaded. Files will be added to @self from time to time while loading is going on. The order in which are added is undefined and may change in between runs.
set_attributes (string attributes)
Sets the @attributes to be enumerated and starts the enumeration. If
is %NULL, no attributes will be queried, but a list of GFileInfos will still be created.attributes is the attributes to enumerate.None.set_io_priority (int io_priority)
Sets the IO priority to use while loading files. The default IO priority is %G_PRIORITY_DEFAULT.
io_priority is IO priority to use.None.[226:14] static extends: object
Generated metadata helpers for BookmarkList class surfaces.
properties ()
Returns property metadata for
BookmarkList.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.