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
Fields
ActivateSignal
Signal Descriptor for OnActivate.
public static readonly Signal<DropDown> ActivateSignal
Field Value
EnableSearchPropertyDefinition
public static readonly Property<bool, DropDown> EnableSearchPropertyDefinition
Field Value
ExpressionPropertyDefinition
public static readonly Property<Expression?, DropDown> ExpressionPropertyDefinition
Field Value
FactoryPropertyDefinition
public static readonly Property<ListItemFactory?, DropDown> FactoryPropertyDefinition
Field Value
HeaderFactoryPropertyDefinition
public static readonly Property<ListItemFactory?, DropDown> HeaderFactoryPropertyDefinition
Field Value
ListFactoryPropertyDefinition
public static readonly Property<ListItemFactory?, DropDown> ListFactoryPropertyDefinition
Field Value
ModelPropertyDefinition
public static readonly Property<ListModel, DropDown> ModelPropertyDefinition
Field Value
SearchMatchModePropertyDefinition
public static readonly Property<StringFilterMatchMode, DropDown> SearchMatchModePropertyDefinition
Field Value
SelectedItemPropertyDefinition
public static readonly Property<Object?, DropDown> SelectedItemPropertyDefinition
Field Value
SelectedPropertyDefinition
public static readonly Property<uint, DropDown> SelectedPropertyDefinition
Field Value
ShowArrowPropertyDefinition
public static readonly Property<bool, DropDown> ShowArrowPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
EnableSearch
public bool EnableSearch { get; set; }
Property Value
Expression
public Expression? Expression { get; set; }
Property Value
Factory
public ListItemFactory? Factory { get; set; }
Property Value
HeaderFactory
public ListItemFactory? HeaderFactory { get; set; }
Property Value
ListFactory
public ListItemFactory? ListFactory { get; set; }
Property Value
Model
public ListModel Model { get; set; }
Property Value
SearchMatchMode
public StringFilterMatchMode SearchMatchMode { get; set; }
Property Value
Selected
public uint Selected { get; set; }
Property Value
SelectedItem
public Object? SelectedItem { get; }
Property Value
ShowArrow
public bool ShowArrow { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetEnableSearch()
public bool GetEnableSearch()
Returns
GetExpression()
public Expression? GetExpression()
Returns
GetFactory()
public ListItemFactory? GetFactory()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHeaderFactory()
[Version("4.12")]
public ListItemFactory? GetHeaderFactory()
Returns
GetListFactory()
public ListItemFactory? GetListFactory()
Returns
GetModel()
public ListModel? GetModel()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetSearchMatchMode()
[Version("4.12")]
public StringFilterMatchMode GetSearchMatchMode()
Returns
GetSelected()
public uint GetSelected()
Returns
GetSelectedItem()
public Object? GetSelectedItem()
Returns
GetShowArrow()
[Version("4.6")]
public bool GetShowArrow()
Returns
New(ListModel?, Expression?)
public static DropDown New(ListModel? model, Expression? expression)
Parameters
model
ListModelexpression
Expression
Returns
NewFromStrings(string[])
public static DropDown NewFromStrings(string[] strings)
Parameters
strings
string[]
Returns
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
AccessiblenextSibling
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