Table of Contents

Class ListStore

Namespace
Gio
Assembly
Gio-2.0.dll
public class ListStore : Object, IObject, INotifyPropertyChanged, IDisposable, ListModel, IHandle, GTypeProvider
Inheritance
ListStore
Implements
Inherited Members

Constructors

ListStore(bool, params ConstructArgument[])

protected ListStore(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

ListStore(IntPtr, bool)

protected ListStore(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

NItemsPropertyDefinition

public static readonly Property<uint, ListStore> NItemsPropertyDefinition

Field Value

Property<uint, ListStore>

Properties

NItems

public uint NItems { get; }

Property Value

uint

Methods

Append(Object)

[Version("2.44")]
public void Append(Object item)

Parameters

item Object

Find(Object, out uint)

[Version("2.64")]
public bool Find(Object item, out uint position)

Parameters

item Object
position uint

Returns

bool

FindWithEqualFunc(Object?, EqualFunc, out uint)

[Version("2.64")]
public bool FindWithEqualFunc(Object? item, EqualFunc equalFunc, out uint position)

Parameters

item Object
equalFunc EqualFunc
position uint

Returns

bool

FindWithEqualFuncFull(Object?, EqualFuncFull, out uint)

[Version("2.74")]
public bool FindWithEqualFuncFull(Object? item, EqualFuncFull equalFunc, out uint position)

Parameters

item Object
equalFunc EqualFuncFull
position uint

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetItem(uint)

[Version("2.44")]
public IntPtr GetItem(uint position)

Parameters

position uint

Returns

IntPtr

GetItemType()

[Version("2.44")]
public Type GetItemType()

Returns

Type

GetNItems()

[Version("2.44")]
public uint GetNItems()

Returns

uint

GetObject(uint)

[Version("2.44")]
public Object? GetObject(uint position)

Parameters

position uint

Returns

Object

Insert(uint, Object)

[Version("2.44")]
public void Insert(uint position, Object item)

Parameters

position uint
item Object

InsertSorted(Object, CompareDataFunc)

[Version("2.44")]
public uint InsertSorted(Object item, CompareDataFunc compareFunc)

Parameters

item Object
compareFunc CompareDataFunc

Returns

uint

ItemsChanged(uint, uint, uint)

[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)

Parameters

position uint
removed uint
added uint

New(Type)

[Version("2.44")]
public static ListStore New(Type itemType)

Parameters

itemType Type

Returns

ListStore

Remove(uint)

[Version("2.44")]
public void Remove(uint position)

Parameters

position uint

RemoveAll()

[Version("2.44")]
public void RemoveAll()

Sort(CompareDataFunc)

[Version("2.46")]
public void Sort(CompareDataFunc compareFunc)

Parameters

compareFunc CompareDataFunc

Splice(uint, uint, Object[], uint)

[Version("2.44")]
public void Splice(uint position, uint nRemovals, Object[] additions, uint nAdditions)

Parameters

position uint
nRemovals uint
additions Object[]
nAdditions uint