Table of Contents

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

ptr IntPtr
ownedRef bool

Fields

ActivateSignal

Signal Descriptor for OnActivate.

public static readonly Signal<SplitButton> ActivateSignal

Field Value

Signal<SplitButton>

CanShrinkPropertyDefinition

public static readonly Property<bool, SplitButton> CanShrinkPropertyDefinition

Field Value

Property<bool, SplitButton>

ChildPropertyDefinition

public static readonly Property<Widget?, SplitButton> ChildPropertyDefinition

Field Value

Property<Widget, SplitButton>

ClickedSignal

Signal Descriptor for OnClicked.

public static readonly Signal<SplitButton> ClickedSignal

Field Value

Signal<SplitButton>

DirectionPropertyDefinition

public static readonly Property<ArrowType, SplitButton> DirectionPropertyDefinition

Field Value

Property<ArrowType, SplitButton>

DropdownTooltipPropertyDefinition

public static readonly Property<string?, SplitButton> DropdownTooltipPropertyDefinition

Field Value

Property<string, SplitButton>

IconNamePropertyDefinition

public static readonly Property<string?, SplitButton> IconNamePropertyDefinition

Field Value

Property<string, SplitButton>

LabelPropertyDefinition

public static readonly Property<string?, SplitButton> LabelPropertyDefinition

Field Value

Property<string, SplitButton>

MenuModelPropertyDefinition

public static readonly Property<MenuModel?, SplitButton> MenuModelPropertyDefinition

Field Value

Property<MenuModel, SplitButton>

PopoverPropertyDefinition

public static readonly Property<Popover?, SplitButton> PopoverPropertyDefinition

Field Value

Property<Popover, SplitButton>

UseUnderlinePropertyDefinition

public static readonly Property<bool, SplitButton> UseUnderlinePropertyDefinition

Field Value

Property<bool, SplitButton>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

ActionName

public string? ActionName { get; set; }

Property Value

string

CanShrink

public bool CanShrink { get; set; }

Property Value

bool

Child

public Widget? Child { get; set; }

Property Value

Widget

Direction

public ArrowType Direction { get; set; }

Property Value

ArrowType

DropdownTooltip

public string? DropdownTooltip { get; set; }

Property Value

string

IconName

public string? IconName { get; set; }

Property Value

string

Label

public string? Label { get; set; }

Property Value

string

MenuModel

public MenuModel? MenuModel { get; set; }

Property Value

MenuModel

Popover

public Popover? Popover { get; set; }

Property Value

Popover

UseUnderline

public bool UseUnderline { 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

GetActionName()

public string? GetActionName()

Returns

string

GetActionTargetValue()

public Variant? GetActionTargetValue()

Returns

Variant

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

GetCanShrink()

[Version("1.4")]
public bool GetCanShrink()

Returns

bool

GetChild()

public Widget? GetChild()

Returns

Widget

GetDirection()

public ArrowType GetDirection()

Returns

ArrowType

GetDropdownTooltip()

[Version("1.2")]
public string GetDropdownTooltip()

Returns

string

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetIconName()

public string? GetIconName()

Returns

string

GetLabel()

public string? GetLabel()

Returns

string

GetMenuModel()

public MenuModel? GetMenuModel()

Returns

MenuModel

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetPopover()

public Popover? GetPopover()

Returns

Popover

GetUseUnderline()

public bool GetUseUnderline()

Returns

bool

New()

public static SplitButton New()

Returns

SplitButton

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 Accessible
nextSibling 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

SignalHandler<SplitButton>

OnClicked

public event SignalHandler<SplitButton> OnClicked

Event Type

SignalHandler<SplitButton>