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[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public BookmarkList(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
BookmarkList(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BookmarkList(CreationData data)
Parameters
dataCreationData
BookmarkList(BookmarkListHandle)
protected 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
NewFromPointer(nint, bool)
Creates a new managed BookmarkList instance for a given pointer.
public static BookmarkList NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BookmarkList and sets the properties specified by the construct arguments.
public static BookmarkList NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
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