Table of Contents

Class HeaderBar

Namespace
Gtk
Assembly
Gtk-4.0.dll
public 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

DecorationLayoutPropertyDefinition

public static readonly Property<string?, HeaderBar> DecorationLayoutPropertyDefinition

Field Value

Property<string, HeaderBar>

ShowTitleButtonsPropertyDefinition

public static readonly Property<bool, HeaderBar> ShowTitleButtonsPropertyDefinition

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

DecorationLayout

public string? DecorationLayout { get; set; }

Property Value

string

ShowTitleButtons

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

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

GetShowTitleButtons()

public bool GetShowTitleButtons()

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

SetDecorationLayout(string?)

public void SetDecorationLayout(string? layout)

Parameters

layout string

SetShowTitleButtons(bool)

public void SetShowTitleButtons(bool setting)

Parameters

setting bool

SetTitleWidget(Widget?)

public void SetTitleWidget(Widget? titleWidget)

Parameters

titleWidget Widget

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible