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
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
Equals(WidgetClass?)
public bool Equals(WidgetClass? other)
Parameters
other
WidgetClass
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe 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
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