Class ToolbarView
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class ToolbarView : Widget, IDisposable, Accessible, Buildable, ConstraintTarget, GTypeProvider, InstanceFactory
- Inheritance
-
ToolbarView
- Implements
-
- Inherited Members
-
Constructors
public ToolbarView(ToolbarViewHandle handle)
Parameters
handle
ToolbarViewHandle
public ToolbarView(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Fields
public static readonly Property<int, ToolbarView> BottomBarHeightPropertyDefinition
Field Value
- Property<int, ToolbarView>
public static readonly Property<ToolbarStyle, ToolbarView> BottomBarStylePropertyDefinition
Field Value
- Property<ToolbarStyle, ToolbarView>
ContentPropertyDefinition
public static readonly Property<Widget?, ToolbarView> ContentPropertyDefinition
Field Value
- Property<Widget, ToolbarView>
ExtendContentToBottomEdgePropertyDefinition
public static readonly Property<bool, ToolbarView> ExtendContentToBottomEdgePropertyDefinition
Field Value
- Property<bool, ToolbarView>
ExtendContentToTopEdgePropertyDefinition
public static readonly Property<bool, ToolbarView> ExtendContentToTopEdgePropertyDefinition
Field Value
- Property<bool, ToolbarView>
public static readonly Property<bool, ToolbarView> RevealBottomBarsPropertyDefinition
Field Value
- Property<bool, ToolbarView>
public static readonly Property<bool, ToolbarView> RevealTopBarsPropertyDefinition
Field Value
- Property<bool, ToolbarView>
public static readonly Property<int, ToolbarView> TopBarHeightPropertyDefinition
Field Value
- Property<int, ToolbarView>
public static readonly Property<ToolbarStyle, ToolbarView> TopBarStylePropertyDefinition
Field Value
- Property<ToolbarStyle, ToolbarView>
Properties
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
public int BottomBarHeight { get; }
Property Value
- int
public ToolbarStyle BottomBarStyle { get; set; }
Property Value
- ToolbarStyle
Content
public Widget? Content { get; set; }
Property Value
- Widget
ExtendContentToBottomEdge
public bool ExtendContentToBottomEdge { get; set; }
Property Value
- bool
ExtendContentToTopEdge
public bool ExtendContentToTopEdge { get; set; }
Property Value
- bool
public bool RevealBottomBars { get; set; }
Property Value
- bool
public bool RevealTopBars { get; set; }
Property Value
- bool
public int TopBarHeight { get; }
Property Value
- int
public ToolbarStyle TopBarStyle { get; set; }
Property Value
- ToolbarStyle
Methods
[Version("1.4")]
public void AddBottomBar(Widget widget)
Parameters
widget
Widget
[Version("1.4")]
public void AddTopBar(Widget widget)
Parameters
widget
Widget
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
- ATContext
[Version("1.4")]
public int GetBottomBarHeight()
Returns
- int
[Version("1.4")]
public ToolbarStyle GetBottomBarStyle()
Returns
- ToolbarStyle
[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
public string? GetBuildableId()
Returns
- string
GetContent()
[Version("1.4")]
public Widget? GetContent()
Returns
- Widget
GetExtendContentToBottomEdge()
[Version("1.4")]
public bool GetExtendContentToBottomEdge()
Returns
- bool
GetExtendContentToTopEdge()
[Version("1.4")]
public bool GetExtendContentToTopEdge()
Returns
- bool
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
public static Type GetGType()
Returns
- Type
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
[Version("1.4")]
public bool GetRevealBottomBars()
Returns
- bool
[Version("1.4")]
public bool GetRevealTopBars()
Returns
- bool
[Version("1.4")]
public int GetTopBarHeight()
Returns
- int
[Version("1.4")]
public ToolbarStyle GetTopBarStyle()
Returns
- ToolbarStyle
[Version("1.4")]
public static ToolbarView New()
Returns
- ToolbarView
[Version("1.4")]
public void Remove(Widget widget)
Parameters
widget
Widget
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
Accessible
nextSibling
Accessible
[Version("1.4")]
public void SetBottomBarStyle(ToolbarStyle style)
Parameters
style
ToolbarStyle
SetContent(Widget?)
[Version("1.4")]
public void SetContent(Widget? content)
Parameters
content
Widget
SetExtendContentToBottomEdge(bool)
[Version("1.4")]
public void SetExtendContentToBottomEdge(bool extend)
Parameters
extend
bool
SetExtendContentToTopEdge(bool)
[Version("1.4")]
public void SetExtendContentToTopEdge(bool extend)
Parameters
extend
bool
[Version("1.4")]
public void SetRevealBottomBars(bool reveal)
Parameters
reveal
bool
[Version("1.4")]
public void SetRevealTopBars(bool reveal)
Parameters
reveal
bool
[Version("1.4")]
public void SetTopBarStyle(ToolbarStyle style)
Parameters
style
ToolbarStyle
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible