Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: object
Renders a keyboard accelerator in a cell GtkCellRendererAccel displays a
keyboard accelerator (i.e. a key combination like Control + a). If the cell
renderer is editable, the accelerator can be changed by simply typing the new
combination.
CellRendererAccel ()
Creates a new
GtkCellRendererAccel.
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asCellRendererText ()
Wraps this handle as
CellRendererText.
A CellRendererText object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnAccelcleared (callback Fn, UserData = null)
Gets emitted when the user has removed the accelerator.
Fn is the Aussom callback.Fn is called with (CellRendererAccel Self, string Path_string).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnAcceledited (callback Fn, UserData = null)
Gets emitted when the user has selected a new accelerator.
Fn is the Aussom callback.Fn is called with (CellRendererAccel Self, string Path_string, int Accel_key, string Accel_mods, int Hardware_keycode).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setAccelkey (int Value)
The keyval of the accelerator.
Value is the new property value.None.setAccelmode (string Value)
Determines if the edited accelerators are GTK accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK are allowed, and the accelerators are rendered in the same way as they are in menus.
Value is the new property value.None.setAccelmods (string Value)
The modifier mask of the accelerator.
Value is the new property value.None.setKeycode (int Value)
The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration should assign keyvals to all keys.
Value is the new property value.None.[315:7] extends: object
Generated low-level callback wrapper for GIR callback accel-edited.
CellRendererAccelAcceleditedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, path_string, accel_key, accel_mods, hardware_keycode, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[386:14] static extends: object
Generated metadata helpers for CellRendererAccel class surfaces.
properties ()
Returns property metadata for
CellRendererAccel.
A list.signals ()
Returns signal metadata for
CellRendererAccel.
A list.[245:7] extends: object
Generated low-level callback wrapper for GIR callback accel-cleared.
CellRendererAccelAccelclearedCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, path_string, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.