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
Fields
ApplySignal
Signal Descriptor for OnApply.
public static readonly Signal<Assistant> ApplySignal
Field Value
CancelSignal
Signal Descriptor for OnCancel.
public static readonly Signal<Assistant> CancelSignal
Field Value
CloseSignal
Signal Descriptor for OnClose.
public static readonly Signal<Assistant> CloseSignal
Field Value
EscapeSignal
Signal Descriptor for OnEscape.
public static readonly Signal<Assistant> EscapeSignal
Field Value
PagesPropertyDefinition
public static readonly Property<ListModel, Assistant> PagesPropertyDefinition
Field Value
PrepareSignal
Signal Descriptor for OnPrepare.
public static readonly Signal<Assistant, Assistant.PrepareSignalArgs> PrepareSignal
Field Value
UseHeaderBarPropertyDefinition
public static readonly Property<int, Assistant> UseHeaderBarPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Pages
public ListModel Pages { get; }
Property Value
UseHeaderBar
public int UseHeaderBar { get; }
Property Value
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
stringpriority
AccessibleAnnouncementPriority
AppendPage(Widget)
public int AppendPage(Widget page)
Parameters
page
Widget
Returns
Commit()
public void Commit()
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetCurrentPage()
public int GetCurrentPage()
Returns
GetDisplay()
public Display GetDisplay()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetNPages()
public int GetNPages()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetNthPage(int)
public Widget? GetNthPage(int pageNum)
Parameters
pageNum
int
Returns
GetPage(Widget)
public AssistantPage GetPage(Widget child)
Parameters
child
Widget
Returns
GetPageComplete(Widget)
public bool GetPageComplete(Widget page)
Parameters
page
Widget
Returns
GetPageTitle(Widget)
public string GetPageTitle(Widget page)
Parameters
page
Widget
Returns
GetPageType(Widget)
public AssistantPageType GetPageType(Widget page)
Parameters
page
Widget
Returns
GetPages()
public ListModel GetPages()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetRenderer()
public Renderer? GetRenderer()
Returns
GetSurface()
public Surface? GetSurface()
Returns
GetSurfaceTransform(out double, out double)
public void GetSurfaceTransform(out double x, out double y)
Parameters
InsertPage(Widget, int)
public int InsertPage(Widget page, int position)
Parameters
Returns
New()
public static Assistant New()
Returns
NextPage()
public void NextPage()
PrependPage(Widget)
public int PrependPage(Widget page)
Parameters
page
Widget
Returns
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
AccessiblenextSibling
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
SetPageTitle(Widget, string)
public void SetPageTitle(Widget page, string title)
Parameters
SetPageType(Widget, AssistantPageType)
public void SetPageType(Widget page, AssistantPageType type)
Parameters
page
Widgettype
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
OnCancel
public event SignalHandler<Assistant> OnCancel
Event Type
OnClose
public event SignalHandler<Assistant> OnClose
Event Type
OnEscape
public event SignalHandler<Assistant> OnEscape
Event Type
OnPrepare
public event SignalHandler<Assistant, Assistant.PrepareSignalArgs> OnPrepare