Table of Contents

Class WidgetClass

Namespace
Gtk
Assembly
Gtk-4.0.dll
public sealed class WidgetClass
Inheritance
WidgetClass
Inherited Members

Constructors

WidgetClass()

public WidgetClass()

WidgetClass(WidgetClassOwnedHandle)

public WidgetClass(WidgetClassOwnedHandle handle)

Parameters

handle WidgetClassOwnedHandle

Properties

Handle

public WidgetClassOwnedHandle Handle { get; }

Property Value

WidgetClassOwnedHandle

Methods

AddShortcut(Shortcut)

public void AddShortcut(Shortcut shortcut)

Parameters

shortcut Shortcut

BindTemplateChildFull(string, bool, long)

public void BindTemplateChildFull(string name, bool internalChild, long structOffset)

Parameters

name string
internalChild bool
structOffset long

Equals(WidgetClass?)

public bool Equals(WidgetClass? other)

Parameters

other WidgetClass

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetActivateSignal()

public uint GetActivateSignal()

Returns

uint

GetCssName()

public string GetCssName()

Returns

string

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetLayoutManagerType()

public Type GetLayoutManagerType()

Returns

Type

InstallPropertyAction(string, string)

public void InstallPropertyAction(string actionName, string propertyName)

Parameters

actionName string
propertyName string

SetAccessibleRole(AccessibleRole)

public void SetAccessibleRole(AccessibleRole accessibleRole)

Parameters

accessibleRole AccessibleRole

SetActivateSignal(uint)

public void SetActivateSignal(uint signalId)

Parameters

signalId uint

SetActivateSignalFromName(string)

public void SetActivateSignalFromName(string signalName)

Parameters

signalName string

SetCssName(string)

public void SetCssName(string name)

Parameters

name string

SetLayoutManagerType(Type)

public void SetLayoutManagerType(Type type)

Parameters

type Type

SetTemplate(Bytes)

public void SetTemplate(Bytes templateBytes)

Parameters

templateBytes Bytes

SetTemplateFromResource(string)

public void SetTemplateFromResource(string resourceName)

Parameters

resourceName string

SetTemplateScope(BuilderScope)

public void SetTemplateScope(BuilderScope scope)

Parameters

scope BuilderScope