gtk.CellRendererAccel — an object that renders a keyboard accelerator in a cell (new in PyGTK 2.10)
+-- gobject.GObject +-- gtk.Object +-- gtk.CellRenderer +-- gtk.CellRendererText +-- gtk.CellRendererAccel |
gtk.CellRendererText Properties
|
gobject.GObject Signal Prototypes
gtk.CellRenderer Signal Prototypes
gtk.CellRendererText Signal Prototypes
"accel-cleared" | def callback(cellrendereraccel, path_string, user_param1, ...) |
"accel-edited" | def callback(cellrendereraccel, path_string, accel_key, accel_mods, hardware_keycode, user_param1, ...) |
gtk.CellRendererAccel 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.
|
Returns : | the new cell renderer |
This constructor is available in PyGTK 2.10 and above.
Creates a new gtk.CellRendererAccel.
|
cellrendereraccel : | the cellrendereraccel that received the signal |
path_string : | the path identifying the row of the cleared cell as a string |
user_param1 : | the first user parameter (if any) specified with the connect() method |
... : | additional user parameters (if any) |
This signal is available in GTK+ 2.10 and above.
The "accel-cleared" signal is emitted when the user has removed the accelerator.
|
cellrendereraccel : | the cellrendereraccel that received the signal |
path_string : | the path identifying the row of the edited cell as a string |
accel_key : | the new accelerator keyval |
accel_mods : | the new acclerator modifier mask |
hardware_keycode : | the keycode of the new accelerator |
user_param1 : | the first user parameter (if any) specified with the connect() method |
... : | additional user parameters (if any) |
This signal is available in GTK+ 2.10 and above.
The "accel-edited" signal is emitted when the user has selected a new accelerator.