Table of Contents

Class Assistant

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class Assistant : Window, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager, IHandle, GTypeProvider
Inheritance
Assistant
Implements
Inherited Members

Constructors

Assistant()

public Assistant()

Assistant(params ConstructArgument[])

protected Assistant(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Assistant(IntPtr, bool)

protected Assistant(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ApplySignal

Signal Descriptor for OnApply.

public static readonly Signal<Assistant> ApplySignal

Field Value

Signal<Assistant>

CancelSignal

Signal Descriptor for OnCancel.

public static readonly Signal<Assistant> CancelSignal

Field Value

Signal<Assistant>

CloseSignal

Signal Descriptor for OnClose.

public static readonly Signal<Assistant> CloseSignal

Field Value

Signal<Assistant>

EscapeSignal

Signal Descriptor for OnEscape.

public static readonly Signal<Assistant> EscapeSignal

Field Value

Signal<Assistant>

PagesPropertyDefinition

public static readonly Property<ListModel, Assistant> PagesPropertyDefinition

Field Value

Property<ListModel, Assistant>

PrepareSignal

Signal Descriptor for OnPrepare.

public static readonly Signal<Assistant, Assistant.PrepareSignalArgs> PrepareSignal

Field Value

Signal<Assistant, Assistant.PrepareSignalArgs>

UseHeaderBarPropertyDefinition

public static readonly Property<int, Assistant> UseHeaderBarPropertyDefinition

Field Value

Property<int, Assistant>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Pages

public ListModel Pages { get; }

Property Value

ListModel

UseHeaderBar

public int UseHeaderBar { get; }

Property Value

int

Methods

AddActionWidget(Widget)

public void AddActionWidget(Widget child)

Parameters

child Widget

Announce(string, AccessibleAnnouncementPriority)

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

Parameters

message string
priority AccessibleAnnouncementPriority

AppendPage(Widget)

public int AppendPage(Widget page)

Parameters

page Widget

Returns

int

Commit()

public void Commit()

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

GetCurrentPage()

public int GetCurrentPage()

Returns

int

GetDisplay()

public Display GetDisplay()

Returns

Display

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetNPages()

public int GetNPages()

Returns

int

GetNextAccessibleSibling()

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

Returns

Accessible

GetNthPage(int)

public Widget? GetNthPage(int pageNum)

Parameters

pageNum int

Returns

Widget

GetPage(Widget)

public AssistantPage GetPage(Widget child)

Parameters

child Widget

Returns

AssistantPage

GetPageComplete(Widget)

public bool GetPageComplete(Widget page)

Parameters

page Widget

Returns

bool

GetPageTitle(Widget)

public string GetPageTitle(Widget page)

Parameters

page Widget

Returns

string

GetPageType(Widget)

public AssistantPageType GetPageType(Widget page)

Parameters

page Widget

Returns

AssistantPageType

GetPages()

public ListModel GetPages()

Returns

ListModel

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetRenderer()

public Renderer? GetRenderer()

Returns

Renderer

GetSurface()

public Surface? GetSurface()

Returns

Surface

GetSurfaceTransform(out double, out double)

public void GetSurfaceTransform(out double x, out double y)

Parameters

x double
y double

InsertPage(Widget, int)

public int InsertPage(Widget page, int position)

Parameters

page Widget
position int

Returns

int

New()

public static Assistant New()

Returns

Assistant

NextPage()

public void NextPage()

PrependPage(Widget)

public int PrependPage(Widget page)

Parameters

page Widget

Returns

int

PreviousPage()

public void PreviousPage()

Realize()

public void Realize()

RemoveActionWidget(Widget)

public void RemoveActionWidget(Widget child)

Parameters

child Widget

RemovePage(int)

public void RemovePage(int pageNum)

Parameters

pageNum int

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

SetCurrentPage(int)

public void SetCurrentPage(int pageNum)

Parameters

pageNum int

SetForwardPageFunc(AssistantPageFunc?)

public void SetForwardPageFunc(AssistantPageFunc? pageFunc)

Parameters

pageFunc AssistantPageFunc

SetPageComplete(Widget, bool)

public void SetPageComplete(Widget page, bool complete)

Parameters

page Widget
complete bool

SetPageTitle(Widget, string)

public void SetPageTitle(Widget page, string title)

Parameters

page Widget
title string

SetPageType(Widget, AssistantPageType)

public void SetPageType(Widget page, AssistantPageType type)

Parameters

page Widget
type AssistantPageType

Unrealize()

public void Unrealize()

UpdateButtonsState()

public void UpdateButtonsState()

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

Events

OnApply

public event SignalHandler<Assistant> OnApply

Event Type

SignalHandler<Assistant>

OnCancel

public event SignalHandler<Assistant> OnCancel

Event Type

SignalHandler<Assistant>

OnClose

public event SignalHandler<Assistant> OnClose

Event Type

SignalHandler<Assistant>

OnEscape

public event SignalHandler<Assistant> OnEscape

Event Type

SignalHandler<Assistant>

OnPrepare

public event SignalHandler<Assistant, Assistant.PrepareSignalArgs> OnPrepare

Event Type

SignalHandler<Assistant, Assistant.PrepareSignalArgs>