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
Fields
DecorationLayoutPropertyDefinition
public static readonly Property<string?, HeaderBar> DecorationLayoutPropertyDefinition
Field Value
ShowTitleButtonsPropertyDefinition
public static readonly Property<bool, HeaderBar> ShowTitleButtonsPropertyDefinition
Field Value
TitleWidgetPropertyDefinition
public static readonly Property<Widget?, HeaderBar> TitleWidgetPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
DecorationLayout
public string? DecorationLayout { get; set; }
Property Value
ShowTitleButtons
public bool ShowTitleButtons { get; set; }
Property Value
TitleWidget
public Widget? TitleWidget { 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
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
GetDecorationLayout()
public string? GetDecorationLayout()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetShowTitleButtons()
public bool GetShowTitleButtons()
Returns
GetTitleWidget()
public Widget? GetTitleWidget()
Returns
New()
public static HeaderBar New()
Returns
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
AccessiblenextSibling
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