File: classGtk_1_1Misc.html

package info (click to toggle)
gtkmm2.4 1%3A2.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 76,100 kB
  • sloc: xml: 80,438; sh: 10,948; cpp: 8,005; perl: 236; makefile: 224
file content (561 lines) | stat: -rw-r--r-- 35,313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
<!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"/>
<title>gtkmm: Gtk::Misc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm&#160;<span id="projectnumber">2.24.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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_1Misc.html">Misc</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gtk::Misc Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gtk::Misc" --><!-- doxytag: inherits="Gtk::Widget" -->
<p>A base class for widgets with alignments and padding. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gtk::Misc:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1Misc__inherit__graph.png" border="0" usemap="#Gtk_1_1Misc_inherit__map" alt="Inheritance graph"/></div>
<map name="Gtk_1_1Misc_inherit__map" id="Gtk_1_1Misc_inherit__map">
<area shape="rect" id="node15" href="classGtk_1_1Arrow.html" title="Produces an arrow pointing in one of the four cardinal directions." alt="" coords="5,486,88,517"/><area shape="rect" id="node17" href="classGtk_1_1Image.html" title="A widget displaying an image." alt="" coords="112,486,197,517"/><area shape="rect" id="node19" href="classGtk_1_1Label.html" title="A widget that displays a small to medium amount of text." alt="" coords="221,486,304,517"/><area shape="rect" id="node2" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="109,326,200,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="47,246,135,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="45,166,136,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="31,86,151,117"/><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="37,6,144,37"/><area shape="rect" id="node12" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="159,246,281,277"/><area shape="rect" id="node21" href="classGtk_1_1AccelLabel.html" title="A label which displays an accelerator key on the right of the text." alt="" coords="205,566,320,597"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gtk::Misc:</div>
<div class="dyncontent">
<div class="center"><img src="classGtk_1_1Misc__coll__graph.png" border="0" usemap="#Gtk_1_1Misc_coll__map" alt="Collaboration graph"/></div>
<map name="Gtk_1_1Misc_coll__map" id="Gtk_1_1Misc_coll__map">
<area shape="rect" id="node2" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="84,326,175,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="21,246,109,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="20,166,111,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="5,86,125,117"/><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="12,6,119,37"/><area shape="rect" id="node12" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="133,246,256,277"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGtk_1_1Misc-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<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>
<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>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a542556cc6ec31f3a33eda39b75cfa3a1"></a><br/></td></tr>
<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>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a6cfcf3a8abda85419ae8dd05e2fb192f"></a><br/></td></tr>
<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>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Misc.html#aa861ee3345577a86be9a66ad9072177a">set_alignment</a> (<a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a> xalign=Gtk::ALIGN_START, <a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a> yalign=Gtk::ALIGN_CENTER)</td></tr>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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"/>
&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>
<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>
<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>
<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>
<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"/>
&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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<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>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<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>
<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>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A base class for widgets with alignments and padding. </p>
<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>
<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>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2320fb8d7eef72cb11426cd59a86d428"></a><!-- doxytag: member="Gtk::Misc::~Misc" ref="a2320fb8d7eef72cb11426cd59a86d428" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gtk::Misc::~Misc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8592d75a3371b3261a9e132fe65098c7"></a><!-- doxytag: member="Gtk::Misc::Misc" ref="a8592d75a3371b3261a9e132fe65098c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::Misc::Misc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a33c9f1234733ade8faf9c8d267b52d22"></a><!-- doxytag: member="Gtk::Misc::get_alignment" ref="a33c9f1234733ade8faf9c8d267b52d22" args="(float &amp;xalign, float &amp;yalign) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Misc::get_alignment </td>
          <td>(</td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>xalign</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>yalign</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the X and Y alignment of the widget within its allocation. </p>
<p>See <a class="el" href="classGtk_1_1Misc.html#a52b2675874cf46a3097938756b9fe9e8">set_alignment()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">xalign</td><td>Location to store X alignment of <em>misc</em>, or <code>0</code>. </td></tr>
    <tr><td class="paramname">yalign</td><td>Location to store Y alignment of <em>misc</em>, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a15beed100609e7c42b3ca73421d2291d"></a><!-- doxytag: member="Gtk::Misc::get_padding" ref="a15beed100609e7c42b3ca73421d2291d" args="(int &amp;xpad, int &amp;ypad) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Misc::get_padding </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>xpad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>ypad</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the padding in the X and Y directions of the widget. </p>
<p>See <a class="el" href="classGtk_1_1Misc.html#ae030e331f148d0a6f8d56d4b09d453ef">set_padding()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">xpad</td><td>Location to store padding in the X direction, or <code>0</code>. </td></tr>
    <tr><td class="paramname">ypad</td><td>Location to store padding in the Y direction, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a542556cc6ec31f3a33eda39b75cfa3a1"></a><!-- doxytag: member="Gtk::Misc::gobj" ref="a542556cc6ec31f3a33eda39b75cfa3a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkMisc* Gtk::Misc::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1Widget.html#a6667a82920375b2ebde07bc1ffdc3641">Gtk::Widget</a>.</p>

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

</div>
</div>
<a class="anchor" id="a6cfcf3a8abda85419ae8dd05e2fb192f"></a><!-- doxytag: member="Gtk::Misc::gobj" ref="a6cfcf3a8abda85419ae8dd05e2fb192f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GtkMisc* Gtk::Misc::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GtkObject. </p>

<p>Reimplemented from <a class="el" href="classGtk_1_1Widget.html#ad998178529a53b80f3de96d10b1deffd">Gtk::Widget</a>.</p>

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

</div>
</div>
<a class="anchor" id="a03cf5bf073cc64fb196805ac32524267"></a><!-- doxytag: member="Gtk::Misc::property_xalign" ref="a03cf5bf073cc64fb196805ac32524267" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The horizontal alignment, from 0 (left) to 1 (right). </p>
<p>Reversed for RTL layouts.</p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="a3c5470e80b2edaac11bdf3c967f1e17f"></a><!-- doxytag: member="Gtk::Misc::property_xalign" ref="a3c5470e80b2edaac11bdf3c967f1e17f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The horizontal alignment, from 0 (left) to 1 (right). </p>
<p>Reversed for RTL layouts.</p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="ab6be8f058d89d2bed1c6148d9f59cf02"></a><!-- doxytag: member="Gtk::Misc::property_xpad" ref="ab6be8f058d89d2bed1c6148d9f59cf02" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The amount of space to add on the left and right of the widget, in pixels. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="a690680af04266ba62e6acb2484188e3e"></a><!-- doxytag: member="Gtk::Misc::property_xpad" ref="a690680af04266ba62e6acb2484188e3e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The amount of space to add on the left and right of the widget, in pixels. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="ab20de06a1106605104dd6a73b6b6934c"></a><!-- doxytag: member="Gtk::Misc::property_yalign" ref="ab20de06a1106605104dd6a73b6b6934c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The vertical alignment, from 0 (top) to 1 (bottom). </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="a10c0f882f1e51e0e427357076a203e51"></a><!-- doxytag: member="Gtk::Misc::property_yalign" ref="a10c0f882f1e51e0e427357076a203e51" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The vertical alignment, from 0 (top) to 1 (bottom). </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="a6462edd51b31917cb808b7cd1aa33e9a"></a><!-- doxytag: member="Gtk::Misc::property_ypad" ref="a6462edd51b31917cb808b7cd1aa33e9a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The amount of space to add on the top and bottom of the widget, in pixels. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="aa11c35df68a8a1dc40e45a610f81ce51"></a><!-- doxytag: member="Gtk::Misc::property_ypad" ref="aa11c35df68a8a1dc40e45a610f81ce51" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <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>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The amount of space to add on the top and bottom of the widget, in pixels. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<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>

</div>
</div>
<a class="anchor" id="a52b2675874cf46a3097938756b9fe9e8"></a><!-- doxytag: member="Gtk::Misc::set_alignment" ref="a52b2675874cf46a3097938756b9fe9e8" args="(float xalign=0.0, float yalign=0.5)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Misc::set_alignment </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>xalign</em> = <code>0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>yalign</em> = <code>0.5</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa861ee3345577a86be9a66ad9072177a"></a><!-- doxytag: member="Gtk::Misc::set_alignment" ref="aa861ee3345577a86be9a66ad9072177a" args="(AlignmentEnum xalign=Gtk::ALIGN_START, AlignmentEnum yalign=Gtk::ALIGN_CENTER)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Misc::set_alignment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a>&#160;</td>
          <td class="paramname"><em>xalign</em> = <code>Gtk::ALIGN_START</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga98983d4e80f67ffa5148dd554706ffac">AlignmentEnum</a>&#160;</td>
          <td class="paramname"><em>yalign</em> = <code>Gtk::ALIGN_CENTER</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae030e331f148d0a6f8d56d4b09d453ef"></a><!-- doxytag: member="Gtk::Misc::set_padding" ref="ae030e331f148d0a6f8d56d4b09d453ef" args="(int xpad, int ypad)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gtk::Misc::set_padding </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xpad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ypad</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a8350d4817f03a77df991dd1960d77505"></a><!-- doxytag: member="Gtk::Misc::wrap" ref="a8350d4817f03a77df991dd1960d77505" args="(GtkMisc *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGtk_1_1Misc.html">Gtk::Misc</a>* wrap </td>
          <td>(</td>
          <td class="paramtype">GtkMisc *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/misc.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:46 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>