Table of Contents

Class DropDown

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class DropDown : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
DropDown
Implements
Inherited Members

Constructors

DropDown()

public DropDown()

DropDown(params ConstructArgument[])

protected DropDown(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

DropDown(IntPtr, bool)

protected DropDown(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ActivateSignal

Signal Descriptor for OnActivate.

public static readonly Signal<DropDown> ActivateSignal

Field Value

Signal<DropDown>

EnableSearchPropertyDefinition

public static readonly Property<bool, DropDown> EnableSearchPropertyDefinition

Field Value

Property<bool, DropDown>

ExpressionPropertyDefinition

public static readonly Property<Expression?, DropDown> ExpressionPropertyDefinition

Field Value

Property<Expression, DropDown>

FactoryPropertyDefinition

public static readonly Property<ListItemFactory?, DropDown> FactoryPropertyDefinition

Field Value

Property<ListItemFactory, DropDown>

HeaderFactoryPropertyDefinition

public static readonly Property<ListItemFactory?, DropDown> HeaderFactoryPropertyDefinition

Field Value

Property<ListItemFactory, DropDown>

ListFactoryPropertyDefinition

public static readonly Property<ListItemFactory?, DropDown> ListFactoryPropertyDefinition

Field Value

Property<ListItemFactory, DropDown>

ModelPropertyDefinition

public static readonly Property<ListModel, DropDown> ModelPropertyDefinition

Field Value

Property<ListModel, DropDown>

SearchMatchModePropertyDefinition

public static readonly Property<StringFilterMatchMode, DropDown> SearchMatchModePropertyDefinition

Field Value

Property<StringFilterMatchMode, DropDown>

SelectedItemPropertyDefinition

public static readonly Property<Object?, DropDown> SelectedItemPropertyDefinition

Field Value

Property<Object, DropDown>

SelectedPropertyDefinition

public static readonly Property<uint, DropDown> SelectedPropertyDefinition

Field Value

Property<uint, DropDown>

ShowArrowPropertyDefinition

public static readonly Property<bool, DropDown> ShowArrowPropertyDefinition

Field Value

Property<bool, DropDown>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

EnableSearch

public bool EnableSearch { get; set; }

Property Value

bool

Expression

public Expression? Expression { get; set; }

Property Value

Expression

Factory

public ListItemFactory? Factory { get; set; }

Property Value

ListItemFactory

HeaderFactory

public ListItemFactory? HeaderFactory { get; set; }

Property Value

ListItemFactory

ListFactory

public ListItemFactory? ListFactory { get; set; }

Property Value

ListItemFactory

Model

public ListModel Model { get; set; }

Property Value

ListModel

SearchMatchMode

public StringFilterMatchMode SearchMatchMode { get; set; }

Property Value

StringFilterMatchMode

Selected

public uint Selected { get; set; }

Property Value

uint

SelectedItem

public Object? SelectedItem { get; }

Property Value

Object

ShowArrow

public bool ShowArrow { get; set; }

Property Value

bool

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetEnableSearch()

public bool GetEnableSearch()

Returns

bool

GetExpression()

public Expression? GetExpression()

Returns

Expression

GetFactory()

public ListItemFactory? GetFactory()

Returns

ListItemFactory

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHeaderFactory()

[Version("4.12")]
public ListItemFactory? GetHeaderFactory()

Returns

ListItemFactory

GetListFactory()

public ListItemFactory? GetListFactory()

Returns

ListItemFactory

GetModel()

public ListModel? GetModel()

Returns

ListModel

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetSearchMatchMode()

[Version("4.12")]
public StringFilterMatchMode GetSearchMatchMode()

Returns

StringFilterMatchMode

GetSelected()

public uint GetSelected()

Returns

uint

GetSelectedItem()

public Object? GetSelectedItem()

Returns

Object

GetShowArrow()

[Version("4.6")]
public bool GetShowArrow()

Returns

bool

New(ListModel?, Expression?)

public static DropDown New(ListModel? model, Expression? expression)

Parameters

model ListModel
expression Expression

Returns

DropDown

NewFromStrings(string[])

public static DropDown NewFromStrings(string[] strings)

Parameters

strings string[]

Returns

DropDown

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetEnableSearch(bool)

public void SetEnableSearch(bool enableSearch)

Parameters

enableSearch bool

SetExpression(Expression?)

public void SetExpression(Expression? expression)

Parameters

expression Expression

SetFactory(ListItemFactory?)

public void SetFactory(ListItemFactory? factory)

Parameters

factory ListItemFactory

SetHeaderFactory(ListItemFactory?)

[Version("4.12")]
public void SetHeaderFactory(ListItemFactory? factory)

Parameters

factory ListItemFactory

SetListFactory(ListItemFactory?)

public void SetListFactory(ListItemFactory? factory)

Parameters

factory ListItemFactory

SetModel(ListModel?)

public void SetModel(ListModel? model)

Parameters

model ListModel

SetSearchMatchMode(StringFilterMatchMode)

[Version("4.12")]
public void SetSearchMatchMode(StringFilterMatchMode searchMatchMode)

Parameters

searchMatchMode StringFilterMatchMode

SetSelected(uint)

public void SetSelected(uint position)

Parameters

position uint

SetShowArrow(bool)

[Version("4.6")]
public void SetShowArrow(bool showArrow)

Parameters

showArrow bool

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible

Events

OnActivate

public event SignalHandler<DropDown> OnActivate

Event Type

SignalHandler<DropDown>