<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>gtkmm: Gtk::Object Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.10.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1Object.html">Object</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classGtk_1_1Object-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::Object Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme...">Gtk::Object</a> is the base class for all widgets, and for a few non-widget objects such as <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a>. <a href="classGtk_1_1Object.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::Object:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Object__inherit__graph.png" border="0" usemap="#Gtk_1_1Object_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Object_inherit__map" id="Gtk_1_1Object_inherit__map"> <area shape="rect" id="node5" href="classGtk_1_1CellRenderer.html" title="CellRenderers are used by Gtk::TreeView columns to render the Gtk::TreeModel column data appropriatel..." alt="" coords="642,132,774,159"/><area shape="rect" id="node14" href="classGtk_1_1TreeViewColumn.html" title="Typedefed as Gtk::TreeView::Column." alt="" coords="630,512,786,539"/><area shape="rect" id="node15" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="661,892,755,919"/><area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="345,512,439,539"/><area shape="rect" id="node3" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="169,512,295,539"/><area shape="rect" id="node4" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="5,512,120,539"/><area shape="rect" id="node6" href="classGtk_1_1CellRendererPixbuf.html" title="Renders a pixbuf in a cell." alt="" coords="844,5,1015,32"/><area shape="rect" id="node7" href="classGtk_1_1CellRendererProgress.html" title="Renders numbers as progress bars." alt="" coords="835,56,1023,83"/><area shape="rect" id="node8" href="classGtk_1_1CellRendererSpinner.html" title="Renders a spinning animation in a cell." alt="" coords="839,107,1020,133"/><area shape="rect" id="node9" href="classGtk_1_1CellRendererText.html" title="Renders text in a cell." alt="" coords="851,157,1008,184"/><area shape="rect" id="node13" href="classGtk_1_1CellRendererToggle.html" title="Renders a toggle button in a cell." alt="" coords="843,208,1015,235"/><area shape="rect" id="node10" href="classGtk_1_1CellRendererAccel.html" title="Renders a keyboard accelerator in a cell." alt="" coords="1078,81,1245,108"/><area shape="rect" id="node11" href="classGtk_1_1CellRendererCombo.html" title="Renders a combobox in a cell." alt="" coords="1072,132,1251,159"/><area shape="rect" id="node12" href="classGtk_1_1CellRendererSpin.html" title="Renders a spin button in a cell." alt="" coords="1081,183,1241,209"/><area shape="rect" id="node16" href="classGtk_1_1Calendar.html" title="Display a calendar and/or allow the user to select a date." alt="" coords="875,613,984,640"/><area shape="rect" id="node17" href="classGtk_1_1CellView.html" title="A widget displaying a single row of a TreeModel." alt="" coords="877,664,981,691"/><area shape="rect" id="node18" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="872,715,987,741"/><area shape="rect" id="node38" href="classGtk_1_1DrawingArea.html" title="A widget for custom user interface elements." alt="" coords="863,765,996,792"/><area shape="rect" id="node39" href="classGtk_1_1Entry.html" title="A single line text entry field." alt="" coords="887,816,972,843"/><area shape="rect" id="node42" href="classGtk_1_1Invisible.html" title="This widget is used internally in GTK+, and is probably not useful for application developers..." alt="" coords="878,867,981,893"/><area shape="rect" id="node43" href="classGtk_1_1LevelBar.html" title="A bar that can used as a level indicator." alt="" coords="876,917,983,944"/><area shape="rect" id="node44" href="classGtk_1_1Misc.html" title="A base class for widgets with alignments and padding." alt="" coords="889,968,969,995"/><area shape="rect" id="node45" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually." alt="" coords="864,1019,995,1045"/><area shape="rect" id="node46" href="classGtk_1_1Range.html" title="Base class for widgets which visualize an adjustment." alt="" coords="883,1069,975,1096"/><area shape="rect" id="node47" href="classGtk_1_1Separator.html" title="A separator widget." alt="" coords="871,1120,987,1147"/><area shape="rect" id="node48" href="classGtk_1_1Spinner.html" title="A widget that displays a spinner animation." alt="" coords="879,1171,980,1197"/><area shape="rect" id="node49" href="classGtk_1_1Switch.html" title="A "light switch"-style toggle." alt="" coords="883,1221,976,1248"/><area shape="rect" id="node19" href="classGtk_1_1Bin.html" title="A container with just one child." alt="" coords="1125,233,1197,260"/><area shape="rect" id="node20" href="classGtk_1_1Box.html" title="The Box widget organizes child widgets into a rectangular area." alt="" coords="1123,284,1199,311"/><area shape="rect" id="node21" href="classGtk_1_1Fixed.html" title="A container which allows you to position widgets at fixed coordinates." alt="" coords="1119,335,1203,361"/><area shape="rect" id="node22" href="classGtk_1_1Grid.html" title="A container which arranges its child widgets in rows and columns." alt="" coords="1122,385,1201,412"/><area shape="rect" id="node23" href="classGtk_1_1HeaderBar.html" title="A box with a centered child." alt="" coords="1101,436,1222,463"/><area shape="rect" id="node24" href="classGtk_1_1IconView.html" title="The IconView provides an alternative view of a list model." alt="" coords="1108,487,1215,513"/><area shape="rect" id="node25" href="classGtk_1_1Layout.html" title="Infinite scrollable area containing child widgets and/or custom drawing." alt="" coords="1114,537,1209,564"/><area shape="rect" id="node26" href="classGtk_1_1ListBox.html" title="A ListBox is a vertical container that contains ListBoxRow children." alt="" coords="1112,588,1211,615"/><area shape="rect" id="node27" href="classGtk_1_1MenuShell.html" title="The abstract base class for Gtk::Menu and Gtk::MenuBar." alt="" coords="1102,639,1221,665"/><area shape="rect" id="node28" href="classGtk_1_1Notebook.html" title="Container which shows one of its children at a time, in tabbed windows." alt="" coords="1104,689,1219,716"/><area shape="rect" id="node29" href="classGtk_1_1Paned.html" title="A widget with two adjustable panes." alt="" coords="1116,740,1207,767"/><area shape="rect" id="node30" href="classGtk_1_1Socket.html" title="Container for widgets from other processes." alt="" coords="1113,791,1209,817"/><area shape="rect" id="node31" href="classGtk_1_1Stack.html" title="A container that shows only one child at a time." alt="" coords="1117,841,1205,868"/><area shape="rect" id="node32" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns." alt="" coords="1119,892,1203,919"/><area shape="rect" id="node33" href="classGtk_1_1TextView.html" title="Multi-line text editing widget." alt="" coords="1108,943,1215,969"/><area shape="rect" id="node34" href="classGtk_1_1Toolbar.html" title="Bars of buttons and other widgets." alt="" coords="1113,993,1210,1020"/><area shape="rect" id="node35" href="classGtk_1_1ToolItemGroup.html" title="A ToolItemGroup is used together with ToolPalette to add ToolItems to a palette-like container with d..." alt="" coords="1089,1044,1233,1071"/><area shape="rect" id="node36" href="classGtk_1_1ToolPalette.html" title="A ToolPalette allows you to add ToolItems to a palette-like container with various categories and dra..." alt="" coords="1101,1095,1221,1121"/><area shape="rect" id="node37" href="classGtk_1_1TreeView.html" title="The TreeView widget displays the model (Gtk::TreeModel) data and allows the user to interact with it..." alt="" coords="1108,1145,1215,1172"/><area shape="rect" id="node40" href="classGtk_1_1SearchEntry.html" title="This is a subclass of Gtk::Entry that has been tailored for use as a search entry." alt="" coords="1096,1196,1227,1223"/><area shape="rect" id="node41" href="classGtk_1_1SpinButton.html" title="numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry." alt="" coords="1100,1247,1223,1273"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a2012086b1ada81a5351d6d7c83f3946c"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Object.html#a2012086b1ada81a5351d6d7c83f3946c">~Object</a> ()</td></tr> <tr class="separator:a2012086b1ada81a5351d6d7c83f3946c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94f5157285afa65f97c0c956c23bae99"><td class="memItemLeft" align="right" valign="top">GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Object.html#a94f5157285afa65f97c0c956c23bae99">gobj</a> ()</td></tr> <tr class="memdesc:a94f5157285afa65f97c0c956c23bae99"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a94f5157285afa65f97c0c956c23bae99">More...</a><br/></td></tr> <tr class="separator:a94f5157285afa65f97c0c956c23bae99"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1da4b2304169d444a4692fadac72fdfc"><td class="memItemLeft" align="right" valign="top">const GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Object.html#a1da4b2304169d444a4692fadac72fdfc">gobj</a> () const </td></tr> <tr class="memdesc:a1da4b2304169d444a4692fadac72fdfc"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a1da4b2304169d444a4692fadac72fdfc">More...</a><br/></td></tr> <tr class="separator:a1da4b2304169d444a4692fadac72fdfc"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme...">Gtk::Object</a> is the base class for all widgets, and for a few non-widget objects such as <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a>. </p> <p><a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme...">Gtk::Object</a> predates <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>; non-widgets that derive from <a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme...">Gtk::Object</a> rather than <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> do so for backward compatibility reasons.</p> <p>The most interesting difference between <a class="el" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme...">Gtk::Object</a> and <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> is the ability to use <a class="el" href="namespaceGtk.html#a753d0ddca83bd0d0decdfdcd1e93076a" title="Mark a Gtk::Object as owned by its parent container widget, so you don't need to delete it manually...">Gtk::manage()</a> 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). </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a2012086b1ada81a5351d6d7c83f3946c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Object::~Object </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a94f5157285afa65f97c0c956c23bae99"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GObject* Gtk::Object::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GtkObject. </p> </div> </div> <a class="anchor" id="a1da4b2304169d444a4692fadac72fdfc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GObject* Gtk::Object::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GtkObject. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/object.h</li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>