BookmarkList
Object Hierarchy:
Gtk.BookmarkList
Gtk.BookmarkList
Gtk.BookmarkList
GLib.Object
GLib.Object
GLib.Object->Gtk.BookmarkList
GLib.ListModel
GLib.ListModel
GLib.ListModel->Gtk.BookmarkList
Description:
[ CCode ( type_id = "gtk_bookmark_list_get_type ()" ) ]public class BookmarkList : Object , ListModel
`GtkBookmarkList` is a list model that wraps `GBookmarkFile`.
It presents a `GListModel` and fills it asynchronously with the `GFileInfo`s returned from that function.
The `GFileInfo`s in the list have some attributes in the recent namespace added: `recent:GtkBookmarkList:private
` (boolean)
and `recent:applications` (stringv).
Content:
Properties:
public string attributes { get ; set ; }
The attributes to query.
public string filename { get ; construct ; }
The bookmark file to load.
public int io_priority { get ; set ; }
Priority used when loading.
public Type item_type { get ; }
The type of items.
public bool loading { get ; }
true if files are being loaded.
public uint n_items { get ; }
The number of items.
Creation methods:
Methods:
public unowned string ? get_attributes ()
Gets the attributes queried on the children.
public unowned string get_filename ()
Returns the filename of the bookmark file that this list is loading.
public int get_io_priority ()
Gets the IO priority to use while loading file.
public bool is_loading ()
Returns true if the files are
currently being loaded.
public void set_attributes (string ? attributes)
Sets the attributes
to be enumerated and starts the
enumeration.
public void set_io_priority (int io_priority)
Sets the IO priority to use while loading files.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface GLib.ListModel