File: classGFC_1_1Gtk_1_1Expander.html

package info (click to toggle)
gfcui 2.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 43,420 kB
  • ctags: 18,023
  • sloc: cpp: 53,967; sh: 31,555; makefile: 1,322; perl: 108
file content (622 lines) | stat: -rw-r--r-- 29,623 bytes parent folder | download | duplicates (3)
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
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>GTK+ Foundation Classes</title>
  <link href="gfc.css" rel="stylesheet" type="text/css">
  <meta content="The GFC Development Team" name="author">
  <meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
 alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
 alt="GFC Logo" src="../images/gfc.png"
 style="width: 207px; height: 92px;"></td>
      <td
 style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
 alt="GFC Title Logo" src="../images/gfc-title.png"
 style="width: 418px; height: 76px;"><br>
      </td>
    </tr>
    <tr>
      <td
 style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
 style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
      </td>
      <td
 style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
 style="font-family: helvetica,arial,sans-serif;"><a
 href="../html/index.html">Main Page</a>&nbsp; |&nbsp; <a
 href="../html/namespaces.html">Namespace List</a>&nbsp; |&nbsp; <a
 href="classes.html">Alphabetical List</a>&nbsp; |&nbsp; <a
 href="../html/annotated.html">Class List</a>&nbsp; |&nbsp; <a
 href="../html/files.html">File List</a></small><br>
      </td>
    </tr>
  </tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>GFC::Gtk::Expander Class Reference</h1>A GtkExpander C++ wrapper class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="expander_8hh-source.html">gfc/gtk/expander.hh</a>&gt;</code>
<p>
<p>Inheritance diagram for GFC::Gtk::Expander:
<p><center><img src="classGFC_1_1Gtk_1_1Expander.png" usemap="#GFC::Gtk::Expander_map" border="0" alt=""></center>
<map name="GFC::Gtk::Expander_map">
<area href="classGFC_1_1Gtk_1_1Bin.html" alt="GFC::Gtk::Bin" shape="rect" coords="73,336,210,360">
<area href="classGFC_1_1Gtk_1_1Container.html" alt="GFC::Gtk::Container" shape="rect" coords="73,280,210,304">
<area href="classGFC_1_1Gtk_1_1Widget.html" alt="GFC::Gtk::Widget" shape="rect" coords="73,224,210,248">
<area href="classGFC_1_1Gtk_1_1Object.html" alt="GFC::Gtk::Object" shape="rect" coords="0,168,137,192">
<area href="classGFC_1_1Atk_1_1Implementor.html" alt="GFC::Atk::Implementor" shape="rect" coords="147,168,284,192">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html" alt="GFC::G::Object" shape="rect" coords="0,112,137,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInterface.html" alt="GFC::G::TypeInterface" shape="rect" coords="147,112,284,136">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="0,56,137,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1G_1_1TypeInstance.html" alt="GFC::G::TypeInstance" shape="rect" coords="147,56,284,80">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="0,0,137,24">
<area doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html" alt="GFC::Trackable" shape="rect" coords="147,0,284,24">
</map>
<a href="classGFC_1_1Gtk_1_1Expander-members.html">List of all members.</a><h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z517_1">Expander</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;label, bool use_underline=false)
<dl class="el"><dd class="mdescRight">Constructs a new expander using label as the text of the label.  <a href="#z517_1"></a><br></dl><li><a class="anchor" name="z517_2" doxytag="GFC::Gtk::Expander::~Expander" ></a>
virtual <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z517_2">~Expander</a> ()
<dl class="el"><dd class="mdescRight">Destructor. <br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a class="anchor" name="z518_0" doxytag="GFC::Gtk::Expander::gtk_expander" ></a>
GtkExpander * <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_0">gtk_expander</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkExpander structure. <br></dl><li><a class="anchor" name="z518_1" doxytag="GFC::Gtk::Expander::operator GtkExpander *" ></a>
<a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_1">operator GtkExpander *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts an <a class="el" href="classGFC_1_1Gtk_1_1Expander.html">Expander</a> to a GtkExpander pointer. <br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_2">get_expanded</a> () const
<dl class="el"><dd class="mdescRight">Queries the expander and returns its current state (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_0">set_expanded()</a>).  <a href="#z518_2"></a><br></dl><li>int <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_3">get_spacing</a> () const
<dl class="el"><dd class="mdescRight">Gets the value set by <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_1">set_spacing()</a>.  <a href="#z518_3"></a><br></dl><li><a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_4">get_label</a> () const
<dl class="el"><dd class="mdescRight">Fetches the text from the label of the expander, as set by <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_3">set_label()</a>.  <a href="#z518_4"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_5">get_use_underline</a> () const
<dl class="el"><dd class="mdescRight">Determines whether an embedded underline in the expander label indicates a mnemonic (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_4">set_use_underline()</a>).  <a href="#z518_5"></a><br></dl><li>bool <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_6">get_use_markup</a> () const
<dl class="el"><dd class="mdescRight">Determines whether the label's text is interpreted as marked up with the <a class="el" href="namespaceGFC_1_1Pango.html">Pango</a> text markup language (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_5">set_use_markup()</a>).  <a href="#z518_6"></a><br></dl><li><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> * <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z518_7">get_label_widget</a> () const
<dl class="el"><dd class="mdescRight">Retrieves the label widget for the frame (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_6">set_label_widget()</a>).  <a href="#z518_7"></a><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_0">set_expanded</a> (bool expanded)
<dl class="el"><dd class="mdescRight">Sets the state of the expander.  <a href="#z519_0"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_1">set_spacing</a> (int spacing)
<dl class="el"><dd class="mdescRight">Sets the spacing field of expander, which is the number of pixels to place between expander and the child.  <a href="#z519_1"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_3">set_label</a> (const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;label)
<dl class="el"><dd class="mdescRight">Sets the text of the label of the expander to <em>label</em>.  <a href="#z519_3"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_4">set_use_underline</a> (bool use_underline)
<dl class="el"><dd class="mdescRight">If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key.  <a href="#z519_4"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_5">set_use_markup</a> (bool use_markup)
<dl class="el"><dd class="mdescRight">Sets whether the text of the label contains markup in Pango's text markup language (see <a class="el" href="classGFC_1_1Gtk_1_1Label.html#z619_4">Gtk::Label::set_markup()</a>).  <a href="#z519_5"></a><br></dl><li>void <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_6">set_label_widget</a> (<a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> *label_widget)
<dl class="el"><dd class="mdescRight">Set the label widget for the expander.  <a href="#z519_6"></a><br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z516_0">Expander</a> (GtkExpander *expander, bool <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1Trackable.html#z143_1">owns_reference</a>=false)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Expander.html">Expander</a> from an existing GtkExpander.  <a href="#z516_0"></a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkExpander C++ wrapper class. 
<p>
An <a class="el" href="classGFC_1_1Gtk_1_1Expander.html">Expander</a> allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a <a class="el" href="classGFC_1_1Gtk_1_1TreeView.html">Gtk::TreeView</a>. Normally you use an expander as you would use any other descendant of <a class="el" href="classGFC_1_1Gtk_1_1Bin.html">Gtk::Bin</a>; you create the child widget and use <a class="el" href="classGFC_1_1Gtk_1_1Container.html#z461_0">Gtk::Container::add()</a> to add it to the expander. When the expander is toggled, it will take care of showing and hiding the child automatically.<p>
<hr>
<b>Special Usage</b><p>
There are situations in which you may prefer to show and hide the expanded widget yourself, such as when you want to actually create the widget at expansion time. In this case, create a <a class="el" href="classGFC_1_1Gtk_1_1Expander.html">Gtk::Expander</a> but do not add a child to it. The expander widget has an expanded property which can be used to monitor its expansion state. You should watch this property with a signal connection as follows:<p>
<div class="fragment"><pre>    Gtk::Expander *expander = <span class="keyword">new</span> Gtk::Expander(<span class="stringliteral">"_More Options"</span>, <span class="keyword">true</span>);
    expander-&gt;sig_notify(<span class="stringliteral">"expanded"</span>).connect(<span class="keyword">this</span>, &amp;MyExpander::on_expanded);
    
    ...
    
    <span class="keywordtype">void</span> 
    MyExpander::on_expanded(GParamSpec *param_spec)
    {
        <span class="keywordflow">if</span> (get_expanded())
        {
                <span class="comment">// Show or create widgets</span>
        }
        <span class="keywordflow">else</span>
        {
                <span class="comment">// Hide or destroy widgets</span>
        }
    }
</pre></div>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="z516_0" doxytag="GFC::Gtk::Expander::Expander" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Expander::Expander           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">GtkExpander *&nbsp;</td>
          <td class="mdname" nowrap> <em>expander</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>owns_reference</em> = <code>false</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [explicit, protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Construct a new <a class="el" href="classGFC_1_1Gtk_1_1Expander.html">Expander</a> from an existing GtkExpander. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>expander</em>&nbsp;</td><td>A pointer to a GtkExpander. </td></tr>
    <tr><td></td><td valign=top><em>owns_reference</em>&nbsp;</td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
  </table>
</dl>
<br>
The <em>expander</em> can be a newly created GtkExpander or an existing GtkExpander (see <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html#z68_0">G::Object::Object</a>).     </td>
  </tr>
</table>
<a class="anchor" name="z517_1" doxytag="GFC::Gtk::Expander::Expander" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> GFC::Gtk::Expander::Expander           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>use_underline</em> = <code>false</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a new expander using label as the text of the label. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>label</em>&nbsp;</td><td>The text of the label. </td></tr>
    <tr><td></td><td valign=top><em>use_underline</em>&nbsp;</td><td>Whether a character preceded by an underscore is underlined.</td></tr>
  </table>
</dl>
<br>
If characters in label are preceded by an underscore and <em>use_underline</em> is true, they are underlined. If <em>use_underline</em> is true and you need a literal underscore character in a label, use '__' (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the button.     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="z518_2" doxytag="GFC::Gtk::Expander::get_expanded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Expander::get_expanded           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Queries the expander and returns its current state (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_0">set_expanded()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the child widget is revealed, <em>false</em> if not. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z518_4" doxytag="GFC::Gtk::Expander::get_label" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> GFC::Gtk::Expander::get_label           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Fetches the text from the label of the expander, as set by <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_3">set_label()</a>. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The text of the label widget.</dd></dl>
<br>
If the label text has not been set the return value will be a null <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>. This will be the case if you create an empty <a class="el" href="classGFC_1_1Gtk_1_1Button.html">Gtk::Button</a> to use as a container.     </td>
  </tr>
</table>
<a class="anchor" name="z518_7" doxytag="GFC::Gtk::Expander::get_label_widget" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a>* GFC::Gtk::Expander::get_label_widget           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves the label widget for the frame (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_6">set_label_widget()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The label widget, or null if there is none. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z518_3" doxytag="GFC::Gtk::Expander::get_spacing" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int GFC::Gtk::Expander::get_spacing           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the value set by <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_1">set_spacing()</a>. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The spacing between the expander and child in pixels. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z518_6" doxytag="GFC::Gtk::Expander::get_use_markup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Expander::get_use_markup           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether the label's text is interpreted as marked up with the <a class="el" href="namespaceGFC_1_1Pango.html">Pango</a> text markup language (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_5">set_use_markup()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if the label's text will be parsed for markup. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z518_5" doxytag="GFC::Gtk::Expander::get_use_underline" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool GFC::Gtk::Expander::get_use_underline           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Determines whether an embedded underline in the expander label indicates a mnemonic (see <a class="el" href="classGFC_1_1Gtk_1_1Expander.html#z519_4">set_use_underline()</a>). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if an embedded underline in the expander label indicates a mnemonic accelerator key. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z519_0" doxytag="GFC::Gtk::Expander::set_expanded" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Expander::set_expanded           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>expanded</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the state of the expander. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>expanded</em>&nbsp;</td><td>Whether the child widget is revealed.</td></tr>
  </table>
</dl>
<br>
Set <em>expanded</em> true if you want the child widget to be revealed, and false if you want the child widget to be hidden.     </td>
  </tr>
</table>
<a class="anchor" name="z519_3" doxytag="GFC::Gtk::Expander::set_label" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Expander::set_label           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>label</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the text of the label of the expander to <em>label</em>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>label</em>&nbsp;</td><td>A text string.</td></tr>
  </table>
</dl>
<br>
This will also clear any previously set labels.     </td>
  </tr>
</table>
<a class="anchor" name="z519_6" doxytag="GFC::Gtk::Expander::set_label_widget" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Expander::set_label_widget           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGFC_1_1Gtk_1_1Widget.html">Widget</a> *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>label_widget</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the label widget for the expander. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>label_widget</em>&nbsp;</td><td>The new label widget.</td></tr>
  </table>
</dl>
<br>
This is the widget that will appear embedded alongside the expander arrow.     </td>
  </tr>
</table>
<a class="anchor" name="z519_1" doxytag="GFC::Gtk::Expander::set_spacing" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Expander::set_spacing           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>spacing</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the spacing field of expander, which is the number of pixels to place between expander and the child. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>spacing</em>&nbsp;</td><td>The distance between the expander and child in pixels. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z519_5" doxytag="GFC::Gtk::Expander::set_use_markup" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Expander::set_use_markup           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>use_markup</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets whether the text of the label contains markup in Pango's text markup language (see <a class="el" href="classGFC_1_1Gtk_1_1Label.html#z619_4">Gtk::Label::set_markup()</a>). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>use_markup</em>&nbsp;</td><td>Set <em>true</em> if the label's text should be parsed for markup. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="z519_4" doxytag="GFC::Gtk::Expander::set_use_underline" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void GFC::Gtk::Expander::set_use_underline           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>use_underline</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>use_underline</em>&nbsp;</td><td>Set <em>true</em> if underlines in the text indicate mnemonics. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="expander_8hh-source.html">expander.hh</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:39 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>