This file is indexed.

/usr/share/gtk-doc/html/libgwydgets/libgwydgets-gwydgetutils.html is in libgwyddion20-doc 2.26-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gwydgetutils</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="WidgetUtilities.html" title="Widget Utilities">
<link rel="prev" href="libgwydgets-gwydgetenums.html" title="gwydgetenums">
<link rel="next" href="libgwydgets-gwystock.html" title="gwystock">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgwydgets-gwydgetenums.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="WidgetUtilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Gwyddion Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgwydgets-gwystock.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgwydgets-gwydgetutils.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libgwydgets-gwydgetutils.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgwydgets-gwydgetutils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgwydgets-gwydgetutils.top_of_page"></a>gwydgetutils</span></h2>
<p>gwydgetutils — Miscellaneous widget utilities</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgwydgets-gwydgetutils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgwydgets/gwydgets.h&gt;

#define             <a class="link" href="libgwydgets-gwydgetutils.html#gwy-adjustment-get-int" title="gwy_adjustment_get_int()">gwy_adjustment_get_int</a>              (adj)
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-color-selector-for-mask" title="gwy_color_selector_for_mask ()">gwy_color_selector_for_mask</a>         (<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dialog_title</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyColorButton.html" title="GwyColorButton"><span class="type">GwyColorButton</span></a> *color_button</code></em>,
                                                         <em class="parameter"><code><a href="./../libgwyddion/libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> *container</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgwydgets-gwydgetutils.html#gwy-dialog-prevent-delete-cb" title="gwy_dialog_prevent_delete_cb ()">gwy_dialog_prevent_delete_cb</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/pango/pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *      <a class="link" href="libgwydgets-gwydgetutils.html#gwy-get-pango-ft2-font-map" title="gwy_get_pango_ft2_font_map ()">gwy_get_pango_ft2_font_map</a>          (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgwydgets-gwydgetutils.html#gwy-label-new-header" title="gwy_label_new_header ()">gwy_label_new_header</a>                (<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-list-store-row-changed" title="gwy_list_store_row_changed ()">gwy_list_store_row_changed</a>          (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkListStore.html"><span class="type">GtkListStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-mask-color-selector-run" title="gwy_mask_color_selector_run ()">gwy_mask_color_selector_run</a>         (<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dialog_title</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyColorButton.html" title="GwyColorButton"><span class="type">GwyColorButton</span></a> *color_button</code></em>,
                                                         <em class="parameter"><code><a href="./../libgwyddion/libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> *container</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgwydgets-gwydgetutils.html#gwy-stock-like-button-new" title="gwy_stock_like_button_new ()">gwy_stock_like_button_new</a>           (<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label_text</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()">gwy_table_attach_hscale</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *units</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkObject.html"><span class="type">GtkObject</span></a> *pivot</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyHScaleStyle" title="enum GwyHScaleStyle"><span class="type">GwyHScaleStyle</span></a> style</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-row" title="gwy_table_attach_row ()">gwy_table_attach_row</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *units</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *middle_widget</code></em>);
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-spinbutton" title="gwy_table_attach_spinbutton ()">gwy_table_attach_spinbutton</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *units</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkObject.html"><span class="type">GtkObject</span></a> *adj</code></em>);
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-get-child-widget" title="gwy_table_get_child_widget ()">gwy_table_get_child_widget</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>);
#define             <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-check" title="gwy_table_hscale_get_check()">gwy_table_hscale_get_check</a>          (pivot)
#define             <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-label" title="gwy_table_hscale_get_label()">gwy_table_hscale_get_label</a>          (pivot)
#define             <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-middle-widget" title="gwy_table_hscale_get_middle_widget()">gwy_table_hscale_get_middle_widget</a>  (pivot)
#define             <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-scale" title="gwy_table_hscale_get_scale()">gwy_table_hscale_get_scale</a>          (pivot)
#define             <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-units" title="gwy_table_hscale_get_units()">gwy_table_hscale_get_units</a>          (pivot)
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-set-sensitive" title="gwy_table_hscale_set_sensitive ()">gwy_table_hscale_set_sensitive</a>      (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkObject.html"><span class="type">GtkObject</span></a> *pivot</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> sensitive</code></em>);
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="libgwydgets-gwydgetutils.html#gwy-tool-like-button-new" title="gwy_tool_like_button_new ()">gwy_tool_like_button_new</a>            (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label_text</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libgwydgets-gwydgetutils.html#gwy-widget-get-activate-on-unfocus" title="gwy_widget_get_activate_on_unfocus ()">gwy_widget_get_activate_on_unfocus</a>  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-widget-set-activate-on-unfocus" title="gwy_widget_set_activate_on_unfocus ()">gwy_widget_set_activate_on_unfocus</a>  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> activate</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-gwydgetutils.html#gwy-widget-sync-sensitivity" title="gwy_widget_sync_sensitivity ()">gwy_widget_sync_sensitivity</a>         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *master</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *slave</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgwydgets-gwydgetutils.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libgwydgets-gwydgetutils.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gwy-adjustment-get-int"></a><h3>gwy_adjustment_get_int()</h3>
<pre class="programlisting">#define             gwy_adjustment_get_int(adj)</pre>
<p>
Gets a properly rounded integer value from an adjustment, cast to <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>adj</code></em> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk/GtkAdjustment.html"><span class="type">GtkAdjustment</span></a> to get value of.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-color-selector-for-mask"></a><h3>gwy_color_selector_for_mask ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_color_selector_for_mask         (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dialog_title</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyColorButton.html" title="GwyColorButton"><span class="type">GwyColorButton</span></a> *color_button</code></em>,
                                                         <em class="parameter"><code><a href="./../libgwyddion/libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> *container</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);</pre>
<p>
Creates and runs a color selector dialog for a mask.
</p>
<p>
See <a class="link" href="libgwydgets-gwydgetutils.html#gwy-mask-color-selector-run" title="gwy_mask_color_selector_run ()"><code class="function">gwy_mask_color_selector_run()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog_title</code></em> :</span></p></td>
<td>Title of the color selection dialog (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use default).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color_button</code></em> :</span></p></td>
<td>Color button to update on color change (or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>Container to initialize the color from and save it to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
<td>Prefix in <em class="parameter"><code>container</code></em> (normally "/0/mask").</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-dialog-prevent-delete-cb"></a><h3>gwy_dialog_prevent_delete_cb ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_dialog_prevent_delete_cb        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gwy_dialog_prevent_delete_cb</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
</p>
<p>
Use <a href="/usr/share/gtk-doc/html/gtk/gtk-General.html#gtk-true"><code class="function">gtk_true()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-get-pango-ft2-font-map"></a><h3>gwy_get_pango_ft2_font_map ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *      gwy_get_pango_ft2_font_map          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gwy_get_pango_ft2_font_map</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns global Pango FT2 font map, eventually creating it.
</p>
<p>
FT2 portability to Win32 is questionable, use PangoCairo instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>unref</code></em> :</span></p></td>
<td>If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, function removes the font map reference and returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Pango FT2 font map.  Add your own reference if you want it to
never go away.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-label-new-header"></a><h3>gwy_label_new_header ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_label_new_header                (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
<p>
Creates a bold, left aligned label.
</p>
<p>
The purpose of this function is to avoid propagation of too much markup to
translations (and to reduce code clutter by avoiding dummy constructor and
left-aligning automatically).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>Text to put into the label.  It must be a valid markup and it will
be made bold by adding appropriate markup around it.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly created <a href="/usr/share/gtk-doc/html/gtk/GtkLabel.html"><span class="type">GtkLabel</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-list-store-row-changed"></a><h3>gwy_list_store_row_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_list_store_row_changed          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"><span class="type">GtkListStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>);</pre>
<p>
Convenience function to emit "GtkTreeModel::row-changed" signal on a tree
store.
</p>
<p>
At least one of <em class="parameter"><code>iter</code></em>, <em class="parameter"><code>path</code></em>, <em class="parameter"><code>row</code></em> must be set to identify the row to emit
"row-changed" on, and usually exactly one should be set.  The remaining
information necessary to call <a href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#gtk-tree-model-row-changed"><code class="function">gtk_tree_model_row_changed()</code></a> is inferred
automatically.
</p>
<p>
The behaviour of this function is undefined for specified, but inconsistent
<em class="parameter"><code>iter</code></em>, <em class="parameter"><code>path</code></em>, and <em class="parameter"><code>row</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A list store.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A tree model iterator in <em class="parameter"><code>store</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A tree model path in <em class="parameter"><code>store</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for none.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>A row number in <em class="parameter"><code>store</code></em>, or -1 for none.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-mask-color-selector-run"></a><h3>gwy_mask_color_selector_run ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_mask_color_selector_run         (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dialog_title</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyColorButton.html" title="GwyColorButton"><span class="type">GwyColorButton</span></a> *color_button</code></em>,
                                                         <em class="parameter"><code><a href="./../libgwyddion/libgwyddion/GwyContainer.html"><span class="type">GwyContainer</span></a> *container</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);</pre>
<p>
Creates and runs a color selector dialog for a mask.
</p>
<p>
Note this function does not return anything, it runs the color selection
dialog modally and returns when it is finished.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog_title</code></em> :</span></p></td>
<td>Title of the color selection dialog (<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use default).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>Dialog parent window.  The color selector dialog will be made
transient for this window.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color_button</code></em> :</span></p></td>
<td>Color button to update on color change (or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>container</code></em> :</span></p></td>
<td>Container to initialize the color from and save it to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
<td>Prefix in <em class="parameter"><code>container</code></em> (normally "/0/mask").</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-stock-like-button-new"></a><h3>gwy_stock_like_button_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_stock_like_button_new           (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label_text</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
<p>
Creates a button that looks like a stock button, but can have different
label text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label_text</code></em> :</span></p></td>
<td>Button label text (with mnemonic).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>Button icon stock id.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newly created button as <a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-attach-hscale"></a><h3>gwy_table_attach_hscale ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_table_attach_hscale             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *units</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkObject.html"><span class="type">GtkObject</span></a> *pivot</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyHScaleStyle" title="enum GwyHScaleStyle"><span class="type">GwyHScaleStyle</span></a> style</code></em>);</pre>
<p>
Attaches a spinbutton with a scale and labels, or something else to a table
row.
</p>
<p>
You can use functions <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-scale" title="gwy_table_hscale_get_scale()"><code class="function">gwy_table_hscale_get_scale()</code></a>,
<a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-hscale-get-check" title="gwy_table_hscale_get_check()"><code class="function">gwy_table_hscale_get_check()</code></a>, etc. to get the various widgets from pivot
later.
</p>
<p>
FIXME: What exactly happens with various <em class="parameter"><code>style</code></em> values is quite convoluted.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk/GtkTable.html"><span class="type">GtkTable</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>Row in <em class="parameter"><code>table</code></em> to attach stuff to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The label before <em class="parameter"><code>pivot</code></em> widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>units</code></em> :</span></p></td>
<td>The label after <em class="parameter"><code>pivot</code></em> widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>Either a <a href="/usr/share/gtk-doc/html/gtk/GtkAdjustment.html"><span class="type">GtkAdjustment</span></a>, or a widget to use instead of the spin
button and scale widgets (if <em class="parameter"><code>style</code></em> is <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-WIDGET:CAPS"><code class="literal">GWY_HSCALE_WIDGET</code></a>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>A mix of options an flags determining what and how will be attached
to the table.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The middle widget.  If a spinbutton is attached, then this
spinbutton is returned.  Otherwise (in <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-WIDGET:CAPS"><code class="literal">GWY_HSCALE_WIDGET</code></a> case)
<em class="parameter"><code>pivot</code></em> itself.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-attach-row"></a><h3>gwy_table_attach_row ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_table_attach_row                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *units</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *middle_widget</code></em>);</pre>
<p>
Attaches a widget with two labels to a table.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk/GtkTable.html"><span class="type">GtkTable</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>Table row to attach to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The label before <em class="parameter"><code>middle_widget</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>units</code></em> :</span></p></td>
<td>The label after <em class="parameter"><code>adj</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>middle_widget</code></em> :</span></p></td>
<td>A widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-attach-spinbutton"></a><h3>gwy_table_attach_spinbutton ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_table_attach_spinbutton         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *units</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkObject.html"><span class="type">GtkObject</span></a> *adj</code></em>);</pre>
<p>
Attaches a spinbutton with two labels to a table.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk/GtkTable.html"><span class="type">GtkTable</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>Table row to attach to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The label before <em class="parameter"><code>adj</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>units</code></em> :</span></p></td>
<td>The label after <em class="parameter"><code>adj</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adj</code></em> :</span></p></td>
<td>An adjustment to create spinbutton from.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The spinbutton as a <a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-get-child-widget"></a><h3>gwy_table_get_child_widget ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_table_get_child_widget          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *table</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> col</code></em>);</pre>
<p>
Finds a widget in <a href="/usr/share/gtk-doc/html/gtk/GtkTable.html"><span class="type">GtkTable</span></a> by its coordinates.
</p>
<p>
Coordinates (<em class="parameter"><code>col</code></em>, <em class="parameter"><code>row</code></em>) are taken as coordinates of widget top left corner.
More precisely, the returned widget either contains the specified grid
point or it is attached by its left side, top side, or top left corner to
this point.
</p>
<p>
If there are multiple matches due to overlapping widgets, a random
match is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
<td>A <a href="/usr/share/gtk-doc/html/gtk/GtkTable.html"><span class="type">GtkTable</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row</code></em> :</span></p></td>
<td>Row in <em class="parameter"><code>table</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>col</code></em> :</span></p></td>
<td>Column in <em class="parameter"><code>table</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The widget at (<em class="parameter"><code>col</code></em>, <em class="parameter"><code>row</code></em>) or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no such widget.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-hscale-get-check"></a><h3>gwy_table_hscale_get_check()</h3>
<pre class="programlisting">#define             gwy_table_hscale_get_check(pivot)</pre>
<p>
Gets the check button associated with a pivot object.
</p>
<p>
May return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not constructed with <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-CHECK:CAPS"><code class="literal">GWY_HSCALE_CHECK</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>Pivot object passed to <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-hscale-get-label"></a><h3>gwy_table_hscale_get_label()</h3>
<pre class="programlisting">#define             gwy_table_hscale_get_label(pivot)</pre>
<p>
Gets the (left) label associated with a pivot object.
</p>
<p>
May return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if constructed with <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-CHECK:CAPS"><code class="literal">GWY_HSCALE_CHECK</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>Pivot object passed to <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-hscale-get-middle-widget"></a><h3>gwy_table_hscale_get_middle_widget()</h3>
<pre class="programlisting">#define             gwy_table_hscale_get_middle_widget(pivot)</pre>
<p>
Gets the middle widget associated with a pivot object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>Pivot object passed to <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-hscale-get-scale"></a><h3>gwy_table_hscale_get_scale()</h3>
<pre class="programlisting">#define             gwy_table_hscale_get_scale(pivot)</pre>
<p>
Gets the horizontal scale associated with a pivot object.
</p>
<p>
May return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if constructed with <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-NO-SCALE:CAPS"><code class="literal">GWY_HSCALE_NO_SCALE</code></a>,
<a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-WIDGET:CAPS"><code class="literal">GWY_HSCALE_WIDGET</code></a>, or <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-WIDGET-NO-EXPAND:CAPS"><code class="literal">GWY_HSCALE_WIDGET_NO_EXPAND</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>Pivot object passed to <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-hscale-get-units"></a><h3>gwy_table_hscale_get_units()</h3>
<pre class="programlisting">#define             gwy_table_hscale_get_units(pivot)</pre>
<p>
Gets the units label associated with a pivot object.
</p>
<p>
May return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if constructed without units.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>Pivot object passed to <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-table-hscale-set-sensitive"></a><h3>gwy_table_hscale_set_sensitive ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_table_hscale_set_sensitive      (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkObject.html"><span class="type">GtkObject</span></a> *pivot</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> sensitive</code></em>);</pre>
<p>
Sets sensitivity of a group of controls create by <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a>.
</p>
<p>
Do not use with <a class="link" href="libgwydgets-gwydgetenums.html#GWY-HSCALE-CHECK:CAPS"><code class="literal">GWY_HSCALE_CHECK</code></a>, simply set state of the check button
in such a case.
</p>
<p>
This function can be used with rows created by <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-spinbutton" title="gwy_table_attach_spinbutton ()"><code class="function">gwy_table_attach_spinbutton()</code></a>
too if the spinbutton is passed as <em class="parameter"><code>pivot</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pivot</code></em> :</span></p></td>
<td>The same object that was passed to <a class="link" href="libgwydgets-gwydgetutils.html#gwy-table-attach-hscale" title="gwy_table_attach_hscale ()"><code class="function">gwy_table_attach_hscale()</code></a> as
<em class="parameter"><code>pivot</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitive</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the row sensitive, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to insensitive.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-tool-like-button-new"></a><h3>gwy_tool_like_button_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gwy_tool_like_button_new            (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label_text</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
<p>
Creates a button that looks like a tool button, but can have different
label text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label_text</code></em> :</span></p></td>
<td>Button label text (with mnemonic).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
<td>Button icon stock id.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newly created button as <a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-widget-get-activate-on-unfocus"></a><h3>gwy_widget_get_activate_on_unfocus ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_widget_get_activate_on_unfocus  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
<p>
Obtains the activate-on-unfocus state of a widget.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>A widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if signal "GtkWidget::activate" is emitted when focus leaves
the widget.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.5</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-widget-set-activate-on-unfocus"></a><h3>gwy_widget_set_activate_on_unfocus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_widget_set_activate_on_unfocus  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> activate</code></em>);</pre>
<p>
Sets the activate-on-unfocus state of a widget.
</p>
<p>
When it is enabled, signal "GtkWidget::activate" is emited whenever focus
leaves the widget.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td>A widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>activate</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable activate-on-unfocus, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> disable it.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.5</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-widget-sync-sensitivity"></a><h3>gwy_widget_sync_sensitivity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_widget_sync_sensitivity         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *master</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *slave</code></em>);</pre>
<p>
Make widget's sensitivity follow the sensitivity of another widget.
</p>
<p>
The sensitivity of <em class="parameter"><code>slave</code></em> is set according to <em class="parameter"><code>master</code></em>'s effective
sensitivity (as returned by <a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GTK-WIDGET-IS-SENSITIVE:CAPS"><code class="function">GTK_WIDGET_IS_SENSITIVE()</code></a>), i.e. it does not
just synchronize GtkWidget:sensitive property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>Master widget.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>slave</code></em> :</span></p></td>
<td>Slave widget.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.8</div>
</body>
</html>