gtkmm 3.4.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
Gtk::Object Class Reference

Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustment. More...

Inheritance diagram for Gtk::Object:
[legend]

List of all members.

## Public Member Functions
virtual | ~Object ()
GObject* | gobj ()
| Provides access to the underlying C GtkObject.
const GObject* | gobj () const
| Provides access to the underlying C GtkObject.
Public Member Functions inherited from Glib::Object
void * | get_data (const QueryQuark &key)
void | set_data (const Quark &key, void *data)
void | set_data (const Quark &key, void *data, DestroyNotify notify)
void | remove_data (const QueryQuark &quark)
void * | steal_data (const QueryQuark &quark)
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value)
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const
void | set_property (const Glib::ustring &property_name, const PropertyType &value)
void | get_property (const Glib::ustring &property_name, PropertyType &value) const
void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot)
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot)
void | freeze_notify ()
void | thaw_notify ()
virtual void | reference () const
virtual void | unreference () const
GObject * | gobj_copy () const
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false)

## Additional Inherited Members
Public Types inherited from Glib::Object
typedef void(* | DestroyNotify )(gpointer data)
Protected Member Functions inherited from Glib::Object
| Object ()
| Object (const Glib::ConstructParams &construct_params)
| Object (GObject *castitem)
| ObjectBase ()
| ObjectBase (const char *custom_type_name)
| ObjectBase (const std::type_info &custom_type_info)
virtual | ~ObjectBase ()=0
void | initialize (GObject *castitem)

## Detailed Description

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).

## Constructor & Destructor Documentation

virtual Gtk::Object::~Object | ( |  | ) |
| virtual

Reimplemented from Glib::Object.

## Member Function Documentation

GObject* Gtk::Object::gobj | ( |  | ) |
| inline

Provides access to the underlying C GtkObject.

Reimplemented from Glib::Object.

Reimplemented in Gtk::FontSelectionDialog, Gtk::ColorSelectionDialog, Gtk::Widget, Gtk::TreeView, Gtk::CellRenderer, Gtk::HScale, Gtk::HScrollbar, Gtk::Window, Gtk::HBox, Gtk::HButtonBox, Gtk::Calendar, Gtk::HSeparator, Gtk::VPaned, Gtk::ToolPalette, Gtk::SpinButton, Gtk::Dialog, Gtk::TextView, Gtk::AboutDialog, Gtk::Image, Gtk::IconView, Gtk::TreeViewColumn, Gtk::Entry, Gtk::Box, Gtk::MessageDialog, Gtk::Socket, Gtk::Notebook, Gtk::Assistant, Gtk::Table, Gtk::ApplicationWindow, Gtk::CellRendererAccel, Gtk::MenuBar, Gtk::ComboBox, Gtk::Paned, Gtk::ProgressBar, Gtk::OffscreenWindow, Gtk::FontSelection, Gtk::ButtonBox, Gtk::Container, Gtk::VScrollbar, Gtk::ColorSelection, Gtk::Expander, Gtk::VButtonBox, Gtk::VScale, Gtk::Grid, Gtk::InfoBar, Gtk::PrintUnixDialog, Gtk::AppChooserDialog, Gtk::CellView, Gtk::VSeparator, Gtk::FileChooserButton, Gtk::ScrolledWindow, Gtk::VBox, Gtk::LinkButton, Gtk::RecentChooserDialog, Gtk::ScaleButton, Gtk::Scrollbar, Gtk::HPaned, Gtk::CellRendererSpin, Gtk::HandleBox, Gtk::Toolbar, Gtk::AppChooserWidget, Gtk::MenuItem, Gtk::Button, Gtk::Layout, Gtk::RecentChooserMenu, Gtk::Alignment, Gtk::AppChooserButton, Gtk::Arrow, Gtk::ColorButton, Gtk::FontChooserDialog, Gtk::FontChooserWidget, Gtk::Scale, Gtk::Fixed, Gtk::FontButton, Gtk::Frame, Gtk::MenuShell, Gtk::RecentChooserWidget, Gtk::Statusbar, Gtk::CellRendererCombo, Gtk::Menu, Gtk::TearoffMenuItem, Gtk::ToolItem, Gtk::CellRendererPixbuf, Gtk::CheckButton, Gtk::EventBox, Gtk::FileChooserWidget, Gtk::Label, Gtk::ToolItemGroup, Gtk::AspectFrame, Gtk::CellRendererSpinner, Gtk::ComboBoxText, Gtk::RadioButton, Gtk::Switch, Gtk::PageSetupUnixDialog, Gtk::ColorChooserDialog, Gtk::FileChooserDialog, Gtk::ImageMenuItem, Gtk::Misc, Gtk::Separator, Gtk::SeparatorToolItem, Gtk::Bin, Gtk::MenuToolButton, Gtk::RadioToolButton, Gtk::ToggleToolButton, Gtk::VolumeButton, Gtk::RadioMenuItem, Gtk::CellRendererProgress, Gtk::Range, Gtk::Viewport, Gtk::CellRendererToggle, Gtk::CheckMenuItem, Gtk::SeparatorMenuItem, Gtk::Spinner, Gtk::ToggleButton, Gtk::AccelLabel, Gtk::CellRendererText, Gtk::ToolButton, Gtk::Plug, Gtk::DrawingArea, and Gtk::Invisible.

const GObject* Gtk::Object::gobj | ( |  | ) | const
| inline

Provides access to the underlying C GtkObject.

Reimplemented from Glib::Object.

Reimplemented in Gtk::FontSelectionDialog, Gtk::ColorSelectionDialog, Gtk::Widget, Gtk::TreeView, Gtk::CellRenderer, Gtk::HScale, Gtk::HScrollbar, Gtk::Window, Gtk::HBox, Gtk::HButtonBox, Gtk::Calendar, Gtk::HSeparator, Gtk::VPaned, Gtk::ToolPalette, Gtk::SpinButton, Gtk::Dialog, Gtk::TextView, Gtk::AboutDialog, Gtk::Image, Gtk::IconView, Gtk::TreeViewColumn, Gtk::Entry, Gtk::Box, Gtk::MessageDialog, Gtk::Socket, Gtk::Notebook, Gtk::Assistant, Gtk::Table, Gtk::ApplicationWindow, Gtk::CellRendererAccel, Gtk::MenuBar, Gtk::ComboBox, Gtk::Paned, Gtk::ProgressBar, Gtk::OffscreenWindow, Gtk::FontSelection, Gtk::ButtonBox, Gtk::Container, Gtk::VScrollbar, Gtk::ColorSelection, Gtk::Expander, Gtk::VButtonBox, Gtk::VScale, Gtk::Grid, Gtk::InfoBar, Gtk::PrintUnixDialog, Gtk::AppChooserDialog, Gtk::CellView, Gtk::VSeparator, Gtk::FileChooserButton, Gtk::ScrolledWindow, Gtk::VBox, Gtk::LinkButton, Gtk::RecentChooserDialog, Gtk::ScaleButton, Gtk::Scrollbar, Gtk::HPaned, Gtk::CellRendererSpin, Gtk::HandleBox, Gtk::Toolbar, Gtk::AppChooserWidget, Gtk::MenuItem, Gtk::Button, Gtk::Layout, Gtk::RecentChooserMenu, Gtk::Alignment, Gtk::AppChooserButton, Gtk::Arrow, Gtk::ColorButton, Gtk::FontChooserDialog, Gtk::FontChooserWidget, Gtk::Scale, Gtk::Fixed, Gtk::FontButton, Gtk::Frame, Gtk::MenuShell, Gtk::RecentChooserWidget, Gtk::Statusbar, Gtk::CellRendererCombo, Gtk::Menu, Gtk::TearoffMenuItem, Gtk::ToolItem, Gtk::CellRendererPixbuf, Gtk::CheckButton, Gtk::EventBox, Gtk::FileChooserWidget, Gtk::Label, Gtk::ToolItemGroup, Gtk::AspectFrame, Gtk::CellRendererSpinner, Gtk::ComboBoxText, Gtk::RadioButton, Gtk::Switch, Gtk::PageSetupUnixDialog, Gtk::ColorChooserDialog, Gtk::FileChooserDialog, Gtk::ImageMenuItem, Gtk::Misc, Gtk::Separator, Gtk::SeparatorToolItem, Gtk::Bin, Gtk::MenuToolButton, Gtk::RadioToolButton, Gtk::ToggleToolButton, Gtk::VolumeButton, Gtk::RadioMenuItem, Gtk::CellRendererProgress, Gtk::Range, Gtk::Viewport, Gtk::CellRendererToggle, Gtk::CheckMenuItem, Gtk::SeparatorMenuItem, Gtk::Spinner, Gtk::ToggleButton, Gtk::AccelLabel, Gtk::CellRendererText, Gtk::ToolButton, Gtk::Plug, Gtk::DrawingArea, and Gtk::Invisible.

The documentation for this class was generated from the following file:

- gtkmm/object.h