~ubuntu-branches/ubuntu/precise/gtkmm3.0/precise

« back to all changes in this revision

Viewing changes to docs/reference/html/classGtk_1_1Misc.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-06-17 00:12:44 UTC
  • Revision ID: james.westby@ubuntu.com-20110617001244-9hl5an15hiaaahi6
Tags: upstream-3.0.1
ImportĀ upstreamĀ versionĀ 3.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>gtkmm: Gtk::Misc Class Reference</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.7.3 -->
 
11
<div id="top">
 
12
<div id="titlearea">
 
13
<table cellspacing="0" cellpadding="0">
 
14
 <tbody>
 
15
 <tr style="height: 56px;">
 
16
  <td style="padding-left: 0.5em;">
 
17
   <div id="projectname">gtkmm&#160;<span id="projectnumber">3.0.1</span></div>
 
18
  </td>
 
19
 </tr>
 
20
 </tbody>
 
21
</table>
 
22
</div>
 
23
  <div id="navrow1" class="tabs">
 
24
    <ul class="tablist">
 
25
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 
26
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
 
27
      <li><a href="modules.html"><span>Modules</span></a></li>
 
28
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
29
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 
30
    </ul>
 
31
  </div>
 
32
  <div id="navrow2" class="tabs2">
 
33
    <ul class="tablist">
 
34
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
 
35
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
 
36
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
 
37
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
 
38
    </ul>
 
39
  </div>
 
40
  <div id="nav-path" class="navpath">
 
41
    <ul>
 
42
      <li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
 
43
      <li class="navelem"><a class="el" href="classGtk_1_1Misc.html">Misc</a> </li>
 
44
    </ul>
 
45
  </div>
 
46
</div>
 
47
<div class="header">
 
48
  <div class="summary">
 
49
<a href="#pub-methods">Public Member Functions</a> &#124;
 
50
<a href="#pro-methods">Protected Member Functions</a> &#124;
 
51
<a href="#related">Related Functions</a> </div>
 
52
  <div class="headertitle">
 
53
<h1>Gtk::Misc Class Reference</h1> </div>
 
54
</div>
 
55
<div class="contents">
 
56
<!-- doxytag: class="Gtk::Misc" --><!-- doxytag: inherits="Gtk::Widget" -->
 
57
<p>A base class for widgets with alignments and padding. <a href="#_details">More...</a></p>
 
58
<div class="dynheader">
 
59
Inheritance diagram for Gtk::Misc:</div>
 
60
<div class="dyncontent">
 
61
<div class="center"><img src="classGtk_1_1Misc__inherit__graph.png" border="0" usemap="#Gtk_1_1Misc_inherit__map" alt="Inheritance graph"/></div>
 
62
<map name="Gtk_1_1Misc_inherit__map" id="Gtk_1_1Misc_inherit__map">
 
63
<area shape="rect" id="node20" href="classGtk_1_1Arrow.html" title="Produces an arrow pointing in one of the four cardinal directions." alt="" coords="21,486,104,517"/><area shape="rect" id="node22" href="classGtk_1_1Image.html" title="A widget displaying an image." alt="" coords="128,486,213,517"/><area shape="rect" id="node24" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text." alt="" coords="237,486,320,517"/><area shape="rect" id="node2" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="125,326,216,357"/><area shape="rect" id="node4" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="7,246,95,277"/><area shape="rect" id="node6" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,166,96,197"/><area shape="rect" id="node8" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,86,171,117"/><area shape="rect" id="node14" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="120,166,224,197"/><area shape="rect" id="node10" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,6,164,37"/><area shape="rect" id="node12" href="classGtk_1_1Buildable.html" title="A base class for objects that can be built by Gtk::Builder." alt="" coords="119,246,223,277"/><area shape="rect" id="node17" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="247,246,369,277"/><area shape="rect" id="node26" href="classGtk_1_1AccelLabel.html" title="A label which displays an accelerator key on the right of the text." alt="" coords="221,566,336,597"/></map>
 
64
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
65
<div class="dynheader">
 
66
Collaboration diagram for Gtk::Misc:</div>
 
67
<div class="dyncontent">
 
68
<div class="center"><img src="classGtk_1_1Misc__coll__graph.png" border="0" usemap="#Gtk_1_1Misc_coll__map" alt="Collaboration graph"/></div>
 
69
<map name="Gtk_1_1Misc_coll__map" id="Gtk_1_1Misc_coll__map">
 
70
<area shape="rect" id="node2" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="125,326,216,357"/><area shape="rect" id="node4" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non&#45;widget objects such as Gtk::Adjustme..." alt="" coords="7,246,95,277"/><area shape="rect" id="node6" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,166,96,197"/><area shape="rect" id="node8" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,86,171,117"/><area shape="rect" id="node14" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="120,166,224,197"/><area shape="rect" id="node10" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,6,164,37"/><area shape="rect" id="node12" href="classGtk_1_1Buildable.html" title="A base class for objects that can be built by Gtk::Builder." alt="" coords="119,246,223,277"/><area shape="rect" id="node17" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="247,246,369,277"/></map>
 
71
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
 
72
 
 
73
<p><a href="classGtk_1_1Misc-members.html">List of all members.</a></p>
 
74
<table class="memberdecls">
 
75
<tr><td colspan="2"><h2><a name="pub-methods"></a>
 
76
Public Member Functions</h2></td></tr>
 
77
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a2320fb8d7eef72cb11426cd59a86d428">~Misc</a> ()</td></tr>
 
78
<tr><td class="memItemLeft" align="right" valign="top">GtkMisc*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a542556cc6ec31f3a33eda39b75cfa3a1">gobj</a> ()</td></tr>
 
79
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a542556cc6ec31f3a33eda39b75cfa3a1"></a><br/></td></tr>
 
80
<tr><td class="memItemLeft" align="right" valign="top">const GtkMisc*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a6cfcf3a8abda85419ae8dd05e2fb192f">gobj</a> () const </td></tr>
 
81
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a6cfcf3a8abda85419ae8dd05e2fb192f"></a><br/></td></tr>
 
82
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a52b2675874cf46a3097938756b9fe9e8">set_alignment</a> (float xalign=0.0, float yalign=0.5)</td></tr>
 
83
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#adc0ad82a0d07604a1bf93b1b4f94df71">set_alignment</a> (<a class="el" href="group__gtkmmEnums.html#ga07dda5f4c3d75f3ccb9fbec43a46b411">Align</a> xalign=Gtk::ALIGN_START, <a class="el" href="group__gtkmmEnums.html#ga07dda5f4c3d75f3ccb9fbec43a46b411">Align</a> yalign=Gtk::ALIGN_CENTER)</td></tr>
 
84
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a33c9f1234733ade8faf9c8d267b52d22">get_alignment</a> (float&amp; xalign, float&amp; yalign) const </td></tr>
 
85
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the X and Y alignment of the widget within its allocation. <a href="#a33c9f1234733ade8faf9c8d267b52d22"></a><br/></td></tr>
 
86
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#ae030e331f148d0a6f8d56d4b09d453ef">set_padding</a> (int xpad, int ypad)</td></tr>
 
87
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a15beed100609e7c42b3ca73421d2291d">get_padding</a> (int&amp; xpad, int&amp; ypad) const </td></tr>
 
88
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the padding in the X and Y directions of the widget. <a href="#a15beed100609e7c42b3ca73421d2291d"></a><br/></td></tr>
 
89
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a03cf5bf073cc64fb196805ac32524267">property_xalign</a> ()</td></tr>
 
90
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The horizontal alignment, from 0 (left) to 1 (right). <a href="#a03cf5bf073cc64fb196805ac32524267"></a><br/></td></tr>
 
91
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
 
92
&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a3c5470e80b2edaac11bdf3c967f1e17f">property_xalign</a> () const </td></tr>
 
93
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The horizontal alignment, from 0 (left) to 1 (right). <a href="#a3c5470e80b2edaac11bdf3c967f1e17f"></a><br/></td></tr>
 
94
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a10c0f882f1e51e0e427357076a203e51">property_yalign</a> ()</td></tr>
 
95
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The vertical alignment, from 0 (top) to 1 (bottom). <a href="#a10c0f882f1e51e0e427357076a203e51"></a><br/></td></tr>
 
96
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
 
97
&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#ab20de06a1106605104dd6a73b6b6934c">property_yalign</a> () const </td></tr>
 
98
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The vertical alignment, from 0 (top) to 1 (bottom). <a href="#ab20de06a1106605104dd6a73b6b6934c"></a><br/></td></tr>
 
99
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#ab6be8f058d89d2bed1c6148d9f59cf02">property_xpad</a> ()</td></tr>
 
100
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The amount of space to add on the left and right of the widget, in pixels. <a href="#ab6be8f058d89d2bed1c6148d9f59cf02"></a><br/></td></tr>
 
101
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a690680af04266ba62e6acb2484188e3e">property_xpad</a> () const </td></tr>
 
102
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The amount of space to add on the left and right of the widget, in pixels. <a href="#a690680af04266ba62e6acb2484188e3e"></a><br/></td></tr>
 
103
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#aa11c35df68a8a1dc40e45a610f81ce51">property_ypad</a> ()</td></tr>
 
104
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The amount of space to add on the top and bottom of the widget, in pixels. <a href="#aa11c35df68a8a1dc40e45a610f81ce51"></a><br/></td></tr>
 
105
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a6462edd51b31917cb808b7cd1aa33e9a">property_ypad</a> () const </td></tr>
 
106
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The amount of space to add on the top and bottom of the widget, in pixels. <a href="#a6462edd51b31917cb808b7cd1aa33e9a"></a><br/></td></tr>
 
107
<tr><td colspan="2"><h2><a name="pro-methods"></a>
 
108
Protected Member Functions</h2></td></tr>
 
109
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a8592d75a3371b3261a9e132fe65098c7">Misc</a> ()</td></tr>
 
110
<tr><td colspan="2"><h2><a name="related"></a>
 
111
Related Functions</h2></td></tr>
 
112
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
 
113
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Misc.html">Gtk::Misc</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#a8350d4817f03a77df991dd1960d77505">wrap</a> (GtkMisc* object, bool take_copy=false)</td></tr>
 
114
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a8350d4817f03a77df991dd1960d77505"></a><br/></td></tr>
 
115
</table>
 
116
<hr/><a name="_details"></a><h2>Detailed Description</h2>
 
117
<div class="textblock"><p>A base class for widgets with alignments and padding. </p>
 
118
<p>This is an abstract for a set of utility widgets that lack a physical window. They do have alignment and padding within their defined space.</p>
 
119
<p>Without a window, widgets of this type cannot capture events. To capture events place in <a class="el" href="classGtk_1_1EventBox.html" title="Event capturing box.">Gtk::EventBox</a>. </p>
 
120
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
121
<a class="anchor" id="a2320fb8d7eef72cb11426cd59a86d428"></a><!-- doxytag: member="Gtk::Misc::~Misc" ref="a2320fb8d7eef72cb11426cd59a86d428" args="()" -->
 
122
<div class="memitem">
 
123
<div class="memproto">
 
124
      <table class="memname">
 
125
        <tr>
 
126
          <td class="memname">virtual Gtk::Misc::~Misc </td>
 
127
          <td>(</td>
 
128
          <td class="paramname"></td><td>)</td>
 
129
          <td><code> [virtual]</code></td>
 
130
        </tr>
 
131
      </table>
 
132
</div>
 
133
<div class="memdoc">
 
134
 
 
135
</div>
 
136
</div>
 
137
<a class="anchor" id="a8592d75a3371b3261a9e132fe65098c7"></a><!-- doxytag: member="Gtk::Misc::Misc" ref="a8592d75a3371b3261a9e132fe65098c7" args="()" -->
 
138
<div class="memitem">
 
139
<div class="memproto">
 
140
      <table class="memname">
 
141
        <tr>
 
142
          <td class="memname">Gtk::Misc::Misc </td>
 
143
          <td>(</td>
 
144
          <td class="paramname"></td><td>)</td>
 
145
          <td><code> [protected]</code></td>
 
146
        </tr>
 
147
      </table>
 
148
</div>
 
149
<div class="memdoc">
 
150
 
 
151
</div>
 
152
</div>
 
153
<hr/><h2>Member Function Documentation</h2>
 
154
<a class="anchor" id="a33c9f1234733ade8faf9c8d267b52d22"></a><!-- doxytag: member="Gtk::Misc::get_alignment" ref="a33c9f1234733ade8faf9c8d267b52d22" args="(float &amp;xalign, float &amp;yalign) const " -->
 
155
<div class="memitem">
 
156
<div class="memproto">
 
157
      <table class="memname">
 
158
        <tr>
 
159
          <td class="memname">void Gtk::Misc::get_alignment </td>
 
160
          <td>(</td>
 
161
          <td class="paramtype">float &amp;&#160;</td>
 
162
          <td class="paramname"><em>xalign</em>, </td>
 
163
        </tr>
 
164
        <tr>
 
165
          <td class="paramkey"></td>
 
166
          <td></td>
 
167
          <td class="paramtype">float &amp;&#160;</td>
 
168
          <td class="paramname"><em>yalign</em>&#160;</td>
 
169
        </tr>
 
170
        <tr>
 
171
          <td></td>
 
172
          <td>)</td>
 
173
          <td></td><td> const</td>
 
174
        </tr>
 
175
      </table>
 
176
</div>
 
177
<div class="memdoc">
 
178
 
 
179
<p>Gets the X and Y alignment of the widget within its allocation. </p>
 
180
<p>See <a class="el" href="classGtk_1_1Misc.html#a52b2675874cf46a3097938756b9fe9e8">set_alignment()</a>. </p>
 
181
<dl><dt><b>Parameters:</b></dt><dd>
 
182
  <table class="params">
 
183
    <tr><td class="paramname">xalign</td><td>Location to store X alignment of <em>misc</em>, or <code>0</code>. </td></tr>
 
184
    <tr><td class="paramname">yalign</td><td>Location to store Y alignment of <em>misc</em>, or <code>0</code>. </td></tr>
 
185
  </table>
 
186
  </dd>
 
187
</dl>
 
188
 
 
189
</div>
 
190
</div>
 
191
<a class="anchor" id="a15beed100609e7c42b3ca73421d2291d"></a><!-- doxytag: member="Gtk::Misc::get_padding" ref="a15beed100609e7c42b3ca73421d2291d" args="(int &amp;xpad, int &amp;ypad) const " -->
 
192
<div class="memitem">
 
193
<div class="memproto">
 
194
      <table class="memname">
 
195
        <tr>
 
196
          <td class="memname">void Gtk::Misc::get_padding </td>
 
197
          <td>(</td>
 
198
          <td class="paramtype">int &amp;&#160;</td>
 
199
          <td class="paramname"><em>xpad</em>, </td>
 
200
        </tr>
 
201
        <tr>
 
202
          <td class="paramkey"></td>
 
203
          <td></td>
 
204
          <td class="paramtype">int &amp;&#160;</td>
 
205
          <td class="paramname"><em>ypad</em>&#160;</td>
 
206
        </tr>
 
207
        <tr>
 
208
          <td></td>
 
209
          <td>)</td>
 
210
          <td></td><td> const</td>
 
211
        </tr>
 
212
      </table>
 
213
</div>
 
214
<div class="memdoc">
 
215
 
 
216
<p>Gets the padding in the X and Y directions of the widget. </p>
 
217
<p>See <a class="el" href="classGtk_1_1Misc.html#ae030e331f148d0a6f8d56d4b09d453ef">set_padding()</a>. </p>
 
218
<dl><dt><b>Parameters:</b></dt><dd>
 
219
  <table class="params">
 
220
    <tr><td class="paramname">xpad</td><td>Location to store padding in the X direction, or <code>0</code>. </td></tr>
 
221
    <tr><td class="paramname">ypad</td><td>Location to store padding in the Y direction, or <code>0</code>. </td></tr>
 
222
  </table>
 
223
  </dd>
 
224
</dl>
 
225
 
 
226
</div>
 
227
</div>
 
228
<a class="anchor" id="a542556cc6ec31f3a33eda39b75cfa3a1"></a><!-- doxytag: member="Gtk::Misc::gobj" ref="a542556cc6ec31f3a33eda39b75cfa3a1" args="()" -->
 
229
<div class="memitem">
 
230
<div class="memproto">
 
231
      <table class="memname">
 
232
        <tr>
 
233
          <td class="memname">GtkMisc* Gtk::Misc::gobj </td>
 
234
          <td>(</td>
 
235
          <td class="paramname"></td><td>)</td>
 
236
          <td><code> [inline]</code></td>
 
237
        </tr>
 
238
      </table>
 
239
</div>
 
240
<div class="memdoc">
 
241
 
 
242
<p>Provides access to the underlying C GtkObject. </p>
 
243
 
 
244
<p>Reimplemented from <a class="el" href="classGtk_1_1Widget.html#a6667a82920375b2ebde07bc1ffdc3641">Gtk::Widget</a>.</p>
 
245
 
 
246
<p>Reimplemented in <a class="el" href="classGtk_1_1AccelLabel.html#a5fbd19abe44e2f850b3f8bcc2257ccd5">Gtk::AccelLabel</a>, <a class="el" href="classGtk_1_1Arrow.html#a2611ac3fb3517e9ff8495cc85ba5a73c">Gtk::Arrow</a>, <a class="el" href="classGtk_1_1Image.html#a4bfed69cb1f978b1f03e8e91fe1da537">Gtk::Image</a>, and <a class="el" href="classGtk_1_1Label.html#aa1a2f020caac2692098a97dc6828a23c">Gtk::Label</a>.</p>
 
247
 
 
248
</div>
 
249
</div>
 
250
<a class="anchor" id="a6cfcf3a8abda85419ae8dd05e2fb192f"></a><!-- doxytag: member="Gtk::Misc::gobj" ref="a6cfcf3a8abda85419ae8dd05e2fb192f" args="() const " -->
 
251
<div class="memitem">
 
252
<div class="memproto">
 
253
      <table class="memname">
 
254
        <tr>
 
255
          <td class="memname">const GtkMisc* Gtk::Misc::gobj </td>
 
256
          <td>(</td>
 
257
          <td class="paramname"></td><td>)</td>
 
258
          <td> const<code> [inline]</code></td>
 
259
        </tr>
 
260
      </table>
 
261
</div>
 
262
<div class="memdoc">
 
263
 
 
264
<p>Provides access to the underlying C GtkObject. </p>
 
265
 
 
266
<p>Reimplemented from <a class="el" href="classGtk_1_1Widget.html#ad998178529a53b80f3de96d10b1deffd">Gtk::Widget</a>.</p>
 
267
 
 
268
<p>Reimplemented in <a class="el" href="classGtk_1_1AccelLabel.html#ac04ee56b0e32063a9b2594b372227608">Gtk::AccelLabel</a>, <a class="el" href="classGtk_1_1Arrow.html#ad2749351deb48664df28b16880bf9217">Gtk::Arrow</a>, <a class="el" href="classGtk_1_1Image.html#a63a86a9b0a8a37161cef7971b21e9ac6">Gtk::Image</a>, and <a class="el" href="classGtk_1_1Label.html#a29a59147ccef87f9213821dab85bbf10">Gtk::Label</a>.</p>
 
269
 
 
270
</div>
 
271
</div>
 
272
<a class="anchor" id="a03cf5bf073cc64fb196805ac32524267"></a><!-- doxytag: member="Gtk::Misc::property_xalign" ref="a03cf5bf073cc64fb196805ac32524267" args="()" -->
 
273
<div class="memitem">
 
274
<div class="memproto">
 
275
      <table class="memname">
 
276
        <tr>
 
277
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;float&gt; Gtk::Misc::property_xalign </td>
 
278
          <td>(</td>
 
279
          <td class="paramname"></td><td>)</td>
 
280
          <td></td>
 
281
        </tr>
 
282
      </table>
 
283
</div>
 
284
<div class="memdoc">
 
285
 
 
286
<p>The horizontal alignment, from 0 (left) to 1 (right). </p>
 
287
<p>Reversed for RTL layouts.</p>
 
288
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
289
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
290
 
 
291
</div>
 
292
</div>
 
293
<a class="anchor" id="a3c5470e80b2edaac11bdf3c967f1e17f"></a><!-- doxytag: member="Gtk::Misc::property_xalign" ref="a3c5470e80b2edaac11bdf3c967f1e17f" args="() const " -->
 
294
<div class="memitem">
 
295
<div class="memproto">
 
296
      <table class="memname">
 
297
        <tr>
 
298
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;float&gt; Gtk::Misc::property_xalign </td>
 
299
          <td>(</td>
 
300
          <td class="paramname"></td><td>)</td>
 
301
          <td> const</td>
 
302
        </tr>
 
303
      </table>
 
304
</div>
 
305
<div class="memdoc">
 
306
 
 
307
<p>The horizontal alignment, from 0 (left) to 1 (right). </p>
 
308
<p>Reversed for RTL layouts.</p>
 
309
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
310
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
311
 
 
312
</div>
 
313
</div>
 
314
<a class="anchor" id="ab6be8f058d89d2bed1c6148d9f59cf02"></a><!-- doxytag: member="Gtk::Misc::property_xpad" ref="ab6be8f058d89d2bed1c6148d9f59cf02" args="()" -->
 
315
<div class="memitem">
 
316
<div class="memproto">
 
317
      <table class="memname">
 
318
        <tr>
 
319
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::Misc::property_xpad </td>
 
320
          <td>(</td>
 
321
          <td class="paramname"></td><td>)</td>
 
322
          <td></td>
 
323
        </tr>
 
324
      </table>
 
325
</div>
 
326
<div class="memdoc">
 
327
 
 
328
<p>The amount of space to add on the left and right of the widget, in pixels. </p>
 
329
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
330
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
331
 
 
332
</div>
 
333
</div>
 
334
<a class="anchor" id="a690680af04266ba62e6acb2484188e3e"></a><!-- doxytag: member="Gtk::Misc::property_xpad" ref="a690680af04266ba62e6acb2484188e3e" args="() const " -->
 
335
<div class="memitem">
 
336
<div class="memproto">
 
337
      <table class="memname">
 
338
        <tr>
 
339
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Misc::property_xpad </td>
 
340
          <td>(</td>
 
341
          <td class="paramname"></td><td>)</td>
 
342
          <td> const</td>
 
343
        </tr>
 
344
      </table>
 
345
</div>
 
346
<div class="memdoc">
 
347
 
 
348
<p>The amount of space to add on the left and right of the widget, in pixels. </p>
 
349
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
350
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
351
 
 
352
</div>
 
353
</div>
 
354
<a class="anchor" id="ab20de06a1106605104dd6a73b6b6934c"></a><!-- doxytag: member="Gtk::Misc::property_yalign" ref="ab20de06a1106605104dd6a73b6b6934c" args="() const " -->
 
355
<div class="memitem">
 
356
<div class="memproto">
 
357
      <table class="memname">
 
358
        <tr>
 
359
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;float&gt; Gtk::Misc::property_yalign </td>
 
360
          <td>(</td>
 
361
          <td class="paramname"></td><td>)</td>
 
362
          <td> const</td>
 
363
        </tr>
 
364
      </table>
 
365
</div>
 
366
<div class="memdoc">
 
367
 
 
368
<p>The vertical alignment, from 0 (top) to 1 (bottom). </p>
 
369
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
370
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
371
 
 
372
</div>
 
373
</div>
 
374
<a class="anchor" id="a10c0f882f1e51e0e427357076a203e51"></a><!-- doxytag: member="Gtk::Misc::property_yalign" ref="a10c0f882f1e51e0e427357076a203e51" args="()" -->
 
375
<div class="memitem">
 
376
<div class="memproto">
 
377
      <table class="memname">
 
378
        <tr>
 
379
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;float&gt; Gtk::Misc::property_yalign </td>
 
380
          <td>(</td>
 
381
          <td class="paramname"></td><td>)</td>
 
382
          <td></td>
 
383
        </tr>
 
384
      </table>
 
385
</div>
 
386
<div class="memdoc">
 
387
 
 
388
<p>The vertical alignment, from 0 (top) to 1 (bottom). </p>
 
389
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
390
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
391
 
 
392
</div>
 
393
</div>
 
394
<a class="anchor" id="a6462edd51b31917cb808b7cd1aa33e9a"></a><!-- doxytag: member="Gtk::Misc::property_ypad" ref="a6462edd51b31917cb808b7cd1aa33e9a" args="() const " -->
 
395
<div class="memitem">
 
396
<div class="memproto">
 
397
      <table class="memname">
 
398
        <tr>
 
399
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gtk::Misc::property_ypad </td>
 
400
          <td>(</td>
 
401
          <td class="paramname"></td><td>)</td>
 
402
          <td> const</td>
 
403
        </tr>
 
404
      </table>
 
405
</div>
 
406
<div class="memdoc">
 
407
 
 
408
<p>The amount of space to add on the top and bottom of the widget, in pixels. </p>
 
409
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
410
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
411
 
 
412
</div>
 
413
</div>
 
414
<a class="anchor" id="aa11c35df68a8a1dc40e45a610f81ce51"></a><!-- doxytag: member="Gtk::Misc::property_ypad" ref="aa11c35df68a8a1dc40e45a610f81ce51" args="()" -->
 
415
<div class="memitem">
 
416
<div class="memproto">
 
417
      <table class="memname">
 
418
        <tr>
 
419
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;int&gt; Gtk::Misc::property_ypad </td>
 
420
          <td>(</td>
 
421
          <td class="paramname"></td><td>)</td>
 
422
          <td></td>
 
423
        </tr>
 
424
      </table>
 
425
</div>
 
426
<div class="memdoc">
 
427
 
 
428
<p>The amount of space to add on the top and bottom of the widget, in pixels. </p>
 
429
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
 
430
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
 
431
 
 
432
</div>
 
433
</div>
 
434
<a class="anchor" id="a52b2675874cf46a3097938756b9fe9e8"></a><!-- doxytag: member="Gtk::Misc::set_alignment" ref="a52b2675874cf46a3097938756b9fe9e8" args="(float xalign=0.0, float yalign=0.5)" -->
 
435
<div class="memitem">
 
436
<div class="memproto">
 
437
      <table class="memname">
 
438
        <tr>
 
439
          <td class="memname">void Gtk::Misc::set_alignment </td>
 
440
          <td>(</td>
 
441
          <td class="paramtype">float&#160;</td>
 
442
          <td class="paramname"><em>xalign</em> = <code>0.0</code>, </td>
 
443
        </tr>
 
444
        <tr>
 
445
          <td class="paramkey"></td>
 
446
          <td></td>
 
447
          <td class="paramtype">float&#160;</td>
 
448
          <td class="paramname"><em>yalign</em> = <code>0.5</code>&#160;</td>
 
449
        </tr>
 
450
        <tr>
 
451
          <td></td>
 
452
          <td>)</td>
 
453
          <td></td><td></td>
 
454
        </tr>
 
455
      </table>
 
456
</div>
 
457
<div class="memdoc">
 
458
 
 
459
</div>
 
460
</div>
 
461
<a class="anchor" id="adc0ad82a0d07604a1bf93b1b4f94df71"></a><!-- doxytag: member="Gtk::Misc::set_alignment" ref="adc0ad82a0d07604a1bf93b1b4f94df71" args="(Align xalign=Gtk::ALIGN_START, Align yalign=Gtk::ALIGN_CENTER)" -->
 
462
<div class="memitem">
 
463
<div class="memproto">
 
464
      <table class="memname">
 
465
        <tr>
 
466
          <td class="memname">void Gtk::Misc::set_alignment </td>
 
467
          <td>(</td>
 
468
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga07dda5f4c3d75f3ccb9fbec43a46b411">Align</a>&#160;</td>
 
469
          <td class="paramname"><em>xalign</em> = <code>Gtk::ALIGN_START</code>, </td>
 
470
        </tr>
 
471
        <tr>
 
472
          <td class="paramkey"></td>
 
473
          <td></td>
 
474
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga07dda5f4c3d75f3ccb9fbec43a46b411">Align</a>&#160;</td>
 
475
          <td class="paramname"><em>yalign</em> = <code>Gtk::ALIGN_CENTER</code>&#160;</td>
 
476
        </tr>
 
477
        <tr>
 
478
          <td></td>
 
479
          <td>)</td>
 
480
          <td></td><td></td>
 
481
        </tr>
 
482
      </table>
 
483
</div>
 
484
<div class="memdoc">
 
485
 
 
486
</div>
 
487
</div>
 
488
<a class="anchor" id="ae030e331f148d0a6f8d56d4b09d453ef"></a><!-- doxytag: member="Gtk::Misc::set_padding" ref="ae030e331f148d0a6f8d56d4b09d453ef" args="(int xpad, int ypad)" -->
 
489
<div class="memitem">
 
490
<div class="memproto">
 
491
      <table class="memname">
 
492
        <tr>
 
493
          <td class="memname">void Gtk::Misc::set_padding </td>
 
494
          <td>(</td>
 
495
          <td class="paramtype">int&#160;</td>
 
496
          <td class="paramname"><em>xpad</em>, </td>
 
497
        </tr>
 
498
        <tr>
 
499
          <td class="paramkey"></td>
 
500
          <td></td>
 
501
          <td class="paramtype">int&#160;</td>
 
502
          <td class="paramname"><em>ypad</em>&#160;</td>
 
503
        </tr>
 
504
        <tr>
 
505
          <td></td>
 
506
          <td>)</td>
 
507
          <td></td><td></td>
 
508
        </tr>
 
509
      </table>
 
510
</div>
 
511
<div class="memdoc">
 
512
 
 
513
</div>
 
514
</div>
 
515
<hr/><h2>Friends And Related Function Documentation</h2>
 
516
<a class="anchor" id="a8350d4817f03a77df991dd1960d77505"></a><!-- doxytag: member="Gtk::Misc::wrap" ref="a8350d4817f03a77df991dd1960d77505" args="(GtkMisc *object, bool take_copy=false)" -->
 
517
<div class="memitem">
 
518
<div class="memproto">
 
519
      <table class="memname">
 
520
        <tr>
 
521
          <td class="memname"><a class="el" href="classGtk_1_1Misc.html">Gtk::Misc</a>* wrap </td>
 
522
          <td>(</td>
 
523
          <td class="paramtype">GtkMisc *&#160;</td>
 
524
          <td class="paramname"><em>object</em>, </td>
 
525
        </tr>
 
526
        <tr>
 
527
          <td class="paramkey"></td>
 
528
          <td></td>
 
529
          <td class="paramtype">bool&#160;</td>
 
530
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
 
531
        </tr>
 
532
        <tr>
 
533
          <td></td>
 
534
          <td>)</td>
 
535
          <td></td><td><code> [related]</code></td>
 
536
        </tr>
 
537
      </table>
 
538
</div>
 
539
<div class="memdoc">
 
540
 
 
541
<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
 
542
<dl><dt><b>Parameters:</b></dt><dd>
 
543
  <table class="params">
 
544
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
 
545
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
 
546
  </table>
 
547
  </dd>
 
548
</dl>
 
549
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
 
550
 
 
551
</div>
 
552
</div>
 
553
<hr/>The documentation for this class was generated from the following file:<ul>
 
554
<li>gtkmm/misc.h</li>
 
555
</ul>
 
556
</div>
 
557
<hr class="footer"/><address class="footer"><small>Generated on Mon May 9 2011 10:20:09 for gtkmm by&#160;
 
558
<a href="http://www.doxygen.org/index.html">
 
559
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
 
560
</body>
 
561
</html>