1
0
Fork 0

docs: Add a note about other state variables

Explain that the private structure would be the
place to store other state variables for the instance.
This commit is contained in:
Elliot Smith 2011-01-31 11:05:27 +00:00
parent 08f5dc08d0
commit 5530c5e2ec

View file

@ -22,6 +22,10 @@ G_DEFINE_TYPE (CbButton, cb_button, CLUTTER_TYPE_ACTOR);
* intend to create wrapper functions which modify properties on the
* actors composing an object, we should keep a reference to the actors
* here
*
* this is also the place where other state variables go:
* for example, you might record the current state of the button
* (toggled on or off) or a background image
*/
struct _CbButtonPrivate
{