Package: gtk

Class gtk:cell-renderer-accel

Superclasses

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

The gtk:cell-renderer-accel object displays a keyboard accelerator, that is a key combination like Control+a. If the cell renderer is editable, the accelerator can be changed by simply typing the new combination.

Warning

The gtk:cell-renderer-accel implementation is deprecated since 4.10. Applications editing keyboard accelerators should provide their own implementation according to platform design guidelines.

Signal Details

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

Returned by

Slot Access Functions

Inherited Slot Access Functions

gtk:cell-renderer-cell-background
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
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-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-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
g:object-has-reference
g:object-pointer

See also

2024-7-30