-
Notifications
You must be signed in to change notification settings - Fork 64
/
GdkX11-2.0.gir
1022 lines (1022 loc) · 44.4 KB
/
GdkX11-2.0.gir
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
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gdk" version="2.0"/>
<include name="GdkPixbuf" version="2.0"/>
<include name="Gio" version="2.0"/>
<include name="Pango" version="1.0"/>
<include name="cairo" version="1.0"/>
<include name="xlib" version="2.0"/>
<namespace name="GdkX11"
version="2.0"
shared-library="libgdk-x11-2.0.so.0"
c:identifier-prefixes="Gdk"
c:symbol-prefixes="gdk">
<function name="net_wm_supports" c:identifier="gdk_net_wm_supports">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="property" transfer-ownership="none">
<type name="Gdk.Atom" c:type="GdkAtom"/>
</parameter>
</parameters>
</function>
<function name="x11_atom_to_xatom"
c:identifier="gdk_x11_atom_to_xatom"
introspectable="0">
<doc xml:whitespace="preserve">Converts from a #GdkAtom to the X atom for the default GDK display
with the same string value.</doc>
<return-value>
<doc xml:whitespace="preserve">the X atom corresponding to @atom.</doc>
<type name="xlib.Atom" c:type="Atom"/>
</return-value>
<parameters>
<parameter name="atom" transfer-ownership="none">
<doc xml:whitespace="preserve">A #GdkAtom</doc>
<type name="Gdk.Atom" c:type="GdkAtom"/>
</parameter>
</parameters>
</function>
<function name="x11_atom_to_xatom_for_display"
c:identifier="gdk_x11_atom_to_xatom_for_display"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">Converts from a #GdkAtom to the X atom for a #GdkDisplay
with the same string value. The special value %GDK_NONE
is converted to %None.</doc>
<return-value>
<doc xml:whitespace="preserve">the X atom corresponding to @atom, or %None</doc>
<type name="xlib.Atom" c:type="Atom"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">A #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="atom" transfer-ownership="none">
<doc xml:whitespace="preserve">A #GdkAtom, or %GDK_NONE</doc>
<type name="Gdk.Atom" c:type="GdkAtom"/>
</parameter>
</parameters>
</function>
<function name="x11_colormap_foreign_new"
c:identifier="gdk_x11_colormap_foreign_new"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">If xcolormap refers to a colormap previously known to GTK+,
returns a new reference to the existing #GdkColormap object,
otherwise creates a new GdkColormap object and returns that
Free with g_object_unref(). Note that for colormap created
with gdk_x11_colormap_foreign_new(), unref'ing the last
reference to the object will only free the #GdkColoramp
object and not call XFreeColormap()</doc>
<return-value>
<doc xml:whitespace="preserve">the #GdkColormap object for @xcolormap.</doc>
<type name="Gdk.Colormap" c:type="GdkColormap*"/>
</return-value>
<parameters>
<parameter name="visual" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkVisual</doc>
<type name="Gdk.Visual" c:type="GdkVisual*"/>
</parameter>
<parameter name="xcolormap" transfer-ownership="none">
<doc xml:whitespace="preserve">The XID of a colormap with visual @visual</doc>
<type name="xlib.Colormap" c:type="Colormap"/>
</parameter>
</parameters>
</function>
<function name="x11_colormap_get_xcolormap"
c:identifier="gdk_x11_colormap_get_xcolormap"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X colormap belonging to a #GdkColormap.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Colormap</type>.</doc>
<type name="xlib.Colormap" c:type="Colormap"/>
</return-value>
<parameters>
<parameter name="colormap" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkColormap.</doc>
<type name="Gdk.Colormap" c:type="GdkColormap*"/>
</parameter>
</parameters>
</function>
<function name="x11_colormap_get_xdisplay"
c:identifier="gdk_x11_colormap_get_xdisplay"
introspectable="0">
<doc xml:whitespace="preserve">Returns the display of a #GdkColormap.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Display*</type>.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="colormap" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkColormap.</doc>
<type name="Gdk.Colormap" c:type="GdkColormap*"/>
</parameter>
</parameters>
</function>
<function name="x11_cursor_get_xcursor"
c:identifier="gdk_x11_cursor_get_xcursor"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X cursor belonging to a #GdkCursor.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Cursor</type>.</doc>
<type name="xlib.Cursor" c:type="Cursor"/>
</return-value>
<parameters>
<parameter name="cursor" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkCursor.</doc>
<type name="Gdk.Cursor" c:type="GdkCursor*"/>
</parameter>
</parameters>
</function>
<function name="x11_cursor_get_xdisplay"
c:identifier="gdk_x11_cursor_get_xdisplay"
introspectable="0">
<doc xml:whitespace="preserve">Returns the display of a #GdkCursor.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Display*</type>.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="cursor" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkCursor.</doc>
<type name="Gdk.Cursor" c:type="GdkCursor*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_broadcast_startup_message"
c:identifier="gdk_x11_display_broadcast_startup_message"
version="2.12"
introspectable="0">
<doc xml:whitespace="preserve">Sends a startup notification message of type @message_type to
This is a convenience function for use by code that implements the
freedesktop startup notification specification. Applications should
not normally need to call it directly. See the <ulink
url="http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt">Startup
Notification Protocol specification</ulink> for
definitions of the message types and keys that can be used.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="message_type" transfer-ownership="none">
<doc xml:whitespace="preserve">startup notification message type ("new", "change", or "remove")</doc>
<type name="utf8" c:type="char*"/>
</parameter>
<parameter transfer-ownership="none">
<varargs>
</varargs>
</parameter>
</parameters>
</function>
<function name="x11_display_get_startup_notification_id"
c:identifier="gdk_x11_display_get_startup_notification_id"
version="2.12">
<doc xml:whitespace="preserve">Gets the startup notification ID for a display.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the startup notification ID for @display</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_get_user_time"
c:identifier="gdk_x11_display_get_user_time"
version="2.8">
<doc xml:whitespace="preserve">Returns the timestamp of the last user interaction on
by user interaction such as key presses or pointer
movements. See gdk_x11_window_set_user_time().</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the timestamp of the last user interaction</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_get_xdisplay"
c:identifier="gdk_x11_display_get_xdisplay"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X display of a #GdkDisplay.</doc>
<return-value>
<doc xml:whitespace="preserve">an X display.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_grab"
c:identifier="gdk_x11_display_grab"
version="2.2">
<doc xml:whitespace="preserve">Call XGrabServer() on @display.
To ungrab the display again, use gdk_x11_display_ungrab().
gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_set_cursor_theme"
c:identifier="gdk_x11_display_set_cursor_theme"
version="2.8">
<doc xml:whitespace="preserve">Sets the cursor theme from which the images for cursor
should be taken.
If the windowing system supports it, existing cursors created
with gdk_cursor_new(), gdk_cursor_new_for_display() and
gdk_cursor_new_for_name() are updated to reflect the theme
change. Custom cursors constructed with gdk_cursor_new_from_pixmap()
or gdk_cursor_new_from_pixbuf() will have to be handled
by the application (GTK+ applications can learn about
cursor theme changes by listening for change notification
for the corresponding #GtkSetting).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="theme" transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the cursor theme to use, or %NULL to unset a previously set value</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:whitespace="preserve">the cursor size to use, or 0 to keep the previous size</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="x11_display_string_to_compound_text"
c:identifier="gdk_x11_display_string_to_compound_text">
<return-value transfer-ownership="none">
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="str" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="encoding" transfer-ownership="none">
<type name="Gdk.Atom" c:type="GdkAtom*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="ctext" transfer-ownership="none">
<type name="guint8" c:type="guchar**"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_text_property_to_text_list"
c:identifier="gdk_x11_display_text_property_to_text_list">
<return-value transfer-ownership="none">
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="encoding" transfer-ownership="none">
<type name="Gdk.Atom" c:type="GdkAtom"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="text" transfer-ownership="none">
<type name="guint8" c:type="guchar*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="list" transfer-ownership="none">
<type name="utf8" c:type="gchar***"/>
</parameter>
</parameters>
</function>
<function name="x11_display_ungrab"
c:identifier="gdk_x11_display_ungrab"
version="2.2">
<doc xml:whitespace="preserve">Ungrab @display after it has been grabbed with
gdk_x11_display_grab().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
</parameters>
</function>
<function name="x11_display_utf8_to_compound_text"
c:identifier="gdk_x11_display_utf8_to_compound_text">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="str" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="encoding" transfer-ownership="none">
<type name="Gdk.Atom" c:type="GdkAtom*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="ctext" transfer-ownership="none">
<type name="guint8" c:type="guchar**"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</function>
<function name="x11_drawable_get_xdisplay"
c:identifier="gdk_x11_drawable_get_xdisplay"
introspectable="0">
<doc xml:whitespace="preserve">Returns the display of a #GdkDrawable.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Display*</type>.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="drawable" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDrawable.</doc>
<type name="Gdk.Drawable" c:type="GdkDrawable*"/>
</parameter>
</parameters>
</function>
<function name="x11_drawable_get_xid"
c:identifier="gdk_x11_drawable_get_xid"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X resource (window or pixmap) belonging to a #GdkDrawable.</doc>
<return-value>
<doc xml:whitespace="preserve">the ID of @drawable's X resource.</doc>
<type name="xlib.XID" c:type="XID"/>
</return-value>
<parameters>
<parameter name="drawable" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDrawable.</doc>
<type name="Gdk.Drawable" c:type="GdkDrawable*"/>
</parameter>
</parameters>
</function>
<function name="x11_font_get_name" c:identifier="gdk_x11_font_get_name">
<return-value transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<type name="Gdk.Font" c:type="GdkFont*"/>
</parameter>
</parameters>
</function>
<function name="x11_font_get_xdisplay"
c:identifier="gdk_x11_font_get_xdisplay"
introspectable="0">
<return-value>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<type name="Gdk.Font" c:type="GdkFont*"/>
</parameter>
</parameters>
</function>
<function name="x11_font_get_xfont"
c:identifier="gdk_x11_font_get_xfont"
introspectable="0">
<return-value>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<type name="Gdk.Font" c:type="GdkFont*"/>
</parameter>
</parameters>
</function>
<function name="x11_free_compound_text"
c:identifier="gdk_x11_free_compound_text">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="ctext" transfer-ownership="none">
<type name="guint8" c:type="guchar*"/>
</parameter>
</parameters>
</function>
<function name="x11_free_text_list" c:identifier="gdk_x11_free_text_list">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="list" transfer-ownership="none">
<type name="utf8" c:type="gchar**"/>
</parameter>
</parameters>
</function>
<function name="x11_gc_get_xdisplay"
c:identifier="gdk_x11_gc_get_xdisplay"
introspectable="0"
deprecated="#GdkGC has been replaced by #cairo_t."
deprecated-version="2.22">
<doc xml:whitespace="preserve">Returns the display of a #GdkGC.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Display*</type>.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="gc" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkGC.</doc>
<type name="Gdk.GC" c:type="GdkGC*"/>
</parameter>
</parameters>
</function>
<function name="x11_gc_get_xgc"
c:identifier="gdk_x11_gc_get_xgc"
introspectable="0"
deprecated="#GdkGC has been replaced by #cairo_t."
deprecated-version="2.22">
<doc xml:whitespace="preserve">Returns the X GC of a #GdkGC.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>GC</type>.</doc>
<type c:type="GC"/>
</return-value>
<parameters>
<parameter name="gc" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkGC.</doc>
<type name="Gdk.GC" c:type="GdkGC*"/>
</parameter>
</parameters>
</function>
<function name="x11_get_default_root_xwindow"
c:identifier="gdk_x11_get_default_root_xwindow"
introspectable="0">
<doc xml:whitespace="preserve">Gets the root window of the default screen
(see gdk_x11_get_default_screen()).</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Window</type>.</doc>
<type name="xlib.Window" c:type="Window"/>
</return-value>
</function>
<function name="x11_get_default_screen"
c:identifier="gdk_x11_get_default_screen">
<doc xml:whitespace="preserve">Gets the default GTK+ screen number.
the --display command line option or the DISPLAY environment
variable when gdk_init() calls XOpenDisplay().</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">returns the screen number specified by</doc>
<type name="gint" c:type="gint"/>
</return-value>
</function>
<function name="x11_get_default_xdisplay"
c:identifier="gdk_x11_get_default_xdisplay"
introspectable="0">
<doc xml:whitespace="preserve">Gets the default GTK+ display.
specified in the <option>--display</option> command line option
or the <envar>DISPLAY</envar> environment variable.</doc>
<return-value>
<doc xml:whitespace="preserve">the Xlib <type>Display*</type> for the display</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
</function>
<function name="x11_get_server_time"
c:identifier="gdk_x11_get_server_time">
<return-value transfer-ownership="none">
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="window" transfer-ownership="none">
<type name="Gdk.Window" c:type="GdkWindow*"/>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_by_name"
c:identifier="gdk_x11_get_xatom_by_name"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X atom for GDK's default display corresponding to @atom_name.
This function caches the result, so if called repeatedly it is much
faster than XInternAtom(), which is a round trip to the server each time.</doc>
<return-value>
<doc xml:whitespace="preserve">a X atom for GDK's default display.</doc>
<type name="xlib.Atom" c:type="Atom"/>
</return-value>
<parameters>
<parameter name="atom_name" transfer-ownership="none">
<doc xml:whitespace="preserve">a string</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_by_name_for_display"
c:identifier="gdk_x11_get_xatom_by_name_for_display"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X atom for a #GdkDisplay corresponding to @atom_name.
This function caches the result, so if called repeatedly it is much
faster than XInternAtom(), which is a round trip to the server each time.</doc>
<return-value>
<doc xml:whitespace="preserve">a X atom for a #GdkDisplay</doc>
<type name="xlib.Atom" c:type="Atom"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="atom_name" transfer-ownership="none">
<doc xml:whitespace="preserve">a string</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_name" c:identifier="gdk_x11_get_xatom_name">
<doc xml:whitespace="preserve">Returns the name of an X atom for GDK's default display. This
function is meant mainly for debugging, so for convenience, unlike
<function>XAtomName()</function> and gdk_atom_name(), the result
doesn't need to be freed. Also, this function will never return %NULL,
even if @xatom is invalid.
so it shouldn't be modifed or freed.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">name of the X atom; this string is owned by GTK+,</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="xatom" transfer-ownership="none">
<doc xml:whitespace="preserve">an X atom for GDK's default display</doc>
<type name="xlib.Atom" c:type="Atom"/>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_name_for_display"
c:identifier="gdk_x11_get_xatom_name_for_display"
version="2.2">
<doc xml:whitespace="preserve">Returns the name of an X atom for its display. This
function is meant mainly for debugging, so for convenience, unlike
XAtomName() and gdk_atom_name(), the result doesn't need to
be freed.
so it shouldn't be modifed or freed.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">name of the X atom; this string is owned by GDK,</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GdkDisplay where @xatom is defined</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="xatom" transfer-ownership="none">
<doc xml:whitespace="preserve">an X atom</doc>
<type name="xlib.Atom" c:type="Atom"/>
</parameter>
</parameters>
</function>
<function name="x11_grab_server" c:identifier="gdk_x11_grab_server">
<doc xml:whitespace="preserve">Call gdk_x11_display_grab() on the default display.
To ungrab the server again, use gdk_x11_ungrab_server().
gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="x11_image_get_xdisplay"
c:identifier="gdk_x11_image_get_xdisplay"
introspectable="0">
<doc xml:whitespace="preserve">Returns the display of a #GdkImage.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Display*</type>.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<parameter name="image" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkImage.</doc>
<type name="Gdk.Image" c:type="GdkImage*"/>
</parameter>
</parameters>
</function>
<function name="x11_image_get_ximage"
c:identifier="gdk_x11_image_get_ximage"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X image belonging to a #GdkImage.</doc>
<return-value>
<doc xml:whitespace="preserve">an <type>XImage*</type>.</doc>
<type name="xlib.XImage" c:type="XImage*"/>
</return-value>
<parameters>
<parameter name="image" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkImage.</doc>
<type name="Gdk.Image" c:type="GdkImage*"/>
</parameter>
</parameters>
</function>
<function name="x11_lookup_xdisplay"
c:identifier="gdk_x11_lookup_xdisplay"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">Find the #GdkDisplay corresponding to @display, if any exists.</doc>
<return-value>
<doc xml:whitespace="preserve">the #GdkDisplay, if found, otherwise %NULL.</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</return-value>
<parameters>
<parameter name="xdisplay" transfer-ownership="none">
<doc xml:whitespace="preserve">a pointer to an X Display</doc>
<type name="xlib.Display" c:type="Display*"/>
</parameter>
</parameters>
</function>
<function name="x11_pixmap_get_drawable_impl"
c:identifier="gdk_x11_pixmap_get_drawable_impl"
introspectable="0">
<return-value>
<type name="Gdk.Drawable" c:type="GdkDrawable*"/>
</return-value>
<parameters>
<parameter name="pixmap" transfer-ownership="none">
<type name="Gdk.Pixmap" c:type="GdkPixmap*"/>
</parameter>
</parameters>
</function>
<function name="x11_register_standard_event_type"
c:identifier="gdk_x11_register_standard_event_type">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="event_base" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="n_events" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="x11_screen_get_monitor_output"
c:identifier="gdk_x11_screen_get_monitor_output"
version="2.14"
introspectable="0">
<doc xml:whitespace="preserve">Gets the XID of the specified output/monitor.
If the X server does not support version 1.2 of the RANDR
extension, 0 is returned.</doc>
<return-value>
<doc xml:whitespace="preserve">the XID of the monitor</doc>
<type name="xlib.XID" c:type="XID"/>
</return-value>
<parameters>
<parameter name="screen" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkScreen</doc>
<type name="Gdk.Screen" c:type="GdkScreen*"/>
</parameter>
<parameter name="monitor_num" transfer-ownership="none">
<doc xml:whitespace="preserve">number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="x11_screen_get_screen_number"
c:identifier="gdk_x11_screen_get_screen_number"
version="2.2">
<doc xml:whitespace="preserve">Returns the index of a #GdkScreen.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the position of @screen among the screens of its display.</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<parameter name="screen" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkScreen.</doc>
<type name="Gdk.Screen" c:type="GdkScreen*"/>
</parameter>
</parameters>
</function>
<function name="x11_screen_get_window_manager_name"
c:identifier="gdk_x11_screen_get_window_manager_name">
<return-value transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="screen" transfer-ownership="none">
<type name="Gdk.Screen" c:type="GdkScreen*"/>
</parameter>
</parameters>
</function>
<function name="x11_screen_get_xscreen"
c:identifier="gdk_x11_screen_get_xscreen"
version="2.2">
<doc xml:whitespace="preserve">Returns the screen of a #GdkScreen.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">an Xlib <type>Screen*</type></doc>
<type name="xlib.Screen" c:type="Screen*"/>
</return-value>
<parameters>
<parameter name="screen" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkScreen.</doc>
<type name="Gdk.Screen" c:type="GdkScreen*"/>
</parameter>
</parameters>
</function>
<function name="x11_screen_lookup_visual"
c:identifier="gdk_x11_screen_lookup_visual"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">Looks up the #GdkVisual for a particular screen and X Visual ID.
if the visual ID wasn't found.</doc>
<return-value>
<doc xml:whitespace="preserve">the #GdkVisual (owned by the screen object), or %NULL</doc>
<type name="Gdk.Visual" c:type="GdkVisual*"/>
</return-value>
<parameters>
<parameter name="screen" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkScreen.</doc>
<type name="Gdk.Screen" c:type="GdkScreen*"/>
</parameter>
<parameter name="xvisualid" transfer-ownership="none">
<doc xml:whitespace="preserve">an X Visual ID.</doc>
<type name="xlib.VisualID" c:type="VisualID"/>
</parameter>
</parameters>
</function>
<function name="x11_screen_supports_net_wm_hint"
c:identifier="gdk_x11_screen_supports_net_wm_hint">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="screen" transfer-ownership="none">
<type name="Gdk.Screen" c:type="GdkScreen*"/>
</parameter>
<parameter name="property" transfer-ownership="none">
<type name="Gdk.Atom" c:type="GdkAtom"/>
</parameter>
</parameters>
</function>
<function name="x11_set_sm_client_id"
c:identifier="gdk_x11_set_sm_client_id"
version="2.24">
<doc xml:whitespace="preserve">Sets the <literal>SM_CLIENT_ID</literal> property on the application's leader window so that
the window manager can save the application's state using the X11R6 ICCCM
session management protocol.
See the X Session Management Library documentation for more information on
session management and the Inter-Client Communication Conventions Manual</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="sm_client_id" transfer-ownership="none">
<doc xml:whitespace="preserve">the client id assigned by the session manager when the connection was opened, or %NULL to remove the property.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<function name="x11_ungrab_server" c:identifier="gdk_x11_ungrab_server">
<doc xml:whitespace="preserve">Ungrab the default display after it has been grabbed with
gdk_x11_grab_server().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="x11_visual_get_xvisual"
c:identifier="gdk_x11_visual_get_xvisual"
introspectable="0">
<doc xml:whitespace="preserve">Returns the X visual belonging to a #GdkVisual.</doc>
<return-value>
<doc xml:whitespace="preserve">an Xlib <type>Visual*</type>.</doc>
<type name="xlib.Visual" c:type="Visual*"/>
</return-value>
<parameters>
<parameter name="visual" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkVisual.</doc>
<type name="Gdk.Visual" c:type="GdkVisual*"/>
</parameter>
</parameters>
</function>
<function name="x11_window_foreign_new_for_display"
c:identifier="gdk_x11_window_foreign_new_for_display"
version="2.24"
introspectable="0">
<doc xml:whitespace="preserve">Wraps a native window in a #GdkWindow.
This may fail if the window has been destroyed. If the window
was already known to GDK, a new reference to the existing
#GdkWindow is returned.
%NULL if the window has been destroyed. The wrapper will be
newly created, if one doesn't exist already.</doc>
<return-value>
<doc xml:whitespace="preserve">a #GdkWindow wrapper for the native window or</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GdkDisplay where the window handle comes from.</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="window" transfer-ownership="none">
<doc xml:whitespace="preserve">an XLib <type>Window</type></doc>
<type name="xlib.Window" c:type="Window"/>
</parameter>
</parameters>
</function>
<function name="x11_window_get_drawable_impl"
c:identifier="gdk_x11_window_get_drawable_impl"
introspectable="0">
<return-value>
<type name="Gdk.Drawable" c:type="GdkDrawable*"/>
</return-value>
<parameters>
<parameter name="window" transfer-ownership="none">
<type name="Gdk.Window" c:type="GdkWindow*"/>
</parameter>
</parameters>
</function>
<function name="x11_window_lookup_for_display"
c:identifier="gdk_x11_window_lookup_for_display"
version="2.24"
introspectable="0">
<doc xml:whitespace="preserve">Looks up the #GdkWindow that wraps the given native window handle.
or %NULL if there is none.</doc>
<return-value>
<doc xml:whitespace="preserve">the #GdkWindow wrapper for the native window,</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GdkDisplay corresponding to the window handle</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="window" transfer-ownership="none">
<doc xml:whitespace="preserve">an XLib <type>Window</type></doc>
<type name="xlib.Window" c:type="Window"/>
</parameter>
</parameters>
</function>
<function name="x11_window_move_to_current_desktop"
c:identifier="gdk_x11_window_move_to_current_desktop"
version="2.8">
<doc xml:whitespace="preserve">Moves the window to the correct workspace when running under a
window manager that supports multiple workspaces, as described
in the <ulink url="http://www.freedesktop.org/Standards/wm-spec">Extended
Window Manager Hints</ulink>. Will not do anything if the
window is already on all workspaces.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="window" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</parameter>
</parameters>
</function>
<function name="x11_window_set_user_time"
c:identifier="gdk_x11_window_set_user_time"
version="2.6">
<doc xml:whitespace="preserve">The application can use this call to update the _NET_WM_USER_TIME
property on a toplevel window. This property stores an Xserver
time which represents the time of the last user input event
received for this window. This property may be used by the window
manager to alter the focus, stacking, and/or placement behavior of
windows when they are mapped depending on whether the new window
was created by a user action or is a "pop-up" window activated by a
timer or some other event.
Note that this property is automatically updated by GDK, so this
function should only be used by applications which handle input
events bypassing GDK.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="window" transfer-ownership="none">
<doc xml:whitespace="preserve">A toplevel #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
<doc xml:whitespace="preserve">An XServer timestamp to which the property should be set</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<function name="x11_xatom_to_atom"
c:identifier="gdk_x11_xatom_to_atom"
introspectable="0">
<doc xml:whitespace="preserve">Convert from an X atom for the default display to the corresponding
#GdkAtom.</doc>
<return-value>
<doc xml:whitespace="preserve">the corresponding G#dkAtom.</doc>
<type name="Gdk.Atom" c:type="GdkAtom"/>
</return-value>
<parameters>
<parameter name="xatom" transfer-ownership="none">
<doc xml:whitespace="preserve">an X atom for the default GDK display</doc>
<type name="xlib.Atom" c:type="Atom"/>
</parameter>
</parameters>
</function>
<function name="x11_xatom_to_atom_for_display"
c:identifier="gdk_x11_xatom_to_atom_for_display"
version="2.2"
introspectable="0">
<doc xml:whitespace="preserve">Convert from an X atom for a #GdkDisplay to the corresponding
#GdkAtom.</doc>
<return-value>
<doc xml:whitespace="preserve">the corresponding #GdkAtom.</doc>
<type name="Gdk.Atom" c:type="GdkAtom"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:whitespace="preserve">A #GdkDisplay</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="xatom" transfer-ownership="none">
<doc xml:whitespace="preserve">an X atom</doc>
<type name="xlib.Atom" c:type="Atom"/>
</parameter>
</parameters>
</function>
<function name="xid_table_lookup"
c:identifier="gdk_xid_table_lookup"
introspectable="0">
<doc xml:whitespace="preserve">Returns the Gdk object associated with the given X id for the default
display.
a #GdkWindow or a #GdkFont or %NULL if no object is associated
with the X id.
only stores windows in its X id table nowadays, so use
gdk_x11_window_lookup_for_display() instead.</doc>
<return-value>
<doc xml:whitespace="preserve">the associated Gdk object, which may be a #GdkPixmap,</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<parameter name="xid" transfer-ownership="none">
<doc xml:whitespace="preserve">an X id.</doc>
<type name="xlib.XID" c:type="XID"/>
</parameter>
</parameters>
</function>
<function name="xid_table_lookup_for_display"
c:identifier="gdk_xid_table_lookup_for_display"
version="2.2"
introspectable="0">