Main Page
Widgets
Namespaces
Book
Glib::PropertyProxy<T> Class Template Reference
A PropertyProxy can be used to get and set the value of an object's property.
More...
Inheritance diagram for Glib::PropertyProxy< T >:
[legend]List of all members.
Detailed Description
template <class T>
class Glib::PropertyProxy< T >
A PropertyProxy can be used to get and set the value of an object's property.
There are usually also get and set methods on the class itself, which you might find more convenient. With the PropertyProxy, you may use either get_value() and set_value(), or operator=() and operator PropertyType(), like so:
int height = cellrenderer.property_height();
cellrenderer.property_editable() = true;
You may also receive notification when a property's value changes, by connecting to signal_changed().
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
|
Get the value of this property.
- Returns:
- The current value of the property.
|
|
Set the value of this property back to its default value.
|
|
Set the value of this property.
- Parameters:
-
| data | The new value for the property. |
|
The documentation for this class was generated from the following file:
Generated for glibmm 2.4 by
Doxygen 1.3.7 © 1997-2001