Class SplitButton
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class SplitButton : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Actionable, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
SplitButton
- Implements
- Inherited Members
Constructors
SplitButton()
public SplitButton()
SplitButton(params ConstructArgument[])
protected SplitButton(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
SplitButton(IntPtr, bool)
protected SplitButton(IntPtr ptr, bool ownedRef)
Parameters
Fields
ActivateSignal
Signal Descriptor for OnActivate.
public static readonly Signal<SplitButton> ActivateSignal
Field Value
CanShrinkPropertyDefinition
public static readonly Property<bool, SplitButton> CanShrinkPropertyDefinition
Field Value
ChildPropertyDefinition
public static readonly Property<Widget?, SplitButton> ChildPropertyDefinition
Field Value
ClickedSignal
Signal Descriptor for OnClicked.
public static readonly Signal<SplitButton> ClickedSignal
Field Value
DirectionPropertyDefinition
public static readonly Property<ArrowType, SplitButton> DirectionPropertyDefinition
Field Value
DropdownTooltipPropertyDefinition
public static readonly Property<string?, SplitButton> DropdownTooltipPropertyDefinition
Field Value
IconNamePropertyDefinition
public static readonly Property<string?, SplitButton> IconNamePropertyDefinition
Field Value
LabelPropertyDefinition
public static readonly Property<string?, SplitButton> LabelPropertyDefinition
Field Value
MenuModelPropertyDefinition
public static readonly Property<MenuModel?, SplitButton> MenuModelPropertyDefinition
Field Value
PopoverPropertyDefinition
public static readonly Property<Popover?, SplitButton> PopoverPropertyDefinition
Field Value
UseUnderlinePropertyDefinition
public static readonly Property<bool, SplitButton> UseUnderlinePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
ActionName
public string? ActionName { get; set; }
Property Value
CanShrink
public bool CanShrink { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
Direction
public ArrowType Direction { get; set; }
Property Value
DropdownTooltip
public string? DropdownTooltip { get; set; }
Property Value
IconName
public string? IconName { get; set; }
Property Value
Label
public string? Label { get; set; }
Property Value
MenuModel
public MenuModel? MenuModel { get; set; }
Property Value
Popover
public Popover? Popover { get; set; }
Property Value
UseUnderline
public bool UseUnderline { 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
GetActionName()
public string? GetActionName()
Returns
GetActionTargetValue()
public Variant? GetActionTargetValue()
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
GetCanShrink()
[Version("1.4")]
public bool GetCanShrink()
Returns
GetChild()
public Widget? GetChild()
Returns
GetDirection()
public ArrowType GetDirection()
Returns
GetDropdownTooltip()
[Version("1.2")]
public string GetDropdownTooltip()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetIconName()
public string? GetIconName()
Returns
GetLabel()
public string? GetLabel()
Returns
GetMenuModel()
public MenuModel? GetMenuModel()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetPopover()
public Popover? GetPopover()
Returns
GetUseUnderline()
public bool GetUseUnderline()
Returns
New()
public static SplitButton New()
Returns
Popdown()
public void Popdown()
Popup()
public void Popup()
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
SetActionName(string?)
public void SetActionName(string? actionName)
Parameters
actionName
string
SetActionTargetValue(Variant?)
public void SetActionTargetValue(Variant? targetValue)
Parameters
targetValue
Variant
SetCanShrink(bool)
[Version("1.4")]
public void SetCanShrink(bool canShrink)
Parameters
canShrink
bool
SetChild(Widget?)
public void SetChild(Widget? child)
Parameters
child
Widget
SetDetailedActionName(string)
public void SetDetailedActionName(string detailedActionName)
Parameters
detailedActionName
string
SetDirection(ArrowType)
public void SetDirection(ArrowType direction)
Parameters
direction
ArrowType
SetDropdownTooltip(string)
[Version("1.2")]
public void SetDropdownTooltip(string tooltip)
Parameters
tooltip
string
SetIconName(string)
public void SetIconName(string iconName)
Parameters
iconName
string
SetLabel(string)
public void SetLabel(string label)
Parameters
label
string
SetMenuModel(MenuModel?)
public void SetMenuModel(MenuModel? menuModel)
Parameters
menuModel
MenuModel
SetPopover(Popover?)
public void SetPopover(Popover? popover)
Parameters
popover
Popover
SetUseUnderline(bool)
public void SetUseUnderline(bool useUnderline)
Parameters
useUnderline
bool
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnActivate
public event SignalHandler<SplitButton> OnActivate
Event Type
OnClicked
public event SignalHandler<SplitButton> OnClicked