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
|
gtk.CellRenderer Signal Prototypes
gtk.CellRendererText Signal Prototypes
def callback( |
def callback( |
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.
gtk.CellRendererAccel()
Returns : | the new cell renderer |
This constructor is available in PyGTK 2.10 and above.
Creates a new gtk.CellRendererAccel
.
def callback(cellrendereraccel
, path_string
, user_param1
, ...
)
| the cellrendereraccel that received the signal |
| the path identifying the row of the cleared cell as a string |
| the first user parameter (if any) specified
with the connect () |
| 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.
def callback(cellrendereraccel
, path_string
, accel_key
, accel_mods
, hardware_keycode
, user_param1
, ...
)
| the cellrendereraccel that received the signal |
| the path identifying the row of the edited cell as a string |
| the new accelerator keyval |
| the new acclerator modifier mask |
| the keycode of the new accelerator |
| the first user parameter (if any) specified
with the connect () |
| 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.