Table of Contents

Class HeaderBar

Namespace
Adw
Assembly
Adw-1.dll
public sealed class HeaderBar : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
HeaderBar
Implements
Inherited Members

Constructors

HeaderBar()

public HeaderBar()

HeaderBar(params ConstructArgument[])

protected HeaderBar(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

HeaderBar(IntPtr, bool)

protected HeaderBar(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CenteringPolicyPropertyDefinition

public static readonly Property<CenteringPolicy, HeaderBar> CenteringPolicyPropertyDefinition

Field Value

Property<CenteringPolicy, HeaderBar>

DecorationLayoutPropertyDefinition

public static readonly Property<string?, HeaderBar> DecorationLayoutPropertyDefinition

Field Value

Property<string, HeaderBar>

ShowBackButtonPropertyDefinition

public static readonly Property<bool, HeaderBar> ShowBackButtonPropertyDefinition

Field Value

Property<bool, HeaderBar>

ShowEndTitleButtonsPropertyDefinition

public static readonly Property<bool, HeaderBar> ShowEndTitleButtonsPropertyDefinition

Field Value

Property<bool, HeaderBar>

ShowStartTitleButtonsPropertyDefinition

public static readonly Property<bool, HeaderBar> ShowStartTitleButtonsPropertyDefinition

Field Value

Property<bool, HeaderBar>

ShowTitlePropertyDefinition

public static readonly Property<bool, HeaderBar> ShowTitlePropertyDefinition

Field Value

Property<bool, HeaderBar>

TitleWidgetPropertyDefinition

public static readonly Property<Widget?, HeaderBar> TitleWidgetPropertyDefinition

Field Value

Property<Widget, HeaderBar>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

CenteringPolicy

public CenteringPolicy CenteringPolicy { get; set; }

Property Value

CenteringPolicy

DecorationLayout

public string? DecorationLayout { get; set; }

Property Value

string

ShowBackButton

public bool ShowBackButton { get; set; }

Property Value

bool

ShowEndTitleButtons

public bool ShowEndTitleButtons { get; set; }

Property Value

bool

ShowStartTitleButtons

public bool ShowStartTitleButtons { get; set; }

Property Value

bool

ShowTitle

public bool ShowTitle { get; set; }

Property Value

bool

TitleWidget

public Widget? TitleWidget { get; set; }

Property Value

Widget

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

GetCenteringPolicy()

public CenteringPolicy GetCenteringPolicy()

Returns

CenteringPolicy

GetDecorationLayout()

public string? GetDecorationLayout()

Returns

string

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetShowBackButton()

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

Returns

bool

GetShowEndTitleButtons()

public bool GetShowEndTitleButtons()

Returns

bool

GetShowStartTitleButtons()

public bool GetShowStartTitleButtons()

Returns

bool

GetShowTitle()

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

Returns

bool

GetTitleWidget()

public Widget? GetTitleWidget()

Returns

Widget

New()

public static HeaderBar New()

Returns

HeaderBar

PackEnd(Widget)

public void PackEnd(Widget child)

Parameters

child Widget

PackStart(Widget)

public void PackStart(Widget child)

Parameters

child Widget

Remove(Widget)

public void Remove(Widget child)

Parameters

child Widget

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

SetCenteringPolicy(CenteringPolicy)

public void SetCenteringPolicy(CenteringPolicy centeringPolicy)

Parameters

centeringPolicy CenteringPolicy

SetDecorationLayout(string?)

public void SetDecorationLayout(string? layout)

Parameters

layout string

SetShowBackButton(bool)

[Version("1.4")]
public void SetShowBackButton(bool showBackButton)

Parameters

showBackButton bool

SetShowEndTitleButtons(bool)

public void SetShowEndTitleButtons(bool setting)

Parameters

setting bool

SetShowStartTitleButtons(bool)

public void SetShowStartTitleButtons(bool setting)

Parameters

setting bool

SetShowTitle(bool)

[Version("1.4")]
public void SetShowTitle(bool showTitle)

Parameters

showTitle bool

SetTitleWidget(Widget?)

public void SetTitleWidget(Widget? titleWidget)

Parameters

titleWidget Widget

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible