Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# property.h File Reference

GObject properties C++ interface. More...

`#include <inti/glib/value.h>`

Go to the source code of this file.

## Namespaces

- namespace Inti
- namespace Inti::G
- namespace Inti::Gtk

## Detailed Description

GObject properties C++ interface.

The property classes declared in this file are used by Inti to wrap the GObject property system. Properties are object specific. For each property, a class declares a protected static property that requires an object pointer and a class specific public accessor function that passes the object pointer for you. Most properties are readable and writable, but some one or the other. You can tell if a property is readable and/or writable by its protected declaration. To set a property you use its set() method. To get a property use its get method. It is unlikely you will ever need to use these property classes yourself, unless your wrapping a new GTK+ C object. Usually you will use those properties already implemented by Inti. Setting and getting object properties is discussed in the Header Files section of the tutorial Introduction.
Main Page - Footer