gtkmm: Gtk::CellRendererAccel Class Reference
Renders a keyboard accelerator in a cell More...

Public Member Functions | |
| virtual | ~CellRendererAccel () |
| GtkCellRendererAccel* | gobj () |
| Provides access to the underlying C GtkObject. | |
| const GtkCellRendererAccel* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| CellRendererAccel () | |
| Glib::SignalProxy4< void, const Glib::ustring &, guint, Gdk::ModifierType, guint > | signal_accel_edited () |
| Glib::SignalProxy1< void, const Glib::ustring& > | signal_accel_cleared () |
| Glib::PropertyProxy< guint > | property_accel_key () |
| The keyval of the accelerator. | |
| Glib::PropertyProxy_ReadOnly < guint > | property_accel_key () const |
| The keyval of the accelerator. | |
| Glib::PropertyProxy < Gdk::ModifierType > | property_accel_mods () |
| The modifier mask of the accelerator. | |
| Glib::PropertyProxy_ReadOnly < Gdk::ModifierType > | property_accel_mods () const |
| The modifier mask of the accelerator. | |
| Glib::PropertyProxy< guint > | property_keycode () |
| The hardware keycode of the accelerator. | |
| Glib::PropertyProxy_ReadOnly < guint > | property_keycode () const |
| The hardware keycode of the accelerator. | |
| Glib::PropertyProxy < CellRendererAccelMode > | property_accel_mode () |
| The type of accelerators. | |
| Glib::PropertyProxy_ReadOnly < CellRendererAccelMode > | property_accel_mode () const |
| The type of accelerators. | |
Protected Member Functions | |
| virtual void | on_accel_edited (const Glib::ustring& path_string, guint accel_key, Gdk::ModifierType accel_mods, guint hardware_keycode) |
| This is a default handler for the signal signal_accel_edited(). | |
| virtual void | on_accel_cleared (const Glib::ustring& path_string) |
| This is a default handler for the signal signal_accel_cleared(). | |
Related Functions | |
(Note that these are not member functions.) | |
| Gtk::CellRendererAccel* | wrap (GtkCellRendererAccel* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
Detailed Description
Renders a keyboard accelerator in a cell
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.
Constructor & Destructor Documentation
| virtual Gtk::CellRendererAccel::~CellRendererAccel | ( | ) | [virtual] |
Member Function Documentation
| GtkCellRendererAccel* Gtk::CellRendererAccel::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRendererText.
| const GtkCellRendererAccel* Gtk::CellRendererAccel::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRendererText.
| virtual void Gtk::CellRendererAccel::on_accel_cleared | ( | const Glib::ustring & | path_string | ) | [protected, virtual] |
This is a default handler for the signal signal_accel_cleared().
| virtual void Gtk::CellRendererAccel::on_accel_edited | ( | const Glib::ustring & | path_string, |
| guint | accel_key, | ||
| Gdk::ModifierType | accel_mods, | ||
| guint | hardware_keycode | ||
| ) | [protected, virtual] |
This is a default handler for the signal signal_accel_edited().
The keyval of the accelerator.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly< guint > Gtk::CellRendererAccel::property_accel_key | ( | ) | const |
The keyval of the accelerator.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
The type of accelerators.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly< CellRendererAccelMode > Gtk::CellRendererAccel::property_accel_mode | ( | ) | const |
The type of accelerators.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
The modifier mask of the accelerator.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly< Gdk::ModifierType > Gtk::CellRendererAccel::property_accel_mods | ( | ) | const |
The modifier mask of the accelerator.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
The hardware keycode of the accelerator.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly< guint > Gtk::CellRendererAccel::property_keycode | ( | ) | const |
The hardware keycode of the accelerator.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::SignalProxy1< void,const Glib::ustring& > Gtk::CellRendererAccel::signal_accel_cleared | ( | ) |
- Slot Prototype:
void on_my_accel_cleared(const Glib::ustring& path_string)
Gets emitted when the user has removed the accelerator.
- Parameters:
-
path_string The path identifying the row of the edited cell.
| Glib::SignalProxy4< void,const Glib::ustring&,guint,Gdk::ModifierType,guint > Gtk::CellRendererAccel::signal_accel_edited | ( | ) |
- Slot Prototype:
void on_my_accel_edited(const Glib::ustring& path_string, guint accel_key, Gdk::ModifierType accel_mods, guint hardware_keycode)
Gets emitted when the user has selected a new accelerator.
- Parameters:
-
path_string The path identifying the row of the edited cell. accel_key The new accelerator keyval. accel_mods The new acclerator modifier mask. hardware_keycode The keycode of the new accelerator.
Friends And Related Function Documentation
| Gtk::CellRendererAccel* wrap | ( | GtkCellRendererAccel * | object, |
| bool | take_copy = false |
||
| ) | [related] |
A Glib::wrap() method for this object.
- Parameters:
-
object The C instance. take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
- Returns:
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file:
- gtkmm/cellrendereraccel.h
