Class BookmarkList
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class BookmarkList : Object, ListModel, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
BookmarkList
- Implements
- Inherited Members
Constructors
BookmarkList(params ConstructArgument[])
public BookmarkList(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
BookmarkList(BookmarkListHandle)
public BookmarkList(BookmarkListHandle handle)
Parameters
handleBookmarkListHandle
Fields
AttributesPropertyDefinition
public static readonly Property<string?, BookmarkList> AttributesPropertyDefinition
Field Value
FilenamePropertyDefinition
public static readonly Property<string?, BookmarkList> FilenamePropertyDefinition
Field Value
IoPriorityPropertyDefinition
public static readonly Property<int, BookmarkList> IoPriorityPropertyDefinition
Field Value
ItemsChangedSignal
Signal Descriptor for OnItemsChanged.
public static readonly Signal<ListModel, ListModel.ItemsChangedSignalArgs> ItemsChangedSignal
Field Value
LoadingPropertyDefinition
public static readonly Property<bool, BookmarkList> LoadingPropertyDefinition
Field Value
NItemsPropertyDefinition
public static readonly Property<uint, BookmarkList> NItemsPropertyDefinition
Field Value
Properties
Attributes
public string? Attributes { get; set; }
Property Value
Filename
public string? Filename { get; }
Property Value
IoPriority
public int IoPriority { get; set; }
Property Value
Loading
public bool Loading { get; }
Property Value
NItems
public uint NItems { get; }
Property Value
Methods
GetAttributes()
public string? GetAttributes()
Returns
GetFilename()
public string GetFilename()
Returns
GetGType()
public static Type GetGType()
Returns
GetIoPriority()
public int GetIoPriority()
Returns
GetItem(uint)
[Version("2.44")]
public nint GetItem(uint position)
Parameters
positionuint
Returns
GetItemType()
[Version("2.44")]
public Type GetItemType()
Returns
GetNItems()
[Version("2.44")]
public uint GetNItems()
Returns
GetObject(uint)
[Version("2.44")]
public Object? GetObject(uint position)
Parameters
positionuint
Returns
IsLoading()
public bool IsLoading()
Returns
ItemsChanged(uint, uint, uint)
[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)
Parameters
New(string?, string?)
public static BookmarkList New(string? filename, string? attributes)
Parameters
Returns
SetAttributes(string?)
public void SetAttributes(string? attributes)
Parameters
attributesstring
SetIoPriority(int)
public void SetIoPriority(int ioPriority)
Parameters
ioPriorityint
Events
OnItemsChanged
public event SignalHandler<ListModel, ListModel.ItemsChangedSignalArgs> OnItemsChanged