File: GtkScrolledSyncWindow.html

package info (click to toggle)
buzztrax 0.10.2-10
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 19,984 kB
  • sloc: ansic: 109,707; sh: 12,875; cpp: 10,882; xml: 6,081; makefile: 508; javascript: 338; asm: 116
file content (694 lines) | stat: -rw-r--r-- 39,092 bytes parent folder | download | duplicates (6)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkScrolledSyncWindow: Buzztrax Bt-Edit Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Buzztrax Bt-Edit Reference Manual">
<link rel="up" href="ch04.html" title="Widget Class Reference">
<link rel="prev" href="BtWaveformViewer.html" title="BtWaveformViewer">
<link rel="next" href="GtkVUMeter.html" title="GtkVUMeter">
<meta name="generator" content="GTK-Doc V1.24.1 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GtkScrolledSyncWindow.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GtkScrolledSyncWindow.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GtkScrolledSyncWindow.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GtkScrolledSyncWindow.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#GtkScrolledSyncWindow.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="BtWaveformViewer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GtkVUMeter.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkScrolledSyncWindow"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkScrolledSyncWindow.top_of_page"></a>GtkScrolledSyncWindow</span></h2>
<p>GtkScrolledSyncWindow — Adds scrolling to its child widget</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-new" title="gtk_scrolled_sync_window_new ()">gtk_scrolled_sync_window_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-set-hadjustment" title="gtk_scrolled_sync_window_set_hadjustment ()">gtk_scrolled_sync_window_set_hadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-set-vadjustment" title="gtk_scrolled_sync_window_set_vadjustment ()">gtk_scrolled_sync_window_set_vadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="returnvalue">GtkAdjustment</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-get-hadjustment" title="gtk_scrolled_sync_window_get_hadjustment ()">gtk_scrolled_sync_window_get_hadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="returnvalue">GtkAdjustment</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-get-vadjustment" title="gtk_scrolled_sync_window_get_vadjustment ()">gtk_scrolled_sync_window_get_vadjustment</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-add-with-viewport" title="gtk_scrolled_sync_window_add_with_viewport ()">gtk_scrolled_sync_window_add_with_viewport</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-set-kinetic-scrolling" title="gtk_scrolled_sync_window_set_kinetic_scrolling ()">gtk_scrolled_sync_window_set_kinetic_scrolling</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-get-kinetic-scrolling" title="gtk_scrolled_sync_window_get_kinetic_scrolling ()">gtk_scrolled_sync_window_get_kinetic_scrolling</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-set-capture-button-press" title="gtk_scrolled_sync_window_set_capture_button_press ()">gtk_scrolled_sync_window_set_capture_button_press</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-get-capture-button-press" title="gtk_scrolled_sync_window_get_capture_button_press ()">gtk_scrolled_sync_window_get_capture_button_press</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.properties"></a><h2>Properties</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *</td>
<td class="property_name"><a class="link" href="GtkScrolledSyncWindow.html#GtkScrolledSyncWindow--hadjustment" title="The “hadjustment” property">hadjustment</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GtkScrolledSyncWindow.html#GtkScrolledSyncWindow--kinetic-scrolling" title="The “kinetic-scrolling” property">kinetic-scrolling</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *</td>
<td class="property_name"><a class="link" href="GtkScrolledSyncWindow.html#GtkScrolledSyncWindow--vadjustment" title="The “vadjustment” property">vadjustment</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.signals"></a><h2>Signals</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkScrolledSyncWindow.html#GtkScrolledSyncWindow-move-focus-out" title="The “move-focus-out” signal">move-focus-out</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
<td class="signal_name"><a class="link" href="GtkScrolledSyncWindow.html#GtkScrolledSyncWindow-scroll-child" title="The “scroll-child” signal">scroll-child</a></td>
<td class="signal_flags">Action</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GtkScrolledSyncWindow.html#GtkScrolledSyncWindow-struct" title="struct GtkScrolledSyncWindow">GtkScrolledSyncWindow</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-struct">GtkWidget</a>
            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3GtkContainer.html#GtkContainer-struct">GtkContainer</a>
                <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3GtkBin.html#GtkBin-struct">GtkBin</a>
                    <span class="lineart">╰──</span> GtkScrolledSyncWindow
</pre>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkScrolledSyncWindow implements
 AtkImplementorIface and  <a href="/usr/share/gtk-doc/html/gtk3GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include "bt-edit.h"
</pre>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.description"></a><h2>Description</h2>
<p><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> is a copy of GtkScrolledWindow that can be used as
a companion widget. For this one will share some or all of the adjustments
of the master widget with this widget. The <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> will never
show scrollbars, instead it will follow the scrollbars of the master widget.</p>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-new"></a><h3>gtk_scrolled_sync_window_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
gtk_scrolled_sync_window_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *hadjustment</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);</pre>
<p>Creates a new synced scrolled window.</p>
<p>The two arguments are the scrolled window's adjustments; these will be
shared with the scrollbars and the child widget to keep the bars in sync
with the child. Usually you want to pass <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the adjustments, which
will cause the scrolled window to create them for you.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.2.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>hadjustment</p></td>
<td class="parameter_description"><p> horizontal adjustment. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>vadjustment</p></td>
<td class="parameter_description"><p> vertical adjustment. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.6.4.11.2.7"></a><h4>Returns</h4>
<p> a new synced scrolled window</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-set-hadjustment"></a><h3>gtk_scrolled_sync_window_set_hadjustment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_scrolled_sync_window_set_hadjustment
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *hadjustment</code></em>);</pre>
<p>Sets the <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> for the horizontal scrollbar.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hadjustment</p></td>
<td class="parameter_description"><p>horizontal scroll adjustment</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-set-vadjustment"></a><h3>gtk_scrolled_sync_window_set_vadjustment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_scrolled_sync_window_set_vadjustment
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *vadjustment</code></em>);</pre>
<p>Sets the <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> for the vertical scrollbar.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>vadjustment</p></td>
<td class="parameter_description"><p>vertical scroll adjustment</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-get-hadjustment"></a><h3>gtk_scrolled_sync_window_get_hadjustment ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="returnvalue">GtkAdjustment</span></a> *
gtk_scrolled_sync_window_get_hadjustment
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>);</pre>
<p>Returns the horizontal adjustment.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.6.4.11.5.6"></a><h4>Returns</h4>
<p> the horizontal <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-get-vadjustment"></a><h3>gtk_scrolled_sync_window_get_vadjustment ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="returnvalue">GtkAdjustment</span></a> *
gtk_scrolled_sync_window_get_vadjustment
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>);</pre>
<p>Returns the vertical adjustment.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.6.4.11.6.6"></a><h4>Returns</h4>
<p> the vertical <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-add-with-viewport"></a><h3>gtk_scrolled_sync_window_add_with_viewport ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_scrolled_sync_window_add_with_viewport
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_scrolled_sync_window_add_with_viewport</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
<p>gtk_container_add() will now automatically add
a <a href="/usr/share/gtk-doc/html/gtk3GtkViewport.html#GtkViewport-struct"><span class="type">GtkViewport</span></a> if the child doesn't implement <a href="/usr/share/gtk-doc/html/gtk3GtkScrollable.html#GtkScrollable-struct"><span class="type">GtkScrollable</span></a>.</p>
</div>
<p>Used to add children without native scrolling capabilities. This
is simply a convenience function; it is equivalent to adding the
unscrollable child to a viewport, then adding the viewport to the
scrolled window. If a child has native scrolling, use
<a href="/usr/share/gtk-doc/html/gtk3GtkContainer.html#gtk-container-add"><code class="function">gtk_container_add()</code></a> instead of this function.</p>
<p>The viewport scrolls the child by moving its <a href="/usr/share/gtk-doc/html/gdk2gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>, and takes
the size of the child to be the size of its toplevel <a href="/usr/share/gtk-doc/html/gdk2gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
This will be very wrong for most widgets that support native scrolling;
for example, if you add a widget such as <a href="/usr/share/gtk-doc/html/gtk3GtkTreeView.html#GtkTreeView-struct"><span class="type">GtkTreeView</span></a> with a viewport,
the whole widget will scroll, including the column headings. Thus,
widgets with native scrolling support should not be used with the
<a href="/usr/share/gtk-doc/html/gtk3GtkViewport.html#GtkViewport-struct"><span class="type">GtkViewport</span></a> proxy.</p>
<p>A widget supports scrolling natively if it implements the
<a href="/usr/share/gtk-doc/html/gtk3GtkScrollable.html#GtkScrollable-struct"><span class="type">GtkScrollable</span></a> interface.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.7.8"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>child</p></td>
<td class="parameter_description"><p>the widget you want to scroll</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-set-kinetic-scrolling"></a><h3>gtk_scrolled_sync_window_set_kinetic_scrolling ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_scrolled_sync_window_set_kinetic_scrolling
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> kinetic_scrolling</code></em>);</pre>
<p>Turns kinetic scrolling on or off.
Kinetic scrolling only applies to devices with source
<code class="literal">GDK_SOURCE_TOUCHSCREEN</code>.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>kinetic_scrolling</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable kinetic scrolling</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-get-kinetic-scrolling"></a><h3>gtk_scrolled_sync_window_get_kinetic_scrolling ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_scrolled_sync_window_get_kinetic_scrolling
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>);</pre>
<p>Returns the specified kinetic scrolling behavior.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.6.4.11.9.6"></a><h4>Returns</h4>
<p> the scrolling behavior flags.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-set-capture-button-press"></a><h3>gtk_scrolled_sync_window_set_capture_button_press ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_scrolled_sync_window_set_capture_button_press
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> capture_button_press</code></em>);</pre>
<p>Changes the behaviour of <em class="parameter"><code>self</code></em>
 wrt. to the initial
event that possibly starts kinetic scrolling. When <em class="parameter"><code>capture_button_press</code></em>

is set to <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the event is captured by the scrolled window, and
then later replayed if it is meant to go to the child widget.</p>
<p>This should be enabled if any child widgets perform non-reversible
actions on <a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-button-press-event"><span class="type">“button-press-event”</span></a>. If they don't, and handle
additionally handle <a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-grab-broken-event"><span class="type">“grab-broken-event”</span></a>, it might be better
to set <em class="parameter"><code>capture_button_press</code></em>
 to <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
<p>This setting only has an effect if kinetic scrolling is enabled.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.10.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>capture_button_press</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to capture button presses</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-scrolled-sync-window-get-capture-button-press"></a><h3>gtk_scrolled_sync_window_get_capture_button_press ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_scrolled_sync_window_get_capture_button_press
                               (<em class="parameter"><code><a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *self</code></em>);</pre>
<p>Return whether button presses are captured during kinetic
scrolling. See <a class="link" href="GtkScrolledSyncWindow.html#gtk-scrolled-sync-window-set-capture-button-press" title="gtk_scrolled_sync_window_set_capture_button_press ()"><code class="function">gtk_scrolled_sync_window_set_capture_button_press()</code></a>.</p>
<div class="refsect3">
<a name="id-1.4.6.4.11.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.6.4.11.11.6"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if button presses are captured during kinetic scrolling</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkScrolledSyncWindow-struct"></a><h3>struct GtkScrolledSyncWindow</h3>
<pre class="programlisting">struct GtkScrolledSyncWindow;</pre>
<p>a scrolling container widget</p>
</div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkScrolledSyncWindow--hadjustment"></a><h3>The <code class="literal">“hadjustment”</code> property</h3>
<pre class="programlisting">  “hadjustment”              <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *</pre>
<p>The GtkAdjustment for the horizontal position.</p>
<p>Flags: Read / Write / Construct</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkScrolledSyncWindow--kinetic-scrolling"></a><h3>The <code class="literal">“kinetic-scrolling”</code> property</h3>
<pre class="programlisting">  “kinetic-scrolling”        <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>The kinetic scrolling behavior flags. Kinetic scrolling
only applies to devices with source <code class="literal">GDK_SOURCE_TOUCHSCREEN</code></p>
<p>Flags: Read / Write</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkScrolledSyncWindow--vadjustment"></a><h3>The <code class="literal">“vadjustment”</code> property</h3>
<pre class="programlisting">  “vadjustment”              <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a> *</pre>
<p>The GtkAdjustment for the vertical position.</p>
<p>Flags: Read / Write / Construct</p>
</div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkScrolledSyncWindow-move-focus-out"></a><h3>The <code class="literal">“move-focus-out”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *scrolled_sync_window,
               <a href="/usr/share/gtk-doc/html/gtk3gtk3-Standard-Enumerations.html#GtkDirectionType"><span class="type">GtkDirectionType</span></a>       direction_type,
               <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>               user_data)</pre>
<p>The ::move-focus-out signal is a</p>
keybinding signal<p>which gets emitted when focus is moved away from the scrolled
window by a keybinding.
The <a href="/usr/share/gtk-doc/html/gtk3GtkWidget.html#GtkWidget-move-focus"><span class="type">“move-focus”</span></a> signal is emitted with <em class="parameter"><code>direction_type</code></em>

on this scrolled windows toplevel parent in the container hierarchy.
The default bindings for this signal are</p>
<span class="keycap"><strong>Tab</strong></span>+<span class="keycap"><strong>Ctrl</strong></span><p>and</p>
<span class="keycap"><strong>Tab</strong></span>+<span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>Shift</strong></span>.
<div class="refsect3">
<a name="id-1.4.6.4.14.2.10"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scrolled_sync_window</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>direction_type</p></td>
<td class="parameter_description"><p>either <code class="literal">GTK_DIR_TAB_FORWARD</code> or
<code class="literal">GTK_DIR_TAB_BACKWARD</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Action</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkScrolledSyncWindow-scroll-child"></a><h3>The <code class="literal">“scroll-child”</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a> *scrolled_sync_window,
               <a href="/usr/share/gtk-doc/html/gtk3gtk3-Standard-Enumerations.html#GtkScrollType"><span class="type">GtkScrollType</span></a>          scroll,
               <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>               horizontal,
               <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>               user_data)</pre>
<p>The ::scroll-child signal is a</p>
keybinding signal<p>which gets emitted when a keybinding that scrolls is pressed.
The horizontal or vertical adjustment is updated which triggers a
signal that the scrolled windows child may listen to and scroll itself.</p>
<div class="refsect3">
<a name="id-1.4.6.4.14.3.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scrolled_sync_window</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkScrolledSyncWindow.html" title="GtkScrolledSyncWindow"><span class="type">GtkScrolledSyncWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>scroll</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3gtk3-Standard-Enumerations.html#GtkScrollType"><span class="type">GtkScrollType</span></a> describing how much to scroll</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>horizontal</p></td>
<td class="parameter_description"><p>whether the keybinding scrolls the child
horizontally or not</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Action</p>
</div>
</div>
<div class="refsect1">
<a name="GtkScrolledSyncWindow.see-also"></a><h2>See Also</h2>
<p><a href="/usr/share/gtk-doc/html/gtk3GtkScrollable.html#GtkScrollable-struct"><span class="type">GtkScrollable</span></a>, <a href="/usr/share/gtk-doc/html/gtk3GtkViewport.html#GtkViewport-struct"><span class="type">GtkViewport</span></a>, <a href="/usr/share/gtk-doc/html/gtk3GtkAdjustment.html#GtkAdjustment-struct"><span class="type">GtkAdjustment</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24.1</div>
</body>
</html>