Class CellRendererAccel
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class CellRendererAccel : CellRendererText, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
CellRendererAccel
- Implements
- Inherited Members
Constructors
CellRendererAccel(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public CellRendererAccel(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
CellRendererAccel(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CellRendererAccel(CreationData data)
Parameters
dataCreationData
CellRendererAccel(CellRendererAccelHandle)
protected CellRendererAccel(CellRendererAccelHandle handle)
Parameters
handleCellRendererAccelHandle
Fields
AccelClearedSignal
Signal Descriptor for OnAccelCleared.
public static readonly Signal<CellRendererAccel, CellRendererAccel.AccelClearedSignalArgs> AccelClearedSignal
Field Value
AccelEditedSignal
Signal Descriptor for OnAccelEdited.
public static readonly Signal<CellRendererAccel, CellRendererAccel.AccelEditedSignalArgs> AccelEditedSignal
Field Value
AccelKeyPropertyDefinition
public static readonly Property<uint, CellRendererAccel> AccelKeyPropertyDefinition
Field Value
AccelModePropertyDefinition
public static readonly Property<CellRendererAccelMode, CellRendererAccel> AccelModePropertyDefinition
Field Value
AccelModsPropertyDefinition
public static readonly Property<ModifierType, CellRendererAccel> AccelModsPropertyDefinition
Field Value
KeycodePropertyDefinition
public static readonly Property<uint, CellRendererAccel> KeycodePropertyDefinition
Field Value
Properties
AccelKey
public uint AccelKey { get; set; }
Property Value
AccelMode
public CellRendererAccelMode AccelMode { get; set; }
Property Value
AccelMods
public ModifierType AccelMods { get; set; }
Property Value
Keycode
public uint Keycode { get; set; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
New()
public static CellRendererAccel New()
Returns
NewFromPointer(nint, bool)
Creates a new managed CellRendererAccel instance for a given pointer.
public static CellRendererAccel NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new CellRendererAccel and sets the properties specified by the construct arguments.
public static CellRendererAccel NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnAccelCleared
public event SignalHandler<CellRendererAccel, CellRendererAccel.AccelClearedSignalArgs> OnAccelCleared
Event Type
OnAccelEdited
public event SignalHandler<CellRendererAccel, CellRendererAccel.AccelEditedSignalArgs> OnAccelEdited