|
Glib::ValueBase Class ReferenceInheritance diagram for Glib::ValueBase: |
Public Methods | |
ValueBase () | |
Initializes the GValue, but without a type. | |
ValueBase (const ValueBase& other) | |
ValueBase& | operator= (const ValueBase& other) |
~ValueBase () | |
void | init (GType type) |
Setup the GValue for storing the specified type. | |
void | reset () |
Reset contents to the default value of its type. | |
GValue* | gobj () |
const GValue* | gobj () const |
Protected Attributes | |
GValue | gobject_ |
|
Initializes the GValue, but without a type. You have to call init() before using the set(), get(), or reset() methods. |
|
|
|
|
|
|
|
|
|
Setup the GValue for storing the specified type. The contents will be initialized to the default value for this type. Note that init() should never be called twice. init() is not implemented as constructor, to avoid the necessity to implement a forward constructor in each derived class. |
|
|
|
Reset contents to the default value of its type.
|
|
|