Table of Contents

Class ListItem

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ListItem : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
ListItem
Implements
Derived
Inherited Members

Constructors

ListItem(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

ListItem(IntPtr, bool)

protected ListItem(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AccessibleDescriptionPropertyDefinition

public static readonly Property<string?, ListItem> AccessibleDescriptionPropertyDefinition

Field Value

Property<string, ListItem>

AccessibleLabelPropertyDefinition

public static readonly Property<string?, ListItem> AccessibleLabelPropertyDefinition

Field Value

Property<string, ListItem>

ActivatablePropertyDefinition

public static readonly Property<bool, ListItem> ActivatablePropertyDefinition

Field Value

Property<bool, ListItem>

ChildPropertyDefinition

public static readonly Property<Widget?, ListItem> ChildPropertyDefinition

Field Value

Property<Widget, ListItem>

FocusablePropertyDefinition

public static readonly Property<bool, ListItem> FocusablePropertyDefinition

Field Value

Property<bool, ListItem>

ItemPropertyDefinition

public static readonly Property<Object?, ListItem> ItemPropertyDefinition

Field Value

Property<Object, ListItem>

PositionPropertyDefinition

public static readonly Property<uint, ListItem> PositionPropertyDefinition

Field Value

Property<uint, ListItem>

SelectablePropertyDefinition

public static readonly Property<bool, ListItem> SelectablePropertyDefinition

Field Value

Property<bool, ListItem>

SelectedPropertyDefinition

public static readonly Property<bool, ListItem> SelectedPropertyDefinition

Field Value

Property<bool, ListItem>

Properties

AccessibleDescription

public string? AccessibleDescription { get; set; }

Property Value

string

AccessibleLabel

public string? AccessibleLabel { get; set; }

Property Value

string

Activatable

public bool Activatable { get; set; }

Property Value

bool

Child

public Widget? Child { get; set; }

Property Value

Widget

Focusable

public bool Focusable { get; set; }

Property Value

bool

Item

public Object? Item { get; }

Property Value

Object

Position

public uint Position { get; }

Property Value

uint

Selectable

public bool Selectable { get; set; }

Property Value

bool

Selected

public bool Selected { get; }

Property Value

bool

Methods

GetAccessibleDescription()

[Version("4.12")]
public string GetAccessibleDescription()

Returns

string

GetAccessibleLabel()

[Version("4.12")]
public string GetAccessibleLabel()

Returns

string

GetActivatable()

public bool GetActivatable()

Returns

bool

GetChild()

public Widget? GetChild()

Returns

Widget

GetFocusable()

[Version("4.12")]
public bool GetFocusable()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetItem()

public Object? GetItem()

Returns

Object

GetPosition()

public uint GetPosition()

Returns

uint

GetSelectable()

public bool GetSelectable()

Returns

bool

GetSelected()

public bool GetSelected()

Returns

bool

SetAccessibleDescription(string)

[Version("4.12")]
public void SetAccessibleDescription(string description)

Parameters

description string

SetAccessibleLabel(string)

[Version("4.12")]
public void SetAccessibleLabel(string label)

Parameters

label string

SetActivatable(bool)

public void SetActivatable(bool activatable)

Parameters

activatable bool

SetChild(Widget?)

public void SetChild(Widget? child)

Parameters

child Widget

SetFocusable(bool)

[Version("4.12")]
public void SetFocusable(bool focusable)

Parameters

focusable bool

SetSelectable(bool)

public void SetSelectable(bool selectable)

Parameters

selectable bool