Class ComboBox
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ComboBox : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, CellEditable, CellLayout, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
ComboBox
- Implements
- Derived
- Inherited Members
Constructors
ComboBox()
public ComboBox()
ComboBox(params ConstructArgument[])
protected ComboBox(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
ComboBox(IntPtr, bool)
protected ComboBox(IntPtr ptr, bool ownedRef)
Parameters
Fields
ActivateSignal
Signal Descriptor for OnActivate.
public static readonly Signal<ComboBox> ActivateSignal
Field Value
ActiveIdPropertyDefinition
public static readonly Property<string?, ComboBox> ActiveIdPropertyDefinition
Field Value
ActivePropertyDefinition
public static readonly Property<int, ComboBox> ActivePropertyDefinition
Field Value
ButtonSensitivityPropertyDefinition
public static readonly Property<SensitivityType, ComboBox> ButtonSensitivityPropertyDefinition
Field Value
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<ComboBox> ChangedSignal
Field Value
ChildPropertyDefinition
public static readonly Property<Widget?, ComboBox> ChildPropertyDefinition
Field Value
EntryTextColumnPropertyDefinition
public static readonly Property<int, ComboBox> EntryTextColumnPropertyDefinition
Field Value
FormatEntryTextSignal
Signal Descriptor for OnFormatEntryText.
public static readonly ReturningSignal<ComboBox, ComboBox.FormatEntryTextSignalArgs, string> FormatEntryTextSignal
Field Value
HasEntryPropertyDefinition
public static readonly Property<bool, ComboBox> HasEntryPropertyDefinition
Field Value
HasFramePropertyDefinition
public static readonly Property<bool, ComboBox> HasFramePropertyDefinition
Field Value
IdColumnPropertyDefinition
public static readonly Property<int, ComboBox> IdColumnPropertyDefinition
Field Value
ModelPropertyDefinition
public static readonly Property<TreeModel, ComboBox> ModelPropertyDefinition
Field Value
MoveActiveSignal
Signal Descriptor for OnMoveActive.
public static readonly Signal<ComboBox, ComboBox.MoveActiveSignalArgs> MoveActiveSignal
Field Value
PopdownSignal
Signal Descriptor for OnPopdown.
public static readonly ReturningSignal<ComboBox, bool> PopdownSignal
Field Value
PopupFixedWidthPropertyDefinition
public static readonly Property<bool, ComboBox> PopupFixedWidthPropertyDefinition
Field Value
PopupShownPropertyDefinition
public static readonly Property<bool, ComboBox> PopupShownPropertyDefinition
Field Value
PopupSignal
Signal Descriptor for OnPopup.
public static readonly Signal<ComboBox> PopupSignal
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Active
public int Active { get; set; }
Property Value
ActiveId
public string? ActiveId { get; set; }
Property Value
ButtonSensitivity
public SensitivityType ButtonSensitivity { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
EditingCanceled
public bool EditingCanceled { get; set; }
Property Value
EntryTextColumn
public int EntryTextColumn { get; set; }
Property Value
HasEntry
public bool HasEntry { get; }
Property Value
HasFrame
public bool HasFrame { get; set; }
Property Value
IdColumn
public int IdColumn { get; set; }
Property Value
Model
public TreeModel Model { get; set; }
Property Value
PopupFixedWidth
public bool PopupFixedWidth { get; set; }
Property Value
PopupShown
public bool PopupShown { get; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
EditingDone()
public void EditingDone()
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetActive()
public int GetActive()
Returns
GetActiveId()
public string? GetActiveId()
Returns
GetArea()
public CellArea? GetArea()
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
GetButtonSensitivity()
public SensitivityType GetButtonSensitivity()
Returns
GetChild()
public Widget? GetChild()
Returns
GetEntryTextColumn()
public int GetEntryTextColumn()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetHasEntry()
public bool GetHasEntry()
Returns
GetIdColumn()
public int GetIdColumn()
Returns
GetModel()
public TreeModel? GetModel()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetPopupFixedWidth()
public bool GetPopupFixedWidth()
Returns
New()
public static ComboBox New()
Returns
NewWithEntry()
public static ComboBox NewWithEntry()
Returns
NewWithModel(TreeModel)
public static ComboBox NewWithModel(TreeModel model)
Parameters
model
TreeModel
Returns
NewWithModelAndEntry(TreeModel)
public static ComboBox NewWithModelAndEntry(TreeModel model)
Parameters
model
TreeModel
Returns
Popdown()
public void Popdown()
Popup()
public void Popup()
PopupForDevice(Device)
public void PopupForDevice(Device device)
Parameters
device
Device
RemoveWidget()
public void RemoveWidget()
Reorder(CellRenderer, int)
public void Reorder(CellRenderer cell, int position)
Parameters
cell
CellRendererposition
int
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
SetActive(int)
public void SetActive(int index)
Parameters
index
int
SetActiveId(string?)
public bool SetActiveId(string? activeId)
Parameters
activeId
string
Returns
SetActiveIter(TreeIter?)
public void SetActiveIter(TreeIter? iter)
Parameters
iter
TreeIter
SetButtonSensitivity(SensitivityType)
public void SetButtonSensitivity(SensitivityType sensitivity)
Parameters
sensitivity
SensitivityType
SetCellDataFunc(CellRenderer, CellLayoutDataFunc?)
public void SetCellDataFunc(CellRenderer cell, CellLayoutDataFunc? func)
Parameters
cell
CellRendererfunc
CellLayoutDataFunc
SetChild(Widget?)
public void SetChild(Widget? child)
Parameters
child
Widget
SetEntryTextColumn(int)
public void SetEntryTextColumn(int textColumn)
Parameters
textColumn
int
SetIdColumn(int)
public void SetIdColumn(int idColumn)
Parameters
idColumn
int
SetModel(TreeModel?)
public void SetModel(TreeModel? model)
Parameters
model
TreeModel
SetPopupFixedWidth(bool)
public void SetPopupFixedWidth(bool @fixed)
Parameters
fixed
bool
SetRowSeparatorFunc(TreeViewRowSeparatorFunc?)
public void SetRowSeparatorFunc(TreeViewRowSeparatorFunc? func)
Parameters
StartEditing(Event?)
public void StartEditing(Event? @event)
Parameters
event
Event
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnActivate
public event SignalHandler<ComboBox> OnActivate
Event Type
OnChanged
public event SignalHandler<ComboBox> OnChanged
Event Type
OnFormatEntryText
public event ReturningSignalHandler<ComboBox, ComboBox.FormatEntryTextSignalArgs, string> OnFormatEntryText
Event Type
OnMoveActive
public event SignalHandler<ComboBox, ComboBox.MoveActiveSignalArgs> OnMoveActive
Event Type
OnPopdown
public event ReturningSignalHandler<ComboBox, bool> OnPopdown
Event Type
OnPopup
public event SignalHandler<ComboBox> OnPopup