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
handleWidgetClassOwnedHandle
Properties
Handle
public WidgetClassOwnedHandle Handle { get; }
Property Value
Methods
AddShortcut(Shortcut)
public void AddShortcut(Shortcut shortcut)
Parameters
shortcutShortcut
BindTemplateChildFull(string, bool, nint)
public void BindTemplateChildFull(string name, bool internalChild, nint structOffset)
Parameters
Equals(WidgetClass?)
public bool Equals(WidgetClass? other)
Parameters
otherWidgetClass
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetActivateSignal()
public uint GetActivateSignal()
Returns
GetCssName()
public string GetCssName()
Returns
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
InstallPropertyAction(string, string)
public void InstallPropertyAction(string actionName, string propertyName)
Parameters
SetAccessibleRole(AccessibleRole)
public void SetAccessibleRole(AccessibleRole accessibleRole)
Parameters
accessibleRoleAccessibleRole
SetActivateSignal(uint)
public void SetActivateSignal(uint signalId)
Parameters
signalIduint
SetActivateSignalFromName(string)
public void SetActivateSignalFromName(string signalName)
Parameters
signalNamestring
SetCssName(string)
public void SetCssName(string name)
Parameters
namestring
SetLayoutManagerType(Type)
public void SetLayoutManagerType(Type type)
Parameters
typeType
SetTemplate(Bytes)
public void SetTemplate(Bytes templateBytes)
Parameters
templateBytesBytes
SetTemplateFromResource(string)
public void SetTemplateFromResource(string resourceName)
Parameters
resourceNamestring
SetTemplateScope(BuilderScope)
public void SetTemplateScope(BuilderScope scope)
Parameters
scopeBuilderScope