Table of Contents

Class InfoBar

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class InfoBar
Inheritance
InfoBar
Inherited Members

Methods

AddActionWidget(IntPtr, IntPtr, int)

Calls native method gtk_info_bar_add_action_widget.

public static extern void AddActionWidget(IntPtr infoBar, IntPtr child, int responseId)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

child IntPtr

Transfer ownership: None Nullable: False

responseId int

Transfer ownership: None Nullable: False

AddButton(IntPtr, NonNullableUtf8StringHandle, int)

Calls native method gtk_info_bar_add_button.

public static extern IntPtr AddButton(IntPtr infoBar, NonNullableUtf8StringHandle buttonText, int responseId)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

buttonText NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

responseId int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

AddChild(IntPtr, IntPtr)

Calls native method gtk_info_bar_add_child.

public static extern void AddChild(IntPtr infoBar, IntPtr widget)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_info_bar_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMessageType(IntPtr)

Calls native method gtk_info_bar_get_message_type.

public static extern MessageType GetMessageType(IntPtr infoBar)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

Returns

MessageType

Transfer ownership: None Nullable: False

GetRevealed(IntPtr)

Calls native method gtk_info_bar_get_revealed.

public static extern bool GetRevealed(IntPtr infoBar)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetShowCloseButton(IntPtr)

Calls native method gtk_info_bar_get_show_close_button.

public static extern bool GetShowCloseButton(IntPtr infoBar)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_info_bar_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

RemoveActionWidget(IntPtr, IntPtr)

Calls native method gtk_info_bar_remove_action_widget.

public static extern void RemoveActionWidget(IntPtr infoBar, IntPtr widget)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

RemoveChild(IntPtr, IntPtr)

Calls native method gtk_info_bar_remove_child.

public static extern void RemoveChild(IntPtr infoBar, IntPtr widget)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

Response(IntPtr, int)

Calls native method gtk_info_bar_response.

public static extern void Response(IntPtr infoBar, int responseId)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

responseId int

Transfer ownership: None Nullable: False

SetDefaultResponse(IntPtr, int)

Calls native method gtk_info_bar_set_default_response.

public static extern void SetDefaultResponse(IntPtr infoBar, int responseId)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

responseId int

Transfer ownership: None Nullable: False

SetMessageType(IntPtr, MessageType)

Calls native method gtk_info_bar_set_message_type.

public static extern void SetMessageType(IntPtr infoBar, MessageType messageType)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

messageType MessageType

Transfer ownership: None Nullable: False

SetResponseSensitive(IntPtr, int, bool)

Calls native method gtk_info_bar_set_response_sensitive.

public static extern void SetResponseSensitive(IntPtr infoBar, int responseId, bool setting)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

responseId int

Transfer ownership: None Nullable: False

setting bool

Transfer ownership: None Nullable: False

SetRevealed(IntPtr, bool)

Calls native method gtk_info_bar_set_revealed.

public static extern void SetRevealed(IntPtr infoBar, bool revealed)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

revealed bool

Transfer ownership: None Nullable: False

SetShowCloseButton(IntPtr, bool)

Calls native method gtk_info_bar_set_show_close_button.

public static extern void SetShowCloseButton(IntPtr infoBar, bool setting)

Parameters

infoBar IntPtr

Transfer ownership: None Nullable: False

setting bool

Transfer ownership: None Nullable: False