Class ToolbarView
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class ToolbarView : Widget, Accessible, Buildable, ConstraintTarget, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
ToolbarView
- Implements
- Inherited Members
Constructors
ToolbarView(ToolbarViewHandle)
protected ToolbarView(ToolbarViewHandle handle)
Parameters
handleToolbarViewHandle
ToolbarView(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ToolbarView(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ToolbarView(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ToolbarView(CreationData data)
Parameters
dataCreationData
Fields
BottomBarHeightPropertyDefinition
public static readonly Property<int, ToolbarView> BottomBarHeightPropertyDefinition
Field Value
BottomBarStylePropertyDefinition
public static readonly Property<ToolbarStyle, ToolbarView> BottomBarStylePropertyDefinition
Field Value
ContentPropertyDefinition
public static readonly Property<Widget?, ToolbarView> ContentPropertyDefinition
Field Value
ExtendContentToBottomEdgePropertyDefinition
public static readonly Property<bool, ToolbarView> ExtendContentToBottomEdgePropertyDefinition
Field Value
ExtendContentToTopEdgePropertyDefinition
public static readonly Property<bool, ToolbarView> ExtendContentToTopEdgePropertyDefinition
Field Value
RevealBottomBarsPropertyDefinition
public static readonly Property<bool, ToolbarView> RevealBottomBarsPropertyDefinition
Field Value
RevealTopBarsPropertyDefinition
public static readonly Property<bool, ToolbarView> RevealTopBarsPropertyDefinition
Field Value
TopBarHeightPropertyDefinition
public static readonly Property<int, ToolbarView> TopBarHeightPropertyDefinition
Field Value
TopBarStylePropertyDefinition
public static readonly Property<ToolbarStyle, ToolbarView> TopBarStylePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
BottomBarHeight
public int BottomBarHeight { get; }
Property Value
BottomBarStyle
public ToolbarStyle BottomBarStyle { get; set; }
Property Value
Content
public Widget? Content { get; set; }
Property Value
ExtendContentToBottomEdge
public bool ExtendContentToBottomEdge { get; set; }
Property Value
ExtendContentToTopEdge
public bool ExtendContentToTopEdge { get; set; }
Property Value
RevealBottomBars
public bool RevealBottomBars { get; set; }
Property Value
RevealTopBars
public bool RevealTopBars { get; set; }
Property Value
TopBarHeight
public int TopBarHeight { get; }
Property Value
TopBarStyle
public ToolbarStyle TopBarStyle { get; set; }
Property Value
Methods
AddBottomBar(Widget)
[Version("1.4")]
public void AddBottomBar(Widget widget)
Parameters
widgetWidget
AddTopBar(Widget)
[Version("1.4")]
public void AddTopBar(Widget widget)
Parameters
widgetWidget
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBottomBarHeight()
[Version("1.4")]
public int GetBottomBarHeight()
Returns
GetBottomBarStyle()
[Version("1.4")]
public ToolbarStyle GetBottomBarStyle()
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
GetContent()
[Version("1.4")]
public Widget? GetContent()
Returns
GetExtendContentToBottomEdge()
[Version("1.4")]
public bool GetExtendContentToBottomEdge()
Returns
GetExtendContentToTopEdge()
[Version("1.4")]
public bool GetExtendContentToTopEdge()
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
stateAccessiblePlatformState
Returns
GetRevealBottomBars()
[Version("1.4")]
public bool GetRevealBottomBars()
Returns
GetRevealTopBars()
[Version("1.4")]
public bool GetRevealTopBars()
Returns
GetTopBarHeight()
[Version("1.4")]
public int GetTopBarHeight()
Returns
GetTopBarStyle()
[Version("1.4")]
public ToolbarStyle GetTopBarStyle()
Returns
New()
[Version("1.4")]
public static ToolbarView New()
Returns
NewFromPointer(nint, bool)
Creates a new managed ToolbarView instance for a given pointer.
public static ToolbarView NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ToolbarView and sets the properties specified by the construct arguments.
public static ToolbarView NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Remove(Widget)
[Version("1.4")]
public void Remove(Widget widget)
Parameters
widgetWidget
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
stateAccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
SetBottomBarStyle(ToolbarStyle)
[Version("1.4")]
public void SetBottomBarStyle(ToolbarStyle style)
Parameters
styleToolbarStyle
SetContent(Widget?)
[Version("1.4")]
public void SetContent(Widget? content)
Parameters
contentWidget
SetExtendContentToBottomEdge(bool)
[Version("1.4")]
public void SetExtendContentToBottomEdge(bool extend)
Parameters
extendbool
SetExtendContentToTopEdge(bool)
[Version("1.4")]
public void SetExtendContentToTopEdge(bool extend)
Parameters
extendbool
SetRevealBottomBars(bool)
[Version("1.4")]
public void SetRevealBottomBars(bool reveal)
Parameters
revealbool
SetRevealTopBars(bool)
[Version("1.4")]
public void SetRevealTopBars(bool reveal)
Parameters
revealbool
SetTopBarStyle(ToolbarStyle)
[Version("1.4")]
public void SetTopBarStyle(ToolbarStyle style)
Parameters
styleToolbarStyle
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
UpdatePlatformState(AccessiblePlatformState)
[Version("4.18")]
public void UpdatePlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState