Ardour
9.0-pre0-582-g084a23a80d
|
#include <object.h>
Public Member Functions | |
virtual | ~Object () |
GtkObject * | gobj () |
Provides access to the underlying C GtkObject. More... | |
const GtkObject * | gobj () const |
Provides access to the underlying C GtkObject. More... | |
Glib::PropertyProxy< void * > | property_user_data () |
Glib::PropertyProxy_ReadOnly< void * > | property_user_data () const |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Object * | wrap (GtkObject *object, bool take_copy=false) |
Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustment. Gtk::Object predates Glib::Object; non-widgets that derive from Gtk::Object rather than Glib::Object do so for backward compatibility reasons.
The most interesting difference between Gtk::Object and Glib::Object is the ability to use Gtk::manage() to delegate memory management to the container widget. Gtk::Objects can also be explicitly deleted at any time, instead of using only reference-counting, and container widgets can respond when their child objects are being deleted (for instance by removing the widget).
|
virtual |
|
inline |
|
inline |
Glib::PropertyProxy< void* > Gtk::Object::property_user_data | ( | ) |
Anonymous User Data Pointer.
Glib::PropertyProxy_ReadOnly< void* > Gtk::Object::property_user_data | ( | ) | const |
Anonymous User Data Pointer.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |