Table of Contents

Class InfoBar

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class InfoBar : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
Inheritance
InfoBar
Implements
Inherited Members

Constructors

InfoBar()

public InfoBar()

InfoBar(params ConstructArgument[])

protected InfoBar(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

InfoBar(IntPtr, bool)

protected InfoBar(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CloseSignal

Signal Descriptor for OnClose.

public static readonly Signal<InfoBar> CloseSignal

Field Value

Signal<InfoBar>

MessageTypePropertyDefinition

public static readonly Property<MessageType, InfoBar> MessageTypePropertyDefinition

Field Value

Property<MessageType, InfoBar>

ResponseSignal

Signal Descriptor for OnResponse.

public static readonly Signal<InfoBar, InfoBar.ResponseSignalArgs> ResponseSignal

Field Value

Signal<InfoBar, InfoBar.ResponseSignalArgs>

RevealedPropertyDefinition

public static readonly Property<bool, InfoBar> RevealedPropertyDefinition

Field Value

Property<bool, InfoBar>

ShowCloseButtonPropertyDefinition

public static readonly Property<bool, InfoBar> ShowCloseButtonPropertyDefinition

Field Value

Property<bool, InfoBar>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

MessageType

public MessageType MessageType { get; set; }

Property Value

MessageType

Revealed

public bool Revealed { get; set; }

Property Value

bool

ShowCloseButton

public bool ShowCloseButton { get; set; }

Property Value

bool

Methods

AddActionWidget(Widget, int)

public void AddActionWidget(Widget child, int responseId)

Parameters

child Widget
responseId int

AddButton(string, int)

public Widget AddButton(string buttonText, int responseId)

Parameters

buttonText string
responseId int

Returns

Widget

AddChild(Widget)

public void AddChild(Widget widget)

Parameters

widget Widget

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

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetMessageType()

public MessageType GetMessageType()

Returns

MessageType

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetRevealed()

public bool GetRevealed()

Returns

bool

GetShowCloseButton()

public bool GetShowCloseButton()

Returns

bool

New()

public static InfoBar New()

Returns

InfoBar

RemoveActionWidget(Widget)

public void RemoveActionWidget(Widget widget)

Parameters

widget Widget

RemoveChild(Widget)

public void RemoveChild(Widget widget)

Parameters

widget 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

Response(int)

public void Response(int responseId)

Parameters

responseId int

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetDefaultResponse(int)

public void SetDefaultResponse(int responseId)

Parameters

responseId int

SetMessageType(MessageType)

public void SetMessageType(MessageType messageType)

Parameters

messageType MessageType

SetResponseSensitive(int, bool)

public void SetResponseSensitive(int responseId, bool setting)

Parameters

responseId int
setting bool

SetRevealed(bool)

public void SetRevealed(bool revealed)

Parameters

revealed bool

SetShowCloseButton(bool)

public void SetShowCloseButton(bool setting)

Parameters

setting bool

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

Events

OnClose

public event SignalHandler<InfoBar> OnClose

Event Type

SignalHandler<InfoBar>

OnResponse

public event SignalHandler<InfoBar, InfoBar.ResponseSignalArgs> OnResponse

Event Type

SignalHandler<InfoBar, InfoBar.ResponseSignalArgs>