Class ShortcutsSection
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class ShortcutsSection : Object, ListModel, Buildable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
ShortcutsSection
- Implements
- Inherited Members
Constructors
ShortcutsSection(ShortcutsSectionHandle)
public ShortcutsSection(ShortcutsSectionHandle handle)
Parameters
handleShortcutsSectionHandle
ShortcutsSection(params ConstructArgument[])
public ShortcutsSection(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Fields
ItemsChangedSignal
Signal Descriptor for OnItemsChanged.
public static readonly Signal<ListModel, ListModel.ItemsChangedSignalArgs> ItemsChangedSignal
Field Value
TitlePropertyDefinition
public static readonly Property<string?, ShortcutsSection> TitlePropertyDefinition
Field Value
Properties
Title
public string? Title { get; set; }
Property Value
Methods
Add(ShortcutsItem)
[Version("1.8")]
public void Add(ShortcutsItem item)
Parameters
itemShortcutsItem
GetBuildableId()
public string? GetBuildableId()
Returns
GetGType()
public static Type GetGType()
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
GetTitle()
[Version("1.8")]
public string? GetTitle()
Returns
ItemsChanged(uint, uint, uint)
[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)
Parameters
New(string?)
[Version("1.8")]
public static ShortcutsSection New(string? title)
Parameters
titlestring
Returns
SetTitle(string?)
[Version("1.8")]
public void SetTitle(string? title)
Parameters
titlestring
Events
OnItemsChanged
public event SignalHandler<ListModel, ListModel.ItemsChangedSignalArgs> OnItemsChanged