glibmm: Glib::PropertyProxy_WriteOnly< T > Class Template Reference
See PropertyProxy(). More...
#include <glibmm/propertyproxy.h>
Inheritance diagram for Glib::PropertyProxy_WriteOnly< T >:

Public Types | |
using | PropertyType = T |
Public Member Functions | |
PropertyProxy_WriteOnly (ObjectBase* obj, const char* name) | |
void | set_value (const PropertyType& data) |
Set the value of this property. More... | |
void | reset_value () |
Set the value of this property back to its default value. More... | |
PropertyProxy_WriteOnly< T >& | operator= (const PropertyType& data) |
![]() | |
PropertyProxy_Base (ObjectBase* obj, const char* property_name) | |
PropertyProxy_Base (const PropertyProxy_Base& other) | |
SignalProxyProperty | signal_changed () |
This signal will be emitted when the property changes. More... | |
ObjectBase* | get_object () const |
const char* | get_name () const |
Additional Inherited Members | |
![]() | |
void | set_property_ (const Glib::ValueBase& value) |
void | get_property_ (Glib::ValueBase& value) const |
void | reset_property_ () |
![]() | |
ObjectBase* | obj_ |
const char* | property_name_ |
Detailed Description
template<class T>
class Glib::PropertyProxy_WriteOnly< T >
See PropertyProxy().
This property can be written, but not read, so there is no get_value() method.
Member Typedef Documentation
template <class T >
using Glib::PropertyProxy_WriteOnly< T >::PropertyType = T |
Constructor & Destructor Documentation
template <class T >
|
inline |
Member Function Documentation
template <class T >
|
inline |
template <class T >
|
inline |
Set the value of this property back to its default value.
template <class T >
void Glib::PropertyProxy_WriteOnly< T >::set_value | ( | const PropertyType& | data | ) |
Set the value of this property.
- Parameters
-
data The new value for the property.