Package: gtk

Class gtk-cell-renderer-accel

Superclasses

gtk-cell-renderer-text, gtk-cell-renderer, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

accel-key
The accel-key property of type :uint (Read / Write)
The keyval of the accelerator.
Allowed values: <= G_MAXINT
Default value: 0
accel-mode
The accel-mode property of type gtk-cell-renderer-accel-mode (Read / Write)
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.
Default value: :gtk
accel-mods
The accel-mods property of type gdk-modifier-type (Read / Write)
The modifier mask of the accelerator.
keycode
The keycode property of type :uint (Read / Write)
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.
Allowed values: <= G_MAXINT
Default value: 0

Details

gtk-cell-renderer-accel 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.

The gtk-cell-renderer-accel cell renderer was added in GTK+ 2.10.

Signal Details

The "accel-cleared" signal
 lambda (accel path)    : Run Last      
Gets emitted when the user has removed the accelerator.
accel
The gtk-cell-renderer-accel object reveiving the signal.
path
A string with the path identifying the row of the edited cell.
The "accel-edited" signal
 lambda (accel path accel-key accel-mods hardware-keycode)    : Run Last      
Gets emitted when the user has selected a new accelerator.
accel
The gtk-cell-renderer-accel object reveiving the signal.
path
A string with the path identifying the row of the edited cell.
accel-key
An unsigned integer with the new accelerator keyval.
accel-mods
A gdk-modifier-type value with the new acclerator modifier mask.
hardware-keycode
An unsignend integer with the keycode of the new accelerator.
 

Slot Access Functions

Inherited Slot Access Functions

gtk-cell-renderer-text-align-set
gtk-cell-renderer-text-alignment
gtk-cell-renderer-text-attributes
gtk-cell-renderer-text-background
gtk-cell-renderer-text-background-gdk
gtk-cell-renderer-text-background-rgba
gtk-cell-renderer-text-background-set
gtk-cell-renderer-text-editable
gtk-cell-renderer-text-editable-set
gtk-cell-renderer-text-ellipsize
gtk-cell-renderer-text-ellipsize-set
gtk-cell-renderer-text-family
gtk-cell-renderer-text-family-set
gtk-cell-renderer-text-font
gtk-cell-renderer-text-font-desc
gtk-cell-renderer-text-foreground
gtk-cell-renderer-text-foreground-gdk
gtk-cell-renderer-text-foreground-rgba
gtk-cell-renderer-text-foreground-set
gtk-cell-renderer-text-language
gtk-cell-renderer-text-language-set
gtk-cell-renderer-text-markup
gtk-cell-renderer-text-max-width-chars
gtk-cell-renderer-text-placeholder-text
gtk-cell-renderer-text-rise
gtk-cell-renderer-text-rise-set
gtk-cell-renderer-text-scale
gtk-cell-renderer-text-scale-set
gtk-cell-renderer-text-single-paragraph-mode
gtk-cell-renderer-text-size
gtk-cell-renderer-text-size-points
gtk-cell-renderer-text-size-set
gtk-cell-renderer-text-stretch
gtk-cell-renderer-text-stretch-set
gtk-cell-renderer-text-strikethrough
gtk-cell-renderer-text-strikethrough-set
gtk-cell-renderer-text-style
gtk-cell-renderer-text-style-set
gtk-cell-renderer-text-text
gtk-cell-renderer-text-underline
gtk-cell-renderer-text-underline-set
gtk-cell-renderer-text-variant
gtk-cell-renderer-text-variant-set
gtk-cell-renderer-text-weight
gtk-cell-renderer-text-weight-set
gtk-cell-renderer-text-width-chars
gtk-cell-renderer-text-wrap-mode
gtk-cell-renderer-text-wrap-width
gtk-cell-renderer-cell-background
gtk-cell-renderer-cell-background-gdk
gtk-cell-renderer-cell-background-rgba
gtk-cell-renderer-cell-background-set
gtk-cell-renderer-editing
gtk-cell-renderer-height
gtk-cell-renderer-is-expanded
gtk-cell-renderer-is-expander
gtk-cell-renderer-mode
gtk-cell-renderer-sensitive
gtk-cell-renderer-visible
gtk-cell-renderer-width
gtk-cell-renderer-xalign
gtk-cell-renderer-xpad
gtk-cell-renderer-yalign
gtk-cell-renderer-ypad
g-object-has-reference
g-object-pointer
g-object-signal-handlers
2020-6-20