Table of Contents

Class SearchBar

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

Constructors

SearchBar()

public SearchBar()

SearchBar(params ConstructArgument[])

protected SearchBar(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SearchBar(IntPtr, bool)

protected SearchBar(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, SearchBar> ChildPropertyDefinition

Field Value

Property<Widget, SearchBar>

KeyCaptureWidgetPropertyDefinition

public static readonly Property<Widget?, SearchBar> KeyCaptureWidgetPropertyDefinition

Field Value

Property<Widget, SearchBar>

SearchModeEnabledPropertyDefinition

public static readonly Property<bool, SearchBar> SearchModeEnabledPropertyDefinition

Field Value

Property<bool, SearchBar>

ShowCloseButtonPropertyDefinition

public static readonly Property<bool, SearchBar> ShowCloseButtonPropertyDefinition

Field Value

Property<bool, SearchBar>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Child

public Widget? Child { get; set; }

Property Value

Widget

KeyCaptureWidget

public Widget? KeyCaptureWidget { get; set; }

Property Value

Widget

SearchModeEnabled

public bool SearchModeEnabled { get; set; }

Property Value

bool

ShowCloseButton

public bool ShowCloseButton { get; set; }

Property Value

bool

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

ConnectEntry(Editable)

public void ConnectEntry(Editable entry)

Parameters

entry Editable

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

GetChild()

public Widget? GetChild()

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetKeyCaptureWidget()

public Widget? GetKeyCaptureWidget()

Returns

Widget

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetSearchMode()

public bool GetSearchMode()

Returns

bool

GetShowCloseButton()

public bool GetShowCloseButton()

Returns

bool

New()

public static SearchBar New()

Returns

SearchBar

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 Accessible
nextSibling Accessible

SetChild(Widget?)

public void SetChild(Widget? child)

Parameters

child Widget

SetKeyCaptureWidget(Widget?)

public void SetKeyCaptureWidget(Widget? widget)

Parameters

widget Widget

SetSearchMode(bool)

public void SetSearchMode(bool searchMode)

Parameters

searchMode bool

SetShowCloseButton(bool)

public void SetShowCloseButton(bool visible)

Parameters

visible bool

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible