logo top
Main Page   Widgets   Namespaces   Book  

Gtk::CellRendererAccel Class Reference
[TreeView Classes]

Inheritance diagram for Gtk::CellRendererAccel:

List of all members.


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.

Since gtkmm 2.10:

Public Member Functions

virtual Glib::PropertyProxy_Base _property_renderable ()
 Returns the property that this CellRenderer renders.
 CellRendererAccel ()
const GtkCellRendererAccel* gobj () const
 Provides access to the underlying C GtkObject.
GtkCellRendererAccel* gobj ()
 Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly
<guint> 
property_accel_key () const
 The keyval of the accelerator.
Glib::PropertyProxy<guint> property_accel_key ()
 The keyval of the accelerator.
Glib::PropertyProxy_ReadOnly
<Gdk::ModifierType
property_accel_mods () const
 The modifier mask of the accelerator.
Glib::PropertyProxy
<Gdk::ModifierType
property_accel_mods ()
 The modifier mask of the accelerator.
Glib::PropertyProxy_ReadOnly
<guint> 
property_keycode () const
 The hardware keycode of the accelerator.
Glib::PropertyProxy<guint> property_keycode ()
 The hardware keycode of the accelerator.
Glib::SignalProxy1< void,
const Glib::ustring& > 
signal_accel_cleared ()
Glib::SignalProxy4< void,
const Glib::ustring &, guint,
Gdk::ModifierType, guint > 
signal_accel_edited ()
virtual ~CellRendererAccel ()

Protected Member Functions

virtual void on_accel_cleared (const Glib::ustring& path_string)
virtual void on_accel_edited (const Glib::ustring& path_string, guint accel_key, Gdk::ModifierType accel_mods, guint hardware_keycode)

Related Functions

(Note that these are not member functions.)

Gtk::CellRendererAccelwrap (GtkCellRendererAccel* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Constructor & Destructor Documentation

virtual Gtk::CellRendererAccel::~CellRendererAccel (  )  [virtual]

Gtk::CellRendererAccel::CellRendererAccel (  ) 


Member Function Documentation

virtual Glib::PropertyProxy_Base Gtk::CellRendererAccel::_property_renderable (  )  [virtual]

Returns the property that this CellRenderer renders.

For instance, property_text for CellRendererText, and property_active for CellRendererToggle Needs to be overridden in derived classes.

Reimplemented from Gtk::CellRendererText.

const GtkCellRendererAccel* Gtk::CellRendererAccel::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::CellRendererText.

GtkCellRendererAccel* Gtk::CellRendererAccel::gobj (  )  [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]

virtual void Gtk::CellRendererAccel::on_accel_edited ( const Glib::ustring path_string,
guint  accel_key,
Gdk::ModifierType  accel_mods,
guint  hardware_keycode 
) [protected, virtual]

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.

Glib::PropertyProxy<guint> Gtk::CellRendererAccel::property_accel_key (  ) 

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<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.

Glib::PropertyProxy<Gdk::ModifierType> Gtk::CellRendererAccel::property_accel_mods (  ) 

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<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::PropertyProxy<guint> Gtk::CellRendererAccel::property_keycode (  ) 

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 (  ) 

Prototype:
void on_my_accel_cleared(const Glib::ustring& path_string)

Glib::SignalProxy4<void,const Glib::ustring&,guint,Gdk::ModifierType,guint> Gtk::CellRendererAccel::signal_accel_edited (  ) 

Prototype:
void on_my_accel_edited(const Glib::ustring& path_string, guint accel_key, Gdk::ModifierType accel_mods, guint hardware_keycode)


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:

Generated for gtkmm 2.4 by Doxygen 1.5.6 © 1997-2001