Table of Contents

Class GLArea

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

Constructors

GLArea()

public GLArea()

GLArea(params ConstructArgument[])

protected GLArea(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

GLArea(IntPtr, bool)

protected GLArea(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AllowedApisPropertyDefinition

public static readonly Property<GLAPI, GLArea> AllowedApisPropertyDefinition

Field Value

Property<GLAPI, GLArea>

ApiPropertyDefinition

public static readonly Property<GLAPI, GLArea> ApiPropertyDefinition

Field Value

Property<GLAPI, GLArea>

AutoRenderPropertyDefinition

public static readonly Property<bool, GLArea> AutoRenderPropertyDefinition

Field Value

Property<bool, GLArea>

ContextPropertyDefinition

public static readonly Property<GLContext?, GLArea> ContextPropertyDefinition

Field Value

Property<GLContext, GLArea>

CreateContextSignal

Signal Descriptor for OnCreateContext.

public static readonly ReturningSignal<GLArea, GLContext> CreateContextSignal

Field Value

ReturningSignal<GLArea, GLContext>

HasDepthBufferPropertyDefinition

public static readonly Property<bool, GLArea> HasDepthBufferPropertyDefinition

Field Value

Property<bool, GLArea>

HasStencilBufferPropertyDefinition

public static readonly Property<bool, GLArea> HasStencilBufferPropertyDefinition

Field Value

Property<bool, GLArea>

RenderSignal

Signal Descriptor for OnRender.

public static readonly ReturningSignal<GLArea, GLArea.RenderSignalArgs, bool> RenderSignal

Field Value

ReturningSignal<GLArea, GLArea.RenderSignalArgs, bool>

ResizeSignal

Signal Descriptor for OnResize.

public static readonly Signal<GLArea, GLArea.ResizeSignalArgs> ResizeSignal

Field Value

Signal<GLArea, GLArea.ResizeSignalArgs>

UseEsPropertyDefinition

public static readonly Property<bool, GLArea> UseEsPropertyDefinition

Field Value

Property<bool, GLArea>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

AllowedApis

public GLAPI AllowedApis { get; set; }

Property Value

GLAPI

Api

public GLAPI Api { get; }

Property Value

GLAPI

AutoRender

public bool AutoRender { get; set; }

Property Value

bool

Context

public GLContext? Context { get; }

Property Value

GLContext

HasDepthBuffer

public bool HasDepthBuffer { get; set; }

Property Value

bool

HasStencilBuffer

public bool HasStencilBuffer { get; set; }

Property Value

bool

UseEs

public bool UseEs { get; set; }

Property Value

bool

Methods

Announce(string, AccessibleAnnouncementPriority)

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

Parameters

message string
priority AccessibleAnnouncementPriority

AttachBuffers()

public void AttachBuffers()

GetAccessibleParent()

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

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAllowedApis()

[Version("4.12")]
public GLAPI GetAllowedApis()

Returns

GLAPI

GetApi()

[Version("4.12")]
public GLAPI GetApi()

Returns

GLAPI

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetAutoRender()

public bool GetAutoRender()

Returns

bool

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

GetContext()

public GLContext? GetContext()

Returns

GLContext

GetError()

public Error? GetError()

Returns

Error

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetHasDepthBuffer()

public bool GetHasDepthBuffer()

Returns

bool

GetHasStencilBuffer()

public bool GetHasStencilBuffer()

Returns

bool

GetNextAccessibleSibling()

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

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetRequiredVersion(out int, out int)

public void GetRequiredVersion(out int major, out int minor)

Parameters

major int
minor int

GetUseEs()

public bool GetUseEs()

Returns

bool

MakeCurrent()

public void MakeCurrent()

New()

public static GLArea New()

Returns

GLArea

QueueRender()

public void QueueRender()

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

SetAllowedApis(GLAPI)

[Version("4.12")]
public void SetAllowedApis(GLAPI apis)

Parameters

apis GLAPI

SetAutoRender(bool)

public void SetAutoRender(bool autoRender)

Parameters

autoRender bool

SetError(Error?)

public void SetError(Error? error)

Parameters

error Error

SetHasDepthBuffer(bool)

public void SetHasDepthBuffer(bool hasDepthBuffer)

Parameters

hasDepthBuffer bool

SetHasStencilBuffer(bool)

public void SetHasStencilBuffer(bool hasStencilBuffer)

Parameters

hasStencilBuffer bool

SetRequiredVersion(int, int)

public void SetRequiredVersion(int major, int minor)

Parameters

major int
minor int

SetUseEs(bool)

public void SetUseEs(bool useEs)

Parameters

useEs bool

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible

Events

OnCreateContext

public event ReturningSignalHandler<GLArea, GLContext> OnCreateContext

Event Type

ReturningSignalHandler<GLArea, GLContext>

OnRender

public event ReturningSignalHandler<GLArea, GLArea.RenderSignalArgs, bool> OnRender

Event Type

ReturningSignalHandler<GLArea, GLArea.RenderSignalArgs, bool>

OnResize

public event SignalHandler<GLArea, GLArea.ResizeSignalArgs> OnResize

Event Type

SignalHandler<GLArea, GLArea.ResizeSignalArgs>