2
<!-- This file was automatically generated from C sources - DO NOT EDIT!
3
To affect the contents of this file, edit the original C definitions,
4
and/or use gtk-doc annotations. -->
5
<repository version="1.0"
6
xmlns="http://www.gtk.org/introspection/core/1.0"
7
xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9
<include name="GLib" version="2.0"/>
10
<include name="GModule" version="2.0"/>
11
<include name="GObject" version="2.0"/>
12
<include name="GdkPixbuf" version="2.0"/>
13
<include name="Gio" version="2.0"/>
14
<include name="Pango" version="1.0"/>
15
<include name="cairo" version="1.0"/>
18
shared-library="libgdk-x11-2.0.so.0"
20
<alias name="NativeWindow" target="uint32" c:type="GdkNativeWindow"/>
21
<alias name="Selection" target="Atom" c:type="GdkSelection"/>
22
<alias name="SelectionType" target="Atom" c:type="GdkSelectionType"/>
23
<alias name="Target" target="Atom" c:type="GdkTarget"/>
24
<alias name="WChar" target="uint32" c:type="GdkWChar"/>
25
<alias name="XEvent" target="none" c:type="GdkXEvent"/>
26
<constant name="0" value="48">
29
<constant name="1" value="49">
32
<constant name="2" value="50">
35
<constant name="3" value="51">
38
<constant name="3270_AltCursor" value="64784">
41
<constant name="3270_Attn" value="64782">
44
<constant name="3270_BackTab" value="64773">
47
<constant name="3270_ChangeScreen" value="64793">
50
<constant name="3270_Copy" value="64789">
53
<constant name="3270_CursorBlink" value="64783">
56
<constant name="3270_CursorSelect" value="64796">
59
<constant name="3270_DeleteWord" value="64794">
62
<constant name="3270_Duplicate" value="64769">
65
<constant name="3270_Enter" value="64798">
68
<constant name="3270_EraseEOF" value="64774">
71
<constant name="3270_EraseInput" value="64775">
74
<constant name="3270_ExSelect" value="64795">
77
<constant name="3270_FieldMark" value="64770">
80
<constant name="3270_Ident" value="64787">
83
<constant name="3270_Jump" value="64786">
86
<constant name="3270_KeyClick" value="64785">
89
<constant name="3270_Left2" value="64772">
92
<constant name="3270_PA1" value="64778">
95
<constant name="3270_PA2" value="64779">
98
<constant name="3270_PA3" value="64780">
101
<constant name="3270_Play" value="64790">
104
<constant name="3270_PrintScreen" value="64797">
107
<constant name="3270_Quit" value="64777">
110
<constant name="3270_Record" value="64792">
113
<constant name="3270_Reset" value="64776">
116
<constant name="3270_Right2" value="64771">
119
<constant name="3270_Rule" value="64788">
122
<constant name="3270_Setup" value="64791">
125
<constant name="3270_Test" value="64781">
128
<constant name="4" value="52">
131
<constant name="5" value="53">
134
<constant name="6" value="54">
137
<constant name="7" value="55">
140
<constant name="8" value="56">
143
<constant name="9" value="57">
146
<constant name="A" value="65">
149
<constant name="AE" value="198">
152
<constant name="ANY_BUTTON_MASK" value="0">
155
<constant name="Aacute" value="193">
158
<constant name="Abelowdot" value="16785056">
161
<constant name="Abreve" value="451">
164
<constant name="Abreveacute" value="16785070">
167
<constant name="Abrevebelowdot" value="16785078">
170
<constant name="Abrevegrave" value="16785072">
173
<constant name="Abrevehook" value="16785074">
176
<constant name="Abrevetilde" value="16785076">
179
<constant name="AccessX_Enable" value="65136">
182
<constant name="AccessX_Feedback_Enable" value="65137">
185
<constant name="Acircumflex" value="194">
188
<constant name="Acircumflexacute" value="16785060">
191
<constant name="Acircumflexbelowdot" value="16785068">
194
<constant name="Acircumflexgrave" value="16785062">
197
<constant name="Acircumflexhook" value="16785064">
200
<constant name="Acircumflextilde" value="16785066">
203
<constant name="AddFavorite" value="269025081">
206
<constant name="Adiaeresis" value="196">
209
<constant name="Agrave" value="192">
212
<constant name="Ahook" value="16785058">
215
<constant name="Alt_L" value="65513">
218
<constant name="Alt_R" value="65514">
221
<constant name="Amacron" value="960">
224
<constant name="Aogonek" value="417">
227
<class name="AppLaunchContext"
228
c:type="GdkAppLaunchContext"
229
parent="Gio.AppLaunchContext"
230
glib:type-name="GdkAppLaunchContext"
231
glib:get-type="gdk_app_launch_context_get_type"
232
glib:type-struct="AppLaunchContextClass">
233
<constructor name="new"
234
c:identifier="gdk_app_launch_context_new"
235
doc="Creates a new #GdkAppLaunchContext."
237
<return-value transfer-ownership="full">
238
<type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
241
<method name="set_display"
242
c:identifier="gdk_app_launch_context_set_display"
243
doc="Sets the display on which applications will be launched when
244
using this context. See also gdk_app_launch_context_set_screen()."
246
<return-value transfer-ownership="none">
247
<type name="none" c:type="void"/>
250
<parameter name="display" transfer-ownership="none">
251
<type name="Display" c:type="GdkDisplay*"/>
255
<method name="set_screen"
256
c:identifier="gdk_app_launch_context_set_screen"
257
doc="Sets the screen on which applications will be launched when
258
using this context. See also gdk_app_launch_context_set_display().
259
If both @screen and @display are set, the @screen takes priority.
260
If neither @screen or @display are set, the default screen and
263
<return-value transfer-ownership="none">
264
<type name="none" c:type="void"/>
267
<parameter name="screen" transfer-ownership="none">
268
<type name="Screen" c:type="GdkScreen*"/>
272
<method name="set_desktop"
273
c:identifier="gdk_app_launch_context_set_desktop"
274
doc="Sets the workspace on which applications will be launched when
275
using this context when running under a window manager that
276
supports multiple workspaces, as described in the
277
<ulink url="http://www.freedesktop.org/Standards/wm-spec">Extended
278
Window Manager Hints</ulink>.
279
When the workspace is not specified or @desktop is set to -1,
280
it is up to the window manager to pick one, typically it will
281
be the current workspace."
283
<return-value transfer-ownership="none">
284
<type name="none" c:type="void"/>
287
<parameter name="desktop" transfer-ownership="none">
288
<type name="int" c:type="gint"/>
292
<method name="set_timestamp"
293
c:identifier="gdk_app_launch_context_set_timestamp"
294
doc="Sets the timestamp of @context. The timestamp should ideally
295
be taken from the event that triggered the launch.
296
Window managers can use this information to avoid moving the
297
focus to the newly launched application when the user is busy
298
typing in another window. This is also known as 'focus stealing
301
<return-value transfer-ownership="none">
302
<type name="none" c:type="void"/>
305
<parameter name="timestamp" transfer-ownership="none">
306
<type name="uint32" c:type="guint32"/>
310
<method name="set_icon"
311
c:identifier="gdk_app_launch_context_set_icon"
312
doc="Sets the icon for applications that are launched with this
314
Window Managers can use this information when displaying startup
316
See also gdk_app_launch_context_set_icon_name()."
318
<return-value transfer-ownership="none">
319
<type name="none" c:type="void"/>
322
<parameter name="icon"
323
transfer-ownership="none"
325
doc="a #GIcon, or %NULL">
326
<type name="Gio.Icon" c:type="GIcon*"/>
330
<method name="set_icon_name"
331
c:identifier="gdk_app_launch_context_set_icon_name"
332
doc="Sets the icon for applications that are launched with this context.
333
The @icon_name will be interpreted in the same way as the Icon field
334
in desktop files. See also gdk_app_launch_context_set_icon().
335
If both @icon and @icon_name are set, the @icon_name takes priority.
336
If neither @icon or @icon_name is set, the icon is taken from either
337
the file that is passed to launched application or from the #GAppInfo
338
for the launched application itself."
340
<return-value transfer-ownership="none">
341
<type name="none" c:type="void"/>
344
<parameter name="icon_name"
345
transfer-ownership="none"
347
doc="an icon name, or %NULL">
348
<type name="utf8" c:type="char*"/>
352
<field name="parent_instance">
353
<type name="Gio.AppLaunchContext" c:type="GAppLaunchContext"/>
356
<type name="AppLaunchContextPrivate"
357
c:type="GdkAppLaunchContextPrivate*"/>
360
<record name="AppLaunchContextClass"
361
c:type="GdkAppLaunchContextClass"
362
glib:is-gtype-struct-for="AppLaunchContext">
363
<field name="parent_class">
364
<type name="Gio.AppLaunchContextClass"
365
c:type="GAppLaunchContextClass"/>
368
<record name="AppLaunchContextPrivate" c:type="GdkAppLaunchContextPrivate">
370
<constant name="ApplicationLeft" value="269025104">
373
<constant name="ApplicationRight" value="269025105">
376
<constant name="Arabic_0" value="16778848">
379
<constant name="Arabic_1" value="16778849">
382
<constant name="Arabic_2" value="16778850">
385
<constant name="Arabic_3" value="16778851">
388
<constant name="Arabic_4" value="16778852">
391
<constant name="Arabic_5" value="16778853">
394
<constant name="Arabic_6" value="16778854">
397
<constant name="Arabic_7" value="16778855">
400
<constant name="Arabic_8" value="16778856">
403
<constant name="Arabic_9" value="16778857">
406
<constant name="Arabic_ain" value="1497">
409
<constant name="Arabic_alef" value="1479">
412
<constant name="Arabic_alefmaksura" value="1513">
415
<constant name="Arabic_beh" value="1480">
418
<constant name="Arabic_comma" value="1452">
421
<constant name="Arabic_dad" value="1494">
424
<constant name="Arabic_dal" value="1487">
427
<constant name="Arabic_damma" value="1519">
430
<constant name="Arabic_dammatan" value="1516">
433
<constant name="Arabic_ddal" value="16778888">
436
<constant name="Arabic_farsi_yeh" value="16778956">
439
<constant name="Arabic_fatha" value="1518">
442
<constant name="Arabic_fathatan" value="1515">
445
<constant name="Arabic_feh" value="1505">
448
<constant name="Arabic_fullstop" value="16778964">
451
<constant name="Arabic_gaf" value="16778927">
454
<constant name="Arabic_ghain" value="1498">
457
<constant name="Arabic_ha" value="1511">
460
<constant name="Arabic_hah" value="1485">
463
<constant name="Arabic_hamza" value="1473">
466
<constant name="Arabic_hamza_above" value="16778836">
469
<constant name="Arabic_hamza_below" value="16778837">
472
<constant name="Arabic_hamzaonalef" value="1475">
475
<constant name="Arabic_hamzaonwaw" value="1476">
478
<constant name="Arabic_hamzaonyeh" value="1478">
481
<constant name="Arabic_hamzaunderalef" value="1477">
484
<constant name="Arabic_heh" value="1511">
487
<constant name="Arabic_heh_doachashmee" value="16778942">
490
<constant name="Arabic_heh_goal" value="16778945">
493
<constant name="Arabic_jeem" value="1484">
496
<constant name="Arabic_jeh" value="16778904">
499
<constant name="Arabic_kaf" value="1507">
502
<constant name="Arabic_kasra" value="1520">
505
<constant name="Arabic_kasratan" value="1517">
508
<constant name="Arabic_keheh" value="16778921">
511
<constant name="Arabic_khah" value="1486">
514
<constant name="Arabic_lam" value="1508">
517
<constant name="Arabic_madda_above" value="16778835">
520
<constant name="Arabic_maddaonalef" value="1474">
523
<constant name="Arabic_meem" value="1509">
526
<constant name="Arabic_noon" value="1510">
529
<constant name="Arabic_noon_ghunna" value="16778938">
532
<constant name="Arabic_peh" value="16778878">
535
<constant name="Arabic_percent" value="16778858">
538
<constant name="Arabic_qaf" value="1506">
541
<constant name="Arabic_question_mark" value="1471">
544
<constant name="Arabic_ra" value="1489">
547
<constant name="Arabic_rreh" value="16778897">
550
<constant name="Arabic_sad" value="1493">
553
<constant name="Arabic_seen" value="1491">
556
<constant name="Arabic_semicolon" value="1467">
559
<constant name="Arabic_shadda" value="1521">
562
<constant name="Arabic_sheen" value="1492">
565
<constant name="Arabic_sukun" value="1522">
568
<constant name="Arabic_superscript_alef" value="16778864">
571
<constant name="Arabic_switch" value="65406">
574
<constant name="Arabic_tah" value="1495">
577
<constant name="Arabic_tatweel" value="1504">
580
<constant name="Arabic_tcheh" value="16778886">
583
<constant name="Arabic_teh" value="1482">
586
<constant name="Arabic_tehmarbuta" value="1481">
589
<constant name="Arabic_thal" value="1488">
592
<constant name="Arabic_theh" value="1483">
595
<constant name="Arabic_tteh" value="16778873">
598
<constant name="Arabic_veh" value="16778916">
601
<constant name="Arabic_waw" value="1512">
604
<constant name="Arabic_yeh" value="1514">
607
<constant name="Arabic_yeh_baree" value="16778962">
610
<constant name="Arabic_zah" value="1496">
613
<constant name="Arabic_zain" value="1490">
616
<constant name="Aring" value="197">
619
<constant name="Armenian_AT" value="16778552">
622
<constant name="Armenian_AYB" value="16778545">
625
<constant name="Armenian_BEN" value="16778546">
628
<constant name="Armenian_CHA" value="16778569">
631
<constant name="Armenian_DA" value="16778548">
634
<constant name="Armenian_DZA" value="16778561">
637
<constant name="Armenian_E" value="16778551">
640
<constant name="Armenian_FE" value="16778582">
643
<constant name="Armenian_GHAT" value="16778562">
646
<constant name="Armenian_GIM" value="16778547">
649
<constant name="Armenian_HI" value="16778565">
652
<constant name="Armenian_HO" value="16778560">
655
<constant name="Armenian_INI" value="16778555">
658
<constant name="Armenian_JE" value="16778571">
661
<constant name="Armenian_KE" value="16778580">
664
<constant name="Armenian_KEN" value="16778559">
667
<constant name="Armenian_KHE" value="16778557">
670
<constant name="Armenian_LYUN" value="16778556">
673
<constant name="Armenian_MEN" value="16778564">
676
<constant name="Armenian_NU" value="16778566">
679
<constant name="Armenian_O" value="16778581">
682
<constant name="Armenian_PE" value="16778570">
685
<constant name="Armenian_PYUR" value="16778579">
688
<constant name="Armenian_RA" value="16778572">
691
<constant name="Armenian_RE" value="16778576">
694
<constant name="Armenian_SE" value="16778573">
697
<constant name="Armenian_SHA" value="16778567">
700
<constant name="Armenian_TCHE" value="16778563">
703
<constant name="Armenian_TO" value="16778553">
706
<constant name="Armenian_TSA" value="16778558">
709
<constant name="Armenian_TSO" value="16778577">
712
<constant name="Armenian_TYUN" value="16778575">
715
<constant name="Armenian_VEV" value="16778574">
718
<constant name="Armenian_VO" value="16778568">
721
<constant name="Armenian_VYUN" value="16778578">
724
<constant name="Armenian_YECH" value="16778549">
727
<constant name="Armenian_ZA" value="16778550">
730
<constant name="Armenian_ZHE" value="16778554">
733
<constant name="Armenian_accent" value="16778587">
736
<constant name="Armenian_amanak" value="16778588">
739
<constant name="Armenian_apostrophe" value="16778586">
742
<constant name="Armenian_at" value="16778600">
745
<constant name="Armenian_ayb" value="16778593">
748
<constant name="Armenian_ben" value="16778594">
751
<constant name="Armenian_but" value="16778589">
754
<constant name="Armenian_cha" value="16778617">
757
<constant name="Armenian_da" value="16778596">
760
<constant name="Armenian_dza" value="16778609">
763
<constant name="Armenian_e" value="16778599">
766
<constant name="Armenian_exclam" value="16778588">
769
<constant name="Armenian_fe" value="16778630">
772
<constant name="Armenian_full_stop" value="16778633">
775
<constant name="Armenian_ghat" value="16778610">
778
<constant name="Armenian_gim" value="16778595">
781
<constant name="Armenian_hi" value="16778613">
784
<constant name="Armenian_ho" value="16778608">
787
<constant name="Armenian_hyphen" value="16778634">
790
<constant name="Armenian_ini" value="16778603">
793
<constant name="Armenian_je" value="16778619">
796
<constant name="Armenian_ke" value="16778628">
799
<constant name="Armenian_ken" value="16778607">
802
<constant name="Armenian_khe" value="16778605">
805
<constant name="Armenian_ligature_ew" value="16778631">
808
<constant name="Armenian_lyun" value="16778604">
811
<constant name="Armenian_men" value="16778612">
814
<constant name="Armenian_nu" value="16778614">
817
<constant name="Armenian_o" value="16778629">
820
<constant name="Armenian_paruyk" value="16778590">
823
<constant name="Armenian_pe" value="16778618">
826
<constant name="Armenian_pyur" value="16778627">
829
<constant name="Armenian_question" value="16778590">
832
<constant name="Armenian_ra" value="16778620">
835
<constant name="Armenian_re" value="16778624">
838
<constant name="Armenian_se" value="16778621">
841
<constant name="Armenian_separation_mark" value="16778589">
844
<constant name="Armenian_sha" value="16778615">
847
<constant name="Armenian_shesht" value="16778587">
850
<constant name="Armenian_tche" value="16778611">
853
<constant name="Armenian_to" value="16778601">
856
<constant name="Armenian_tsa" value="16778606">
859
<constant name="Armenian_tso" value="16778625">
862
<constant name="Armenian_tyun" value="16778623">
865
<constant name="Armenian_verjaket" value="16778633">
868
<constant name="Armenian_vev" value="16778622">
871
<constant name="Armenian_vo" value="16778616">
874
<constant name="Armenian_vyun" value="16778626">
877
<constant name="Armenian_yech" value="16778597">
880
<constant name="Armenian_yentamna" value="16778634">
883
<constant name="Armenian_za" value="16778598">
886
<constant name="Armenian_zhe" value="16778602">
889
<constant name="Atilde" value="195">
892
<record name="Atom" c:type="GdkAtom" disguised="1">
893
<method name="name" c:identifier="gdk_atom_name">
894
<return-value transfer-ownership="full">
895
<type name="utf8" c:type="gchar*"/>
899
<constant name="AudibleBell_Enable" value="65146">
902
<constant name="AudioCycleTrack" value="269025179">
905
<constant name="AudioForward" value="269025175">
908
<constant name="AudioLowerVolume" value="269025041">
911
<constant name="AudioMedia" value="269025074">
914
<constant name="AudioMute" value="269025042">
917
<constant name="AudioNext" value="269025047">
920
<constant name="AudioPause" value="269025073">
923
<constant name="AudioPlay" value="269025044">
926
<constant name="AudioPrev" value="269025046">
929
<constant name="AudioRaiseVolume" value="269025043">
932
<constant name="AudioRandomPlay" value="269025177">
935
<constant name="AudioRecord" value="269025052">
938
<constant name="AudioRepeat" value="269025176">
941
<constant name="AudioRewind" value="269025086">
944
<constant name="AudioStop" value="269025045">
947
<constant name="Away" value="269025165">
950
<enumeration name="AxisUse"
951
glib:type-name="GdkAxisUse"
952
glib:get-type="gdk_axis_use_get_type"
954
<member name="ignore"
956
c:identifier="GDK_AXIS_IGNORE"
958
<member name="x" value="1" c:identifier="GDK_AXIS_X" glib:nick="x"/>
959
<member name="y" value="2" c:identifier="GDK_AXIS_Y" glib:nick="y"/>
960
<member name="pressure"
962
c:identifier="GDK_AXIS_PRESSURE"
963
glib:nick="pressure"/>
966
c:identifier="GDK_AXIS_XTILT"
970
c:identifier="GDK_AXIS_YTILT"
974
c:identifier="GDK_AXIS_WHEEL"
978
c:identifier="GDK_AXIS_LAST"
981
<constant name="B" value="66">
984
<constant name="Babovedot" value="16784898">
987
<constant name="Back" value="269025062">
990
<constant name="BackForward" value="269025087">
993
<constant name="BackSpace" value="65288">
996
<constant name="Battery" value="269025171">
999
<constant name="Begin" value="65368">
1002
<record name="Bitmap" c:type="GdkBitmap">
1004
<constant name="Blue" value="269025190">
1007
<constant name="Bluetooth" value="269025172">
1010
<constant name="Book" value="269025106">
1013
<constant name="BounceKeys_Enable" value="65140">
1016
<constant name="Break" value="65387">
1019
<constant name="BrightnessAdjust" value="269025083">
1022
<constant name="Byelorussian_SHORTU" value="1726">
1025
<constant name="Byelorussian_shortu" value="1710">
1028
<enumeration name="ByteOrder"
1029
glib:type-name="GdkByteOrder"
1030
glib:get-type="gdk_byte_order_get_type"
1031
c:type="GdkByteOrder">
1032
<member name="lsb_first"
1034
c:identifier="GDK_LSB_FIRST"
1035
glib:nick="lsb-first"/>
1036
<member name="msb_first"
1038
c:identifier="GDK_MSB_FIRST"
1039
glib:nick="msb-first"/>
1041
<constant name="C" value="67">
1044
<constant name="CD" value="269025107">
1047
<constant name="CURRENT_TIME" value="0">
1050
<constant name="Cabovedot" value="709">
1053
<constant name="Cacute" value="454">
1056
<constant name="Calculator" value="269025053">
1059
<constant name="Calendar" value="269025056">
1062
<constant name="Cancel" value="65385">
1065
<enumeration name="CapStyle"
1066
glib:type-name="GdkCapStyle"
1067
glib:get-type="gdk_cap_style_get_type"
1068
c:type="GdkCapStyle">
1069
<member name="not_last"
1071
c:identifier="GDK_CAP_NOT_LAST"
1072
glib:nick="not-last"/>
1075
c:identifier="GDK_CAP_BUTT"
1077
<member name="round"
1079
c:identifier="GDK_CAP_ROUND"
1081
<member name="projecting"
1083
c:identifier="GDK_CAP_PROJECTING"
1084
glib:nick="projecting"/>
1086
<constant name="Caps_Lock" value="65509">
1089
<constant name="Ccaron" value="456">
1092
<constant name="Ccedilla" value="199">
1095
<constant name="Ccircumflex" value="710">
1098
<constant name="Clear" value="65291">
1101
<constant name="ClearGrab" value="269024801">
1104
<constant name="Close" value="269025110">
1107
<constant name="Codeinput" value="65335">
1110
<constant name="ColonSign" value="16785569">
1113
<record name="Color"
1115
glib:type-name="GdkColor"
1116
glib:get-type="gdk_color_get_type">
1117
<field name="pixel" writable="1">
1118
<type name="uint32" c:type="guint32"/>
1120
<field name="red" writable="1">
1121
<type name="uint16" c:type="guint16"/>
1123
<field name="green" writable="1">
1124
<type name="uint16" c:type="guint16"/>
1126
<field name="blue" writable="1">
1127
<type name="uint16" c:type="guint16"/>
1130
c:identifier="gdk_color_copy"
1131
doc="Makes a copy of a color structure. The result
1132
must be freed using gdk_color_free().">
1133
<return-value transfer-ownership="full">
1134
<type name="Color" c:type="GdkColor*"/>
1138
c:identifier="gdk_color_free"
1139
doc="Frees a color structure created with
1141
<return-value transfer-ownership="none">
1142
<type name="none" c:type="void"/>
1146
c:identifier="gdk_color_hash"
1147
doc="A hash function suitable for using for a hash
1148
table that stores #GdkColor's.">
1149
<return-value transfer-ownership="none">
1150
<type name="uint" c:type="guint"/>
1153
<method name="equal"
1154
c:identifier="gdk_color_equal"
1155
doc="Compares two colors.">
1156
<return-value transfer-ownership="none">
1157
<type name="boolean" c:type="gboolean"/>
1160
<parameter name="colorb" transfer-ownership="none">
1161
<type name="Color" c:type="GdkColor*"/>
1165
<method name="to_string"
1166
c:identifier="gdk_color_to_string"
1167
doc="Returns a textual specification of @color in the hexadecimal form
1168
<literal>&num;rrrrggggbbbb</literal>, where <literal>r</literal>,
1169
<literal>g</literal> and <literal>b</literal> are hex digits
1170
representing the red, green and blue components respectively."
1172
<return-value transfer-ownership="full">
1173
<type name="utf8" c:type="gchar*"/>
1177
<class name="Colormap"
1178
c:type="GdkColormap"
1179
parent="GObject.Object"
1180
glib:type-name="GdkColormap"
1181
glib:get-type="gdk_colormap_get_type"
1182
glib:type-struct="ColormapClass">
1183
<constructor name="new"
1184
c:identifier="gdk_colormap_new"
1185
doc="Creates a new colormap for the given visual.">
1186
<return-value transfer-ownership="full">
1187
<type name="Colormap" c:type="GdkColormap*"/>
1190
<parameter name="visual" transfer-ownership="none">
1191
<type name="Visual" c:type="GdkVisual*"/>
1193
<parameter name="allocate"
1194
transfer-ownership="none"
1195
doc=" a private colormap, and all colors in it will be allocated for the applications use.">
1196
<type name="boolean" c:type="gboolean"/>
1200
<function name="get_system"
1201
c:identifier="gdk_colormap_get_system"
1202
doc="Gets the system's default colormap for the default screen. (See
1203
gdk_colormap_get_system_for_screen ())">
1204
<return-value transfer-ownership="full">
1205
<type name="Colormap" c:type="GdkColormap*"/>
1208
<function name="get_system_size"
1209
c:identifier="gdk_colormap_get_system_size"
1210
doc="Returns the size of the system's default colormap.
1211
(See the description of struct #GdkColormap for an
1212
explanation of the size of a colormap.)">
1213
<return-value transfer-ownership="none">
1214
<type name="int" c:type="gint"/>
1218
c:identifier="gdk_colormap_ref"
1219
doc="Deprecated function; use g_object_ref() instead."
1220
deprecated="Use g_object_ref() instead."
1221
deprecated-version="2.0">
1222
<return-value transfer-ownership="full">
1223
<type name="Colormap" c:type="GdkColormap*"/>
1226
<method name="unref"
1227
c:identifier="gdk_colormap_unref"
1228
doc="Deprecated function; use g_object_unref() instead."
1229
deprecated="Use g_object_unref() instead."
1230
deprecated-version="2.0">
1231
<return-value transfer-ownership="none">
1232
<type name="none" c:type="void"/>
1235
<method name="get_screen"
1236
c:identifier="gdk_colormap_get_screen"
1237
doc="Gets the screen for which this colormap was created."
1239
<return-value transfer-ownership="full">
1240
<type name="Screen" c:type="GdkScreen*"/>
1243
<method name="change"
1244
c:identifier="gdk_colormap_change"
1245
doc="Changes the value of the first @ncolors in a private colormap
1246
to match the values in the <structfield>colors</structfield>
1247
array in the colormap. This function is obsolete and
1248
should not be used. See gdk_color_change().">
1249
<return-value transfer-ownership="none">
1250
<type name="none" c:type="void"/>
1253
<parameter name="ncolors" transfer-ownership="none">
1254
<type name="int" c:type="gint"/>
1258
<method name="alloc_colors"
1259
c:identifier="gdk_colormap_alloc_colors"
1260
doc="Allocates colors from a colormap.
1262
<return-value transfer-ownership="none">
1263
<type name="int" c:type="gint"/>
1266
<parameter name="colors"
1267
transfer-ownership="none"
1268
doc=" values for allocated colors will be filled in.">
1269
<type name="Color" c:type="GdkColor*"/>
1271
<parameter name="n_colors" transfer-ownership="none">
1272
<type name="int" c:type="gint"/>
1274
<parameter name="writeable"
1275
transfer-ownership="none"
1276
doc=" (their values can later be changed using gdk_color_change()). Writeable colors cannot be shared between applications.">
1277
<type name="boolean" c:type="gboolean"/>
1279
<parameter name="best_match"
1280
transfer-ownership="none"
1281
doc=" existing colors if the colors cannot be allocated as requested.">
1282
<type name="boolean" c:type="gboolean"/>
1284
<parameter name="success"
1286
caller-allocates="0"
1287
transfer-ownership="full"
1288
doc=" indicates whether the corresponding color in @colors was successfully allocated or not.">
1289
<type name="boolean" c:type="gboolean*"/>
1293
<method name="alloc_color"
1294
c:identifier="gdk_colormap_alloc_color"
1295
doc="Allocates a single color from a colormap.">
1296
<return-value transfer-ownership="none">
1297
<type name="boolean" c:type="gboolean"/>
1300
<parameter name="color"
1301
transfer-ownership="none"
1302
doc=" <structfield>pixel</structfield> field will be filled in if allocation succeeds.">
1303
<type name="Color" c:type="GdkColor*"/>
1305
<parameter name="writeable"
1306
transfer-ownership="none"
1307
doc=" (their values can later be changed using gdk_color_change()). Writeable colors cannot be shared between applications.">
1308
<type name="boolean" c:type="gboolean"/>
1310
<parameter name="best_match"
1311
transfer-ownership="none"
1312
doc=" existing colors if the color cannot be allocated as requested.">
1313
<type name="boolean" c:type="gboolean"/>
1317
<method name="free_colors"
1318
c:identifier="gdk_colormap_free_colors"
1319
doc="Frees previously allocated colors.">
1320
<return-value transfer-ownership="none">
1321
<type name="none" c:type="void"/>
1324
<parameter name="colors" transfer-ownership="none">
1325
<type name="Color" c:type="GdkColor*"/>
1327
<parameter name="n_colors" transfer-ownership="none">
1328
<type name="int" c:type="gint"/>
1332
<method name="query_color"
1333
c:identifier="gdk_colormap_query_color"
1334
doc="Locates the RGB color in @colormap corresponding to the given
1335
hardware pixel @pixel. @pixel must be a valid pixel in the
1336
colormap; it's a programmer error to call this function with a
1337
pixel which is not in the colormap. Hardware pixels are normally
1338
obtained from gdk_colormap_alloc_colors(), or from a #GdkImage. (A
1339
#GdkImage contains image data in hardware format, a #GdkPixbuf
1340
contains image data in a canonical 24-bit RGB format.)
1341
This function is rarely useful; it's used for example to
1342
implement the eyedropper feature in #GtkColorSelection.">
1343
<return-value transfer-ownership="none">
1344
<type name="none" c:type="void"/>
1347
<parameter name="pixel" transfer-ownership="none">
1348
<type name="ulong" c:type="gulong"/>
1350
<parameter name="result" transfer-ownership="none">
1351
<type name="Color" c:type="GdkColor*"/>
1355
<method name="get_visual"
1356
c:identifier="gdk_colormap_get_visual"
1357
doc="Returns the visual for which a given colormap was created.">
1358
<return-value transfer-ownership="full">
1359
<type name="Visual" c:type="GdkVisual*"/>
1362
<field name="parent_instance">
1363
<type name="GObject.Object" c:type="GObject"/>
1366
<type name="int" c:type="gint"/>
1368
<field name="colors">
1369
<type name="Color" c:type="GdkColor*"/>
1371
<field name="visual">
1372
<type name="Visual" c:type="GdkVisual*"/>
1374
<field name="windowing_data">
1375
<type name="any" c:type="gpointer"/>
1378
<record name="ColormapClass"
1379
c:type="GdkColormapClass"
1380
glib:is-gtype-struct-for="Colormap">
1381
<field name="parent_class">
1382
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
1385
<constant name="Community" value="269025085">
1388
<constant name="ContrastAdjust" value="269025058">
1391
<constant name="Control_L" value="65507">
1394
<constant name="Control_R" value="65508">
1397
<constant name="Copy" value="269025111">
1400
<enumeration name="CrossingMode"
1401
glib:type-name="GdkCrossingMode"
1402
glib:get-type="gdk_crossing_mode_get_type"
1403
c:type="GdkCrossingMode">
1404
<member name="normal"
1406
c:identifier="GDK_CROSSING_NORMAL"
1407
glib:nick="normal"/>
1410
c:identifier="GDK_CROSSING_GRAB"
1412
<member name="ungrab"
1414
c:identifier="GDK_CROSSING_UNGRAB"
1415
glib:nick="ungrab"/>
1416
<member name="gtk_grab"
1418
c:identifier="GDK_CROSSING_GTK_GRAB"
1419
glib:nick="gtk-grab"/>
1420
<member name="gtk_ungrab"
1422
c:identifier="GDK_CROSSING_GTK_UNGRAB"
1423
glib:nick="gtk-ungrab"/>
1424
<member name="state_changed"
1426
c:identifier="GDK_CROSSING_STATE_CHANGED"
1427
glib:nick="state-changed"/>
1429
<constant name="CruzeiroSign" value="16785570">
1432
<record name="Cursor"
1434
glib:type-name="GdkCursor"
1435
glib:get-type="gdk_cursor_get_type">
1436
<field name="type" writable="1">
1437
<type name="CursorType" c:type="GdkCursorType"/>
1439
<field name="ref_count" writable="1">
1440
<type name="uint" c:type="guint"/>
1442
<constructor name="new_for_display"
1443
c:identifier="gdk_cursor_new_for_display"
1444
doc="Creates a new cursor from the set of builtin cursors.
1445
Some useful ones are:
1446
<itemizedlist>
1447
<listitem><para>
1448
<inlinegraphic format="PNG" fileref="right_ptr.png"></inlinegraphic> #GDK_RIGHT_PTR (right-facing arrow)
1449
</para></listitem>
1450
<listitem><para>
1451
<inlinegraphic format="PNG" fileref="crosshair.png"></inlinegraphic> #GDK_CROSSHAIR (crosshair)
1452
</para></listitem>
1453
<listitem><para>
1454
<inlinegraphic format="PNG" fileref="xterm.png"></inlinegraphic> #GDK_XTERM (I-beam)
1455
</para></listitem>
1456
<listitem><para>
1457
<inlinegraphic format="PNG" fileref="watch.png"></inlinegraphic> #GDK_WATCH (busy)
1458
</para></listitem>
1459
<listitem><para>
1460
<inlinegraphic format="PNG" fileref="fleur.png"></inlinegraphic> #GDK_FLEUR (for moving objects)
1461
</para></listitem>
1462
<listitem><para>
1463
<inlinegraphic format="PNG" fileref="hand1.png"></inlinegraphic> #GDK_HAND1 (a right-pointing hand)
1464
</para></listitem>
1465
<listitem><para>
1466
<inlinegraphic format="PNG" fileref="hand2.png"></inlinegraphic> #GDK_HAND2 (a left-pointing hand)
1467
</para></listitem>
1468
<listitem><para>
1469
<inlinegraphic format="PNG" fileref="left_side.png"></inlinegraphic> #GDK_LEFT_SIDE (resize left side)
1470
</para></listitem>
1471
<listitem><para>
1472
<inlinegraphic format="PNG" fileref="right_side.png"></inlinegraphic> #GDK_RIGHT_SIDE (resize right side)
1473
</para></listitem>
1474
<listitem><para>
1475
<inlinegraphic format="PNG" fileref="top_left_corner.png"></inlinegraphic> #GDK_TOP_LEFT_CORNER (resize northwest corner)
1476
</para></listitem>
1477
<listitem><para>
1478
<inlinegraphic format="PNG" fileref="top_right_corner.png"></inlinegraphic> #GDK_TOP_RIGHT_CORNER (resize northeast corner)
1479
</para></listitem>
1480
<listitem><para>
1481
<inlinegraphic format="PNG" fileref="bottom_left_corner.png"></inlinegraphic> #GDK_BOTTOM_LEFT_CORNER (resize southwest corner)
1482
</para></listitem>
1483
<listitem><para>
1484
<inlinegraphic format="PNG" fileref="bottom_right_corner.png"></inlinegraphic> #GDK_BOTTOM_RIGHT_CORNER (resize southeast corner)
1485
</para></listitem>
1486
<listitem><para>
1487
<inlinegraphic format="PNG" fileref="top_side.png"></inlinegraphic> #GDK_TOP_SIDE (resize top side)
1488
</para></listitem>
1489
<listitem><para>
1490
<inlinegraphic format="PNG" fileref="bottom_side.png"></inlinegraphic> #GDK_BOTTOM_SIDE (resize bottom side)
1491
</para></listitem>
1492
<listitem><para>
1493
<inlinegraphic format="PNG" fileref="sb_h_double_arrow.png"></inlinegraphic> #GDK_SB_H_DOUBLE_ARROW (move vertical splitter)
1494
</para></listitem>
1495
<listitem><para>
1496
<inlinegraphic format="PNG" fileref="sb_v_double_arrow.png"></inlinegraphic> #GDK_SB_V_DOUBLE_ARROW (move horizontal splitter)
1497
</para></listitem>
1498
<listitem><para>
1499
#GDK_BLANK_CURSOR (Blank cursor). Since 2.16
1500
</para></listitem>
1501
</itemizedlist>"
1503
<return-value transfer-ownership="full">
1504
<type name="Cursor" c:type="GdkCursor*"/>
1507
<parameter name="display" transfer-ownership="none">
1508
<type name="Display" c:type="GdkDisplay*"/>
1510
<parameter name="cursor_type" transfer-ownership="none">
1511
<type name="CursorType" c:type="GdkCursorType"/>
1515
<constructor name="new"
1516
c:identifier="gdk_cursor_new"
1517
doc="Creates a new cursor from the set of builtin cursors for the default display.
1518
See gdk_cursor_new_for_display().
1519
To make the cursor invisible, use %GDK_BLANK_CURSOR.">
1520
<return-value transfer-ownership="full">
1521
<type name="Cursor" c:type="GdkCursor*"/>
1524
<parameter name="cursor_type" transfer-ownership="none">
1525
<type name="CursorType" c:type="GdkCursorType"/>
1529
<constructor name="new_from_pixmap"
1530
c:identifier="gdk_cursor_new_from_pixmap"
1531
doc="Creates a new cursor from a given pixmap and mask. Both the pixmap and mask
1532
must have a depth of 1 (i.e. each pixel has only 2 values - on or off).
1533
The standard cursor size is 16 by 16 pixels. You can create a bitmap
1534
from inline data as in the below example.
1535
<example><title>Creating a custom cursor</title>
1536
<programlisting>
1537
/<!-- -->* This data is in X bitmap format, and can be created with the 'bitmap'
1538
utility. *<!-- -->/
1539
&num;define cursor1_width 16
1540
&num;define cursor1_height 16
1541
static unsigned char cursor1_bits[] = {
1542
0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20,
1543
0x82, 0x41, 0x41, 0x82, 0x41, 0x82, 0x82, 0x41, 0x04, 0x20, 0x08, 0x10,
1544
0x10, 0x08, 0x20, 0x04, 0x40, 0x02, 0x80, 0x01};
1545
static unsigned char cursor1mask_bits[] = {
1546
0x80, 0x01, 0xc0, 0x03, 0x60, 0x06, 0x30, 0x0c, 0x18, 0x18, 0x8c, 0x31,
1547
0xc6, 0x63, 0x63, 0xc6, 0x63, 0xc6, 0xc6, 0x63, 0x8c, 0x31, 0x18, 0x18,
1548
0x30, 0x0c, 0x60, 0x06, 0xc0, 0x03, 0x80, 0x01};
1550
GdkPixmap *source, *mask;
1551
GdkColor fg = { 0, 65535, 0, 0 }; /<!-- -->* Red. *<!-- -->/
1552
GdkColor bg = { 0, 0, 0, 65535 }; /<!-- -->* Blue. *<!-- -->/
1553
source = gdk_bitmap_create_from_data (NULL, cursor1_bits,
1554
cursor1_width, cursor1_height);
1555
mask = gdk_bitmap_create_from_data (NULL, cursor1mask_bits,
1556
cursor1_width, cursor1_height);
1557
cursor = gdk_cursor_new_from_pixmap (source, mask, &amp;fg, &amp;bg, 8, 8);
1558
g_object_unref (source);
1559
g_object_unref (mask);
1560
gdk_window_set_cursor (widget->window, cursor);
1561
</programlisting>
1563
<return-value transfer-ownership="full">
1564
<type name="Cursor" c:type="GdkCursor*"/>
1567
<parameter name="source" transfer-ownership="none">
1568
<type name="Pixmap" c:type="GdkPixmap*"/>
1570
<parameter name="mask" transfer-ownership="none">
1571
<type name="Pixmap" c:type="GdkPixmap*"/>
1573
<parameter name="fg"
1574
transfer-ownership="none"
1575
doc=" The color does not have to be allocated first.">
1576
<type name="Color" c:type="GdkColor*"/>
1578
<parameter name="bg"
1579
transfer-ownership="none"
1580
doc=" The color does not have to be allocated first.">
1581
<type name="Color" c:type="GdkColor*"/>
1583
<parameter name="x" transfer-ownership="none">
1584
<type name="int" c:type="gint"/>
1586
<parameter name="y" transfer-ownership="none">
1587
<type name="int" c:type="gint"/>
1591
<constructor name="new_from_pixbuf"
1592
c:identifier="gdk_cursor_new_from_pixbuf"
1593
doc="Creates a new cursor from a pixbuf.
1594
Not all GDK backends support RGBA cursors. If they are not
1595
supported, a monochrome approximation will be displayed.
1596
The functions gdk_display_supports_cursor_alpha() and
1597
gdk_display_supports_cursor_color() can be used to determine
1598
whether RGBA cursors are supported;
1599
gdk_display_get_default_cursor_size() and
1600
gdk_display_get_maximal_cursor_size() give information about
1602
On the X backend, support for RGBA cursors requires a
1603
sufficently new version of the X Render extension."
1605
<return-value transfer-ownership="full">
1606
<type name="Cursor" c:type="GdkCursor*"/>
1609
<parameter name="display" transfer-ownership="none">
1610
<type name="Display" c:type="GdkDisplay*"/>
1612
<parameter name="pixbuf" transfer-ownership="none">
1613
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
1615
<parameter name="x" transfer-ownership="none">
1616
<type name="int" c:type="gint"/>
1618
<parameter name="y" transfer-ownership="none">
1619
<type name="int" c:type="gint"/>
1623
<constructor name="new_from_name"
1624
c:identifier="gdk_cursor_new_from_name"
1625
doc="Creates a new cursor by looking up @name in the current cursor
1629
<return-value transfer-ownership="full">
1630
<type name="Cursor" c:type="GdkCursor*"/>
1633
<parameter name="display" transfer-ownership="none">
1634
<type name="Display" c:type="GdkDisplay*"/>
1636
<parameter name="name" transfer-ownership="none">
1637
<type name="utf8" c:type="gchar*"/>
1641
<method name="get_display" c:identifier="gdk_cursor_get_display">
1642
<return-value transfer-ownership="full">
1643
<type name="Display" c:type="GdkDisplay*"/>
1647
c:identifier="gdk_cursor_ref"
1648
doc="Adds a reference to @cursor.">
1649
<return-value transfer-ownership="full">
1650
<type name="Cursor" c:type="GdkCursor*"/>
1653
<method name="unref"
1654
c:identifier="gdk_cursor_unref"
1655
doc="Removes a reference from @cursor, deallocating the cursor
1656
if no references remain.">
1657
<return-value transfer-ownership="none">
1658
<type name="none" c:type="void"/>
1661
<method name="get_image"
1662
c:identifier="gdk_cursor_get_image"
1663
doc="Returns a #GdkPixbuf with the image used to display the cursor.
1664
Note that depending on the capabilities of the windowing system and
1665
on the cursor, GDK may not be able to obtain the image data. In this
1666
case, %NULL is returned."
1668
<return-value transfer-ownership="full">
1669
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
1673
<enumeration name="CursorType"
1674
glib:type-name="GdkCursorType"
1675
glib:get-type="gdk_cursor_type_get_type"
1676
c:type="GdkCursorType">
1677
<member name="x_cursor"
1679
c:identifier="GDK_X_CURSOR"
1680
glib:nick="x-cursor"/>
1681
<member name="arrow"
1683
c:identifier="GDK_ARROW"
1685
<member name="based_arrow_down"
1687
c:identifier="GDK_BASED_ARROW_DOWN"
1688
glib:nick="based-arrow-down"/>
1689
<member name="based_arrow_up"
1691
c:identifier="GDK_BASED_ARROW_UP"
1692
glib:nick="based-arrow-up"/>
1693
<member name="boat" value="8" c:identifier="GDK_BOAT" glib:nick="boat"/>
1694
<member name="bogosity"
1696
c:identifier="GDK_BOGOSITY"
1697
glib:nick="bogosity"/>
1698
<member name="bottom_left_corner"
1700
c:identifier="GDK_BOTTOM_LEFT_CORNER"
1701
glib:nick="bottom-left-corner"/>
1702
<member name="bottom_right_corner"
1704
c:identifier="GDK_BOTTOM_RIGHT_CORNER"
1705
glib:nick="bottom-right-corner"/>
1706
<member name="bottom_side"
1708
c:identifier="GDK_BOTTOM_SIDE"
1709
glib:nick="bottom-side"/>
1710
<member name="bottom_tee"
1712
c:identifier="GDK_BOTTOM_TEE"
1713
glib:nick="bottom-tee"/>
1714
<member name="box_spiral"
1716
c:identifier="GDK_BOX_SPIRAL"
1717
glib:nick="box-spiral"/>
1718
<member name="center_ptr"
1720
c:identifier="GDK_CENTER_PTR"
1721
glib:nick="center-ptr"/>
1722
<member name="circle"
1724
c:identifier="GDK_CIRCLE"
1725
glib:nick="circle"/>
1726
<member name="clock"
1728
c:identifier="GDK_CLOCK"
1730
<member name="coffee_mug"
1732
c:identifier="GDK_COFFEE_MUG"
1733
glib:nick="coffee-mug"/>
1734
<member name="cross"
1736
c:identifier="GDK_CROSS"
1738
<member name="cross_reverse"
1740
c:identifier="GDK_CROSS_REVERSE"
1741
glib:nick="cross-reverse"/>
1742
<member name="crosshair"
1744
c:identifier="GDK_CROSSHAIR"
1745
glib:nick="crosshair"/>
1746
<member name="diamond_cross"
1748
c:identifier="GDK_DIAMOND_CROSS"
1749
glib:nick="diamond-cross"/>
1750
<member name="dot" value="38" c:identifier="GDK_DOT" glib:nick="dot"/>
1751
<member name="dotbox"
1753
c:identifier="GDK_DOTBOX"
1754
glib:nick="dotbox"/>
1755
<member name="double_arrow"
1757
c:identifier="GDK_DOUBLE_ARROW"
1758
glib:nick="double-arrow"/>
1759
<member name="draft_large"
1761
c:identifier="GDK_DRAFT_LARGE"
1762
glib:nick="draft-large"/>
1763
<member name="draft_small"
1765
c:identifier="GDK_DRAFT_SMALL"
1766
glib:nick="draft-small"/>
1767
<member name="draped_box"
1769
c:identifier="GDK_DRAPED_BOX"
1770
glib:nick="draped-box"/>
1771
<member name="exchange"
1773
c:identifier="GDK_EXCHANGE"
1774
glib:nick="exchange"/>
1775
<member name="fleur"
1777
c:identifier="GDK_FLEUR"
1779
<member name="gobbler"
1781
c:identifier="GDK_GOBBLER"
1782
glib:nick="gobbler"/>
1783
<member name="gumby"
1785
c:identifier="GDK_GUMBY"
1787
<member name="hand1"
1789
c:identifier="GDK_HAND1"
1791
<member name="hand2"
1793
c:identifier="GDK_HAND2"
1795
<member name="heart"
1797
c:identifier="GDK_HEART"
1799
<member name="icon" value="64" c:identifier="GDK_ICON" glib:nick="icon"/>
1800
<member name="iron_cross"
1802
c:identifier="GDK_IRON_CROSS"
1803
glib:nick="iron-cross"/>
1804
<member name="left_ptr"
1806
c:identifier="GDK_LEFT_PTR"
1807
glib:nick="left-ptr"/>
1808
<member name="left_side"
1810
c:identifier="GDK_LEFT_SIDE"
1811
glib:nick="left-side"/>
1812
<member name="left_tee"
1814
c:identifier="GDK_LEFT_TEE"
1815
glib:nick="left-tee"/>
1816
<member name="leftbutton"
1818
c:identifier="GDK_LEFTBUTTON"
1819
glib:nick="leftbutton"/>
1820
<member name="ll_angle"
1822
c:identifier="GDK_LL_ANGLE"
1823
glib:nick="ll-angle"/>
1824
<member name="lr_angle"
1826
c:identifier="GDK_LR_ANGLE"
1827
glib:nick="lr-angle"/>
1828
<member name="man" value="80" c:identifier="GDK_MAN" glib:nick="man"/>
1829
<member name="middlebutton"
1831
c:identifier="GDK_MIDDLEBUTTON"
1832
glib:nick="middlebutton"/>
1833
<member name="mouse"
1835
c:identifier="GDK_MOUSE"
1837
<member name="pencil"
1839
c:identifier="GDK_PENCIL"
1840
glib:nick="pencil"/>
1841
<member name="pirate"
1843
c:identifier="GDK_PIRATE"
1844
glib:nick="pirate"/>
1845
<member name="plus" value="90" c:identifier="GDK_PLUS" glib:nick="plus"/>
1846
<member name="question_arrow"
1848
c:identifier="GDK_QUESTION_ARROW"
1849
glib:nick="question-arrow"/>
1850
<member name="right_ptr"
1852
c:identifier="GDK_RIGHT_PTR"
1853
glib:nick="right-ptr"/>
1854
<member name="right_side"
1856
c:identifier="GDK_RIGHT_SIDE"
1857
glib:nick="right-side"/>
1858
<member name="right_tee"
1860
c:identifier="GDK_RIGHT_TEE"
1861
glib:nick="right-tee"/>
1862
<member name="rightbutton"
1864
c:identifier="GDK_RIGHTBUTTON"
1865
glib:nick="rightbutton"/>
1866
<member name="rtl_logo"
1868
c:identifier="GDK_RTL_LOGO"
1869
glib:nick="rtl-logo"/>
1870
<member name="sailboat"
1872
c:identifier="GDK_SAILBOAT"
1873
glib:nick="sailboat"/>
1874
<member name="sb_down_arrow"
1876
c:identifier="GDK_SB_DOWN_ARROW"
1877
glib:nick="sb-down-arrow"/>
1878
<member name="sb_h_double_arrow"
1880
c:identifier="GDK_SB_H_DOUBLE_ARROW"
1881
glib:nick="sb-h-double-arrow"/>
1882
<member name="sb_left_arrow"
1884
c:identifier="GDK_SB_LEFT_ARROW"
1885
glib:nick="sb-left-arrow"/>
1886
<member name="sb_right_arrow"
1888
c:identifier="GDK_SB_RIGHT_ARROW"
1889
glib:nick="sb-right-arrow"/>
1890
<member name="sb_up_arrow"
1892
c:identifier="GDK_SB_UP_ARROW"
1893
glib:nick="sb-up-arrow"/>
1894
<member name="sb_v_double_arrow"
1896
c:identifier="GDK_SB_V_DOUBLE_ARROW"
1897
glib:nick="sb-v-double-arrow"/>
1898
<member name="shuttle"
1900
c:identifier="GDK_SHUTTLE"
1901
glib:nick="shuttle"/>
1902
<member name="sizing"
1904
c:identifier="GDK_SIZING"
1905
glib:nick="sizing"/>
1906
<member name="spider"
1908
c:identifier="GDK_SPIDER"
1909
glib:nick="spider"/>
1910
<member name="spraycan"
1912
c:identifier="GDK_SPRAYCAN"
1913
glib:nick="spraycan"/>
1916
c:identifier="GDK_STAR"
1918
<member name="target"
1920
c:identifier="GDK_TARGET"
1921
glib:nick="target"/>
1922
<member name="tcross"
1924
c:identifier="GDK_TCROSS"
1925
glib:nick="tcross"/>
1926
<member name="top_left_arrow"
1928
c:identifier="GDK_TOP_LEFT_ARROW"
1929
glib:nick="top-left-arrow"/>
1930
<member name="top_left_corner"
1932
c:identifier="GDK_TOP_LEFT_CORNER"
1933
glib:nick="top-left-corner"/>
1934
<member name="top_right_corner"
1936
c:identifier="GDK_TOP_RIGHT_CORNER"
1937
glib:nick="top-right-corner"/>
1938
<member name="top_side"
1940
c:identifier="GDK_TOP_SIDE"
1941
glib:nick="top-side"/>
1942
<member name="top_tee"
1944
c:identifier="GDK_TOP_TEE"
1945
glib:nick="top-tee"/>
1948
c:identifier="GDK_TREK"
1950
<member name="ul_angle"
1952
c:identifier="GDK_UL_ANGLE"
1953
glib:nick="ul-angle"/>
1954
<member name="umbrella"
1956
c:identifier="GDK_UMBRELLA"
1957
glib:nick="umbrella"/>
1958
<member name="ur_angle"
1960
c:identifier="GDK_UR_ANGLE"
1961
glib:nick="ur-angle"/>
1962
<member name="watch"
1964
c:identifier="GDK_WATCH"
1966
<member name="xterm"
1968
c:identifier="GDK_XTERM"
1970
<member name="last_cursor"
1972
c:identifier="GDK_LAST_CURSOR"
1973
glib:nick="last-cursor"/>
1974
<member name="blank_cursor"
1976
c:identifier="GDK_BLANK_CURSOR"
1977
glib:nick="blank-cursor"/>
1978
<member name="cursor_is_pixmap"
1980
c:identifier="GDK_CURSOR_IS_PIXMAP"
1981
glib:nick="cursor-is-pixmap"/>
1983
<constant name="Cut" value="269025112">
1986
<constant name="CycleAngle" value="269025180">
1989
<constant name="Cyrillic_A" value="1761">
1992
<constant name="Cyrillic_BE" value="1762">
1995
<constant name="Cyrillic_CHE" value="1790">
1998
<constant name="Cyrillic_CHE_descender" value="16778422">
2001
<constant name="Cyrillic_CHE_vertstroke" value="16778424">
2004
<constant name="Cyrillic_DE" value="1764">
2007
<constant name="Cyrillic_DZHE" value="1727">
2010
<constant name="Cyrillic_E" value="1788">
2013
<constant name="Cyrillic_EF" value="1766">
2016
<constant name="Cyrillic_EL" value="1772">
2019
<constant name="Cyrillic_EM" value="1773">
2022
<constant name="Cyrillic_EN" value="1774">
2025
<constant name="Cyrillic_EN_descender" value="16778402">
2028
<constant name="Cyrillic_ER" value="1778">
2031
<constant name="Cyrillic_ES" value="1779">
2034
<constant name="Cyrillic_GHE" value="1767">
2037
<constant name="Cyrillic_GHE_bar" value="16778386">
2040
<constant name="Cyrillic_HA" value="1768">
2043
<constant name="Cyrillic_HARDSIGN" value="1791">
2046
<constant name="Cyrillic_HA_descender" value="16778418">
2049
<constant name="Cyrillic_I" value="1769">
2052
<constant name="Cyrillic_IE" value="1765">
2055
<constant name="Cyrillic_IO" value="1715">
2058
<constant name="Cyrillic_I_macron" value="16778466">
2061
<constant name="Cyrillic_JE" value="1720">
2064
<constant name="Cyrillic_KA" value="1771">
2067
<constant name="Cyrillic_KA_descender" value="16778394">
2070
<constant name="Cyrillic_KA_vertstroke" value="16778396">
2073
<constant name="Cyrillic_LJE" value="1721">
2076
<constant name="Cyrillic_NJE" value="1722">
2079
<constant name="Cyrillic_O" value="1775">
2082
<constant name="Cyrillic_O_bar" value="16778472">
2085
<constant name="Cyrillic_PE" value="1776">
2088
<constant name="Cyrillic_SCHWA" value="16778456">
2091
<constant name="Cyrillic_SHA" value="1787">
2094
<constant name="Cyrillic_SHCHA" value="1789">
2097
<constant name="Cyrillic_SHHA" value="16778426">
2100
<constant name="Cyrillic_SHORTI" value="1770">
2103
<constant name="Cyrillic_SOFTSIGN" value="1784">
2106
<constant name="Cyrillic_TE" value="1780">
2109
<constant name="Cyrillic_TSE" value="1763">
2112
<constant name="Cyrillic_U" value="1781">
2115
<constant name="Cyrillic_U_macron" value="16778478">
2118
<constant name="Cyrillic_U_straight" value="16778414">
2121
<constant name="Cyrillic_U_straight_bar" value="16778416">
2124
<constant name="Cyrillic_VE" value="1783">
2127
<constant name="Cyrillic_YA" value="1777">
2130
<constant name="Cyrillic_YERU" value="1785">
2133
<constant name="Cyrillic_YU" value="1760">
2136
<constant name="Cyrillic_ZE" value="1786">
2139
<constant name="Cyrillic_ZHE" value="1782">
2142
<constant name="Cyrillic_ZHE_descender" value="16778390">
2145
<constant name="Cyrillic_a" value="1729">
2148
<constant name="Cyrillic_be" value="1730">
2151
<constant name="Cyrillic_che" value="1758">
2154
<constant name="Cyrillic_che_descender" value="16778423">
2157
<constant name="Cyrillic_che_vertstroke" value="16778425">
2160
<constant name="Cyrillic_de" value="1732">
2163
<constant name="Cyrillic_dzhe" value="1711">
2166
<constant name="Cyrillic_e" value="1756">
2169
<constant name="Cyrillic_ef" value="1734">
2172
<constant name="Cyrillic_el" value="1740">
2175
<constant name="Cyrillic_em" value="1741">
2178
<constant name="Cyrillic_en" value="1742">
2181
<constant name="Cyrillic_en_descender" value="16778403">
2184
<constant name="Cyrillic_er" value="1746">
2187
<constant name="Cyrillic_es" value="1747">
2190
<constant name="Cyrillic_ghe" value="1735">
2193
<constant name="Cyrillic_ghe_bar" value="16778387">
2196
<constant name="Cyrillic_ha" value="1736">
2199
<constant name="Cyrillic_ha_descender" value="16778419">
2202
<constant name="Cyrillic_hardsign" value="1759">
2205
<constant name="Cyrillic_i" value="1737">
2208
<constant name="Cyrillic_i_macron" value="16778467">
2211
<constant name="Cyrillic_ie" value="1733">
2214
<constant name="Cyrillic_io" value="1699">
2217
<constant name="Cyrillic_je" value="1704">
2220
<constant name="Cyrillic_ka" value="1739">
2223
<constant name="Cyrillic_ka_descender" value="16778395">
2226
<constant name="Cyrillic_ka_vertstroke" value="16778397">
2229
<constant name="Cyrillic_lje" value="1705">
2232
<constant name="Cyrillic_nje" value="1706">
2235
<constant name="Cyrillic_o" value="1743">
2238
<constant name="Cyrillic_o_bar" value="16778473">
2241
<constant name="Cyrillic_pe" value="1744">
2244
<constant name="Cyrillic_schwa" value="16778457">
2247
<constant name="Cyrillic_sha" value="1755">
2250
<constant name="Cyrillic_shcha" value="1757">
2253
<constant name="Cyrillic_shha" value="16778427">
2256
<constant name="Cyrillic_shorti" value="1738">
2259
<constant name="Cyrillic_softsign" value="1752">
2262
<constant name="Cyrillic_te" value="1748">
2265
<constant name="Cyrillic_tse" value="1731">
2268
<constant name="Cyrillic_u" value="1749">
2271
<constant name="Cyrillic_u_macron" value="16778479">
2274
<constant name="Cyrillic_u_straight" value="16778415">
2277
<constant name="Cyrillic_u_straight_bar" value="16778417">
2280
<constant name="Cyrillic_ve" value="1751">
2283
<constant name="Cyrillic_ya" value="1745">
2286
<constant name="Cyrillic_yeru" value="1753">
2289
<constant name="Cyrillic_yu" value="1728">
2292
<constant name="Cyrillic_ze" value="1754">
2295
<constant name="Cyrillic_zhe" value="1750">
2298
<constant name="Cyrillic_zhe_descender" value="16778391">
2301
<constant name="D" value="68">
2304
<constant name="DOS" value="269025114">
2307
<constant name="Dabovedot" value="16784906">
2310
<constant name="Dcaron" value="463">
2313
<constant name="Delete" value="65535">
2316
<callback name="DestroyNotify" c:type="GdkDestroyNotify">
2317
<return-value transfer-ownership="none">
2318
<type name="none" c:type="void"/>
2321
<parameter name="data" transfer-ownership="none">
2322
<type name="any" c:type="gpointer"/>
2326
<class name="Device"
2328
parent="GObject.Object"
2329
glib:type-name="GdkDevice"
2330
glib:get-type="gdk_device_get_type"
2331
glib:type-struct="DeviceClass">
2332
<function name="free_history"
2333
c:identifier="gdk_device_free_history"
2334
doc="Frees an array of #GdkTimeCoord that was returned by gdk_device_get_history().">
2335
<return-value transfer-ownership="none">
2336
<type name="none" c:type="void"/>
2339
<parameter name="events"
2341
caller-allocates="0"
2342
transfer-ownership="none"
2343
doc="an array of #GdkTimeCoord.">
2344
<type name="TimeCoord" c:type="GdkTimeCoord**"/>
2346
<parameter name="n_events" transfer-ownership="none">
2347
<type name="int" c:type="gint"/>
2351
<function name="get_core_pointer"
2352
c:identifier="gdk_device_get_core_pointer"
2353
doc="Returns the core pointer device for the default display.
2354
display and should not be freed.">
2355
<return-value transfer-ownership="full">
2356
<type name="Device" c:type="GdkDevice*"/>
2359
<method name="get_name"
2360
c:identifier="gdk_device_get_name"
2361
doc="Determines the name of the device."
2363
<return-value transfer-ownership="none">
2364
<type name="utf8" c:type="gchar*"/>
2367
<method name="get_source"
2368
c:identifier="gdk_device_get_source"
2369
doc="Determines the type of the device."
2371
<return-value transfer-ownership="full">
2372
<type name="InputSource" c:type="GdkInputSource"/>
2375
<method name="get_mode"
2376
c:identifier="gdk_device_get_mode"
2377
doc="Determines the mode of the device."
2379
<return-value transfer-ownership="full">
2380
<type name="InputMode" c:type="GdkInputMode"/>
2383
<method name="get_has_cursor"
2384
c:identifier="gdk_device_get_has_cursor"
2385
doc="Determines whether the pointer follows device motion."
2387
<return-value transfer-ownership="none">
2388
<type name="boolean" c:type="gboolean"/>
2391
<method name="get_key"
2392
c:identifier="gdk_device_get_key"
2393
doc="If @index has a valid keyval, this function will
2394
fill in @keyval and @modifiers with the keyval settings."
2396
<return-value transfer-ownership="none">
2397
<type name="none" c:type="void"/>
2400
<parameter name="index" transfer-ownership="none">
2401
<type name="uint" c:type="guint"/>
2403
<parameter name="keyval"
2405
caller-allocates="0"
2406
transfer-ownership="full">
2407
<type name="uint" c:type="guint*"/>
2409
<parameter name="modifiers" transfer-ownership="none">
2410
<type name="ModifierType" c:type="GdkModifierType*"/>
2414
<method name="get_axis_use"
2415
c:identifier="gdk_device_get_axis_use"
2416
doc="Returns the axis use for @index."
2418
<return-value transfer-ownership="full">
2419
<type name="AxisUse" c:type="GdkAxisUse"/>
2422
<parameter name="index" transfer-ownership="none">
2423
<type name="uint" c:type="guint"/>
2427
<method name="set_source" c:identifier="gdk_device_set_source">
2428
<return-value transfer-ownership="none">
2429
<type name="none" c:type="void"/>
2432
<parameter name="source" transfer-ownership="none">
2433
<type name="InputSource" c:type="GdkInputSource"/>
2437
<method name="set_mode" c:identifier="gdk_device_set_mode">
2438
<return-value transfer-ownership="none">
2439
<type name="boolean" c:type="gboolean"/>
2442
<parameter name="mode" transfer-ownership="none">
2443
<type name="InputMode" c:type="GdkInputMode"/>
2447
<method name="set_key" c:identifier="gdk_device_set_key">
2448
<return-value transfer-ownership="none">
2449
<type name="none" c:type="void"/>
2452
<parameter name="index_" transfer-ownership="none">
2453
<type name="uint" c:type="guint"/>
2455
<parameter name="keyval" transfer-ownership="none">
2456
<type name="uint" c:type="guint"/>
2458
<parameter name="modifiers" transfer-ownership="none">
2459
<type name="ModifierType" c:type="GdkModifierType"/>
2463
<method name="set_axis_use" c:identifier="gdk_device_set_axis_use">
2464
<return-value transfer-ownership="none">
2465
<type name="none" c:type="void"/>
2468
<parameter name="index_" transfer-ownership="none">
2469
<type name="uint" c:type="guint"/>
2471
<parameter name="use" transfer-ownership="none">
2472
<type name="AxisUse" c:type="GdkAxisUse"/>
2476
<method name="get_state"
2477
c:identifier="gdk_device_get_state"
2478
doc="Gets the current state of a device.">
2479
<return-value transfer-ownership="none">
2480
<type name="none" c:type="void"/>
2483
<parameter name="window" transfer-ownership="none">
2484
<type name="Window" c:type="GdkWindow*"/>
2486
<parameter name="axes"
2488
caller-allocates="0"
2489
transfer-ownership="full"
2491
<type name="double" c:type="gdouble*"/>
2493
<parameter name="mask" transfer-ownership="none">
2494
<type name="ModifierType" c:type="GdkModifierType*"/>
2498
<method name="get_history"
2499
c:identifier="gdk_device_get_history"
2500
doc="Obtains the motion history for a device; given a starting and
2501
ending timestamp, return all events in the motion history for
2502
the device in the given range of time. Some windowing systems
2503
do not support motion history, in which case, %FALSE will
2504
be returned. (This is not distinguishable from the case where
2505
motion history is supported and no events were found.)
2506
at least one event was found.">
2507
<return-value transfer-ownership="none">
2508
<type name="boolean" c:type="gboolean"/>
2511
<parameter name="window" transfer-ownership="none">
2512
<type name="Window" c:type="GdkWindow*"/>
2514
<parameter name="start" transfer-ownership="none">
2515
<type name="uint32" c:type="guint32"/>
2517
<parameter name="stop" transfer-ownership="none">
2518
<type name="uint32" c:type="guint32"/>
2520
<parameter name="events"
2522
caller-allocates="0"
2523
transfer-ownership="none"
2524
doc="location to store a newly-allocated array of #GdkTimeCoord, or %NULL">
2525
<array length="5" c:type="GdkTimeCoord***">
2526
<type name="TimeCoord"/>
2529
<parameter name="n_events"
2531
caller-allocates="0"
2532
transfer-ownership="full">
2533
<type name="int" c:type="gint*"/>
2537
<method name="get_axis"
2538
c:identifier="gdk_device_get_axis"
2539
doc="Interprets an array of double as axis values for a given device,
2540
and locates the value in the array for a given axis use.">
2541
<return-value transfer-ownership="none">
2542
<type name="boolean" c:type="gboolean"/>
2545
<parameter name="axes"
2547
caller-allocates="0"
2548
transfer-ownership="full">
2549
<type name="double" c:type="gdouble*"/>
2551
<parameter name="use" transfer-ownership="none">
2552
<type name="AxisUse" c:type="GdkAxisUse"/>
2554
<parameter name="value"
2556
caller-allocates="0"
2557
transfer-ownership="full">
2558
<type name="double" c:type="gdouble*"/>
2562
<field name="parent_instance">
2563
<type name="GObject.Object" c:type="GObject"/>
2566
<type name="utf8" c:type="gchar*"/>
2568
<field name="source">
2569
<type name="InputSource" c:type="GdkInputSource"/>
2572
<type name="InputMode" c:type="GdkInputMode"/>
2574
<field name="has_cursor">
2575
<type name="boolean" c:type="gboolean"/>
2577
<field name="num_axes">
2578
<type name="int" c:type="gint"/>
2581
<type name="DeviceAxis" c:type="GdkDeviceAxis*"/>
2583
<field name="num_keys">
2584
<type name="int" c:type="gint"/>
2587
<type name="DeviceKey" c:type="GdkDeviceKey*"/>
2590
<record name="DeviceAxis" c:type="GdkDeviceAxis">
2591
<field name="use" writable="1">
2592
<type name="AxisUse" c:type="GdkAxisUse"/>
2594
<field name="min" writable="1">
2595
<type name="double" c:type="gdouble"/>
2597
<field name="max" writable="1">
2598
<type name="double" c:type="gdouble"/>
2601
<record name="DeviceClass"
2602
c:type="GdkDeviceClass"
2603
glib:is-gtype-struct-for="Device">
2605
<record name="DeviceKey" c:type="GdkDeviceKey">
2606
<field name="keyval" writable="1">
2607
<type name="uint" c:type="guint"/>
2609
<field name="modifiers" writable="1">
2610
<type name="ModifierType" c:type="GdkModifierType"/>
2613
<class name="Display"
2615
parent="GObject.Object"
2616
glib:type-name="GdkDisplay"
2617
glib:get-type="gdk_display_get_type"
2618
glib:type-struct="DisplayClass">
2619
<function name="open"
2620
c:identifier="gdk_display_open"
2621
doc="Opens a display."
2623
<return-value transfer-ownership="full" doc=" could not be opened.">
2624
<type name="Display" c:type="GdkDisplay*"/>
2627
<parameter name="display_name" transfer-ownership="none">
2628
<type name="utf8" c:type="gchar*"/>
2632
<function name="get_default"
2633
c:identifier="gdk_display_get_default"
2634
doc="Gets the default #GdkDisplay. This is a convenience
2636
<literal>gdk_display_manager_get_default_display (gdk_display_manager_get ())</literal>.
2639
<return-value transfer-ownership="none"
2640
doc="a #GdkDisplay, or %NULL if there is no default">
2641
<type name="Display" c:type="GdkDisplay*"/>
2644
<function name="open_default_libgtk_only"
2645
c:identifier="gdk_display_open_default_libgtk_only"
2646
doc="Opens the default display specified by command line arguments or
2647
environment variables, sets it as the default display, and returns
2648
it. gdk_parse_args must have been called first. If the default
2649
display has previously been set, simply returns that. An internal
2650
function that should not be used by applications.
2652
<return-value transfer-ownership="full">
2653
<type name="Display" c:type="GdkDisplay*"/>
2656
<virtual-method name="get_display_name">
2657
<return-value transfer-ownership="none">
2658
<type name="utf8" c:type="gchar*"/>
2661
<virtual-method name="get_n_screens" invoker="get_n_screens">
2662
<return-value transfer-ownership="none">
2663
<type name="int" c:type="gint"/>
2666
<virtual-method name="get_screen" invoker="get_screen">
2667
<return-value transfer-ownership="full">
2668
<type name="Screen" c:type="GdkScreen*"/>
2671
<parameter name="screen_num" transfer-ownership="none">
2672
<type name="int" c:type="gint"/>
2676
<virtual-method name="get_default_screen" invoker="get_default_screen">
2677
<return-value transfer-ownership="full">
2678
<type name="Screen" c:type="GdkScreen*"/>
2681
<method name="get_name"
2682
c:identifier="gdk_display_get_name"
2683
doc="Gets the name of the display.
2684
by GDK and should not be modified or freed."
2686
<return-value transfer-ownership="none">
2687
<type name="utf8" c:type="gchar*"/>
2690
<method name="get_n_screens"
2691
c:identifier="gdk_display_get_n_screens"
2692
doc="Gets the number of screen managed by the @display."
2694
<return-value transfer-ownership="none">
2695
<type name="int" c:type="gint"/>
2698
<method name="get_screen"
2699
c:identifier="gdk_display_get_screen"
2700
doc="Returns a screen object for one of the screens of the display."
2702
<return-value transfer-ownership="full">
2703
<type name="Screen" c:type="GdkScreen*"/>
2706
<parameter name="screen_num" transfer-ownership="none">
2707
<type name="int" c:type="gint"/>
2711
<method name="get_default_screen"
2712
c:identifier="gdk_display_get_default_screen"
2713
doc="Get the default #GdkScreen for @display."
2715
<return-value transfer-ownership="full">
2716
<type name="Screen" c:type="GdkScreen*"/>
2719
<method name="pointer_ungrab"
2720
c:identifier="gdk_display_pointer_ungrab"
2721
doc="Release any pointer grab."
2723
<return-value transfer-ownership="none">
2724
<type name="none" c:type="void"/>
2727
<parameter name="time_" transfer-ownership="none">
2728
<type name="uint32" c:type="guint32"/>
2732
<method name="keyboard_ungrab"
2733
c:identifier="gdk_display_keyboard_ungrab"
2734
doc="Release any keyboard grab"
2736
<return-value transfer-ownership="none">
2737
<type name="none" c:type="void"/>
2740
<parameter name="time_" transfer-ownership="none">
2741
<type name="uint32" c:type="guint32"/>
2745
<method name="pointer_is_grabbed"
2746
c:identifier="gdk_display_pointer_is_grabbed"
2747
doc="Test if the pointer is grabbed."
2749
<return-value transfer-ownership="none">
2750
<type name="boolean" c:type="gboolean"/>
2754
c:identifier="gdk_display_beep"
2755
doc="Emits a short beep on @display"
2757
<return-value transfer-ownership="none">
2758
<type name="none" c:type="void"/>
2762
c:identifier="gdk_display_sync"
2763
doc="Flushes any requests queued for the windowing system and waits until all
2764
requests have been handled. This is often used for making sure that the
2765
display is synchronized with the current state of the program. Calling
2766
gdk_display_sync() before gdk_error_trap_pop() makes sure that any errors
2767
generated from earlier requests are handled before the error trap is
2769
This is most useful for X11. On windowing systems where requests are
2770
handled synchronously, this function will do nothing."
2772
<return-value transfer-ownership="none">
2773
<type name="none" c:type="void"/>
2776
<method name="flush"
2777
c:identifier="gdk_display_flush"
2778
doc="Flushes any requests queued for the windowing system; this happens automatically
2779
when the main loop blocks waiting for new events, but if your application
2780
is drawing without returning control to the main loop, you may need
2781
to call this function explicitely. A common case where this function
2782
needs to be called is when an application is executing drawing commands
2783
from a thread other than the thread where the main loop is running.
2784
This is most useful for X11. On windowing systems where requests are
2785
handled synchronously, this function will do nothing."
2787
<return-value transfer-ownership="none">
2788
<type name="none" c:type="void"/>
2791
<method name="close"
2792
c:identifier="gdk_display_close"
2793
doc="Closes the connection to the windowing system for the given display,
2794
and cleans up associated resources."
2796
<return-value transfer-ownership="none">
2797
<type name="none" c:type="void"/>
2800
<method name="list_devices"
2801
c:identifier="gdk_display_list_devices"
2802
doc="Returns the list of available input devices attached to @display.
2803
The list is statically allocated and should not be freed."
2805
<return-value transfer-ownership="full">
2806
<type name="GLib.List" c:type="GList*"/>
2809
<method name="get_event"
2810
c:identifier="gdk_display_get_event"
2811
doc="Gets the next #GdkEvent to be processed for @display, fetching events from the
2812
windowing system if necessary.
2813
are pending. The returned #GdkEvent should be freed with gdk_event_free()."
2815
<return-value transfer-ownership="full">
2816
<type name="Event" c:type="GdkEvent*"/>
2819
<method name="peek_event"
2820
c:identifier="gdk_display_peek_event"
2821
doc="Gets a copy of the first #GdkEvent in the @display's event queue, without
2822
removing the event from the queue. (Note that this function will
2823
not get more events from the windowing system. It only checks the events
2824
that have already been moved to the GDK event queue.)
2825
if no events are in the queue. The returned #GdkEvent should be freed with
2828
<return-value transfer-ownership="full">
2829
<type name="Event" c:type="GdkEvent*"/>
2832
<method name="put_event"
2833
c:identifier="gdk_display_put_event"
2834
doc="Appends a copy of the given event onto the front of the event
2835
queue for @display."
2837
<return-value transfer-ownership="none">
2838
<type name="none" c:type="void"/>
2841
<parameter name="event" transfer-ownership="none">
2842
<type name="Event" c:type="GdkEvent*"/>
2846
<method name="add_client_message_filter"
2847
c:identifier="gdk_display_add_client_message_filter"
2848
doc="Adds a filter to be called when X ClientMessage events are received.
2849
See gdk_window_add_filter() if you are interested in filtering other
2852
<return-value transfer-ownership="none">
2853
<type name="none" c:type="void"/>
2856
<parameter name="message_type"
2857
transfer-ownership="none"
2858
doc=" This will be checked against the @message_type field of the XClientMessage event struct.">
2859
<type name="Atom" c:type="GdkAtom"/>
2861
<parameter name="func"
2862
transfer-ownership="none"
2865
<type name="FilterFunc" c:type="GdkFilterFunc"/>
2867
<parameter name="data" transfer-ownership="none">
2868
<type name="any" c:type="gpointer"/>
2872
<method name="set_double_click_time"
2873
c:identifier="gdk_display_set_double_click_time"
2874
doc="Sets the double click time (two clicks within this time interval
2875
count as a double click and result in a #GDK_2BUTTON_PRESS event).
2876
Applications should <emphasis>not</emphasis> set this, it is a global
2877
user-configured setting."
2879
<return-value transfer-ownership="none">
2880
<type name="none" c:type="void"/>
2883
<parameter name="msec" transfer-ownership="none">
2884
<type name="uint" c:type="guint"/>
2888
<method name="set_double_click_distance"
2889
c:identifier="gdk_display_set_double_click_distance"
2890
doc="Sets the double click distance (two clicks within this distance
2891
count as a double click and result in a #GDK_2BUTTON_PRESS event).
2892
See also gdk_display_set_double_click_time().
2893
Applications should <emphasis>not</emphasis> set this, it is a global
2894
user-configured setting."
2896
<return-value transfer-ownership="none">
2897
<type name="none" c:type="void"/>
2900
<parameter name="distance" transfer-ownership="none">
2901
<type name="uint" c:type="guint"/>
2905
<method name="get_core_pointer"
2906
c:identifier="gdk_display_get_core_pointer"
2907
doc="Returns the core pointer device for the given display
2908
display and should not be freed."
2910
<return-value transfer-ownership="full">
2911
<type name="Device" c:type="GdkDevice*"/>
2914
<method name="get_pointer"
2915
c:identifier="gdk_display_get_pointer"
2916
doc="Gets the current location of the pointer and the current modifier
2917
mask for a given display."
2919
<return-value transfer-ownership="none">
2920
<type name="none" c:type="void"/>
2923
<parameter name="screen"
2924
transfer-ownership="none"
2926
doc="location to store the screen that the cursor is on, or %NULL.">
2927
<type name="Screen" c:type="GdkScreen**"/>
2931
caller-allocates="0"
2932
transfer-ownership="full"
2934
doc="location to store root window X coordinate of pointer, or %NULL.">
2935
<type name="int" c:type="gint*"/>
2939
caller-allocates="0"
2940
transfer-ownership="full"
2942
doc="location to store root window Y coordinate of pointer, or %NULL.">
2943
<type name="int" c:type="gint*"/>
2945
<parameter name="mask"
2947
caller-allocates="1"
2948
transfer-ownership="none"
2950
doc="location to store current modifier mask, or %NULL">
2951
<type name="ModifierType" c:type="GdkModifierType*"/>
2955
<method name="get_window_at_pointer"
2956
c:identifier="gdk_display_get_window_at_pointer"
2957
doc="Obtains the window underneath the mouse pointer, returning the location
2958
of the pointer in that window in @win_x, @win_y for @screen. Returns %NULL
2959
if the window under the mouse pointer is not known to GDK (for example,
2960
belongs to another application)."
2962
<return-value transfer-ownership="none"
2963
doc="the window under the mouse pointer, or %NULL">
2964
<type name="Window" c:type="GdkWindow*"/>
2967
<parameter name="win_x"
2969
caller-allocates="0"
2970
transfer-ownership="full"
2972
doc="return location for x coordinate of the pointer location relative to the window origin, or %NULL">
2973
<type name="int" c:type="gint*"/>
2975
<parameter name="win_y"
2977
caller-allocates="0"
2978
transfer-ownership="full"
2980
doc="return location for y coordinate of the pointer location relative to the window origin, or %NULL">
2981
<type name="int" c:type="gint*"/>
2985
<method name="warp_pointer"
2986
c:identifier="gdk_display_warp_pointer"
2987
doc="Warps the pointer of @display to the point @x,@y on
2988
the screen @screen, unless the pointer is confined
2989
to a window by a grab, in which case it will be moved
2990
as far as allowed by the grab. Warping the pointer
2991
creates events as if the user had moved the mouse
2992
instantaneously to the destination.
2993
Note that the pointer should normally be under the
2994
control of the user. This function was added to cover
2995
some rare use cases like keyboard navigation support
2996
for the color picker in the #GtkColorSelectionDialog."
2998
<return-value transfer-ownership="none">
2999
<type name="none" c:type="void"/>
3002
<parameter name="screen" transfer-ownership="none">
3003
<type name="Screen" c:type="GdkScreen*"/>
3005
<parameter name="x" transfer-ownership="none">
3006
<type name="int" c:type="gint"/>
3008
<parameter name="y" transfer-ownership="none">
3009
<type name="int" c:type="gint"/>
3013
<method name="set_pointer_hooks"
3014
c:identifier="gdk_display_set_pointer_hooks"
3015
doc="This function allows for hooking into the operation
3016
of getting the current location of the pointer on a particular
3017
display. This is only useful for such low-level tools as an
3018
event recorder. Applications should never have any
3019
reason to use this facility."
3021
<return-value transfer-ownership="full">
3022
<type name="DisplayPointerHooks" c:type="GdkDisplayPointerHooks*"/>
3025
<parameter name="new_hooks"
3026
transfer-ownership="none"
3027
doc=" quantities related to the current pointer position, or %NULL to restore the default table.">
3028
<type name="DisplayPointerHooks" c:type="GdkDisplayPointerHooks*"/>
3032
<method name="supports_cursor_alpha"
3033
c:identifier="gdk_display_supports_cursor_alpha"
3034
doc="Returns %TRUE if cursors can use an 8bit alpha channel
3035
on @display. Otherwise, cursors are restricted to bilevel
3036
alpha (i.e. a mask)."
3038
<return-value transfer-ownership="none">
3039
<type name="boolean" c:type="gboolean"/>
3042
<method name="supports_cursor_color"
3043
c:identifier="gdk_display_supports_cursor_color"
3044
doc="Returns %TRUE if multicolored cursors are supported
3045
on @display. Otherwise, cursors have only a forground
3046
and a background color."
3048
<return-value transfer-ownership="none">
3049
<type name="boolean" c:type="gboolean"/>
3052
<method name="get_default_cursor_size"
3053
c:identifier="gdk_display_get_default_cursor_size"
3054
doc="Returns the default size to use for cursors on @display."
3056
<return-value transfer-ownership="none">
3057
<type name="uint" c:type="guint"/>
3060
<method name="get_maximal_cursor_size"
3061
c:identifier="gdk_display_get_maximal_cursor_size"
3062
doc="Gets the maximal size to use for cursors on @display."
3064
<return-value transfer-ownership="none">
3065
<type name="none" c:type="void"/>
3068
<parameter name="width"
3070
caller-allocates="0"
3071
transfer-ownership="full"
3072
doc="the return location for the maximal cursor width">
3073
<type name="uint" c:type="guint*"/>
3075
<parameter name="height"
3077
caller-allocates="0"
3078
transfer-ownership="full"
3079
doc="the return location for the maximal cursor height">
3080
<type name="uint" c:type="guint*"/>
3084
<method name="get_default_group"
3085
c:identifier="gdk_display_get_default_group"
3086
doc="Returns the default group leader window for all toplevel windows
3087
on @display. This window is implicitly created by GDK.
3088
See gdk_window_set_group()."
3090
<return-value transfer-ownership="full">
3091
<type name="Window" c:type="GdkWindow*"/>
3094
<method name="supports_selection_notification"
3095
c:identifier="gdk_display_supports_selection_notification"
3096
doc="Returns whether #GdkEventOwnerChange events will be
3097
sent when the owner of a selection changes.
3100
<return-value transfer-ownership="none">
3101
<type name="boolean" c:type="gboolean"/>
3104
<method name="request_selection_notification"
3105
c:identifier="gdk_display_request_selection_notification"
3106
doc="Request #GdkEventOwnerChange events for ownership changes
3107
of the selection named by the given atom.
3110
<return-value transfer-ownership="none">
3111
<type name="boolean" c:type="gboolean"/>
3114
<parameter name="selection"
3115
transfer-ownership="none"
3116
doc=" ownership change notification is requested">
3117
<type name="Atom" c:type="GdkAtom"/>
3121
<method name="supports_clipboard_persistence"
3122
c:identifier="gdk_display_supports_clipboard_persistence">
3123
<return-value transfer-ownership="none">
3124
<type name="boolean" c:type="gboolean"/>
3127
<method name="store_clipboard"
3128
c:identifier="gdk_display_store_clipboard">
3129
<return-value transfer-ownership="none">
3130
<type name="none" c:type="void"/>
3133
<parameter name="clipboard_window" transfer-ownership="none">
3134
<type name="Window" c:type="GdkWindow*"/>
3136
<parameter name="time_" transfer-ownership="none">
3137
<type name="uint32" c:type="guint32"/>
3139
<parameter name="targets" transfer-ownership="none">
3140
<type name="Atom" c:type="GdkAtom*"/>
3142
<parameter name="n_targets" transfer-ownership="none">
3143
<type name="int" c:type="gint"/>
3147
<method name="supports_shapes"
3148
c:identifier="gdk_display_supports_shapes"
3149
doc="Returns %TRUE if gdk_window_shape_combine_mask() can
3150
be used to create shaped windows on @display."
3152
<return-value transfer-ownership="none">
3153
<type name="boolean" c:type="gboolean"/>
3156
<method name="supports_input_shapes"
3157
c:identifier="gdk_display_supports_input_shapes"
3158
doc="Returns %TRUE if gdk_window_input_shape_combine_mask() can
3159
be used to modify the input shape of windows on @display."
3161
<return-value transfer-ownership="none">
3162
<type name="boolean" c:type="gboolean"/>
3165
<method name="supports_composite"
3166
c:identifier="gdk_display_supports_composite"
3167
doc="Returns %TRUE if gdk_window_set_composited() can be used
3168
to redirect drawing on the window using compositing.
3169
Currently this only works on X11 with XComposite and
3170
XDamage extensions available."
3172
<return-value transfer-ownership="none">
3173
<type name="boolean" c:type="gboolean"/>
3176
<field name="parent_instance">
3177
<type name="GObject.Object" c:type="GObject"/>
3179
<field name="queued_events">
3180
<type name="GLib.List" c:type="GList*"/>
3182
<field name="queued_tail">
3183
<type name="GLib.List" c:type="GList*"/>
3185
<field name="button_click_time">
3186
<array zero-terminated="0" c:type="guint32" fixed-size="2">
3187
<type name="uint32"/>
3190
<field name="button_window">
3191
<array zero-terminated="0" c:type="GdkWindow*" fixed-size="2">
3192
<type name="Window"/>
3195
<field name="button_number">
3196
<array zero-terminated="0" c:type="gint" fixed-size="2">
3200
<field name="double_click_time">
3201
<type name="uint" c:type="guint"/>
3203
<field name="core_pointer">
3204
<type name="Device" c:type="GdkDevice*"/>
3206
<field name="pointer_hooks">
3207
<type name="DisplayPointerHooks" c:type="GdkDisplayPointerHooks*"/>
3209
<field name="closed" bits="1">
3210
<type name="uint" c:type="guint"/>
3212
<field name="ignore_core_events" bits="1">
3213
<type name="uint" c:type="guint"/>
3215
<field name="double_click_distance">
3216
<type name="uint" c:type="guint"/>
3218
<field name="button_x">
3219
<array zero-terminated="0" c:type="gint" fixed-size="2">
3223
<field name="button_y">
3224
<array zero-terminated="0" c:type="gint" fixed-size="2">
3228
<field name="pointer_grabs">
3229
<type name="GLib.List" c:type="GList*"/>
3231
<field name="keyboard_grab">
3232
<type name="KeyboardGrabInfo" c:type="GdkKeyboardGrabInfo"/>
3234
<field name="pointer_info">
3235
<type name="PointerWindowInfo" c:type="GdkPointerWindowInfo"/>
3237
<field name="last_event_time">
3238
<type name="uint32" c:type="guint32"/>
3240
<glib:signal name="closed"
3241
doc="The ::closed signal is emitted when the connection to the windowing
3242
system for @display is closed."
3244
<return-value transfer-ownership="full">
3245
<type name="none" c:type="void"/>
3248
<parameter name="is_error" transfer-ownership="none">
3249
<type name="boolean" c:type="gboolean"/>
3254
<record name="DisplayClass"
3255
c:type="GdkDisplayClass"
3256
glib:is-gtype-struct-for="Display">
3257
<field name="parent_class">
3258
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
3260
<field name="get_display_name">
3261
<callback name="get_display_name" c:type="get_display_name">
3262
<return-value transfer-ownership="none">
3263
<type name="utf8" c:type="gchar*"/>
3266
<parameter name="display" transfer-ownership="none">
3267
<type name="Display" c:type="GdkDisplay*"/>
3272
<field name="get_n_screens">
3273
<callback name="get_n_screens" c:type="get_n_screens">
3274
<return-value transfer-ownership="none">
3275
<type name="int" c:type="gint"/>
3278
<parameter name="display" transfer-ownership="none">
3279
<type name="Display" c:type="GdkDisplay*"/>
3284
<field name="get_screen">
3285
<callback name="get_screen" c:type="get_screen">
3286
<return-value transfer-ownership="full">
3287
<type name="Screen" c:type="GdkScreen*"/>
3290
<parameter name="display" transfer-ownership="none">
3291
<type name="Display" c:type="GdkDisplay*"/>
3293
<parameter name="screen_num" transfer-ownership="none">
3294
<type name="int" c:type="gint"/>
3299
<field name="get_default_screen">
3300
<callback name="get_default_screen" c:type="get_default_screen">
3301
<return-value transfer-ownership="full">
3302
<type name="Screen" c:type="GdkScreen*"/>
3305
<parameter name="display" transfer-ownership="none">
3306
<type name="Display" c:type="GdkDisplay*"/>
3311
<field name="closed">
3312
<callback name="closed" c:type="closed">
3313
<return-value transfer-ownership="none">
3314
<type name="none" c:type="void"/>
3317
<parameter name="display" transfer-ownership="none">
3318
<type name="Display" c:type="GdkDisplay*"/>
3320
<parameter name="is_error" transfer-ownership="none">
3321
<type name="boolean" c:type="gboolean"/>
3327
<class name="DisplayManager"
3328
c:type="GdkDisplayManager"
3329
parent="GObject.Object"
3330
glib:type-name="GdkDisplayManager"
3331
glib:get-type="gdk_display_manager_get_type"
3332
glib:type-struct="DisplayManagerClass">
3333
<function name="get"
3334
c:identifier="gdk_display_manager_get"
3335
doc="Gets the singleton #GdkDisplayManager object.
3336
gdk_init(), or gdk_init_check() must have been called first."
3338
<return-value transfer-ownership="none">
3339
<type name="DisplayManager" c:type="GdkDisplayManager*"/>
3342
<method name="get_default_display"
3343
c:identifier="gdk_display_manager_get_default_display"
3344
doc="Gets the default #GdkDisplay.
3347
<return-value transfer-ownership="none"
3348
doc="a #GdkDisplay, or %NULL if there is no default">
3349
<type name="Display" c:type="GdkDisplay*"/>
3352
<method name="set_default_display"
3353
c:identifier="gdk_display_manager_set_default_display"
3354
doc="Sets @display as the default display."
3356
<return-value transfer-ownership="none">
3357
<type name="none" c:type="void"/>
3360
<parameter name="display" transfer-ownership="none">
3361
<type name="Display" c:type="GdkDisplay*"/>
3365
<method name="list_displays"
3366
c:identifier="gdk_display_manager_list_displays"
3367
doc="List all currently open displays.
3368
Free this list with g_slist_free() when you are done with it."
3370
<return-value transfer-ownership="full">
3371
<type name="GLib.SList" c:type="GSList*"/>
3374
<property name="default-display" writable="1">
3375
<type name="Display" c:type="GdkDisplay"/>
3377
<glib:signal name="display-opened"
3378
doc="The ::display_opened signal is emitted when a display is opened."
3380
<return-value transfer-ownership="full">
3381
<type name="none" c:type="void"/>
3384
<parameter name="display" transfer-ownership="none">
3385
<type name="Display" c:type="GdkDisplay"/>
3390
<record name="DisplayManagerClass"
3391
c:type="GdkDisplayManagerClass"
3392
glib:is-gtype-struct-for="DisplayManager">
3393
<field name="parent_class">
3394
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
3396
<field name="display_opened">
3397
<callback name="display_opened" c:type="display_opened">
3398
<return-value transfer-ownership="none">
3399
<type name="none" c:type="void"/>
3402
<parameter name="display_manager" transfer-ownership="none">
3403
<type name="DisplayManager" c:type="GdkDisplayManager*"/>
3405
<parameter name="display" transfer-ownership="none">
3406
<type name="Display" c:type="GdkDisplay*"/>
3412
<record name="DisplayPointerHooks" c:type="GdkDisplayPointerHooks">
3413
<field name="get_pointer">
3414
<type name="any" c:type="pointer"/>
3416
<field name="window_get_pointer">
3417
<type name="any" c:type="pointer"/>
3419
<field name="window_at_pointer">
3420
<type name="any" c:type="pointer"/>
3423
<constant name="Documents" value="269025115">
3426
<constant name="DongSign" value="16785579">
3429
<constant name="Down" value="65364">
3432
<bitfield name="DragAction"
3433
glib:type-name="GdkDragAction"
3434
glib:get-type="gdk_drag_action_get_type"
3435
c:type="GdkDragAction">
3436
<member name="default"
3438
c:identifier="GDK_ACTION_DEFAULT"
3439
glib:nick="default"/>
3442
c:identifier="GDK_ACTION_COPY"
3446
c:identifier="GDK_ACTION_MOVE"
3450
c:identifier="GDK_ACTION_LINK"
3452
<member name="private"
3454
c:identifier="GDK_ACTION_PRIVATE"
3455
glib:nick="private"/>
3458
c:identifier="GDK_ACTION_ASK"
3461
<class name="DragContext"
3462
c:type="GdkDragContext"
3463
parent="GObject.Object"
3464
glib:type-name="GdkDragContext"
3465
glib:get-type="gdk_drag_context_get_type"
3466
glib:type-struct="DragContextClass">
3467
<constructor name="new"
3468
c:identifier="gdk_drag_context_new"
3469
doc="Creates a new #GdkDragContext.">
3470
<return-value transfer-ownership="full">
3471
<type name="DragContext" c:type="GdkDragContext*"/>
3474
<method name="list_targets"
3475
c:identifier="gdk_drag_context_list_targets"
3476
doc="Retrieves the list of targets of the context."
3478
<return-value transfer-ownership="full">
3479
<type name="GLib.List" c:type="GList*"/>
3482
<method name="get_actions"
3483
c:identifier="gdk_drag_context_get_actions"
3484
doc="Determines the bitmask of actions proposed by the source if
3485
gdk_drag_context_suggested_action() returns GDK_ACTION_ASK."
3487
<return-value transfer-ownership="full">
3488
<type name="DragAction" c:type="GdkDragAction"/>
3491
<method name="get_suggested_action"
3492
c:identifier="gdk_drag_context_get_suggested_action"
3493
doc="Determines the suggested drag action of the context."
3495
<return-value transfer-ownership="full">
3496
<type name="DragAction" c:type="GdkDragAction"/>
3499
<method name="get_selected_action"
3500
c:identifier="gdk_drag_context_get_selected_action"
3501
doc="Determines the action chosen by the drag destination."
3503
<return-value transfer-ownership="full">
3504
<type name="DragAction" c:type="GdkDragAction"/>
3507
<method name="get_source_window"
3508
c:identifier="gdk_drag_context_get_source_window"
3509
doc="Returns the #GdkWindow where the DND operation started."
3511
<return-value transfer-ownership="none" doc="a #GdkWindow">
3512
<type name="Window" c:type="GdkWindow*"/>
3516
c:identifier="gdk_drag_context_ref"
3517
doc="Deprecated function; use g_object_ref() instead."
3518
deprecated="Use g_object_ref() instead."
3519
deprecated-version="2.2">
3520
<return-value transfer-ownership="none">
3521
<type name="none" c:type="void"/>
3524
<method name="unref"
3525
c:identifier="gdk_drag_context_unref"
3526
doc="Deprecated function; use g_object_unref() instead."
3527
deprecated="Use g_object_unref() instead."
3528
deprecated-version="2.2">
3529
<return-value transfer-ownership="none">
3530
<type name="none" c:type="void"/>
3533
<field name="parent_instance">
3534
<type name="GObject.Object" c:type="GObject"/>
3536
<field name="protocol">
3537
<type name="DragProtocol" c:type="GdkDragProtocol"/>
3539
<field name="is_source">
3540
<type name="boolean" c:type="gboolean"/>
3542
<field name="source_window">
3543
<type name="Window" c:type="GdkWindow*"/>
3545
<field name="dest_window">
3546
<type name="Window" c:type="GdkWindow*"/>
3548
<field name="targets">
3549
<type name="GLib.List" c:type="GList*"/>
3551
<field name="actions">
3552
<type name="DragAction" c:type="GdkDragAction"/>
3554
<field name="suggested_action">
3555
<type name="DragAction" c:type="GdkDragAction"/>
3557
<field name="action">
3558
<type name="DragAction" c:type="GdkDragAction"/>
3560
<field name="start_time">
3561
<type name="uint32" c:type="guint32"/>
3563
<field name="windowing_data">
3564
<type name="any" c:type="gpointer"/>
3567
<record name="DragContextClass"
3568
c:type="GdkDragContextClass"
3569
glib:is-gtype-struct-for="DragContext">
3570
<field name="parent_class">
3571
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
3574
<enumeration name="DragProtocol"
3575
glib:type-name="GdkDragProtocol"
3576
glib:get-type="gdk_drag_protocol_get_type"
3577
c:type="GdkDragProtocol">
3578
<member name="motif"
3580
c:identifier="GDK_DRAG_PROTO_MOTIF"
3584
c:identifier="GDK_DRAG_PROTO_XDND"
3586
<member name="rootwin"
3588
c:identifier="GDK_DRAG_PROTO_ROOTWIN"
3589
glib:nick="rootwin"/>
3592
c:identifier="GDK_DRAG_PROTO_NONE"
3594
<member name="win32_dropfiles"
3596
c:identifier="GDK_DRAG_PROTO_WIN32_DROPFILES"
3597
glib:nick="win32-dropfiles"/>
3600
c:identifier="GDK_DRAG_PROTO_OLE2"
3602
<member name="local"
3604
c:identifier="GDK_DRAG_PROTO_LOCAL"
3607
<class name="Drawable"
3608
c:type="GdkDrawable"
3609
parent="GObject.Object"
3611
glib:type-name="GdkDrawable"
3612
glib:get-type="gdk_drawable_get_type"
3613
glib:type-struct="DrawableClass">
3614
<virtual-method name="create_gc">
3615
<return-value transfer-ownership="full">
3616
<type name="GC" c:type="GdkGC*"/>
3619
<parameter name="values" transfer-ownership="none">
3620
<type name="GCValues" c:type="GdkGCValues*"/>
3622
<parameter name="mask" transfer-ownership="none">
3623
<type name="GCValuesMask" c:type="GdkGCValuesMask"/>
3627
<virtual-method name="draw_rectangle">
3628
<return-value transfer-ownership="none">
3629
<type name="none" c:type="void"/>
3632
<parameter name="gc" transfer-ownership="none">
3633
<type name="GC" c:type="GdkGC*"/>
3635
<parameter name="filled" transfer-ownership="none">
3636
<type name="boolean" c:type="gboolean"/>
3638
<parameter name="x" transfer-ownership="none">
3639
<type name="int" c:type="gint"/>
3641
<parameter name="y" transfer-ownership="none">
3642
<type name="int" c:type="gint"/>
3644
<parameter name="width" transfer-ownership="none">
3645
<type name="int" c:type="gint"/>
3647
<parameter name="height" transfer-ownership="none">
3648
<type name="int" c:type="gint"/>
3652
<virtual-method name="draw_arc">
3653
<return-value transfer-ownership="none">
3654
<type name="none" c:type="void"/>
3657
<parameter name="gc" transfer-ownership="none">
3658
<type name="GC" c:type="GdkGC*"/>
3660
<parameter name="filled" transfer-ownership="none">
3661
<type name="boolean" c:type="gboolean"/>
3663
<parameter name="x" transfer-ownership="none">
3664
<type name="int" c:type="gint"/>
3666
<parameter name="y" transfer-ownership="none">
3667
<type name="int" c:type="gint"/>
3669
<parameter name="width" transfer-ownership="none">
3670
<type name="int" c:type="gint"/>
3672
<parameter name="height" transfer-ownership="none">
3673
<type name="int" c:type="gint"/>
3675
<parameter name="angle1" transfer-ownership="none">
3676
<type name="int" c:type="gint"/>
3678
<parameter name="angle2" transfer-ownership="none">
3679
<type name="int" c:type="gint"/>
3683
<virtual-method name="draw_polygon">
3684
<return-value transfer-ownership="none">
3685
<type name="none" c:type="void"/>
3688
<parameter name="gc" transfer-ownership="none">
3689
<type name="GC" c:type="GdkGC*"/>
3691
<parameter name="filled" transfer-ownership="none">
3692
<type name="boolean" c:type="gboolean"/>
3694
<parameter name="points" transfer-ownership="none">
3695
<type name="Point" c:type="GdkPoint*"/>
3697
<parameter name="npoints" transfer-ownership="none">
3698
<type name="int" c:type="gint"/>
3702
<virtual-method name="draw_text">
3703
<return-value transfer-ownership="none">
3704
<type name="none" c:type="void"/>
3707
<parameter name="font" transfer-ownership="none">
3708
<type name="Font" c:type="GdkFont*"/>
3710
<parameter name="gc" transfer-ownership="none">
3711
<type name="GC" c:type="GdkGC*"/>
3713
<parameter name="x" transfer-ownership="none">
3714
<type name="int" c:type="gint"/>
3716
<parameter name="y" transfer-ownership="none">
3717
<type name="int" c:type="gint"/>
3719
<parameter name="text" transfer-ownership="none">
3720
<type name="utf8" c:type="gchar*"/>
3722
<parameter name="text_length" transfer-ownership="none">
3723
<type name="int" c:type="gint"/>
3727
<virtual-method name="draw_text_wc">
3728
<return-value transfer-ownership="none">
3729
<type name="none" c:type="void"/>
3732
<parameter name="font" transfer-ownership="none">
3733
<type name="Font" c:type="GdkFont*"/>
3735
<parameter name="gc" transfer-ownership="none">
3736
<type name="GC" c:type="GdkGC*"/>
3738
<parameter name="x" transfer-ownership="none">
3739
<type name="int" c:type="gint"/>
3741
<parameter name="y" transfer-ownership="none">
3742
<type name="int" c:type="gint"/>
3744
<parameter name="text" transfer-ownership="none">
3745
<type name="WChar" c:type="GdkWChar*"/>
3747
<parameter name="text_length" transfer-ownership="none">
3748
<type name="int" c:type="gint"/>
3752
<virtual-method name="draw_drawable">
3753
<return-value transfer-ownership="none">
3754
<type name="none" c:type="void"/>
3757
<parameter name="gc" transfer-ownership="none">
3758
<type name="GC" c:type="GdkGC*"/>
3760
<parameter name="src" transfer-ownership="none">
3761
<type name="Drawable" c:type="GdkDrawable*"/>
3763
<parameter name="xsrc" transfer-ownership="none">
3764
<type name="int" c:type="gint"/>
3766
<parameter name="ysrc" transfer-ownership="none">
3767
<type name="int" c:type="gint"/>
3769
<parameter name="xdest" transfer-ownership="none">
3770
<type name="int" c:type="gint"/>
3772
<parameter name="ydest" transfer-ownership="none">
3773
<type name="int" c:type="gint"/>
3775
<parameter name="width" transfer-ownership="none">
3776
<type name="int" c:type="gint"/>
3778
<parameter name="height" transfer-ownership="none">
3779
<type name="int" c:type="gint"/>
3783
<virtual-method name="draw_points">
3784
<return-value transfer-ownership="none">
3785
<type name="none" c:type="void"/>
3788
<parameter name="gc" transfer-ownership="none">
3789
<type name="GC" c:type="GdkGC*"/>
3791
<parameter name="points" transfer-ownership="none">
3792
<type name="Point" c:type="GdkPoint*"/>
3794
<parameter name="npoints" transfer-ownership="none">
3795
<type name="int" c:type="gint"/>
3799
<virtual-method name="draw_segments">
3800
<return-value transfer-ownership="none">
3801
<type name="none" c:type="void"/>
3804
<parameter name="gc" transfer-ownership="none">
3805
<type name="GC" c:type="GdkGC*"/>
3807
<parameter name="segs" transfer-ownership="none">
3808
<type name="Segment" c:type="GdkSegment*"/>
3810
<parameter name="nsegs" transfer-ownership="none">
3811
<type name="int" c:type="gint"/>
3815
<virtual-method name="draw_lines">
3816
<return-value transfer-ownership="none">
3817
<type name="none" c:type="void"/>
3820
<parameter name="gc" transfer-ownership="none">
3821
<type name="GC" c:type="GdkGC*"/>
3823
<parameter name="points" transfer-ownership="none">
3824
<type name="Point" c:type="GdkPoint*"/>
3826
<parameter name="npoints" transfer-ownership="none">
3827
<type name="int" c:type="gint"/>
3831
<virtual-method name="draw_glyphs">
3832
<return-value transfer-ownership="none">
3833
<type name="none" c:type="void"/>
3836
<parameter name="gc" transfer-ownership="none">
3837
<type name="GC" c:type="GdkGC*"/>
3839
<parameter name="font" transfer-ownership="none">
3840
<type name="Pango.Font" c:type="PangoFont*"/>
3842
<parameter name="x" transfer-ownership="none">
3843
<type name="int" c:type="gint"/>
3845
<parameter name="y" transfer-ownership="none">
3846
<type name="int" c:type="gint"/>
3848
<parameter name="glyphs" transfer-ownership="none">
3849
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
3853
<virtual-method name="draw_image">
3854
<return-value transfer-ownership="none">
3855
<type name="none" c:type="void"/>
3858
<parameter name="gc" transfer-ownership="none">
3859
<type name="GC" c:type="GdkGC*"/>
3861
<parameter name="image" transfer-ownership="none">
3862
<type name="Image" c:type="GdkImage*"/>
3864
<parameter name="xsrc" transfer-ownership="none">
3865
<type name="int" c:type="gint"/>
3867
<parameter name="ysrc" transfer-ownership="none">
3868
<type name="int" c:type="gint"/>
3870
<parameter name="xdest" transfer-ownership="none">
3871
<type name="int" c:type="gint"/>
3873
<parameter name="ydest" transfer-ownership="none">
3874
<type name="int" c:type="gint"/>
3876
<parameter name="width" transfer-ownership="none">
3877
<type name="int" c:type="gint"/>
3879
<parameter name="height" transfer-ownership="none">
3880
<type name="int" c:type="gint"/>
3884
<virtual-method name="get_depth" invoker="get_depth">
3885
<return-value transfer-ownership="none">
3886
<type name="int" c:type="gint"/>
3889
<virtual-method name="get_size" invoker="get_size">
3890
<return-value transfer-ownership="none">
3891
<type name="none" c:type="void"/>
3894
<parameter name="width"
3896
caller-allocates="0"
3897
transfer-ownership="full">
3898
<type name="int" c:type="gint*"/>
3900
<parameter name="height"
3902
caller-allocates="0"
3903
transfer-ownership="full">
3904
<type name="int" c:type="gint*"/>
3908
<virtual-method name="set_colormap">
3909
<return-value transfer-ownership="none">
3910
<type name="none" c:type="void"/>
3913
<parameter name="cmap" transfer-ownership="none">
3914
<type name="Colormap" c:type="GdkColormap*"/>
3918
<virtual-method name="get_colormap" invoker="get_colormap">
3919
<return-value transfer-ownership="full">
3920
<type name="Colormap" c:type="GdkColormap*"/>
3923
<virtual-method name="get_visual" invoker="get_visual">
3924
<return-value transfer-ownership="full">
3925
<type name="Visual" c:type="GdkVisual*"/>
3928
<virtual-method name="get_screen" invoker="get_screen">
3929
<return-value transfer-ownership="full">
3930
<type name="Screen" c:type="GdkScreen*"/>
3933
<virtual-method name="get_image" invoker="get_image">
3934
<return-value transfer-ownership="full">
3935
<type name="Image" c:type="GdkImage*"/>
3938
<parameter name="x" transfer-ownership="none">
3939
<type name="int" c:type="gint"/>
3941
<parameter name="y" transfer-ownership="none">
3942
<type name="int" c:type="gint"/>
3944
<parameter name="width" transfer-ownership="none">
3945
<type name="int" c:type="gint"/>
3947
<parameter name="height" transfer-ownership="none">
3948
<type name="int" c:type="gint"/>
3952
<virtual-method name="get_clip_region" invoker="get_clip_region">
3953
<return-value transfer-ownership="full">
3954
<type name="Region" c:type="GdkRegion*"/>
3957
<virtual-method name="get_visible_region" invoker="get_visible_region">
3958
<return-value transfer-ownership="full">
3959
<type name="Region" c:type="GdkRegion*"/>
3962
<virtual-method name="get_composite_drawable">
3963
<return-value transfer-ownership="full">
3964
<type name="Drawable" c:type="GdkDrawable*"/>
3967
<parameter name="x" transfer-ownership="none">
3968
<type name="int" c:type="gint"/>
3970
<parameter name="y" transfer-ownership="none">
3971
<type name="int" c:type="gint"/>
3973
<parameter name="width" transfer-ownership="none">
3974
<type name="int" c:type="gint"/>
3976
<parameter name="height" transfer-ownership="none">
3977
<type name="int" c:type="gint"/>
3979
<parameter name="composite_x_offset"
3981
caller-allocates="0"
3982
transfer-ownership="full">
3983
<type name="int" c:type="gint*"/>
3985
<parameter name="composite_y_offset"
3987
caller-allocates="0"
3988
transfer-ownership="full">
3989
<type name="int" c:type="gint*"/>
3993
<virtual-method name="draw_pixbuf">
3994
<return-value transfer-ownership="none">
3995
<type name="none" c:type="void"/>
3998
<parameter name="gc" transfer-ownership="none">
3999
<type name="GC" c:type="GdkGC*"/>
4001
<parameter name="pixbuf" transfer-ownership="none">
4002
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
4004
<parameter name="src_x" transfer-ownership="none">
4005
<type name="int" c:type="gint"/>
4007
<parameter name="src_y" transfer-ownership="none">
4008
<type name="int" c:type="gint"/>
4010
<parameter name="dest_x" transfer-ownership="none">
4011
<type name="int" c:type="gint"/>
4013
<parameter name="dest_y" transfer-ownership="none">
4014
<type name="int" c:type="gint"/>
4016
<parameter name="width" transfer-ownership="none">
4017
<type name="int" c:type="gint"/>
4019
<parameter name="height" transfer-ownership="none">
4020
<type name="int" c:type="gint"/>
4022
<parameter name="dither" transfer-ownership="none">
4023
<type name="RgbDither" c:type="GdkRgbDither"/>
4025
<parameter name="x_dither" transfer-ownership="none">
4026
<type name="int" c:type="gint"/>
4028
<parameter name="y_dither" transfer-ownership="none">
4029
<type name="int" c:type="gint"/>
4033
<virtual-method name="copy_to_image" invoker="copy_to_image">
4034
<return-value transfer-ownership="full">
4035
<type name="Image" c:type="GdkImage*"/>
4038
<parameter name="image" transfer-ownership="none">
4039
<type name="Image" c:type="GdkImage*"/>
4041
<parameter name="src_x" transfer-ownership="none">
4042
<type name="int" c:type="gint"/>
4044
<parameter name="src_y" transfer-ownership="none">
4045
<type name="int" c:type="gint"/>
4047
<parameter name="dest_x" transfer-ownership="none">
4048
<type name="int" c:type="gint"/>
4050
<parameter name="dest_y" transfer-ownership="none">
4051
<type name="int" c:type="gint"/>
4053
<parameter name="width" transfer-ownership="none">
4054
<type name="int" c:type="gint"/>
4056
<parameter name="height" transfer-ownership="none">
4057
<type name="int" c:type="gint"/>
4061
<virtual-method name="draw_glyphs_transformed">
4062
<return-value transfer-ownership="none">
4063
<type name="none" c:type="void"/>
4066
<parameter name="gc" transfer-ownership="none">
4067
<type name="GC" c:type="GdkGC*"/>
4069
<parameter name="matrix" transfer-ownership="none">
4070
<type name="Pango.Matrix" c:type="PangoMatrix*"/>
4072
<parameter name="font" transfer-ownership="none">
4073
<type name="Pango.Font" c:type="PangoFont*"/>
4075
<parameter name="x" transfer-ownership="none">
4076
<type name="int" c:type="gint"/>
4078
<parameter name="y" transfer-ownership="none">
4079
<type name="int" c:type="gint"/>
4081
<parameter name="glyphs" transfer-ownership="none">
4082
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
4086
<virtual-method name="draw_trapezoids">
4087
<return-value transfer-ownership="none">
4088
<type name="none" c:type="void"/>
4091
<parameter name="gc" transfer-ownership="none">
4092
<type name="GC" c:type="GdkGC*"/>
4094
<parameter name="trapezoids" transfer-ownership="none">
4095
<type name="Trapezoid" c:type="GdkTrapezoid*"/>
4097
<parameter name="n_trapezoids" transfer-ownership="none">
4098
<type name="int" c:type="gint"/>
4102
<virtual-method name="ref_cairo_surface">
4103
<return-value transfer-ownership="full">
4104
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
4107
<virtual-method name="get_source_drawable">
4108
<return-value transfer-ownership="full">
4109
<type name="Drawable" c:type="GdkDrawable*"/>
4112
<virtual-method name="set_cairo_clip">
4113
<return-value transfer-ownership="none">
4114
<type name="none" c:type="void"/>
4117
<parameter name="cr" transfer-ownership="none">
4118
<type name="cairo.Context" c:type="cairo_t*"/>
4122
<virtual-method name="create_cairo_surface">
4123
<return-value transfer-ownership="full">
4124
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
4127
<parameter name="width" transfer-ownership="none">
4128
<type name="int" c:type="int"/>
4130
<parameter name="height" transfer-ownership="none">
4131
<type name="int" c:type="int"/>
4135
<virtual-method name="draw_drawable_with_src">
4136
<return-value transfer-ownership="none">
4137
<type name="none" c:type="void"/>
4140
<parameter name="gc" transfer-ownership="none">
4141
<type name="GC" c:type="GdkGC*"/>
4143
<parameter name="src" transfer-ownership="none">
4144
<type name="Drawable" c:type="GdkDrawable*"/>
4146
<parameter name="xsrc" transfer-ownership="none">
4147
<type name="int" c:type="gint"/>
4149
<parameter name="ysrc" transfer-ownership="none">
4150
<type name="int" c:type="gint"/>
4152
<parameter name="xdest" transfer-ownership="none">
4153
<type name="int" c:type="gint"/>
4155
<parameter name="ydest" transfer-ownership="none">
4156
<type name="int" c:type="gint"/>
4158
<parameter name="width" transfer-ownership="none">
4159
<type name="int" c:type="gint"/>
4161
<parameter name="height" transfer-ownership="none">
4162
<type name="int" c:type="gint"/>
4164
<parameter name="original_src" transfer-ownership="none">
4165
<type name="Drawable" c:type="GdkDrawable*"/>
4169
<method name="set_data"
4170
c:identifier="gdk_drawable_set_data"
4171
doc="This function is equivalent to g_object_set_data(),
4172
the #GObject variant should be used instead.">
4173
<return-value transfer-ownership="none">
4174
<type name="none" c:type="void"/>
4177
<parameter name="key" transfer-ownership="none">
4178
<type name="utf8" c:type="gchar*"/>
4180
<parameter name="data" transfer-ownership="none">
4181
<type name="any" c:type="gpointer"/>
4183
<parameter name="destroy_func"
4184
transfer-ownership="none"
4187
doc="function to free @data, or %NULL">
4188
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
4192
<method name="get_data"
4193
c:identifier="gdk_drawable_get_data"
4194
doc="Equivalent to g_object_get_data(); the #GObject variant should be
4196
<return-value transfer-ownership="none">
4197
<type name="any" c:type="gpointer"/>
4200
<parameter name="key" transfer-ownership="none">
4201
<type name="utf8" c:type="gchar*"/>
4205
<method name="get_size"
4206
c:identifier="gdk_drawable_get_size"
4207
doc="Fills *@width and *@height with the size of @drawable.
4208
On the X11 platform, if @drawable is a #GdkWindow, the returned
4209
size is the size reported in the most-recently-processed configure
4210
event, rather than the current size on the X server.">
4211
<return-value transfer-ownership="none">
4212
<type name="none" c:type="void"/>
4215
<parameter name="width"
4217
caller-allocates="0"
4218
transfer-ownership="full"
4220
doc="location to store drawable's width, or %NULL">
4221
<type name="int" c:type="gint*"/>
4223
<parameter name="height"
4225
caller-allocates="0"
4226
transfer-ownership="full"
4228
doc="location to store drawable's height, or %NULL">
4229
<type name="int" c:type="gint*"/>
4233
<method name="set_colormap"
4234
c:identifier="gdk_drawable_set_colormap"
4235
doc="Sets the colormap associated with @drawable. Normally this will
4236
happen automatically when the drawable is created; you only need to
4237
use this function if the drawable-creating function did not have a
4238
way to determine the colormap, and you then use drawable operations
4239
that require a colormap. The colormap for all drawables and
4240
graphics contexts you intend to use together should match. i.e.
4241
when using a #GdkGC to draw to a drawable, or copying one drawable
4242
to another, the colormaps should match.">
4243
<return-value transfer-ownership="none">
4244
<type name="none" c:type="void"/>
4247
<parameter name="colormap" transfer-ownership="none">
4248
<type name="Colormap" c:type="GdkColormap*"/>
4252
<method name="get_colormap"
4253
c:identifier="gdk_drawable_get_colormap"
4254
doc="Gets the colormap for @drawable, if one is set; returns
4256
<return-value transfer-ownership="full">
4257
<type name="Colormap" c:type="GdkColormap*"/>
4260
<method name="get_visual"
4261
c:identifier="gdk_drawable_get_visual"
4262
doc="Gets the #GdkVisual describing the pixel format of @drawable.">
4263
<return-value transfer-ownership="full">
4264
<type name="Visual" c:type="GdkVisual*"/>
4267
<method name="get_depth"
4268
c:identifier="gdk_drawable_get_depth"
4269
doc="Obtains the bit depth of the drawable, that is, the number of bits
4270
that make up a pixel in the drawable's visual. Examples are 8 bits
4271
per pixel, 24 bits per pixel, etc.">
4272
<return-value transfer-ownership="none">
4273
<type name="int" c:type="gint"/>
4276
<method name="get_screen"
4277
c:identifier="gdk_drawable_get_screen"
4278
doc="Gets the #GdkScreen associated with a #GdkDrawable."
4280
<return-value transfer-ownership="full">
4281
<type name="Screen" c:type="GdkScreen*"/>
4284
<method name="get_display"
4285
c:identifier="gdk_drawable_get_display"
4286
doc="Gets the #GdkDisplay associated with a #GdkDrawable."
4288
<return-value transfer-ownership="full">
4289
<type name="Display" c:type="GdkDisplay*"/>
4293
c:identifier="gdk_drawable_ref"
4294
doc="Deprecated equivalent of calling g_object_ref() on @drawable.
4295
(Drawables were not objects in previous versions of GDK.)"
4296
deprecated="Use g_object_ref() instead."
4297
deprecated-version="2.0">
4298
<return-value transfer-ownership="full">
4299
<type name="Drawable" c:type="GdkDrawable*"/>
4302
<method name="unref"
4303
c:identifier="gdk_drawable_unref"
4304
doc="Deprecated equivalent of calling g_object_unref() on @drawable."
4305
deprecated="Use g_object_unref() instead."
4306
deprecated-version="2.0">
4307
<return-value transfer-ownership="none">
4308
<type name="none" c:type="void"/>
4311
<method name="get_image"
4312
c:identifier="gdk_drawable_get_image"
4313
doc="A #GdkImage stores client-side image data (pixels). In contrast,
4314
#GdkPixmap and #GdkWindow are server-side
4315
objects. gdk_drawable_get_image() obtains the pixels from a
4316
server-side drawable as a client-side #GdkImage. The format of a
4317
#GdkImage depends on the #GdkVisual of the current display, which
4318
makes manipulating #GdkImage extremely difficult; therefore, in
4319
most cases you should use gdk_pixbuf_get_from_drawable() instead of
4320
this lower-level function. A #GdkPixbuf contains image data in a
4321
canonicalized RGB format, rather than a display-dependent format.
4322
Of course, there's a convenience vs. speed tradeoff here, so you'll
4323
want to think about what makes sense for your application.
4325
You would usually copy image data to the client side if you intend
4326
to examine the values of individual pixels, for example to darken
4327
an image or add a red tint. It would be prohibitively slow to
4328
make a round-trip request to the windowing system for each pixel,
4329
so instead you get all of them at once, modify them, then copy
4330
them all back at once.
4331
If the X server or other windowing system backend is on the local
4332
machine, this function may use shared memory to avoid copying
4334
If the source drawable is a #GdkWindow and partially offscreen
4335
or obscured, then the obscured portions of the returned image
4336
will contain undefined data.">
4337
<return-value transfer-ownership="full">
4338
<type name="Image" c:type="GdkImage*"/>
4341
<parameter name="x" transfer-ownership="none">
4342
<type name="int" c:type="gint"/>
4344
<parameter name="y" transfer-ownership="none">
4345
<type name="int" c:type="gint"/>
4347
<parameter name="width" transfer-ownership="none">
4348
<type name="int" c:type="gint"/>
4350
<parameter name="height" transfer-ownership="none">
4351
<type name="int" c:type="gint"/>
4355
<method name="copy_to_image"
4356
c:identifier="gdk_drawable_copy_to_image"
4357
doc="Copies a portion of @drawable into the client side image structure
4358
and copies into that. See gdk_drawable_get_image() for further details.
4361
<return-value transfer-ownership="full">
4362
<type name="Image" c:type="GdkImage*"/>
4365
<parameter name="image"
4366
transfer-ownership="none"
4368
doc="a #GdkDrawable, or %NULL if a new @image should be created.">
4369
<type name="Image" c:type="GdkImage*"/>
4371
<parameter name="src_x" transfer-ownership="none">
4372
<type name="int" c:type="gint"/>
4374
<parameter name="src_y" transfer-ownership="none">
4375
<type name="int" c:type="gint"/>
4377
<parameter name="dest_x" transfer-ownership="none">
4378
<type name="int" c:type="gint"/>
4380
<parameter name="dest_y" transfer-ownership="none">
4381
<type name="int" c:type="gint"/>
4383
<parameter name="width" transfer-ownership="none">
4384
<type name="int" c:type="gint"/>
4386
<parameter name="height" transfer-ownership="none">
4387
<type name="int" c:type="gint"/>
4391
<method name="get_clip_region"
4392
c:identifier="gdk_drawable_get_clip_region"
4393
doc="Computes the region of a drawable that potentially can be written
4394
to by drawing primitives. This region will not take into account
4395
the clip region for the GC, and may also not take into account
4396
other factors such as if the window is obscured by other windows,
4397
but no area outside of this region will be affected by drawing
4399
when you are done.">
4400
<return-value transfer-ownership="full">
4401
<type name="Region" c:type="GdkRegion*"/>
4404
<method name="get_visible_region"
4405
c:identifier="gdk_drawable_get_visible_region"
4406
doc="Computes the region of a drawable that is potentially visible.
4407
This does not necessarily take into account if the window is
4408
obscured by other windows, but no area outside of this region
4410
when you are done.">
4411
<return-value transfer-ownership="full">
4412
<type name="Region" c:type="GdkRegion*"/>
4415
<field name="parent_instance">
4416
<type name="GObject.Object" c:type="GObject"/>
4419
<record name="DrawableClass"
4420
c:type="GdkDrawableClass"
4421
glib:is-gtype-struct-for="Drawable">
4422
<field name="parent_class">
4423
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
4425
<field name="create_gc">
4426
<callback name="create_gc" c:type="create_gc">
4427
<return-value transfer-ownership="full">
4428
<type name="GC" c:type="GdkGC*"/>
4431
<parameter name="drawable" transfer-ownership="none">
4432
<type name="Drawable" c:type="GdkDrawable*"/>
4434
<parameter name="values" transfer-ownership="none">
4435
<type name="GCValues" c:type="GdkGCValues*"/>
4437
<parameter name="mask" transfer-ownership="none">
4438
<type name="GCValuesMask" c:type="GdkGCValuesMask"/>
4443
<field name="draw_rectangle">
4444
<callback name="draw_rectangle" c:type="draw_rectangle">
4445
<return-value transfer-ownership="none">
4446
<type name="none" c:type="void"/>
4449
<parameter name="drawable" transfer-ownership="none">
4450
<type name="Drawable" c:type="GdkDrawable*"/>
4452
<parameter name="gc" transfer-ownership="none">
4453
<type name="GC" c:type="GdkGC*"/>
4455
<parameter name="filled" transfer-ownership="none">
4456
<type name="boolean" c:type="gboolean"/>
4458
<parameter name="x" transfer-ownership="none">
4459
<type name="int" c:type="gint"/>
4461
<parameter name="y" transfer-ownership="none">
4462
<type name="int" c:type="gint"/>
4464
<parameter name="width" transfer-ownership="none">
4465
<type name="int" c:type="gint"/>
4467
<parameter name="height" transfer-ownership="none">
4468
<type name="int" c:type="gint"/>
4473
<field name="draw_arc">
4474
<callback name="draw_arc" c:type="draw_arc">
4475
<return-value transfer-ownership="none">
4476
<type name="none" c:type="void"/>
4479
<parameter name="drawable" transfer-ownership="none">
4480
<type name="Drawable" c:type="GdkDrawable*"/>
4482
<parameter name="gc" transfer-ownership="none">
4483
<type name="GC" c:type="GdkGC*"/>
4485
<parameter name="filled" transfer-ownership="none">
4486
<type name="boolean" c:type="gboolean"/>
4488
<parameter name="x" transfer-ownership="none">
4489
<type name="int" c:type="gint"/>
4491
<parameter name="y" transfer-ownership="none">
4492
<type name="int" c:type="gint"/>
4494
<parameter name="width" transfer-ownership="none">
4495
<type name="int" c:type="gint"/>
4497
<parameter name="height" transfer-ownership="none">
4498
<type name="int" c:type="gint"/>
4500
<parameter name="angle1" transfer-ownership="none">
4501
<type name="int" c:type="gint"/>
4503
<parameter name="angle2" transfer-ownership="none">
4504
<type name="int" c:type="gint"/>
4509
<field name="draw_polygon">
4510
<callback name="draw_polygon" c:type="draw_polygon">
4511
<return-value transfer-ownership="none">
4512
<type name="none" c:type="void"/>
4515
<parameter name="drawable" transfer-ownership="none">
4516
<type name="Drawable" c:type="GdkDrawable*"/>
4518
<parameter name="gc" transfer-ownership="none">
4519
<type name="GC" c:type="GdkGC*"/>
4521
<parameter name="filled" transfer-ownership="none">
4522
<type name="boolean" c:type="gboolean"/>
4524
<parameter name="points" transfer-ownership="none">
4525
<type name="Point" c:type="GdkPoint*"/>
4527
<parameter name="npoints" transfer-ownership="none">
4528
<type name="int" c:type="gint"/>
4533
<field name="draw_text">
4534
<callback name="draw_text" c:type="draw_text">
4535
<return-value transfer-ownership="none">
4536
<type name="none" c:type="void"/>
4539
<parameter name="drawable" transfer-ownership="none">
4540
<type name="Drawable" c:type="GdkDrawable*"/>
4542
<parameter name="font" transfer-ownership="none">
4543
<type name="Font" c:type="GdkFont*"/>
4545
<parameter name="gc" transfer-ownership="none">
4546
<type name="GC" c:type="GdkGC*"/>
4548
<parameter name="x" transfer-ownership="none">
4549
<type name="int" c:type="gint"/>
4551
<parameter name="y" transfer-ownership="none">
4552
<type name="int" c:type="gint"/>
4554
<parameter name="text" transfer-ownership="none">
4555
<type name="utf8" c:type="gchar*"/>
4557
<parameter name="text_length" transfer-ownership="none">
4558
<type name="int" c:type="gint"/>
4563
<field name="draw_text_wc">
4564
<callback name="draw_text_wc" c:type="draw_text_wc">
4565
<return-value transfer-ownership="none">
4566
<type name="none" c:type="void"/>
4569
<parameter name="drawable" transfer-ownership="none">
4570
<type name="Drawable" c:type="GdkDrawable*"/>
4572
<parameter name="font" transfer-ownership="none">
4573
<type name="Font" c:type="GdkFont*"/>
4575
<parameter name="gc" transfer-ownership="none">
4576
<type name="GC" c:type="GdkGC*"/>
4578
<parameter name="x" transfer-ownership="none">
4579
<type name="int" c:type="gint"/>
4581
<parameter name="y" transfer-ownership="none">
4582
<type name="int" c:type="gint"/>
4584
<parameter name="text" transfer-ownership="none">
4585
<type name="WChar" c:type="GdkWChar*"/>
4587
<parameter name="text_length" transfer-ownership="none">
4588
<type name="int" c:type="gint"/>
4593
<field name="draw_drawable">
4594
<callback name="draw_drawable" c:type="draw_drawable">
4595
<return-value transfer-ownership="none">
4596
<type name="none" c:type="void"/>
4599
<parameter name="drawable" transfer-ownership="none">
4600
<type name="Drawable" c:type="GdkDrawable*"/>
4602
<parameter name="gc" transfer-ownership="none">
4603
<type name="GC" c:type="GdkGC*"/>
4605
<parameter name="src" transfer-ownership="none">
4606
<type name="Drawable" c:type="GdkDrawable*"/>
4608
<parameter name="xsrc" transfer-ownership="none">
4609
<type name="int" c:type="gint"/>
4611
<parameter name="ysrc" transfer-ownership="none">
4612
<type name="int" c:type="gint"/>
4614
<parameter name="xdest" transfer-ownership="none">
4615
<type name="int" c:type="gint"/>
4617
<parameter name="ydest" transfer-ownership="none">
4618
<type name="int" c:type="gint"/>
4620
<parameter name="width" transfer-ownership="none">
4621
<type name="int" c:type="gint"/>
4623
<parameter name="height" transfer-ownership="none">
4624
<type name="int" c:type="gint"/>
4629
<field name="draw_points">
4630
<callback name="draw_points" c:type="draw_points">
4631
<return-value transfer-ownership="none">
4632
<type name="none" c:type="void"/>
4635
<parameter name="drawable" transfer-ownership="none">
4636
<type name="Drawable" c:type="GdkDrawable*"/>
4638
<parameter name="gc" transfer-ownership="none">
4639
<type name="GC" c:type="GdkGC*"/>
4641
<parameter name="points" transfer-ownership="none">
4642
<type name="Point" c:type="GdkPoint*"/>
4644
<parameter name="npoints" transfer-ownership="none">
4645
<type name="int" c:type="gint"/>
4650
<field name="draw_segments">
4651
<callback name="draw_segments" c:type="draw_segments">
4652
<return-value transfer-ownership="none">
4653
<type name="none" c:type="void"/>
4656
<parameter name="drawable" transfer-ownership="none">
4657
<type name="Drawable" c:type="GdkDrawable*"/>
4659
<parameter name="gc" transfer-ownership="none">
4660
<type name="GC" c:type="GdkGC*"/>
4662
<parameter name="segs" transfer-ownership="none">
4663
<type name="Segment" c:type="GdkSegment*"/>
4665
<parameter name="nsegs" transfer-ownership="none">
4666
<type name="int" c:type="gint"/>
4671
<field name="draw_lines">
4672
<callback name="draw_lines" c:type="draw_lines">
4673
<return-value transfer-ownership="none">
4674
<type name="none" c:type="void"/>
4677
<parameter name="drawable" transfer-ownership="none">
4678
<type name="Drawable" c:type="GdkDrawable*"/>
4680
<parameter name="gc" transfer-ownership="none">
4681
<type name="GC" c:type="GdkGC*"/>
4683
<parameter name="points" transfer-ownership="none">
4684
<type name="Point" c:type="GdkPoint*"/>
4686
<parameter name="npoints" transfer-ownership="none">
4687
<type name="int" c:type="gint"/>
4692
<field name="draw_glyphs">
4693
<callback name="draw_glyphs" c:type="draw_glyphs">
4694
<return-value transfer-ownership="none">
4695
<type name="none" c:type="void"/>
4698
<parameter name="drawable" transfer-ownership="none">
4699
<type name="Drawable" c:type="GdkDrawable*"/>
4701
<parameter name="gc" transfer-ownership="none">
4702
<type name="GC" c:type="GdkGC*"/>
4704
<parameter name="font" transfer-ownership="none">
4705
<type name="Pango.Font" c:type="PangoFont*"/>
4707
<parameter name="x" transfer-ownership="none">
4708
<type name="int" c:type="gint"/>
4710
<parameter name="y" transfer-ownership="none">
4711
<type name="int" c:type="gint"/>
4713
<parameter name="glyphs" transfer-ownership="none">
4714
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
4719
<field name="draw_image">
4720
<callback name="draw_image" c:type="draw_image">
4721
<return-value transfer-ownership="none">
4722
<type name="none" c:type="void"/>
4725
<parameter name="drawable" transfer-ownership="none">
4726
<type name="Drawable" c:type="GdkDrawable*"/>
4728
<parameter name="gc" transfer-ownership="none">
4729
<type name="GC" c:type="GdkGC*"/>
4731
<parameter name="image" transfer-ownership="none">
4732
<type name="Image" c:type="GdkImage*"/>
4734
<parameter name="xsrc" transfer-ownership="none">
4735
<type name="int" c:type="gint"/>
4737
<parameter name="ysrc" transfer-ownership="none">
4738
<type name="int" c:type="gint"/>
4740
<parameter name="xdest" transfer-ownership="none">
4741
<type name="int" c:type="gint"/>
4743
<parameter name="ydest" transfer-ownership="none">
4744
<type name="int" c:type="gint"/>
4746
<parameter name="width" transfer-ownership="none">
4747
<type name="int" c:type="gint"/>
4749
<parameter name="height" transfer-ownership="none">
4750
<type name="int" c:type="gint"/>
4755
<field name="get_depth">
4756
<callback name="get_depth" c:type="get_depth">
4757
<return-value transfer-ownership="none">
4758
<type name="int" c:type="gint"/>
4761
<parameter name="drawable" transfer-ownership="none">
4762
<type name="Drawable" c:type="GdkDrawable*"/>
4767
<field name="get_size">
4768
<callback name="get_size" c:type="get_size">
4769
<return-value transfer-ownership="none">
4770
<type name="none" c:type="void"/>
4773
<parameter name="drawable" transfer-ownership="none">
4774
<type name="Drawable" c:type="GdkDrawable*"/>
4776
<parameter name="width"
4778
caller-allocates="0"
4779
transfer-ownership="full">
4780
<type name="int" c:type="gint*"/>
4782
<parameter name="height"
4784
caller-allocates="0"
4785
transfer-ownership="full">
4786
<type name="int" c:type="gint*"/>
4791
<field name="set_colormap">
4792
<callback name="set_colormap" c:type="set_colormap">
4793
<return-value transfer-ownership="none">
4794
<type name="none" c:type="void"/>
4797
<parameter name="drawable" transfer-ownership="none">
4798
<type name="Drawable" c:type="GdkDrawable*"/>
4800
<parameter name="cmap" transfer-ownership="none">
4801
<type name="Colormap" c:type="GdkColormap*"/>
4806
<field name="get_colormap">
4807
<callback name="get_colormap" c:type="get_colormap">
4808
<return-value transfer-ownership="full">
4809
<type name="Colormap" c:type="GdkColormap*"/>
4812
<parameter name="drawable" transfer-ownership="none">
4813
<type name="Drawable" c:type="GdkDrawable*"/>
4818
<field name="get_visual">
4819
<callback name="get_visual" c:type="get_visual">
4820
<return-value transfer-ownership="full">
4821
<type name="Visual" c:type="GdkVisual*"/>
4824
<parameter name="drawable" transfer-ownership="none">
4825
<type name="Drawable" c:type="GdkDrawable*"/>
4830
<field name="get_screen">
4831
<callback name="get_screen" c:type="get_screen">
4832
<return-value transfer-ownership="full">
4833
<type name="Screen" c:type="GdkScreen*"/>
4836
<parameter name="drawable" transfer-ownership="none">
4837
<type name="Drawable" c:type="GdkDrawable*"/>
4842
<field name="get_image">
4843
<callback name="get_image" c:type="get_image">
4844
<return-value transfer-ownership="full">
4845
<type name="Image" c:type="GdkImage*"/>
4848
<parameter name="drawable" transfer-ownership="none">
4849
<type name="Drawable" c:type="GdkDrawable*"/>
4851
<parameter name="x" transfer-ownership="none">
4852
<type name="int" c:type="gint"/>
4854
<parameter name="y" transfer-ownership="none">
4855
<type name="int" c:type="gint"/>
4857
<parameter name="width" transfer-ownership="none">
4858
<type name="int" c:type="gint"/>
4860
<parameter name="height" transfer-ownership="none">
4861
<type name="int" c:type="gint"/>
4866
<field name="get_clip_region">
4867
<callback name="get_clip_region" c:type="get_clip_region">
4868
<return-value transfer-ownership="full">
4869
<type name="Region" c:type="GdkRegion*"/>
4872
<parameter name="drawable" transfer-ownership="none">
4873
<type name="Drawable" c:type="GdkDrawable*"/>
4878
<field name="get_visible_region">
4879
<callback name="get_visible_region" c:type="get_visible_region">
4880
<return-value transfer-ownership="full">
4881
<type name="Region" c:type="GdkRegion*"/>
4884
<parameter name="drawable" transfer-ownership="none">
4885
<type name="Drawable" c:type="GdkDrawable*"/>
4890
<field name="get_composite_drawable">
4891
<callback name="get_composite_drawable"
4892
c:type="get_composite_drawable">
4893
<return-value transfer-ownership="full">
4894
<type name="Drawable" c:type="GdkDrawable*"/>
4897
<parameter name="drawable" transfer-ownership="none">
4898
<type name="Drawable" c:type="GdkDrawable*"/>
4900
<parameter name="x" transfer-ownership="none">
4901
<type name="int" c:type="gint"/>
4903
<parameter name="y" transfer-ownership="none">
4904
<type name="int" c:type="gint"/>
4906
<parameter name="width" transfer-ownership="none">
4907
<type name="int" c:type="gint"/>
4909
<parameter name="height" transfer-ownership="none">
4910
<type name="int" c:type="gint"/>
4912
<parameter name="composite_x_offset"
4914
caller-allocates="0"
4915
transfer-ownership="full">
4916
<type name="int" c:type="gint*"/>
4918
<parameter name="composite_y_offset"
4920
caller-allocates="0"
4921
transfer-ownership="full">
4922
<type name="int" c:type="gint*"/>
4927
<field name="draw_pixbuf">
4928
<callback name="draw_pixbuf" c:type="draw_pixbuf">
4929
<return-value transfer-ownership="none">
4930
<type name="none" c:type="void"/>
4933
<parameter name="drawable" transfer-ownership="none">
4934
<type name="Drawable" c:type="GdkDrawable*"/>
4936
<parameter name="gc" transfer-ownership="none">
4937
<type name="GC" c:type="GdkGC*"/>
4939
<parameter name="pixbuf" transfer-ownership="none">
4940
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
4942
<parameter name="src_x" transfer-ownership="none">
4943
<type name="int" c:type="gint"/>
4945
<parameter name="src_y" transfer-ownership="none">
4946
<type name="int" c:type="gint"/>
4948
<parameter name="dest_x" transfer-ownership="none">
4949
<type name="int" c:type="gint"/>
4951
<parameter name="dest_y" transfer-ownership="none">
4952
<type name="int" c:type="gint"/>
4954
<parameter name="width" transfer-ownership="none">
4955
<type name="int" c:type="gint"/>
4957
<parameter name="height" transfer-ownership="none">
4958
<type name="int" c:type="gint"/>
4960
<parameter name="dither" transfer-ownership="none">
4961
<type name="RgbDither" c:type="GdkRgbDither"/>
4963
<parameter name="x_dither" transfer-ownership="none">
4964
<type name="int" c:type="gint"/>
4966
<parameter name="y_dither" transfer-ownership="none">
4967
<type name="int" c:type="gint"/>
4972
<field name="copy_to_image">
4973
<callback name="copy_to_image" c:type="_copy_to_image">
4974
<return-value transfer-ownership="full">
4975
<type name="Image" c:type="GdkImage*"/>
4978
<parameter name="drawable" transfer-ownership="none">
4979
<type name="Drawable" c:type="GdkDrawable*"/>
4981
<parameter name="image" transfer-ownership="none">
4982
<type name="Image" c:type="GdkImage*"/>
4984
<parameter name="src_x" transfer-ownership="none">
4985
<type name="int" c:type="gint"/>
4987
<parameter name="src_y" transfer-ownership="none">
4988
<type name="int" c:type="gint"/>
4990
<parameter name="dest_x" transfer-ownership="none">
4991
<type name="int" c:type="gint"/>
4993
<parameter name="dest_y" transfer-ownership="none">
4994
<type name="int" c:type="gint"/>
4996
<parameter name="width" transfer-ownership="none">
4997
<type name="int" c:type="gint"/>
4999
<parameter name="height" transfer-ownership="none">
5000
<type name="int" c:type="gint"/>
5005
<field name="draw_glyphs_transformed">
5006
<callback name="draw_glyphs_transformed"
5007
c:type="draw_glyphs_transformed">
5008
<return-value transfer-ownership="none">
5009
<type name="none" c:type="void"/>
5012
<parameter name="drawable" transfer-ownership="none">
5013
<type name="Drawable" c:type="GdkDrawable*"/>
5015
<parameter name="gc" transfer-ownership="none">
5016
<type name="GC" c:type="GdkGC*"/>
5018
<parameter name="matrix" transfer-ownership="none">
5019
<type name="Pango.Matrix" c:type="PangoMatrix*"/>
5021
<parameter name="font" transfer-ownership="none">
5022
<type name="Pango.Font" c:type="PangoFont*"/>
5024
<parameter name="x" transfer-ownership="none">
5025
<type name="int" c:type="gint"/>
5027
<parameter name="y" transfer-ownership="none">
5028
<type name="int" c:type="gint"/>
5030
<parameter name="glyphs" transfer-ownership="none">
5031
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
5036
<field name="draw_trapezoids">
5037
<callback name="draw_trapezoids" c:type="draw_trapezoids">
5038
<return-value transfer-ownership="none">
5039
<type name="none" c:type="void"/>
5042
<parameter name="drawable" transfer-ownership="none">
5043
<type name="Drawable" c:type="GdkDrawable*"/>
5045
<parameter name="gc" transfer-ownership="none">
5046
<type name="GC" c:type="GdkGC*"/>
5048
<parameter name="trapezoids" transfer-ownership="none">
5049
<type name="Trapezoid" c:type="GdkTrapezoid*"/>
5051
<parameter name="n_trapezoids" transfer-ownership="none">
5052
<type name="int" c:type="gint"/>
5057
<field name="ref_cairo_surface">
5058
<callback name="ref_cairo_surface" c:type="ref_cairo_surface">
5059
<return-value transfer-ownership="full">
5060
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
5063
<parameter name="drawable" transfer-ownership="none">
5064
<type name="Drawable" c:type="GdkDrawable*"/>
5069
<field name="get_source_drawable">
5070
<callback name="get_source_drawable" c:type="get_source_drawable">
5071
<return-value transfer-ownership="full">
5072
<type name="Drawable" c:type="GdkDrawable*"/>
5075
<parameter name="drawable" transfer-ownership="none">
5076
<type name="Drawable" c:type="GdkDrawable*"/>
5081
<field name="set_cairo_clip">
5082
<callback name="set_cairo_clip" c:type="set_cairo_clip">
5083
<return-value transfer-ownership="none">
5084
<type name="none" c:type="void"/>
5087
<parameter name="drawable" transfer-ownership="none">
5088
<type name="Drawable" c:type="GdkDrawable*"/>
5090
<parameter name="cr" transfer-ownership="none">
5091
<type name="cairo.Context" c:type="cairo_t*"/>
5096
<field name="create_cairo_surface">
5097
<callback name="create_cairo_surface" c:type="create_cairo_surface">
5098
<return-value transfer-ownership="full">
5099
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
5102
<parameter name="drawable" transfer-ownership="none">
5103
<type name="Drawable" c:type="GdkDrawable*"/>
5105
<parameter name="width" transfer-ownership="none">
5106
<type name="int" c:type="int"/>
5108
<parameter name="height" transfer-ownership="none">
5109
<type name="int" c:type="int"/>
5114
<field name="draw_drawable_with_src">
5115
<callback name="draw_drawable_with_src"
5116
c:type="draw_drawable_with_src">
5117
<return-value transfer-ownership="none">
5118
<type name="none" c:type="void"/>
5121
<parameter name="drawable" transfer-ownership="none">
5122
<type name="Drawable" c:type="GdkDrawable*"/>
5124
<parameter name="gc" transfer-ownership="none">
5125
<type name="GC" c:type="GdkGC*"/>
5127
<parameter name="src" transfer-ownership="none">
5128
<type name="Drawable" c:type="GdkDrawable*"/>
5130
<parameter name="xsrc" transfer-ownership="none">
5131
<type name="int" c:type="gint"/>
5133
<parameter name="ysrc" transfer-ownership="none">
5134
<type name="int" c:type="gint"/>
5136
<parameter name="xdest" transfer-ownership="none">
5137
<type name="int" c:type="gint"/>
5139
<parameter name="ydest" transfer-ownership="none">
5140
<type name="int" c:type="gint"/>
5142
<parameter name="width" transfer-ownership="none">
5143
<type name="int" c:type="gint"/>
5145
<parameter name="height" transfer-ownership="none">
5146
<type name="int" c:type="gint"/>
5148
<parameter name="original_src" transfer-ownership="none">
5149
<type name="Drawable" c:type="GdkDrawable*"/>
5154
<field name="gdk_reserved7">
5155
<callback name="gdk_reserved7" c:type="_gdk_reserved7">
5156
<return-value transfer-ownership="none">
5157
<type name="none" c:type="void"/>
5161
<field name="gdk_reserved9">
5162
<callback name="gdk_reserved9" c:type="_gdk_reserved9">
5163
<return-value transfer-ownership="none">
5164
<type name="none" c:type="void"/>
5168
<field name="gdk_reserved10">
5169
<callback name="gdk_reserved10" c:type="_gdk_reserved10">
5170
<return-value transfer-ownership="none">
5171
<type name="none" c:type="void"/>
5175
<field name="gdk_reserved11">
5176
<callback name="gdk_reserved11" c:type="_gdk_reserved11">
5177
<return-value transfer-ownership="none">
5178
<type name="none" c:type="void"/>
5182
<field name="gdk_reserved12">
5183
<callback name="gdk_reserved12" c:type="_gdk_reserved12">
5184
<return-value transfer-ownership="none">
5185
<type name="none" c:type="void"/>
5189
<field name="gdk_reserved13">
5190
<callback name="gdk_reserved13" c:type="_gdk_reserved13">
5191
<return-value transfer-ownership="none">
5192
<type name="none" c:type="void"/>
5196
<field name="gdk_reserved14">
5197
<callback name="gdk_reserved14" c:type="_gdk_reserved14">
5198
<return-value transfer-ownership="none">
5199
<type name="none" c:type="void"/>
5203
<field name="gdk_reserved15">
5204
<callback name="gdk_reserved15" c:type="_gdk_reserved15">
5205
<return-value transfer-ownership="none">
5206
<type name="none" c:type="void"/>
5211
<constant name="Dstroke" value="464">
5214
<constant name="E" value="69">
5217
<constant name="ENG" value="957">
5220
<constant name="ETH" value="208">
5223
<constant name="Eabovedot" value="972">
5226
<constant name="Eacute" value="201">
5229
<constant name="Ebelowdot" value="16785080">
5232
<constant name="Ecaron" value="460">
5235
<constant name="Ecircumflex" value="202">
5238
<constant name="Ecircumflexacute" value="16785086">
5241
<constant name="Ecircumflexbelowdot" value="16785094">
5244
<constant name="Ecircumflexgrave" value="16785088">
5247
<constant name="Ecircumflexhook" value="16785090">
5250
<constant name="Ecircumflextilde" value="16785092">
5253
<constant name="EcuSign" value="16785568">
5256
<constant name="Ediaeresis" value="203">
5259
<constant name="Egrave" value="200">
5262
<constant name="Ehook" value="16785082">
5265
<constant name="Eisu_Shift" value="65327">
5268
<constant name="Eisu_toggle" value="65328">
5271
<constant name="Eject" value="269025068">
5274
<constant name="Emacron" value="938">
5277
<constant name="End" value="65367">
5280
<constant name="Eogonek" value="458">
5283
<constant name="Escape" value="65307">
5286
<constant name="Eth" value="208">
5289
<constant name="Etilde" value="16785084">
5292
<constant name="EuroSign" value="8364">
5297
glib:type-name="GdkEvent"
5298
glib:get-type="gdk_event_get_type">
5299
<field name="type" writable="1">
5300
<type name="EventType" c:type="GdkEventType"/>
5302
<field name="any" writable="1">
5303
<type name="EventAny" c:type="GdkEventAny"/>
5305
<field name="expose" writable="1">
5306
<type name="EventExpose" c:type="GdkEventExpose"/>
5308
<field name="no_expose" writable="1">
5309
<type name="EventNoExpose" c:type="GdkEventNoExpose"/>
5311
<field name="visibility" writable="1">
5312
<type name="EventVisibility" c:type="GdkEventVisibility"/>
5314
<field name="motion" writable="1">
5315
<type name="EventMotion" c:type="GdkEventMotion"/>
5317
<field name="button" writable="1">
5318
<type name="EventButton" c:type="GdkEventButton"/>
5320
<field name="scroll" writable="1">
5321
<type name="EventScroll" c:type="GdkEventScroll"/>
5323
<field name="key" writable="1">
5324
<type name="EventKey" c:type="GdkEventKey"/>
5326
<field name="crossing" writable="1">
5327
<type name="EventCrossing" c:type="GdkEventCrossing"/>
5329
<field name="focus_change" writable="1">
5330
<type name="EventFocus" c:type="GdkEventFocus"/>
5332
<field name="configure" writable="1">
5333
<type name="EventConfigure" c:type="GdkEventConfigure"/>
5335
<field name="property" writable="1">
5336
<type name="EventProperty" c:type="GdkEventProperty"/>
5338
<field name="selection" writable="1">
5339
<type name="EventSelection" c:type="GdkEventSelection"/>
5341
<field name="owner_change" writable="1">
5342
<type name="EventOwnerChange" c:type="GdkEventOwnerChange"/>
5344
<field name="proximity" writable="1">
5345
<type name="EventProximity" c:type="GdkEventProximity"/>
5347
<field name="client" writable="1">
5348
<type name="EventClient" c:type="GdkEventClient"/>
5350
<field name="dnd" writable="1">
5351
<type name="EventDND" c:type="GdkEventDND"/>
5353
<field name="window_state" writable="1">
5354
<type name="EventWindowState" c:type="GdkEventWindowState"/>
5356
<field name="setting" writable="1">
5357
<type name="EventSetting" c:type="GdkEventSetting"/>
5359
<field name="grab_broken" writable="1">
5360
<type name="EventGrabBroken" c:type="GdkEventGrabBroken"/>
5362
<constructor name="new"
5363
c:identifier="gdk_event_new"
5364
doc="Creates a new event of the given type. All fields are set to 0.
5365
should be freed with gdk_event_free()."
5367
<return-value transfer-ownership="full">
5368
<type name="Event" c:type="GdkEvent*"/>
5371
<parameter name="type" transfer-ownership="none">
5372
<type name="EventType" c:type="GdkEventType"/>
5377
c:identifier="gdk_event_put"
5378
doc="Appends a copy of the given event onto the front of the event
5379
queue for event->any.window's display, or the default event
5380
queue if event->any.window is %NULL. See gdk_display_put_event().">
5381
<return-value transfer-ownership="none">
5382
<type name="none" c:type="void"/>
5386
c:identifier="gdk_event_copy"
5387
doc="Copies a #GdkEvent, copying or incrementing the reference count of the
5388
resources associated with it (e.g. #GdkWindow's and strings).
5390
<return-value transfer-ownership="full">
5391
<type name="Event" c:type="GdkEvent*"/>
5395
c:identifier="gdk_event_free"
5396
doc="Frees a #GdkEvent, freeing or decrementing any resources associated with it.
5397
Note that this function should only be called with events returned from
5398
functions such as gdk_event_peek(), gdk_event_get(),
5399
gdk_event_get_graphics_expose() and gdk_event_copy() and gdk_event_new().">
5400
<return-value transfer-ownership="none">
5401
<type name="none" c:type="void"/>
5404
<method name="get_time"
5405
c:identifier="gdk_event_get_time"
5406
doc="Returns the time stamp from @event, if there is one; otherwise
5407
returns #GDK_CURRENT_TIME. If @event is %NULL, returns #GDK_CURRENT_TIME.">
5408
<return-value transfer-ownership="none">
5409
<type name="uint32" c:type="guint32"/>
5412
<method name="get_state"
5413
c:identifier="gdk_event_get_state"
5414
doc="If the event contains a "state" field, puts that field in @state. Otherwise
5415
stores an empty state (0). Returns %TRUE if there was a state field
5416
in the event. @event may be %NULL, in which case it's treated
5417
as if the event had no state field.">
5418
<return-value transfer-ownership="none">
5419
<type name="boolean" c:type="gboolean"/>
5422
<parameter name="state"
5424
caller-allocates="1"
5425
transfer-ownership="none"
5426
doc="return location for state">
5427
<type name="ModifierType" c:type="GdkModifierType*"/>
5431
<method name="get_coords"
5432
c:identifier="gdk_event_get_coords"
5433
doc="Extract the event window relative x/y coordinates from an event.">
5434
<return-value transfer-ownership="none">
5435
<type name="boolean" c:type="gboolean"/>
5438
<parameter name="x_win"
5440
caller-allocates="0"
5441
transfer-ownership="full"
5442
doc="location to put event window x coordinate">
5443
<type name="double" c:type="gdouble*"/>
5445
<parameter name="y_win"
5447
caller-allocates="0"
5448
transfer-ownership="full"
5449
doc="location to put event window y coordinate">
5450
<type name="double" c:type="gdouble*"/>
5454
<method name="get_root_coords"
5455
c:identifier="gdk_event_get_root_coords"
5456
doc="Extract the root window relative x/y coordinates from an event.">
5457
<return-value transfer-ownership="none">
5458
<type name="boolean" c:type="gboolean"/>
5461
<parameter name="x_root"
5463
caller-allocates="0"
5464
transfer-ownership="full"
5465
doc="location to put root window x coordinate">
5466
<type name="double" c:type="gdouble*"/>
5468
<parameter name="y_root"
5470
caller-allocates="0"
5471
transfer-ownership="full"
5472
doc="location to put root window y coordinate">
5473
<type name="double" c:type="gdouble*"/>
5477
<method name="get_axis"
5478
c:identifier="gdk_event_get_axis"
5479
doc="Extract the axis value for a particular axis use from
5480
an event structure.">
5481
<return-value transfer-ownership="none">
5482
<type name="boolean" c:type="gboolean"/>
5485
<parameter name="axis_use"
5487
caller-allocates="1"
5488
transfer-ownership="none"
5489
doc="the axis use to look for">
5490
<type name="AxisUse" c:type="GdkAxisUse"/>
5492
<parameter name="value"
5494
caller-allocates="0"
5495
transfer-ownership="full"
5496
doc="location to store the value found">
5497
<type name="double" c:type="gdouble*"/>
5501
<method name="set_screen"
5502
c:identifier="gdk_event_set_screen"
5503
doc="Sets the screen for @event to @screen. The event must
5504
have been allocated by GTK+, for instance, by
5507
<return-value transfer-ownership="none">
5508
<type name="none" c:type="void"/>
5511
<parameter name="screen" transfer-ownership="none">
5512
<type name="Screen" c:type="GdkScreen*"/>
5516
<method name="get_screen"
5517
c:identifier="gdk_event_get_screen"
5518
doc="Returns the screen for the event. The screen is
5519
typically the screen for <literal>event->any.window</literal>, but
5520
for events such as mouse events, it is the screen
5521
where the pointer was when the event occurs -
5522
that is, the screen which has the root window
5523
to which <literal>event->motion.x_root</literal> and
5524
<literal>event->motion.y_root</literal> are relative."
5526
<return-value transfer-ownership="full">
5527
<type name="Screen" c:type="GdkScreen*"/>
5530
<method name="send_client_message"
5531
c:identifier="gdk_event_send_client_message"
5532
doc="Sends an X ClientMessage event to a given window (which must be
5533
on the default #GdkDisplay.)
5534
This could be used for communicating between different applications,
5535
though the amount of data is limited to 20 bytes.">
5536
<return-value transfer-ownership="none">
5537
<type name="boolean" c:type="gboolean"/>
5540
<parameter name="winid" transfer-ownership="none">
5541
<type name="NativeWindow" c:type="GdkNativeWindow"/>
5545
<method name="send_clientmessage_toall"
5546
c:identifier="gdk_event_send_clientmessage_toall"
5547
doc="Sends an X ClientMessage event to all toplevel windows on the default
5549
Toplevel windows are determined by checking for the WM_STATE property, as
5550
described in the Inter-Client Communication Conventions Manual (ICCCM).
5551
If no windows are found with the WM_STATE property set, the message is sent
5552
to all children of the root window.">
5553
<return-value transfer-ownership="none">
5554
<type name="none" c:type="void"/>
5558
<record name="EventAny" c:type="GdkEventAny">
5559
<field name="type" writable="1">
5560
<type name="EventType" c:type="GdkEventType"/>
5562
<field name="window" writable="1">
5563
<type name="Window" c:type="GdkWindow*"/>
5565
<field name="send_event" writable="1">
5566
<type name="int8" c:type="gint8"/>
5569
<record name="EventButton" c:type="GdkEventButton">
5570
<field name="type" writable="1">
5571
<type name="EventType" c:type="GdkEventType"/>
5573
<field name="window" writable="1">
5574
<type name="Window" c:type="GdkWindow*"/>
5576
<field name="send_event" writable="1">
5577
<type name="int8" c:type="gint8"/>
5579
<field name="time" writable="1">
5580
<type name="uint32" c:type="guint32"/>
5582
<field name="x" writable="1">
5583
<type name="double" c:type="gdouble"/>
5585
<field name="y" writable="1">
5586
<type name="double" c:type="gdouble"/>
5588
<field name="axes" writable="1">
5589
<type name="any" c:type="gdouble*"/>
5591
<field name="state" writable="1">
5592
<type name="uint" c:type="guint"/>
5594
<field name="button" writable="1">
5595
<type name="uint" c:type="guint"/>
5597
<field name="device" writable="1">
5598
<type name="Device" c:type="GdkDevice*"/>
5600
<field name="x_root" writable="1">
5601
<type name="double" c:type="gdouble"/>
5603
<field name="y_root" writable="1">
5604
<type name="double" c:type="gdouble"/>
5607
<record name="EventClient" c:type="GdkEventClient">
5608
<field name="type" writable="1">
5609
<type name="EventType" c:type="GdkEventType"/>
5611
<field name="window" writable="1">
5612
<type name="Window" c:type="GdkWindow*"/>
5614
<field name="send_event" writable="1">
5615
<type name="int8" c:type="gint8"/>
5617
<field name="message_type" writable="1">
5618
<type name="Atom" c:type="GdkAtom"/>
5620
<field name="data_format" writable="1">
5621
<type name="ushort" c:type="gushort"/>
5623
<union name="data" c:type="data">
5624
<field name="b" writable="1">
5625
<array zero-terminated="0" c:type="char" fixed-size="20">
5629
<field name="s" writable="1">
5630
<array zero-terminated="0" c:type="short" fixed-size="10">
5631
<type name="short"/>
5634
<field name="l" writable="1">
5635
<array zero-terminated="0" c:type="long" fixed-size="5">
5641
<record name="EventConfigure" c:type="GdkEventConfigure">
5642
<field name="type" writable="1">
5643
<type name="EventType" c:type="GdkEventType"/>
5645
<field name="window" writable="1">
5646
<type name="Window" c:type="GdkWindow*"/>
5648
<field name="send_event" writable="1">
5649
<type name="int8" c:type="gint8"/>
5651
<field name="x" writable="1">
5652
<type name="int" c:type="gint"/>
5654
<field name="y" writable="1">
5655
<type name="int" c:type="gint"/>
5657
<field name="width" writable="1">
5658
<type name="int" c:type="gint"/>
5660
<field name="height" writable="1">
5661
<type name="int" c:type="gint"/>
5664
<record name="EventCrossing" c:type="GdkEventCrossing">
5665
<field name="type" writable="1">
5666
<type name="EventType" c:type="GdkEventType"/>
5668
<field name="window" writable="1">
5669
<type name="Window" c:type="GdkWindow*"/>
5671
<field name="send_event" writable="1">
5672
<type name="int8" c:type="gint8"/>
5674
<field name="subwindow" writable="1">
5675
<type name="Window" c:type="GdkWindow*"/>
5677
<field name="time" writable="1">
5678
<type name="uint32" c:type="guint32"/>
5680
<field name="x" writable="1">
5681
<type name="double" c:type="gdouble"/>
5683
<field name="y" writable="1">
5684
<type name="double" c:type="gdouble"/>
5686
<field name="x_root" writable="1">
5687
<type name="double" c:type="gdouble"/>
5689
<field name="y_root" writable="1">
5690
<type name="double" c:type="gdouble"/>
5692
<field name="mode" writable="1">
5693
<type name="CrossingMode" c:type="GdkCrossingMode"/>
5695
<field name="detail" writable="1">
5696
<type name="NotifyType" c:type="GdkNotifyType"/>
5698
<field name="focus" writable="1">
5699
<type name="boolean" c:type="gboolean"/>
5701
<field name="state" writable="1">
5702
<type name="uint" c:type="guint"/>
5705
<record name="EventDND" c:type="GdkEventDND">
5706
<field name="type" writable="1">
5707
<type name="EventType" c:type="GdkEventType"/>
5709
<field name="window" writable="1">
5710
<type name="Window" c:type="GdkWindow*"/>
5712
<field name="send_event" writable="1">
5713
<type name="int8" c:type="gint8"/>
5715
<field name="context" writable="1">
5716
<type name="DragContext" c:type="GdkDragContext*"/>
5718
<field name="time" writable="1">
5719
<type name="uint32" c:type="guint32"/>
5721
<field name="x_root" writable="1">
5722
<type name="short" c:type="gshort"/>
5724
<field name="y_root" writable="1">
5725
<type name="short" c:type="gshort"/>
5728
<record name="EventExpose" c:type="GdkEventExpose">
5729
<field name="type" writable="1">
5730
<type name="EventType" c:type="GdkEventType"/>
5732
<field name="window" writable="1">
5733
<type name="Window" c:type="GdkWindow*"/>
5735
<field name="send_event" writable="1">
5736
<type name="int8" c:type="gint8"/>
5738
<field name="area" writable="1">
5739
<type name="Rectangle" c:type="GdkRectangle"/>
5741
<field name="region" writable="1">
5742
<type name="Region" c:type="GdkRegion*"/>
5744
<field name="count" writable="1">
5745
<type name="int" c:type="gint"/>
5748
<record name="EventFocus" c:type="GdkEventFocus">
5749
<field name="type" writable="1">
5750
<type name="EventType" c:type="GdkEventType"/>
5752
<field name="window" writable="1">
5753
<type name="Window" c:type="GdkWindow*"/>
5755
<field name="send_event" writable="1">
5756
<type name="int8" c:type="gint8"/>
5758
<field name="in" writable="1">
5759
<type name="int16" c:type="gint16"/>
5762
<callback name="EventFunc" c:type="GdkEventFunc">
5763
<return-value transfer-ownership="none">
5764
<type name="none" c:type="void"/>
5767
<parameter name="event" transfer-ownership="none">
5768
<type name="Event" c:type="GdkEvent*"/>
5770
<parameter name="data" transfer-ownership="none">
5771
<type name="any" c:type="gpointer"/>
5775
<record name="EventGrabBroken" c:type="GdkEventGrabBroken">
5776
<field name="type" writable="1">
5777
<type name="EventType" c:type="GdkEventType"/>
5779
<field name="window" writable="1">
5780
<type name="Window" c:type="GdkWindow*"/>
5782
<field name="send_event" writable="1">
5783
<type name="int8" c:type="gint8"/>
5785
<field name="keyboard" writable="1">
5786
<type name="boolean" c:type="gboolean"/>
5788
<field name="implicit" writable="1">
5789
<type name="boolean" c:type="gboolean"/>
5791
<field name="grab_window" writable="1">
5792
<type name="Window" c:type="GdkWindow*"/>
5795
<record name="EventKey" c:type="GdkEventKey">
5796
<field name="type" writable="1">
5797
<type name="EventType" c:type="GdkEventType"/>
5799
<field name="window" writable="1">
5800
<type name="Window" c:type="GdkWindow*"/>
5802
<field name="send_event" writable="1">
5803
<type name="int8" c:type="gint8"/>
5805
<field name="time" writable="1">
5806
<type name="uint32" c:type="guint32"/>
5808
<field name="state" writable="1">
5809
<type name="uint" c:type="guint"/>
5811
<field name="keyval" writable="1">
5812
<type name="uint" c:type="guint"/>
5814
<field name="length" writable="1">
5815
<type name="int" c:type="gint"/>
5817
<field name="string" writable="1">
5818
<type name="utf8" c:type="gchar*"/>
5820
<field name="hardware_keycode" writable="1">
5821
<type name="uint16" c:type="guint16"/>
5823
<field name="group" writable="1">
5824
<type name="uint8" c:type="guint8"/>
5826
<field name="is_modifier" writable="1" bits="1">
5827
<type name="uint" c:type="guint"/>
5830
<bitfield name="EventMask"
5831
glib:type-name="GdkEventMask"
5832
glib:get-type="gdk_event_mask_get_type"
5833
c:type="GdkEventMask">
5834
<member name="exposure_mask"
5836
c:identifier="GDK_EXPOSURE_MASK"
5837
glib:nick="exposure-mask"/>
5838
<member name="pointer_motion_mask"
5840
c:identifier="GDK_POINTER_MOTION_MASK"
5841
glib:nick="pointer-motion-mask"/>
5842
<member name="pointer_motion_hint_mask"
5844
c:identifier="GDK_POINTER_MOTION_HINT_MASK"
5845
glib:nick="pointer-motion-hint-mask"/>
5846
<member name="button_motion_mask"
5848
c:identifier="GDK_BUTTON_MOTION_MASK"
5849
glib:nick="button-motion-mask"/>
5850
<member name="button1_motion_mask"
5852
c:identifier="GDK_BUTTON1_MOTION_MASK"
5853
glib:nick="button1-motion-mask"/>
5854
<member name="button2_motion_mask"
5856
c:identifier="GDK_BUTTON2_MOTION_MASK"
5857
glib:nick="button2-motion-mask"/>
5858
<member name="button3_motion_mask"
5860
c:identifier="GDK_BUTTON3_MOTION_MASK"
5861
glib:nick="button3-motion-mask"/>
5862
<member name="button_press_mask"
5864
c:identifier="GDK_BUTTON_PRESS_MASK"
5865
glib:nick="button-press-mask"/>
5866
<member name="button_release_mask"
5868
c:identifier="GDK_BUTTON_RELEASE_MASK"
5869
glib:nick="button-release-mask"/>
5870
<member name="key_press_mask"
5872
c:identifier="GDK_KEY_PRESS_MASK"
5873
glib:nick="key-press-mask"/>
5874
<member name="key_release_mask"
5876
c:identifier="GDK_KEY_RELEASE_MASK"
5877
glib:nick="key-release-mask"/>
5878
<member name="enter_notify_mask"
5880
c:identifier="GDK_ENTER_NOTIFY_MASK"
5881
glib:nick="enter-notify-mask"/>
5882
<member name="leave_notify_mask"
5884
c:identifier="GDK_LEAVE_NOTIFY_MASK"
5885
glib:nick="leave-notify-mask"/>
5886
<member name="focus_change_mask"
5888
c:identifier="GDK_FOCUS_CHANGE_MASK"
5889
glib:nick="focus-change-mask"/>
5890
<member name="structure_mask"
5892
c:identifier="GDK_STRUCTURE_MASK"
5893
glib:nick="structure-mask"/>
5894
<member name="property_change_mask"
5896
c:identifier="GDK_PROPERTY_CHANGE_MASK"
5897
glib:nick="property-change-mask"/>
5898
<member name="visibility_notify_mask"
5900
c:identifier="GDK_VISIBILITY_NOTIFY_MASK"
5901
glib:nick="visibility-notify-mask"/>
5902
<member name="proximity_in_mask"
5904
c:identifier="GDK_PROXIMITY_IN_MASK"
5905
glib:nick="proximity-in-mask"/>
5906
<member name="proximity_out_mask"
5908
c:identifier="GDK_PROXIMITY_OUT_MASK"
5909
glib:nick="proximity-out-mask"/>
5910
<member name="substructure_mask"
5912
c:identifier="GDK_SUBSTRUCTURE_MASK"
5913
glib:nick="substructure-mask"/>
5914
<member name="scroll_mask"
5916
c:identifier="GDK_SCROLL_MASK"
5917
glib:nick="scroll-mask"/>
5918
<member name="all_events_mask"
5920
c:identifier="GDK_ALL_EVENTS_MASK"
5921
glib:nick="all-events-mask"/>
5923
<record name="EventMotion" c:type="GdkEventMotion">
5924
<field name="type" writable="1">
5925
<type name="EventType" c:type="GdkEventType"/>
5927
<field name="window" writable="1">
5928
<type name="Window" c:type="GdkWindow*"/>
5930
<field name="send_event" writable="1">
5931
<type name="int8" c:type="gint8"/>
5933
<field name="time" writable="1">
5934
<type name="uint32" c:type="guint32"/>
5936
<field name="x" writable="1">
5937
<type name="double" c:type="gdouble"/>
5939
<field name="y" writable="1">
5940
<type name="double" c:type="gdouble"/>
5942
<field name="axes" writable="1">
5943
<type name="any" c:type="gdouble*"/>
5945
<field name="state" writable="1">
5946
<type name="uint" c:type="guint"/>
5948
<field name="is_hint" writable="1">
5949
<type name="int16" c:type="gint16"/>
5951
<field name="device" writable="1">
5952
<type name="Device" c:type="GdkDevice*"/>
5954
<field name="x_root" writable="1">
5955
<type name="double" c:type="gdouble"/>
5957
<field name="y_root" writable="1">
5958
<type name="double" c:type="gdouble"/>
5961
<record name="EventNoExpose" c:type="GdkEventNoExpose">
5962
<field name="type" writable="1">
5963
<type name="EventType" c:type="GdkEventType"/>
5965
<field name="window" writable="1">
5966
<type name="Window" c:type="GdkWindow*"/>
5968
<field name="send_event" writable="1">
5969
<type name="int8" c:type="gint8"/>
5972
<record name="EventOwnerChange" c:type="GdkEventOwnerChange">
5973
<field name="type" writable="1">
5974
<type name="EventType" c:type="GdkEventType"/>
5976
<field name="window" writable="1">
5977
<type name="Window" c:type="GdkWindow*"/>
5979
<field name="send_event" writable="1">
5980
<type name="int8" c:type="gint8"/>
5982
<field name="owner" writable="1">
5983
<type name="NativeWindow" c:type="GdkNativeWindow"/>
5985
<field name="reason" writable="1">
5986
<type name="OwnerChange" c:type="GdkOwnerChange"/>
5988
<field name="selection" writable="1">
5989
<type name="Atom" c:type="GdkAtom"/>
5991
<field name="time" writable="1">
5992
<type name="uint32" c:type="guint32"/>
5994
<field name="selection_time" writable="1">
5995
<type name="uint32" c:type="guint32"/>
5998
<record name="EventProperty" c:type="GdkEventProperty">
5999
<field name="type" writable="1">
6000
<type name="EventType" c:type="GdkEventType"/>
6002
<field name="window" writable="1">
6003
<type name="Window" c:type="GdkWindow*"/>
6005
<field name="send_event" writable="1">
6006
<type name="int8" c:type="gint8"/>
6008
<field name="atom" writable="1">
6009
<type name="Atom" c:type="GdkAtom"/>
6011
<field name="time" writable="1">
6012
<type name="uint32" c:type="guint32"/>
6014
<field name="state" writable="1">
6015
<type name="uint" c:type="guint"/>
6018
<record name="EventProximity" c:type="GdkEventProximity">
6019
<field name="type" writable="1">
6020
<type name="EventType" c:type="GdkEventType"/>
6022
<field name="window" writable="1">
6023
<type name="Window" c:type="GdkWindow*"/>
6025
<field name="send_event" writable="1">
6026
<type name="int8" c:type="gint8"/>
6028
<field name="time" writable="1">
6029
<type name="uint32" c:type="guint32"/>
6031
<field name="device" writable="1">
6032
<type name="Device" c:type="GdkDevice*"/>
6035
<record name="EventScroll" c:type="GdkEventScroll">
6036
<field name="type" writable="1">
6037
<type name="EventType" c:type="GdkEventType"/>
6039
<field name="window" writable="1">
6040
<type name="Window" c:type="GdkWindow*"/>
6042
<field name="send_event" writable="1">
6043
<type name="int8" c:type="gint8"/>
6045
<field name="time" writable="1">
6046
<type name="uint32" c:type="guint32"/>
6048
<field name="x" writable="1">
6049
<type name="double" c:type="gdouble"/>
6051
<field name="y" writable="1">
6052
<type name="double" c:type="gdouble"/>
6054
<field name="state" writable="1">
6055
<type name="uint" c:type="guint"/>
6057
<field name="direction" writable="1">
6058
<type name="ScrollDirection" c:type="GdkScrollDirection"/>
6060
<field name="device" writable="1">
6061
<type name="Device" c:type="GdkDevice*"/>
6063
<field name="x_root" writable="1">
6064
<type name="double" c:type="gdouble"/>
6066
<field name="y_root" writable="1">
6067
<type name="double" c:type="gdouble"/>
6070
<record name="EventSelection" c:type="GdkEventSelection">
6071
<field name="type" writable="1">
6072
<type name="EventType" c:type="GdkEventType"/>
6074
<field name="window" writable="1">
6075
<type name="Window" c:type="GdkWindow*"/>
6077
<field name="send_event" writable="1">
6078
<type name="int8" c:type="gint8"/>
6080
<field name="selection" writable="1">
6081
<type name="Atom" c:type="GdkAtom"/>
6083
<field name="target" writable="1">
6084
<type name="Atom" c:type="GdkAtom"/>
6086
<field name="property" writable="1">
6087
<type name="Atom" c:type="GdkAtom"/>
6089
<field name="time" writable="1">
6090
<type name="uint32" c:type="guint32"/>
6092
<field name="requestor" writable="1">
6093
<type name="NativeWindow" c:type="GdkNativeWindow"/>
6096
<record name="EventSetting" c:type="GdkEventSetting">
6097
<field name="type" writable="1">
6098
<type name="EventType" c:type="GdkEventType"/>
6100
<field name="window" writable="1">
6101
<type name="Window" c:type="GdkWindow*"/>
6103
<field name="send_event" writable="1">
6104
<type name="int8" c:type="gint8"/>
6106
<field name="action" writable="1">
6107
<type name="SettingAction" c:type="GdkSettingAction"/>
6109
<field name="name" writable="1">
6110
<type name="utf8" c:type="char*"/>
6113
<enumeration name="EventType"
6114
glib:type-name="GdkEventType"
6115
glib:get-type="gdk_event_type_get_type"
6116
c:type="GdkEventType">
6117
<member name="nothing"
6119
c:identifier="GDK_NOTHING"
6120
glib:nick="nothing"/>
6121
<member name="delete"
6123
c:identifier="GDK_DELETE"
6124
glib:nick="delete"/>
6125
<member name="destroy"
6127
c:identifier="GDK_DESTROY"
6128
glib:nick="destroy"/>
6129
<member name="expose"
6131
c:identifier="GDK_EXPOSE"
6132
glib:nick="expose"/>
6133
<member name="motion_notify"
6135
c:identifier="GDK_MOTION_NOTIFY"
6136
glib:nick="motion-notify"/>
6137
<member name="button_press"
6139
c:identifier="GDK_BUTTON_PRESS"
6140
glib:nick="button-press"/>
6141
<member name="2button_press"
6143
c:identifier="GDK_2BUTTON_PRESS"
6144
glib:nick="2button-press"/>
6145
<member name="3button_press"
6147
c:identifier="GDK_3BUTTON_PRESS"
6148
glib:nick="3button-press"/>
6149
<member name="button_release"
6151
c:identifier="GDK_BUTTON_RELEASE"
6152
glib:nick="button-release"/>
6153
<member name="key_press"
6155
c:identifier="GDK_KEY_PRESS"
6156
glib:nick="key-press"/>
6157
<member name="key_release"
6159
c:identifier="GDK_KEY_RELEASE"
6160
glib:nick="key-release"/>
6161
<member name="enter_notify"
6163
c:identifier="GDK_ENTER_NOTIFY"
6164
glib:nick="enter-notify"/>
6165
<member name="leave_notify"
6167
c:identifier="GDK_LEAVE_NOTIFY"
6168
glib:nick="leave-notify"/>
6169
<member name="focus_change"
6171
c:identifier="GDK_FOCUS_CHANGE"
6172
glib:nick="focus-change"/>
6173
<member name="configure"
6175
c:identifier="GDK_CONFIGURE"
6176
glib:nick="configure"/>
6177
<member name="map" value="14" c:identifier="GDK_MAP" glib:nick="map"/>
6178
<member name="unmap"
6180
c:identifier="GDK_UNMAP"
6182
<member name="property_notify"
6184
c:identifier="GDK_PROPERTY_NOTIFY"
6185
glib:nick="property-notify"/>
6186
<member name="selection_clear"
6188
c:identifier="GDK_SELECTION_CLEAR"
6189
glib:nick="selection-clear"/>
6190
<member name="selection_request"
6192
c:identifier="GDK_SELECTION_REQUEST"
6193
glib:nick="selection-request"/>
6194
<member name="selection_notify"
6196
c:identifier="GDK_SELECTION_NOTIFY"
6197
glib:nick="selection-notify"/>
6198
<member name="proximity_in"
6200
c:identifier="GDK_PROXIMITY_IN"
6201
glib:nick="proximity-in"/>
6202
<member name="proximity_out"
6204
c:identifier="GDK_PROXIMITY_OUT"
6205
glib:nick="proximity-out"/>
6206
<member name="drag_enter"
6208
c:identifier="GDK_DRAG_ENTER"
6209
glib:nick="drag-enter"/>
6210
<member name="drag_leave"
6212
c:identifier="GDK_DRAG_LEAVE"
6213
glib:nick="drag-leave"/>
6214
<member name="drag_motion"
6216
c:identifier="GDK_DRAG_MOTION"
6217
glib:nick="drag-motion"/>
6218
<member name="drag_status"
6220
c:identifier="GDK_DRAG_STATUS"
6221
glib:nick="drag-status"/>
6222
<member name="drop_start"
6224
c:identifier="GDK_DROP_START"
6225
glib:nick="drop-start"/>
6226
<member name="drop_finished"
6228
c:identifier="GDK_DROP_FINISHED"
6229
glib:nick="drop-finished"/>
6230
<member name="client_event"
6232
c:identifier="GDK_CLIENT_EVENT"
6233
glib:nick="client-event"/>
6234
<member name="visibility_notify"
6236
c:identifier="GDK_VISIBILITY_NOTIFY"
6237
glib:nick="visibility-notify"/>
6238
<member name="no_expose"
6240
c:identifier="GDK_NO_EXPOSE"
6241
glib:nick="no-expose"/>
6242
<member name="scroll"
6244
c:identifier="GDK_SCROLL"
6245
glib:nick="scroll"/>
6246
<member name="window_state"
6248
c:identifier="GDK_WINDOW_STATE"
6249
glib:nick="window-state"/>
6250
<member name="setting"
6252
c:identifier="GDK_SETTING"
6253
glib:nick="setting"/>
6254
<member name="owner_change"
6256
c:identifier="GDK_OWNER_CHANGE"
6257
glib:nick="owner-change"/>
6258
<member name="grab_broken"
6260
c:identifier="GDK_GRAB_BROKEN"
6261
glib:nick="grab-broken"/>
6262
<member name="damage"
6264
c:identifier="GDK_DAMAGE"
6265
glib:nick="damage"/>
6266
<member name="event_last"
6268
c:identifier="GDK_EVENT_LAST"
6269
glib:nick="event-last"/>
6271
<record name="EventVisibility" c:type="GdkEventVisibility">
6272
<field name="type" writable="1">
6273
<type name="EventType" c:type="GdkEventType"/>
6275
<field name="window" writable="1">
6276
<type name="Window" c:type="GdkWindow*"/>
6278
<field name="send_event" writable="1">
6279
<type name="int8" c:type="gint8"/>
6281
<field name="state" writable="1">
6282
<type name="VisibilityState" c:type="GdkVisibilityState"/>
6285
<record name="EventWindowState" c:type="GdkEventWindowState">
6286
<field name="type" writable="1">
6287
<type name="EventType" c:type="GdkEventType"/>
6289
<field name="window" writable="1">
6290
<type name="Window" c:type="GdkWindow*"/>
6292
<field name="send_event" writable="1">
6293
<type name="int8" c:type="gint8"/>
6295
<field name="changed_mask" writable="1">
6296
<type name="WindowState" c:type="GdkWindowState"/>
6298
<field name="new_window_state" writable="1">
6299
<type name="WindowState" c:type="GdkWindowState"/>
6302
<constant name="Excel" value="269025116">
6305
<constant name="Execute" value="65378">
6308
<constant name="Explorer" value="269025117">
6311
<enumeration name="ExtensionMode"
6312
glib:type-name="GdkExtensionMode"
6313
glib:get-type="gdk_extension_mode_get_type"
6314
c:type="GdkExtensionMode">
6317
c:identifier="GDK_EXTENSION_EVENTS_NONE"
6321
c:identifier="GDK_EXTENSION_EVENTS_ALL"
6323
<member name="cursor"
6325
c:identifier="GDK_EXTENSION_EVENTS_CURSOR"
6326
glib:nick="cursor"/>
6328
<constant name="F" value="70">
6331
<constant name="F1" value="65470">
6334
<constant name="F10" value="65479">
6337
<constant name="F11" value="65480">
6340
<constant name="F12" value="65481">
6343
<constant name="F13" value="65482">
6346
<constant name="F14" value="65483">
6349
<constant name="F15" value="65484">
6352
<constant name="F16" value="65485">
6355
<constant name="F17" value="65486">
6358
<constant name="F18" value="65487">
6361
<constant name="F19" value="65488">
6364
<constant name="F2" value="65471">
6367
<constant name="F20" value="65489">
6370
<constant name="F21" value="65490">
6373
<constant name="F22" value="65491">
6376
<constant name="F23" value="65492">
6379
<constant name="F24" value="65493">
6382
<constant name="F25" value="65494">
6385
<constant name="F26" value="65495">
6388
<constant name="F27" value="65496">
6391
<constant name="F28" value="65497">
6394
<constant name="F29" value="65498">
6397
<constant name="F3" value="65472">
6400
<constant name="F30" value="65499">
6403
<constant name="F31" value="65500">
6406
<constant name="F32" value="65501">
6409
<constant name="F33" value="65502">
6412
<constant name="F34" value="65503">
6415
<constant name="F35" value="65504">
6418
<constant name="F4" value="65473">
6421
<constant name="F5" value="65474">
6424
<constant name="F6" value="65475">
6427
<constant name="F7" value="65476">
6430
<constant name="F8" value="65477">
6433
<constant name="F9" value="65478">
6436
<constant name="FFrancSign" value="16785571">
6439
<constant name="Fabovedot" value="16784926">
6442
<constant name="Farsi_0" value="16778992">
6445
<constant name="Farsi_1" value="16778993">
6448
<constant name="Farsi_2" value="16778994">
6451
<constant name="Farsi_3" value="16778995">
6454
<constant name="Farsi_4" value="16778996">
6457
<constant name="Farsi_5" value="16778997">
6460
<constant name="Farsi_6" value="16778998">
6463
<constant name="Farsi_7" value="16778999">
6466
<constant name="Farsi_8" value="16779000">
6469
<constant name="Farsi_9" value="16779001">
6472
<constant name="Farsi_yeh" value="16778956">
6475
<constant name="Favorites" value="269025072">
6478
<enumeration name="Fill"
6479
glib:type-name="GdkFill"
6480
glib:get-type="gdk_fill_get_type"
6482
<member name="solid"
6484
c:identifier="GDK_SOLID"
6486
<member name="tiled"
6488
c:identifier="GDK_TILED"
6490
<member name="stippled"
6492
c:identifier="GDK_STIPPLED"
6493
glib:nick="stippled"/>
6494
<member name="opaque_stippled"
6496
c:identifier="GDK_OPAQUE_STIPPLED"
6497
glib:nick="opaque-stippled"/>
6499
<enumeration name="FillRule"
6500
glib:type-name="GdkFillRule"
6501
glib:get-type="gdk_fill_rule_get_type"
6502
c:type="GdkFillRule">
6503
<member name="even_odd_rule"
6505
c:identifier="GDK_EVEN_ODD_RULE"
6506
glib:nick="even-odd-rule"/>
6507
<member name="winding_rule"
6509
c:identifier="GDK_WINDING_RULE"
6510
glib:nick="winding-rule"/>
6512
<callback name="FilterFunc" c:type="GdkFilterFunc">
6513
<return-value transfer-ownership="full">
6514
<type name="FilterReturn" c:type="GdkFilterReturn"/>
6517
<parameter name="xevent" transfer-ownership="none">
6518
<type name="XEvent" c:type="GdkXEvent*"/>
6520
<parameter name="event" transfer-ownership="none">
6521
<type name="Event" c:type="GdkEvent*"/>
6523
<parameter name="data" transfer-ownership="none">
6524
<type name="any" c:type="gpointer"/>
6528
<enumeration name="FilterReturn"
6529
glib:type-name="GdkFilterReturn"
6530
glib:get-type="gdk_filter_return_get_type"
6531
c:type="GdkFilterReturn">
6532
<member name="continue"
6534
c:identifier="GDK_FILTER_CONTINUE"
6535
glib:nick="continue"/>
6536
<member name="translate"
6538
c:identifier="GDK_FILTER_TRANSLATE"
6539
glib:nick="translate"/>
6540
<member name="remove"
6542
c:identifier="GDK_FILTER_REMOVE"
6543
glib:nick="remove"/>
6545
<constant name="Finance" value="269025084">
6548
<constant name="Find" value="65384">
6551
<constant name="First_Virtual_Screen" value="65232">
6556
glib:type-name="GdkFont"
6557
glib:get-type="gdk_font_get_type">
6558
<field name="type" writable="1">
6559
<type name="FontType" c:type="GdkFontType"/>
6561
<field name="ascent" writable="1">
6562
<type name="int" c:type="gint"/>
6564
<field name="descent" writable="1">
6565
<type name="int" c:type="gint"/>
6568
c:identifier="gdk_font_ref"
6569
doc="Increases the reference count of a font by one.">
6570
<return-value transfer-ownership="full">
6571
<type name="Font" c:type="GdkFont*"/>
6574
<method name="unref"
6575
c:identifier="gdk_font_unref"
6576
doc="Decreases the reference count of a font by one.
6577
If the result is zero, destroys the font.">
6578
<return-value transfer-ownership="none">
6579
<type name="none" c:type="void"/>
6583
c:identifier="gdk_font_id"
6584
doc="Returns the X Font ID for the given font.">
6585
<return-value transfer-ownership="none">
6586
<type name="int" c:type="gint"/>
6589
<method name="equal"
6590
c:identifier="gdk_font_equal"
6591
doc="Compares two fonts for equality. Single fonts compare equal
6592
if they have the same X font ID. This operation does
6593
not currently work correctly for fontsets.">
6594
<return-value transfer-ownership="none">
6595
<type name="boolean" c:type="gboolean"/>
6598
<parameter name="fontb" transfer-ownership="none">
6599
<type name="Font" c:type="GdkFont*"/>
6603
<method name="get_display" c:identifier="gdk_font_get_display">
6604
<return-value transfer-ownership="full">
6605
<type name="Display" c:type="GdkDisplay*"/>
6609
<enumeration name="FontType"
6610
glib:type-name="GdkFontType"
6611
glib:get-type="gdk_font_type_get_type"
6612
c:type="GdkFontType">
6615
c:identifier="GDK_FONT_FONT"
6617
<member name="fontset"
6619
c:identifier="GDK_FONT_FONTSET"
6620
glib:nick="fontset"/>
6622
<constant name="Forward" value="269025063">
6625
<constant name="FrameBack" value="269025181">
6628
<constant name="FrameForward" value="269025182">
6631
<enumeration name="Function"
6632
glib:type-name="GdkFunction"
6633
glib:get-type="gdk_function_get_type"
6634
c:type="GdkFunction">
6635
<member name="copy" value="0" c:identifier="GDK_COPY" glib:nick="copy"/>
6636
<member name="invert"
6638
c:identifier="GDK_INVERT"
6639
glib:nick="invert"/>
6640
<member name="xor" value="2" c:identifier="GDK_XOR" glib:nick="xor"/>
6641
<member name="clear"
6643
c:identifier="GDK_CLEAR"
6645
<member name="and" value="4" c:identifier="GDK_AND" glib:nick="and"/>
6646
<member name="and_reverse"
6648
c:identifier="GDK_AND_REVERSE"
6649
glib:nick="and-reverse"/>
6650
<member name="and_invert"
6652
c:identifier="GDK_AND_INVERT"
6653
glib:nick="and-invert"/>
6654
<member name="noop" value="7" c:identifier="GDK_NOOP" glib:nick="noop"/>
6655
<member name="or" value="8" c:identifier="GDK_OR" glib:nick="or"/>
6656
<member name="equiv"
6658
c:identifier="GDK_EQUIV"
6660
<member name="or_reverse"
6662
c:identifier="GDK_OR_REVERSE"
6663
glib:nick="or-reverse"/>
6664
<member name="copy_invert"
6666
c:identifier="GDK_COPY_INVERT"
6667
glib:nick="copy-invert"/>
6668
<member name="or_invert"
6670
c:identifier="GDK_OR_INVERT"
6671
glib:nick="or-invert"/>
6672
<member name="nand" value="13" c:identifier="GDK_NAND" glib:nick="nand"/>
6673
<member name="nor" value="14" c:identifier="GDK_NOR" glib:nick="nor"/>
6674
<member name="set" value="15" c:identifier="GDK_SET" glib:nick="set"/>
6676
<constant name="G" value="71">
6681
parent="GObject.Object"
6682
glib:type-name="GdkGC"
6683
glib:get-type="gdk_gc_get_type"
6684
glib:type-struct="GCClass">
6685
<constructor name="new"
6686
c:identifier="gdk_gc_new"
6687
doc="Create a new graphics context with default values.">
6688
<return-value transfer-ownership="full">
6689
<type name="GC" c:type="GdkGC*"/>
6692
<parameter name="drawable"
6693
transfer-ownership="none"
6694
doc=" with drawables of the same depth as this one.">
6695
<type name="Drawable" c:type="GdkDrawable*"/>
6699
<constructor name="new_with_values"
6700
c:identifier="gdk_gc_new_with_values"
6701
doc="Create a new GC with the given initial values.">
6702
<return-value transfer-ownership="full">
6703
<type name="GC" c:type="GdkGC*"/>
6706
<parameter name="drawable"
6707
transfer-ownership="none"
6708
doc=" with drawables of the same depth as this one.">
6709
<type name="Drawable" c:type="GdkDrawable*"/>
6711
<parameter name="values" transfer-ownership="none">
6712
<type name="GCValues" c:type="GdkGCValues*"/>
6714
<parameter name="values_mask"
6715
transfer-ownership="none"
6717
<type name="GCValuesMask" c:type="GdkGCValuesMask"/>
6721
<virtual-method name="get_values" invoker="get_values">
6722
<return-value transfer-ownership="none">
6723
<type name="none" c:type="void"/>
6726
<parameter name="values" transfer-ownership="none">
6727
<type name="GCValues" c:type="GdkGCValues*"/>
6731
<virtual-method name="set_values">
6732
<return-value transfer-ownership="none">
6733
<type name="none" c:type="void"/>
6736
<parameter name="values" transfer-ownership="none">
6737
<type name="GCValues" c:type="GdkGCValues*"/>
6739
<parameter name="mask" transfer-ownership="none">
6740
<type name="GCValuesMask" c:type="GdkGCValuesMask"/>
6744
<virtual-method name="set_dashes" invoker="set_dashes">
6745
<return-value transfer-ownership="none">
6746
<type name="none" c:type="void"/>
6749
<parameter name="dash_offset" transfer-ownership="none">
6750
<type name="int" c:type="gint"/>
6752
<parameter name="dash_list" transfer-ownership="none">
6753
<type name="int8" c:type="gint8"/>
6755
<parameter name="n" transfer-ownership="none">
6756
<type name="int" c:type="gint"/>
6761
c:identifier="gdk_gc_ref"
6762
doc="Deprecated function; use g_object_ref() instead."
6763
deprecated="Use g_object_ref() instead."
6764
deprecated-version="2.0">
6765
<return-value transfer-ownership="full">
6766
<type name="GC" c:type="GdkGC*"/>
6769
<method name="unref"
6770
c:identifier="gdk_gc_unref"
6771
doc="Decrement the reference count of @gc."
6772
deprecated="Use g_object_unref() instead."
6773
deprecated-version="2.0">
6774
<return-value transfer-ownership="none">
6775
<type name="none" c:type="void"/>
6778
<method name="get_values"
6779
c:identifier="gdk_gc_get_values"
6780
doc="Retrieves the current values from a graphics context. Note that
6781
only the pixel values of the @values->foreground and @values->background
6782
are filled, use gdk_colormap_query_color() to obtain the rgb values
6784
<return-value transfer-ownership="none">
6785
<type name="none" c:type="void"/>
6788
<parameter name="values" transfer-ownership="none">
6789
<type name="GCValues" c:type="GdkGCValues*"/>
6793
<method name="set_values"
6794
c:identifier="gdk_gc_set_values"
6795
doc="Sets attributes of a graphics context in bulk. For each flag set in
6796
set as the new value for @gc. If you're only setting a few values
6797
on @gc, calling individual "setter" functions is likely more
6799
<return-value transfer-ownership="none">
6800
<type name="none" c:type="void"/>
6803
<parameter name="values" transfer-ownership="none">
6804
<type name="GCValues" c:type="GdkGCValues*"/>
6806
<parameter name="values_mask" transfer-ownership="none">
6807
<type name="GCValuesMask" c:type="GdkGCValuesMask"/>
6811
<method name="set_foreground"
6812
c:identifier="gdk_gc_set_foreground"
6813
doc="Sets the foreground color for a graphics context.
6814
Note that this function uses @color->pixel, use
6815
gdk_gc_set_rgb_fg_color() to specify the foreground
6816
color as red, green, blue components.">
6817
<return-value transfer-ownership="none">
6818
<type name="none" c:type="void"/>
6821
<parameter name="color" transfer-ownership="none">
6822
<type name="Color" c:type="GdkColor*"/>
6826
<method name="set_background"
6827
c:identifier="gdk_gc_set_background"
6828
doc="Sets the background color for a graphics context.
6829
Note that this function uses @color->pixel, use
6830
gdk_gc_set_rgb_bg_color() to specify the background
6831
color as red, green, blue components.">
6832
<return-value transfer-ownership="none">
6833
<type name="none" c:type="void"/>
6836
<parameter name="color" transfer-ownership="none">
6837
<type name="Color" c:type="GdkColor*"/>
6841
<method name="set_font"
6842
c:identifier="gdk_gc_set_font"
6843
doc="Sets the font for a graphics context. (Note that
6844
all text-drawing functions in GDK take a @font
6845
argument; the value set here is used when that
6846
argument is %NULL.)">
6847
<return-value transfer-ownership="none">
6848
<type name="none" c:type="void"/>
6851
<parameter name="font" transfer-ownership="none">
6852
<type name="Font" c:type="GdkFont*"/>
6856
<method name="set_function"
6857
c:identifier="gdk_gc_set_function"
6858
doc="Determines how the current pixel values and the
6859
pixel values being drawn are combined to produce
6860
the final pixel values.">
6861
<return-value transfer-ownership="none">
6862
<type name="none" c:type="void"/>
6865
<parameter name="function" transfer-ownership="none">
6866
<type name="Function" c:type="GdkFunction"/>
6870
<method name="set_fill"
6871
c:identifier="gdk_gc_set_fill"
6872
doc="Set the fill mode for a graphics context.">
6873
<return-value transfer-ownership="none">
6874
<type name="none" c:type="void"/>
6877
<parameter name="fill" transfer-ownership="none">
6878
<type name="Fill" c:type="GdkFill"/>
6882
<method name="set_tile"
6883
c:identifier="gdk_gc_set_tile"
6884
doc="Set a tile pixmap for a graphics context.
6885
This will only be used if the fill mode
6887
<return-value transfer-ownership="none">
6888
<type name="none" c:type="void"/>
6891
<parameter name="tile" transfer-ownership="none">
6892
<type name="Pixmap" c:type="GdkPixmap*"/>
6896
<method name="set_stipple"
6897
c:identifier="gdk_gc_set_stipple"
6898
doc="Set the stipple bitmap for a graphics context. The
6899
stipple will only be used if the fill mode is
6900
%GDK_STIPPLED or %GDK_OPAQUE_STIPPLED.">
6901
<return-value transfer-ownership="none">
6902
<type name="none" c:type="void"/>
6905
<parameter name="stipple" transfer-ownership="none">
6906
<type name="Pixmap" c:type="GdkPixmap*"/>
6910
<method name="set_ts_origin"
6911
c:identifier="gdk_gc_set_ts_origin"
6912
doc="Set the origin when using tiles or stipples with
6913
the GC. The tile or stipple will be aligned such
6914
that the upper left corner of the tile or stipple
6915
will coincide with this point.">
6916
<return-value transfer-ownership="none">
6917
<type name="none" c:type="void"/>
6920
<parameter name="x" transfer-ownership="none">
6921
<type name="int" c:type="gint"/>
6923
<parameter name="y" transfer-ownership="none">
6924
<type name="int" c:type="gint"/>
6928
<method name="set_clip_origin"
6929
c:identifier="gdk_gc_set_clip_origin"
6930
doc="Sets the origin of the clip mask. The coordinates are
6931
interpreted relative to the upper-left corner of
6932
the destination drawable of the current operation.">
6933
<return-value transfer-ownership="none">
6934
<type name="none" c:type="void"/>
6937
<parameter name="x" transfer-ownership="none">
6938
<type name="int" c:type="gint"/>
6940
<parameter name="y" transfer-ownership="none">
6941
<type name="int" c:type="gint"/>
6945
<method name="set_clip_mask"
6946
c:identifier="gdk_gc_set_clip_mask"
6947
doc="Sets the clip mask for a graphics context from a bitmap.
6948
The clip mask is interpreted relative to the clip
6949
origin. (See gdk_gc_set_clip_origin()).">
6950
<return-value transfer-ownership="none">
6951
<type name="none" c:type="void"/>
6954
<parameter name="mask" transfer-ownership="none">
6955
<type name="Bitmap" c:type="GdkBitmap*"/>
6959
<method name="set_clip_rectangle"
6960
c:identifier="gdk_gc_set_clip_rectangle"
6961
doc="Sets the clip mask for a graphics context from a
6962
rectangle. The clip mask is interpreted relative to the clip
6963
origin. (See gdk_gc_set_clip_origin()).">
6964
<return-value transfer-ownership="none">
6965
<type name="none" c:type="void"/>
6968
<parameter name="rectangle" transfer-ownership="none">
6969
<type name="Rectangle" c:type="GdkRectangle*"/>
6973
<method name="set_clip_region"
6974
c:identifier="gdk_gc_set_clip_region"
6975
doc="Sets the clip mask for a graphics context from a region structure.
6976
The clip mask is interpreted relative to the clip origin. (See
6977
gdk_gc_set_clip_origin()).">
6978
<return-value transfer-ownership="none">
6979
<type name="none" c:type="void"/>
6982
<parameter name="region" transfer-ownership="none">
6983
<type name="Region" c:type="GdkRegion*"/>
6987
<method name="set_subwindow"
6988
c:identifier="gdk_gc_set_subwindow"
6989
doc="Sets how drawing with this GC on a window will affect child
6990
windows of that window.">
6991
<return-value transfer-ownership="none">
6992
<type name="none" c:type="void"/>
6995
<parameter name="mode" transfer-ownership="none">
6996
<type name="SubwindowMode" c:type="GdkSubwindowMode"/>
7000
<method name="set_exposures"
7001
c:identifier="gdk_gc_set_exposures"
7002
doc="Sets whether copying non-visible portions of a drawable
7003
using this graphics context generate exposure events
7004
for the corresponding regions of the destination
7005
drawable. (See gdk_draw_drawable()).">
7006
<return-value transfer-ownership="none">
7007
<type name="none" c:type="void"/>
7010
<parameter name="exposures" transfer-ownership="none">
7011
<type name="boolean" c:type="gboolean"/>
7015
<method name="set_line_attributes"
7016
c:identifier="gdk_gc_set_line_attributes"
7017
doc="Sets various attributes of how lines are drawn. See
7018
the corresponding members of #GdkGCValues for full
7019
explanations of the arguments.">
7020
<return-value transfer-ownership="none">
7021
<type name="none" c:type="void"/>
7024
<parameter name="line_width" transfer-ownership="none">
7025
<type name="int" c:type="gint"/>
7027
<parameter name="line_style" transfer-ownership="none">
7028
<type name="LineStyle" c:type="GdkLineStyle"/>
7030
<parameter name="cap_style" transfer-ownership="none">
7031
<type name="CapStyle" c:type="GdkCapStyle"/>
7033
<parameter name="join_style" transfer-ownership="none">
7034
<type name="JoinStyle" c:type="GdkJoinStyle"/>
7038
<method name="set_dashes"
7039
c:identifier="gdk_gc_set_dashes"
7040
doc="Sets the way dashed-lines are drawn. Lines will be
7041
drawn with alternating on and off segments of the
7042
lengths specified in @dash_list. The manner in
7043
which the on and off segments are drawn is determined
7044
by the @line_style value of the GC. (This can
7045
be changed with gdk_gc_set_line_attributes().)
7046
The @dash_offset defines the phase of the pattern,
7047
specifying how many pixels into the dash-list the pattern
7048
should actually begin.">
7049
<return-value transfer-ownership="none">
7050
<type name="none" c:type="void"/>
7053
<parameter name="dash_offset" transfer-ownership="none">
7054
<type name="int" c:type="gint"/>
7056
<parameter name="dash_list" transfer-ownership="none">
7057
<type name="int8" c:type="gint8"/>
7059
<parameter name="n" transfer-ownership="none">
7060
<type name="int" c:type="gint"/>
7064
<method name="offset"
7065
c:identifier="gdk_gc_offset"
7066
doc="Offset attributes such as the clip and tile-stipple origins
7067
of the GC so that drawing at x - x_offset, y - y_offset with
7068
the offset GC has the same effect as drawing at x, y with the original
7070
<return-value transfer-ownership="none">
7071
<type name="none" c:type="void"/>
7074
<parameter name="x_offset" transfer-ownership="none">
7075
<type name="int" c:type="gint"/>
7077
<parameter name="y_offset" transfer-ownership="none">
7078
<type name="int" c:type="gint"/>
7083
c:identifier="gdk_gc_copy"
7084
doc="Copy the set of values from one graphics context
7085
onto another graphics context.">
7086
<return-value transfer-ownership="none">
7087
<type name="none" c:type="void"/>
7090
<parameter name="src_gc" transfer-ownership="none">
7091
<type name="GC" c:type="GdkGC*"/>
7095
<method name="set_colormap"
7096
c:identifier="gdk_gc_set_colormap"
7097
doc="Sets the colormap for the GC to the given colormap. The depth
7098
of the colormap's visual must match the depth of the drawable
7099
for which the GC was created.">
7100
<return-value transfer-ownership="none">
7101
<type name="none" c:type="void"/>
7104
<parameter name="colormap" transfer-ownership="none">
7105
<type name="Colormap" c:type="GdkColormap*"/>
7109
<method name="get_colormap"
7110
c:identifier="gdk_gc_get_colormap"
7111
doc="Retrieves the colormap for a given GC, if it exists.
7112
A GC will have a colormap if the drawable for which it was created
7113
has a colormap, or if a colormap was set explicitely with
7114
gdk_gc_set_colormap.">
7115
<return-value transfer-ownership="full">
7116
<type name="Colormap" c:type="GdkColormap*"/>
7119
<method name="set_rgb_fg_color"
7120
c:identifier="gdk_gc_set_rgb_fg_color"
7121
doc="Set the foreground color of a GC using an unallocated color. The
7122
pixel value for the color will be determined using GdkRGB. If the
7123
colormap for the GC has not previously been initialized for GdkRGB,
7124
then for pseudo-color colormaps (colormaps with a small modifiable
7125
number of colors), a colorcube will be allocated in the colormap.
7126
Calling this function for a GC without a colormap is an error.">
7127
<return-value transfer-ownership="none">
7128
<type name="none" c:type="void"/>
7131
<parameter name="color" transfer-ownership="none">
7132
<type name="Color" c:type="GdkColor*"/>
7136
<method name="set_rgb_bg_color"
7137
c:identifier="gdk_gc_set_rgb_bg_color"
7138
doc="Set the background color of a GC using an unallocated color. The
7139
pixel value for the color will be determined using GdkRGB. If the
7140
colormap for the GC has not previously been initialized for GdkRGB,
7141
then for pseudo-color colormaps (colormaps with a small modifiable
7142
number of colors), a colorcube will be allocated in the colormap.
7143
Calling this function for a GC without a colormap is an error.">
7144
<return-value transfer-ownership="none">
7145
<type name="none" c:type="void"/>
7148
<parameter name="color" transfer-ownership="none">
7149
<type name="Color" c:type="GdkColor*"/>
7153
<method name="get_screen"
7154
c:identifier="gdk_gc_get_screen"
7155
doc="Gets the #GdkScreen for which @gc was created"
7157
<return-value transfer-ownership="full">
7158
<type name="Screen" c:type="GdkScreen*"/>
7161
<field name="parent_instance">
7162
<type name="GObject.Object" c:type="GObject"/>
7164
<field name="clip_x_origin">
7165
<type name="int" c:type="gint"/>
7167
<field name="clip_y_origin">
7168
<type name="int" c:type="gint"/>
7170
<field name="ts_x_origin">
7171
<type name="int" c:type="gint"/>
7173
<field name="ts_y_origin">
7174
<type name="int" c:type="gint"/>
7176
<field name="colormap">
7177
<type name="Colormap" c:type="GdkColormap*"/>
7180
<record name="GCClass" c:type="GdkGCClass" glib:is-gtype-struct-for="GC">
7181
<field name="parent_class">
7182
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
7184
<field name="get_values">
7185
<callback name="get_values" c:type="get_values">
7186
<return-value transfer-ownership="none">
7187
<type name="none" c:type="void"/>
7190
<parameter name="gc" transfer-ownership="none">
7191
<type name="GC" c:type="GdkGC*"/>
7193
<parameter name="values" transfer-ownership="none">
7194
<type name="GCValues" c:type="GdkGCValues*"/>
7199
<field name="set_values">
7200
<callback name="set_values" c:type="set_values">
7201
<return-value transfer-ownership="none">
7202
<type name="none" c:type="void"/>
7205
<parameter name="gc" transfer-ownership="none">
7206
<type name="GC" c:type="GdkGC*"/>
7208
<parameter name="values" transfer-ownership="none">
7209
<type name="GCValues" c:type="GdkGCValues*"/>
7211
<parameter name="mask" transfer-ownership="none">
7212
<type name="GCValuesMask" c:type="GdkGCValuesMask"/>
7217
<field name="set_dashes">
7218
<callback name="set_dashes" c:type="set_dashes">
7219
<return-value transfer-ownership="none">
7220
<type name="none" c:type="void"/>
7223
<parameter name="gc" transfer-ownership="none">
7224
<type name="GC" c:type="GdkGC*"/>
7226
<parameter name="dash_offset" transfer-ownership="none">
7227
<type name="int" c:type="gint"/>
7229
<parameter name="dash_list" transfer-ownership="none">
7230
<type name="int8" c:type="gint8"/>
7232
<parameter name="n" transfer-ownership="none">
7233
<type name="int" c:type="gint"/>
7238
<field name="gdk_reserved1">
7239
<callback name="gdk_reserved1" c:type="_gdk_reserved1">
7240
<return-value transfer-ownership="none">
7241
<type name="none" c:type="void"/>
7245
<field name="gdk_reserved2">
7246
<callback name="gdk_reserved2" c:type="_gdk_reserved2">
7247
<return-value transfer-ownership="none">
7248
<type name="none" c:type="void"/>
7252
<field name="gdk_reserved3">
7253
<callback name="gdk_reserved3" c:type="_gdk_reserved3">
7254
<return-value transfer-ownership="none">
7255
<type name="none" c:type="void"/>
7259
<field name="gdk_reserved4">
7260
<callback name="gdk_reserved4" c:type="_gdk_reserved4">
7261
<return-value transfer-ownership="none">
7262
<type name="none" c:type="void"/>
7267
<record name="GCValues" c:type="GdkGCValues">
7268
<field name="foreground" writable="1">
7269
<type name="Color" c:type="GdkColor"/>
7271
<field name="background" writable="1">
7272
<type name="Color" c:type="GdkColor"/>
7274
<field name="font" writable="1">
7275
<type name="Font" c:type="GdkFont*"/>
7277
<field name="function" writable="1">
7278
<type name="Function" c:type="GdkFunction"/>
7280
<field name="fill" writable="1">
7281
<type name="Fill" c:type="GdkFill"/>
7283
<field name="tile" writable="1">
7284
<type name="Pixmap" c:type="GdkPixmap*"/>
7286
<field name="stipple" writable="1">
7287
<type name="Pixmap" c:type="GdkPixmap*"/>
7289
<field name="clip_mask" writable="1">
7290
<type name="Pixmap" c:type="GdkPixmap*"/>
7292
<field name="subwindow_mode" writable="1">
7293
<type name="SubwindowMode" c:type="GdkSubwindowMode"/>
7295
<field name="ts_x_origin" writable="1">
7296
<type name="int" c:type="gint"/>
7298
<field name="ts_y_origin" writable="1">
7299
<type name="int" c:type="gint"/>
7301
<field name="clip_x_origin" writable="1">
7302
<type name="int" c:type="gint"/>
7304
<field name="clip_y_origin" writable="1">
7305
<type name="int" c:type="gint"/>
7307
<field name="graphics_exposures" writable="1">
7308
<type name="int" c:type="gint"/>
7310
<field name="line_width" writable="1">
7311
<type name="int" c:type="gint"/>
7313
<field name="line_style" writable="1">
7314
<type name="LineStyle" c:type="GdkLineStyle"/>
7316
<field name="cap_style" writable="1">
7317
<type name="CapStyle" c:type="GdkCapStyle"/>
7319
<field name="join_style" writable="1">
7320
<type name="JoinStyle" c:type="GdkJoinStyle"/>
7323
<bitfield name="GCValuesMask"
7324
glib:type-name="GdkGCValuesMask"
7325
glib:get-type="gdk_gc_values_mask_get_type"
7326
c:type="GdkGCValuesMask">
7327
<member name="foreground"
7329
c:identifier="GDK_GC_FOREGROUND"
7330
glib:nick="foreground"/>
7331
<member name="background"
7333
c:identifier="GDK_GC_BACKGROUND"
7334
glib:nick="background"/>
7337
c:identifier="GDK_GC_FONT"
7339
<member name="function"
7341
c:identifier="GDK_GC_FUNCTION"
7342
glib:nick="function"/>
7345
c:identifier="GDK_GC_FILL"
7349
c:identifier="GDK_GC_TILE"
7351
<member name="stipple"
7353
c:identifier="GDK_GC_STIPPLE"
7354
glib:nick="stipple"/>
7355
<member name="clip_mask"
7357
c:identifier="GDK_GC_CLIP_MASK"
7358
glib:nick="clip-mask"/>
7359
<member name="subwindow"
7361
c:identifier="GDK_GC_SUBWINDOW"
7362
glib:nick="subwindow"/>
7363
<member name="ts_x_origin"
7365
c:identifier="GDK_GC_TS_X_ORIGIN"
7366
glib:nick="ts-x-origin"/>
7367
<member name="ts_y_origin"
7369
c:identifier="GDK_GC_TS_Y_ORIGIN"
7370
glib:nick="ts-y-origin"/>
7371
<member name="clip_x_origin"
7373
c:identifier="GDK_GC_CLIP_X_ORIGIN"
7374
glib:nick="clip-x-origin"/>
7375
<member name="clip_y_origin"
7377
c:identifier="GDK_GC_CLIP_Y_ORIGIN"
7378
glib:nick="clip-y-origin"/>
7379
<member name="exposures"
7381
c:identifier="GDK_GC_EXPOSURES"
7382
glib:nick="exposures"/>
7383
<member name="line_width"
7385
c:identifier="GDK_GC_LINE_WIDTH"
7386
glib:nick="line-width"/>
7387
<member name="line_style"
7389
c:identifier="GDK_GC_LINE_STYLE"
7390
glib:nick="line-style"/>
7391
<member name="cap_style"
7393
c:identifier="GDK_GC_CAP_STYLE"
7394
glib:nick="cap-style"/>
7395
<member name="join_style"
7397
c:identifier="GDK_GC_JOIN_STYLE"
7398
glib:nick="join-style"/>
7400
<constant name="Gabovedot" value="725">
7403
<constant name="Game" value="269025118">
7406
<constant name="Gbreve" value="683">
7409
<constant name="Gcaron" value="16777702">
7412
<constant name="Gcedilla" value="939">
7415
<constant name="Gcircumflex" value="728">
7418
<record name="Geometry" c:type="GdkGeometry">
7419
<field name="min_width" writable="1">
7420
<type name="int" c:type="gint"/>
7422
<field name="min_height" writable="1">
7423
<type name="int" c:type="gint"/>
7425
<field name="max_width" writable="1">
7426
<type name="int" c:type="gint"/>
7428
<field name="max_height" writable="1">
7429
<type name="int" c:type="gint"/>
7431
<field name="base_width" writable="1">
7432
<type name="int" c:type="gint"/>
7434
<field name="base_height" writable="1">
7435
<type name="int" c:type="gint"/>
7437
<field name="width_inc" writable="1">
7438
<type name="int" c:type="gint"/>
7440
<field name="height_inc" writable="1">
7441
<type name="int" c:type="gint"/>
7443
<field name="min_aspect" writable="1">
7444
<type name="double" c:type="gdouble"/>
7446
<field name="max_aspect" writable="1">
7447
<type name="double" c:type="gdouble"/>
7449
<field name="win_gravity" writable="1">
7450
<type name="Gravity" c:type="GdkGravity"/>
7453
<constant name="Georgian_an" value="16781520">
7456
<constant name="Georgian_ban" value="16781521">
7459
<constant name="Georgian_can" value="16781546">
7462
<constant name="Georgian_char" value="16781549">
7465
<constant name="Georgian_chin" value="16781545">
7468
<constant name="Georgian_cil" value="16781548">
7471
<constant name="Georgian_don" value="16781523">
7474
<constant name="Georgian_en" value="16781524">
7477
<constant name="Georgian_fi" value="16781558">
7480
<constant name="Georgian_gan" value="16781522">
7483
<constant name="Georgian_ghan" value="16781542">
7486
<constant name="Georgian_hae" value="16781552">
7489
<constant name="Georgian_har" value="16781556">
7492
<constant name="Georgian_he" value="16781553">
7495
<constant name="Georgian_hie" value="16781554">
7498
<constant name="Georgian_hoe" value="16781557">
7501
<constant name="Georgian_in" value="16781528">
7504
<constant name="Georgian_jhan" value="16781551">
7507
<constant name="Georgian_jil" value="16781547">
7510
<constant name="Georgian_kan" value="16781529">
7513
<constant name="Georgian_khar" value="16781541">
7516
<constant name="Georgian_las" value="16781530">
7519
<constant name="Georgian_man" value="16781531">
7522
<constant name="Georgian_nar" value="16781532">
7525
<constant name="Georgian_on" value="16781533">
7528
<constant name="Georgian_par" value="16781534">
7531
<constant name="Georgian_phar" value="16781540">
7534
<constant name="Georgian_qar" value="16781543">
7537
<constant name="Georgian_rae" value="16781536">
7540
<constant name="Georgian_san" value="16781537">
7543
<constant name="Georgian_shin" value="16781544">
7546
<constant name="Georgian_tan" value="16781527">
7549
<constant name="Georgian_tar" value="16781538">
7552
<constant name="Georgian_un" value="16781539">
7555
<constant name="Georgian_vin" value="16781525">
7558
<constant name="Georgian_we" value="16781555">
7561
<constant name="Georgian_xan" value="16781550">
7564
<constant name="Georgian_zen" value="16781526">
7567
<constant name="Georgian_zhar" value="16781535">
7570
<constant name="Go" value="269025119">
7573
<enumeration name="GrabStatus"
7574
glib:type-name="GdkGrabStatus"
7575
glib:get-type="gdk_grab_status_get_type"
7576
c:type="GdkGrabStatus">
7577
<member name="success"
7579
c:identifier="GDK_GRAB_SUCCESS"
7580
glib:nick="success"/>
7581
<member name="already_grabbed"
7583
c:identifier="GDK_GRAB_ALREADY_GRABBED"
7584
glib:nick="already-grabbed"/>
7585
<member name="invalid_time"
7587
c:identifier="GDK_GRAB_INVALID_TIME"
7588
glib:nick="invalid-time"/>
7589
<member name="not_viewable"
7591
c:identifier="GDK_GRAB_NOT_VIEWABLE"
7592
glib:nick="not-viewable"/>
7593
<member name="frozen"
7595
c:identifier="GDK_GRAB_FROZEN"
7596
glib:nick="frozen"/>
7598
<enumeration name="Gravity"
7599
glib:type-name="GdkGravity"
7600
glib:get-type="gdk_gravity_get_type"
7601
c:type="GdkGravity">
7602
<member name="north_west"
7604
c:identifier="GDK_GRAVITY_NORTH_WEST"
7605
glib:nick="north-west"/>
7606
<member name="north"
7608
c:identifier="GDK_GRAVITY_NORTH"
7610
<member name="north_east"
7612
c:identifier="GDK_GRAVITY_NORTH_EAST"
7613
glib:nick="north-east"/>
7616
c:identifier="GDK_GRAVITY_WEST"
7618
<member name="center"
7620
c:identifier="GDK_GRAVITY_CENTER"
7621
glib:nick="center"/>
7624
c:identifier="GDK_GRAVITY_EAST"
7626
<member name="south_west"
7628
c:identifier="GDK_GRAVITY_SOUTH_WEST"
7629
glib:nick="south-west"/>
7630
<member name="south"
7632
c:identifier="GDK_GRAVITY_SOUTH"
7634
<member name="south_east"
7636
c:identifier="GDK_GRAVITY_SOUTH_EAST"
7637
glib:nick="south-east"/>
7638
<member name="static"
7640
c:identifier="GDK_GRAVITY_STATIC"
7641
glib:nick="static"/>
7643
<constant name="Greek_ALPHA" value="1985">
7646
<constant name="Greek_ALPHAaccent" value="1953">
7649
<constant name="Greek_BETA" value="1986">
7652
<constant name="Greek_CHI" value="2007">
7655
<constant name="Greek_DELTA" value="1988">
7658
<constant name="Greek_EPSILON" value="1989">
7661
<constant name="Greek_EPSILONaccent" value="1954">
7664
<constant name="Greek_ETA" value="1991">
7667
<constant name="Greek_ETAaccent" value="1955">
7670
<constant name="Greek_GAMMA" value="1987">
7673
<constant name="Greek_IOTA" value="1993">
7676
<constant name="Greek_IOTAaccent" value="1956">
7679
<constant name="Greek_IOTAdiaeresis" value="1957">
7682
<constant name="Greek_IOTAdieresis" value="1957">
7685
<constant name="Greek_KAPPA" value="1994">
7688
<constant name="Greek_LAMBDA" value="1995">
7691
<constant name="Greek_LAMDA" value="1995">
7694
<constant name="Greek_MU" value="1996">
7697
<constant name="Greek_NU" value="1997">
7700
<constant name="Greek_OMEGA" value="2009">
7703
<constant name="Greek_OMEGAaccent" value="1963">
7706
<constant name="Greek_OMICRON" value="1999">
7709
<constant name="Greek_OMICRONaccent" value="1959">
7712
<constant name="Greek_PHI" value="2006">
7715
<constant name="Greek_PI" value="2000">
7718
<constant name="Greek_PSI" value="2008">
7721
<constant name="Greek_RHO" value="2001">
7724
<constant name="Greek_SIGMA" value="2002">
7727
<constant name="Greek_TAU" value="2004">
7730
<constant name="Greek_THETA" value="1992">
7733
<constant name="Greek_UPSILON" value="2005">
7736
<constant name="Greek_UPSILONaccent" value="1960">
7739
<constant name="Greek_UPSILONdieresis" value="1961">
7742
<constant name="Greek_XI" value="1998">
7745
<constant name="Greek_ZETA" value="1990">
7748
<constant name="Greek_accentdieresis" value="1966">
7751
<constant name="Greek_alpha" value="2017">
7754
<constant name="Greek_alphaaccent" value="1969">
7757
<constant name="Greek_beta" value="2018">
7760
<constant name="Greek_chi" value="2039">
7763
<constant name="Greek_delta" value="2020">
7766
<constant name="Greek_epsilon" value="2021">
7769
<constant name="Greek_epsilonaccent" value="1970">
7772
<constant name="Greek_eta" value="2023">
7775
<constant name="Greek_etaaccent" value="1971">
7778
<constant name="Greek_finalsmallsigma" value="2035">
7781
<constant name="Greek_gamma" value="2019">
7784
<constant name="Greek_horizbar" value="1967">
7787
<constant name="Greek_iota" value="2025">
7790
<constant name="Greek_iotaaccent" value="1972">
7793
<constant name="Greek_iotaaccentdieresis" value="1974">
7796
<constant name="Greek_iotadieresis" value="1973">
7799
<constant name="Greek_kappa" value="2026">
7802
<constant name="Greek_lambda" value="2027">
7805
<constant name="Greek_lamda" value="2027">
7808
<constant name="Greek_mu" value="2028">
7811
<constant name="Greek_nu" value="2029">
7814
<constant name="Greek_omega" value="2041">
7817
<constant name="Greek_omegaaccent" value="1979">
7820
<constant name="Greek_omicron" value="2031">
7823
<constant name="Greek_omicronaccent" value="1975">
7826
<constant name="Greek_phi" value="2038">
7829
<constant name="Greek_pi" value="2032">
7832
<constant name="Greek_psi" value="2040">
7835
<constant name="Greek_rho" value="2033">
7838
<constant name="Greek_sigma" value="2034">
7841
<constant name="Greek_switch" value="65406">
7844
<constant name="Greek_tau" value="2036">
7847
<constant name="Greek_theta" value="2024">
7850
<constant name="Greek_upsilon" value="2037">
7853
<constant name="Greek_upsilonaccent" value="1976">
7856
<constant name="Greek_upsilonaccentdieresis" value="1978">
7859
<constant name="Greek_upsilondieresis" value="1977">
7862
<constant name="Greek_xi" value="2030">
7865
<constant name="Greek_zeta" value="2022">
7868
<constant name="Green" value="269025188">
7871
<constant name="H" value="72">
7874
<constant name="Hangul" value="65329">
7877
<constant name="Hangul_A" value="3775">
7880
<constant name="Hangul_AE" value="3776">
7883
<constant name="Hangul_AraeA" value="3830">
7886
<constant name="Hangul_AraeAE" value="3831">
7889
<constant name="Hangul_Banja" value="65337">
7892
<constant name="Hangul_Cieuc" value="3770">
7895
<constant name="Hangul_Codeinput" value="65335">
7898
<constant name="Hangul_Dikeud" value="3751">
7901
<constant name="Hangul_E" value="3780">
7904
<constant name="Hangul_EO" value="3779">
7907
<constant name="Hangul_EU" value="3793">
7910
<constant name="Hangul_End" value="65331">
7913
<constant name="Hangul_Hanja" value="65332">
7916
<constant name="Hangul_Hieuh" value="3774">
7919
<constant name="Hangul_I" value="3795">
7922
<constant name="Hangul_Ieung" value="3767">
7925
<constant name="Hangul_J_Cieuc" value="3818">
7928
<constant name="Hangul_J_Dikeud" value="3802">
7931
<constant name="Hangul_J_Hieuh" value="3822">
7934
<constant name="Hangul_J_Ieung" value="3816">
7937
<constant name="Hangul_J_Jieuj" value="3817">
7940
<constant name="Hangul_J_Khieuq" value="3819">
7943
<constant name="Hangul_J_Kiyeog" value="3796">
7946
<constant name="Hangul_J_KiyeogSios" value="3798">
7949
<constant name="Hangul_J_KkogjiDalrinIeung" value="3833">
7952
<constant name="Hangul_J_Mieum" value="3811">
7955
<constant name="Hangul_J_Nieun" value="3799">
7958
<constant name="Hangul_J_NieunHieuh" value="3801">
7961
<constant name="Hangul_J_NieunJieuj" value="3800">
7964
<constant name="Hangul_J_PanSios" value="3832">
7967
<constant name="Hangul_J_Phieuf" value="3821">
7970
<constant name="Hangul_J_Pieub" value="3812">
7973
<constant name="Hangul_J_PieubSios" value="3813">
7976
<constant name="Hangul_J_Rieul" value="3803">
7979
<constant name="Hangul_J_RieulHieuh" value="3810">
7982
<constant name="Hangul_J_RieulKiyeog" value="3804">
7985
<constant name="Hangul_J_RieulMieum" value="3805">
7988
<constant name="Hangul_J_RieulPhieuf" value="3809">
7991
<constant name="Hangul_J_RieulPieub" value="3806">
7994
<constant name="Hangul_J_RieulSios" value="3807">
7997
<constant name="Hangul_J_RieulTieut" value="3808">
8000
<constant name="Hangul_J_Sios" value="3814">
8003
<constant name="Hangul_J_SsangKiyeog" value="3797">
8006
<constant name="Hangul_J_SsangSios" value="3815">
8009
<constant name="Hangul_J_Tieut" value="3820">
8012
<constant name="Hangul_J_YeorinHieuh" value="3834">
8015
<constant name="Hangul_Jamo" value="65333">
8018
<constant name="Hangul_Jeonja" value="65336">
8021
<constant name="Hangul_Jieuj" value="3768">
8024
<constant name="Hangul_Khieuq" value="3771">
8027
<constant name="Hangul_Kiyeog" value="3745">
8030
<constant name="Hangul_KiyeogSios" value="3747">
8033
<constant name="Hangul_KkogjiDalrinIeung" value="3827">
8036
<constant name="Hangul_Mieum" value="3761">
8039
<constant name="Hangul_MultipleCandidate" value="65341">
8042
<constant name="Hangul_Nieun" value="3748">
8045
<constant name="Hangul_NieunHieuh" value="3750">
8048
<constant name="Hangul_NieunJieuj" value="3749">
8051
<constant name="Hangul_O" value="3783">
8054
<constant name="Hangul_OE" value="3786">
8057
<constant name="Hangul_PanSios" value="3826">
8060
<constant name="Hangul_Phieuf" value="3773">
8063
<constant name="Hangul_Pieub" value="3762">
8066
<constant name="Hangul_PieubSios" value="3764">
8069
<constant name="Hangul_PostHanja" value="65339">
8072
<constant name="Hangul_PreHanja" value="65338">
8075
<constant name="Hangul_PreviousCandidate" value="65342">
8078
<constant name="Hangul_Rieul" value="3753">
8081
<constant name="Hangul_RieulHieuh" value="3760">
8084
<constant name="Hangul_RieulKiyeog" value="3754">
8087
<constant name="Hangul_RieulMieum" value="3755">
8090
<constant name="Hangul_RieulPhieuf" value="3759">
8093
<constant name="Hangul_RieulPieub" value="3756">
8096
<constant name="Hangul_RieulSios" value="3757">
8099
<constant name="Hangul_RieulTieut" value="3758">
8102
<constant name="Hangul_RieulYeorinHieuh" value="3823">
8105
<constant name="Hangul_Romaja" value="65334">
8108
<constant name="Hangul_SingleCandidate" value="65340">
8111
<constant name="Hangul_Sios" value="3765">
8114
<constant name="Hangul_Special" value="65343">
8117
<constant name="Hangul_SsangDikeud" value="3752">
8120
<constant name="Hangul_SsangJieuj" value="3769">
8123
<constant name="Hangul_SsangKiyeog" value="3746">
8126
<constant name="Hangul_SsangPieub" value="3763">
8129
<constant name="Hangul_SsangSios" value="3766">
8132
<constant name="Hangul_Start" value="65330">
8135
<constant name="Hangul_SunkyeongeumMieum" value="3824">
8138
<constant name="Hangul_SunkyeongeumPhieuf" value="3828">
8141
<constant name="Hangul_SunkyeongeumPieub" value="3825">
8144
<constant name="Hangul_Tieut" value="3772">
8147
<constant name="Hangul_U" value="3788">
8150
<constant name="Hangul_WA" value="3784">
8153
<constant name="Hangul_WAE" value="3785">
8156
<constant name="Hangul_WE" value="3790">
8159
<constant name="Hangul_WEO" value="3789">
8162
<constant name="Hangul_WI" value="3791">
8165
<constant name="Hangul_YA" value="3777">
8168
<constant name="Hangul_YAE" value="3778">
8171
<constant name="Hangul_YE" value="3782">
8174
<constant name="Hangul_YEO" value="3781">
8177
<constant name="Hangul_YI" value="3794">
8180
<constant name="Hangul_YO" value="3787">
8183
<constant name="Hangul_YU" value="3792">
8186
<constant name="Hangul_YeorinHieuh" value="3829">
8189
<constant name="Hangul_switch" value="65406">
8192
<constant name="Hankaku" value="65321">
8195
<constant name="Hcircumflex" value="678">
8198
<constant name="Hebrew_switch" value="65406">
8201
<constant name="Help" value="65386">
8204
<constant name="Henkan" value="65315">
8207
<constant name="Henkan_Mode" value="65315">
8210
<constant name="Hibernate" value="269025192">
8213
<constant name="Hiragana" value="65317">
8216
<constant name="Hiragana_Katakana" value="65319">
8219
<constant name="History" value="269025079">
8222
<constant name="Home" value="65360">
8225
<constant name="HomePage" value="269025048">
8228
<constant name="HotLinks" value="269025082">
8231
<constant name="Hstroke" value="673">
8234
<constant name="Hyper_L" value="65517">
8237
<constant name="Hyper_R" value="65518">
8240
<constant name="I" value="73">
8243
<constant name="ISO_Center_Object" value="65075">
8246
<constant name="ISO_Continuous_Underline" value="65072">
8249
<constant name="ISO_Discontinuous_Underline" value="65073">
8252
<constant name="ISO_Emphasize" value="65074">
8255
<constant name="ISO_Enter" value="65076">
8258
<constant name="ISO_Fast_Cursor_Down" value="65071">
8261
<constant name="ISO_Fast_Cursor_Left" value="65068">
8264
<constant name="ISO_Fast_Cursor_Right" value="65069">
8267
<constant name="ISO_Fast_Cursor_Up" value="65070">
8270
<constant name="ISO_First_Group" value="65036">
8273
<constant name="ISO_First_Group_Lock" value="65037">
8276
<constant name="ISO_Group_Latch" value="65030">
8279
<constant name="ISO_Group_Lock" value="65031">
8282
<constant name="ISO_Group_Shift" value="65406">
8285
<constant name="ISO_Last_Group" value="65038">
8288
<constant name="ISO_Last_Group_Lock" value="65039">
8291
<constant name="ISO_Left_Tab" value="65056">
8294
<constant name="ISO_Level2_Latch" value="65026">
8297
<constant name="ISO_Level3_Latch" value="65028">
8300
<constant name="ISO_Level3_Lock" value="65029">
8303
<constant name="ISO_Level3_Shift" value="65027">
8306
<constant name="ISO_Level5_Latch" value="65042">
8309
<constant name="ISO_Level5_Lock" value="65043">
8312
<constant name="ISO_Level5_Shift" value="65041">
8315
<constant name="ISO_Lock" value="65025">
8318
<constant name="ISO_Move_Line_Down" value="65058">
8321
<constant name="ISO_Move_Line_Up" value="65057">
8324
<constant name="ISO_Next_Group" value="65032">
8327
<constant name="ISO_Next_Group_Lock" value="65033">
8330
<constant name="ISO_Partial_Line_Down" value="65060">
8333
<constant name="ISO_Partial_Line_Up" value="65059">
8336
<constant name="ISO_Partial_Space_Left" value="65061">
8339
<constant name="ISO_Partial_Space_Right" value="65062">
8342
<constant name="ISO_Prev_Group" value="65034">
8345
<constant name="ISO_Prev_Group_Lock" value="65035">
8348
<constant name="ISO_Release_Both_Margins" value="65067">
8351
<constant name="ISO_Release_Margin_Left" value="65065">
8354
<constant name="ISO_Release_Margin_Right" value="65066">
8357
<constant name="ISO_Set_Margin_Left" value="65063">
8360
<constant name="ISO_Set_Margin_Right" value="65064">
8363
<constant name="Iabovedot" value="681">
8366
<constant name="Iacute" value="205">
8369
<constant name="Ibelowdot" value="16785098">
8372
<constant name="Ibreve" value="16777516">
8375
<constant name="Icircumflex" value="206">
8378
<constant name="Idiaeresis" value="207">
8381
<constant name="Igrave" value="204">
8384
<constant name="Ihook" value="16785096">
8387
<constant name="Imacron" value="975">
8392
parent="GObject.Object"
8393
glib:type-name="GdkImage"
8394
glib:get-type="gdk_image_get_type"
8395
glib:type-struct="ImageClass">
8396
<constructor name="new" c:identifier="gdk_image_new">
8397
<return-value transfer-ownership="full">
8398
<type name="Image" c:type="GdkImage*"/>
8401
<parameter name="type" transfer-ownership="none">
8402
<type name="ImageType" c:type="GdkImageType"/>
8404
<parameter name="visual" transfer-ownership="none">
8405
<type name="Visual" c:type="GdkVisual*"/>
8407
<parameter name="width" transfer-ownership="none">
8408
<type name="int" c:type="gint"/>
8410
<parameter name="height" transfer-ownership="none">
8411
<type name="int" c:type="gint"/>
8415
<function name="get"
8416
c:identifier="gdk_image_get"
8417
doc="This is a deprecated wrapper for gdk_drawable_get_image();
8418
most cases gdk_pixbuf_get_from_drawable() is the most convenient
8420
<return-value transfer-ownership="full">
8421
<type name="Image" c:type="GdkImage*"/>
8424
<parameter name="drawable" transfer-ownership="none">
8425
<type name="Drawable" c:type="GdkDrawable*"/>
8427
<parameter name="x" transfer-ownership="none">
8428
<type name="int" c:type="gint"/>
8430
<parameter name="y" transfer-ownership="none">
8431
<type name="int" c:type="gint"/>
8433
<parameter name="width" transfer-ownership="none">
8434
<type name="int" c:type="gint"/>
8436
<parameter name="height" transfer-ownership="none">
8437
<type name="int" c:type="gint"/>
8442
c:identifier="gdk_image_ref"
8443
doc="Deprecated function; use g_object_ref() instead."
8444
deprecated="Use g_object_ref() instead."
8445
deprecated-version="2.0">
8446
<return-value transfer-ownership="full">
8447
<type name="Image" c:type="GdkImage*"/>
8450
<method name="unref"
8451
c:identifier="gdk_image_unref"
8452
doc="Deprecated function; use g_object_unref() instead."
8453
deprecated="Use g_object_unref() instead."
8454
deprecated-version="2.0">
8455
<return-value transfer-ownership="none">
8456
<type name="none" c:type="void"/>
8459
<method name="put_pixel" c:identifier="gdk_image_put_pixel">
8460
<return-value transfer-ownership="none">
8461
<type name="none" c:type="void"/>
8464
<parameter name="x" transfer-ownership="none">
8465
<type name="int" c:type="gint"/>
8467
<parameter name="y" transfer-ownership="none">
8468
<type name="int" c:type="gint"/>
8470
<parameter name="pixel" transfer-ownership="none">
8471
<type name="uint32" c:type="guint32"/>
8475
<method name="get_pixel" c:identifier="gdk_image_get_pixel">
8476
<return-value transfer-ownership="none">
8477
<type name="uint32" c:type="guint32"/>
8480
<parameter name="x" transfer-ownership="none">
8481
<type name="int" c:type="gint"/>
8483
<parameter name="y" transfer-ownership="none">
8484
<type name="int" c:type="gint"/>
8488
<method name="set_colormap"
8489
c:identifier="gdk_image_set_colormap"
8490
doc="Sets the colormap for the image to the given colormap. Normally
8491
there's no need to use this function, images are created with the
8492
correct colormap if you get the image from a drawable. If you
8493
create the image from scratch, use the colormap of the drawable you
8494
intend to render the image to.">
8495
<return-value transfer-ownership="none">
8496
<type name="none" c:type="void"/>
8499
<parameter name="colormap" transfer-ownership="none">
8500
<type name="Colormap" c:type="GdkColormap*"/>
8504
<method name="get_colormap"
8505
c:identifier="gdk_image_get_colormap"
8506
doc="Retrieves the colormap for a given image, if it exists. An image
8507
will have a colormap if the drawable from which it was created has
8508
a colormap, or if a colormap was set explicitely with
8509
gdk_image_set_colormap().">
8510
<return-value transfer-ownership="full">
8511
<type name="Colormap" c:type="GdkColormap*"/>
8514
<method name="get_image_type"
8515
c:identifier="gdk_image_get_image_type"
8516
doc="Determines the type of a given image."
8518
<return-value transfer-ownership="full">
8519
<type name="ImageType" c:type="GdkImageType"/>
8522
<method name="get_visual"
8523
c:identifier="gdk_image_get_visual"
8524
doc="Determines the visual that was used to create the image."
8526
<return-value transfer-ownership="full">
8527
<type name="Visual" c:type="GdkVisual*"/>
8530
<method name="get_byte_order"
8531
c:identifier="gdk_image_get_byte_order"
8532
doc="Determines the byte order of the image."
8534
<return-value transfer-ownership="full">
8535
<type name="ByteOrder" c:type="GdkByteOrder"/>
8538
<method name="get_width"
8539
c:identifier="gdk_image_get_width"
8540
doc="Determines the width of the image."
8542
<return-value transfer-ownership="none">
8543
<type name="int" c:type="gint"/>
8546
<method name="get_height"
8547
c:identifier="gdk_image_get_height"
8548
doc="Determines the height of the image."
8550
<return-value transfer-ownership="none">
8551
<type name="int" c:type="gint"/>
8554
<method name="get_depth"
8555
c:identifier="gdk_image_get_depth"
8556
doc="Determines the depth of the image."
8558
<return-value transfer-ownership="none">
8559
<type name="uint16" c:type="guint16"/>
8562
<method name="get_bytes_per_pixel"
8563
c:identifier="gdk_image_get_bytes_per_pixel"
8564
doc="Determines the number of bytes per pixel of the image."
8566
<return-value transfer-ownership="none">
8567
<type name="uint16" c:type="guint16"/>
8570
<method name="get_bytes_per_line"
8571
c:identifier="gdk_image_get_bytes_per_line"
8572
doc="Determines the number of bytes per line of the image."
8574
<return-value transfer-ownership="none">
8575
<type name="uint16" c:type="guint16"/>
8578
<method name="get_bits_per_pixel"
8579
c:identifier="gdk_image_get_bits_per_pixel"
8580
doc="Determines the number of bits per pixel of the image."
8582
<return-value transfer-ownership="none">
8583
<type name="uint16" c:type="guint16"/>
8586
<field name="parent_instance">
8587
<type name="GObject.Object" c:type="GObject"/>
8590
<type name="ImageType" c:type="GdkImageType"/>
8592
<field name="visual">
8593
<type name="Visual" c:type="GdkVisual*"/>
8595
<field name="byte_order">
8596
<type name="ByteOrder" c:type="GdkByteOrder"/>
8598
<field name="width">
8599
<type name="int" c:type="gint"/>
8601
<field name="height">
8602
<type name="int" c:type="gint"/>
8604
<field name="depth">
8605
<type name="uint16" c:type="guint16"/>
8608
<type name="uint16" c:type="guint16"/>
8611
<type name="uint16" c:type="guint16"/>
8613
<field name="bits_per_pixel">
8614
<type name="uint16" c:type="guint16"/>
8617
<type name="any" c:type="gpointer"/>
8619
<field name="colormap">
8620
<type name="Colormap" c:type="GdkColormap*"/>
8622
<field name="windowing_data">
8623
<type name="any" c:type="gpointer"/>
8626
<record name="ImageClass"
8627
c:type="GdkImageClass"
8628
glib:is-gtype-struct-for="Image">
8629
<field name="parent_class">
8630
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
8633
<enumeration name="ImageType"
8634
glib:type-name="GdkImageType"
8635
glib:get-type="gdk_image_type_get_type"
8636
c:type="GdkImageType">
8637
<member name="normal"
8639
c:identifier="GDK_IMAGE_NORMAL"
8640
glib:nick="normal"/>
8641
<member name="shared"
8643
c:identifier="GDK_IMAGE_SHARED"
8644
glib:nick="shared"/>
8645
<member name="fastest"
8647
c:identifier="GDK_IMAGE_FASTEST"
8648
glib:nick="fastest"/>
8650
<bitfield name="InputCondition"
8651
glib:type-name="GdkInputCondition"
8652
glib:get-type="gdk_input_condition_get_type"
8653
c:type="GdkInputCondition">
8656
c:identifier="GDK_INPUT_READ"
8658
<member name="write"
8660
c:identifier="GDK_INPUT_WRITE"
8662
<member name="exception"
8664
c:identifier="GDK_INPUT_EXCEPTION"
8665
glib:nick="exception"/>
8667
<callback name="InputFunction" c:type="GdkInputFunction">
8668
<return-value transfer-ownership="none">
8669
<type name="none" c:type="void"/>
8672
<parameter name="data" transfer-ownership="none">
8673
<type name="any" c:type="gpointer"/>
8675
<parameter name="source" transfer-ownership="none">
8676
<type name="int" c:type="gint"/>
8678
<parameter name="condition" transfer-ownership="none">
8679
<type name="InputCondition" c:type="GdkInputCondition"/>
8683
<enumeration name="InputMode"
8684
glib:type-name="GdkInputMode"
8685
glib:get-type="gdk_input_mode_get_type"
8686
c:type="GdkInputMode">
8687
<member name="disabled"
8689
c:identifier="GDK_MODE_DISABLED"
8690
glib:nick="disabled"/>
8691
<member name="screen"
8693
c:identifier="GDK_MODE_SCREEN"
8694
glib:nick="screen"/>
8695
<member name="window"
8697
c:identifier="GDK_MODE_WINDOW"
8698
glib:nick="window"/>
8700
<enumeration name="InputSource"
8701
glib:type-name="GdkInputSource"
8702
glib:get-type="gdk_input_source_get_type"
8703
c:type="GdkInputSource">
8704
<member name="mouse"
8706
c:identifier="GDK_SOURCE_MOUSE"
8710
c:identifier="GDK_SOURCE_PEN"
8712
<member name="eraser"
8714
c:identifier="GDK_SOURCE_ERASER"
8715
glib:nick="eraser"/>
8716
<member name="cursor"
8718
c:identifier="GDK_SOURCE_CURSOR"
8719
glib:nick="cursor"/>
8721
<constant name="Insert" value="65379">
8724
<constant name="Iogonek" value="967">
8727
<constant name="Itilde" value="933">
8730
<constant name="J" value="74">
8733
<constant name="Jcircumflex" value="684">
8736
<enumeration name="JoinStyle"
8737
glib:type-name="GdkJoinStyle"
8738
glib:get-type="gdk_join_style_get_type"
8739
c:type="GdkJoinStyle">
8740
<member name="miter"
8742
c:identifier="GDK_JOIN_MITER"
8744
<member name="round"
8746
c:identifier="GDK_JOIN_ROUND"
8748
<member name="bevel"
8750
c:identifier="GDK_JOIN_BEVEL"
8753
<constant name="K" value="75">
8756
<constant name="KP_0" value="65456">
8759
<constant name="KP_1" value="65457">
8762
<constant name="KP_2" value="65458">
8765
<constant name="KP_3" value="65459">
8768
<constant name="KP_4" value="65460">
8771
<constant name="KP_5" value="65461">
8774
<constant name="KP_6" value="65462">
8777
<constant name="KP_7" value="65463">
8780
<constant name="KP_8" value="65464">
8783
<constant name="KP_9" value="65465">
8786
<constant name="KP_Add" value="65451">
8789
<constant name="KP_Begin" value="65437">
8792
<constant name="KP_Decimal" value="65454">
8795
<constant name="KP_Delete" value="65439">
8798
<constant name="KP_Divide" value="65455">
8801
<constant name="KP_Down" value="65433">
8804
<constant name="KP_End" value="65436">
8807
<constant name="KP_Enter" value="65421">
8810
<constant name="KP_Equal" value="65469">
8813
<constant name="KP_F1" value="65425">
8816
<constant name="KP_F2" value="65426">
8819
<constant name="KP_F3" value="65427">
8822
<constant name="KP_F4" value="65428">
8825
<constant name="KP_Home" value="65429">
8828
<constant name="KP_Insert" value="65438">
8831
<constant name="KP_Left" value="65430">
8834
<constant name="KP_Multiply" value="65450">
8837
<constant name="KP_Next" value="65435">
8840
<constant name="KP_Page_Down" value="65435">
8843
<constant name="KP_Page_Up" value="65434">
8846
<constant name="KP_Prior" value="65434">
8849
<constant name="KP_Right" value="65432">
8852
<constant name="KP_Separator" value="65452">
8855
<constant name="KP_Space" value="65408">
8858
<constant name="KP_Subtract" value="65453">
8861
<constant name="KP_Tab" value="65417">
8864
<constant name="KP_Up" value="65431">
8867
<constant name="Kana_Lock" value="65325">
8870
<constant name="Kana_Shift" value="65326">
8873
<constant name="Kanji" value="65313">
8876
<constant name="Kanji_Bangou" value="65335">
8879
<constant name="Katakana" value="65318">
8882
<constant name="KbdBrightnessDown" value="269025030">
8885
<constant name="KbdBrightnessUp" value="269025029">
8888
<constant name="KbdLightOnOff" value="269025028">
8891
<constant name="Kcedilla" value="979">
8894
<record name="KeyboardGrabInfo" c:type="GdkKeyboardGrabInfo">
8895
<field name="window" writable="1">
8896
<type name="Window" c:type="GdkWindow*"/>
8898
<field name="native_window" writable="1">
8899
<type name="Window" c:type="GdkWindow*"/>
8901
<field name="serial" writable="1">
8902
<type name="ulong" c:type="gulong"/>
8904
<field name="owner_events" writable="1">
8905
<type name="boolean" c:type="gboolean"/>
8907
<field name="time" writable="1">
8908
<type name="uint32" c:type="guint32"/>
8911
<class name="Keymap"
8913
parent="GObject.Object"
8914
glib:type-name="GdkKeymap"
8915
glib:get-type="gdk_keymap_get_type"
8916
glib:type-struct="KeymapClass">
8917
<function name="get_default" c:identifier="gdk_keymap_get_default">
8918
<return-value transfer-ownership="full">
8919
<type name="Keymap" c:type="GdkKeymap*"/>
8922
<function name="get_for_display"
8923
c:identifier="gdk_keymap_get_for_display">
8924
<return-value transfer-ownership="full">
8925
<type name="Keymap" c:type="GdkKeymap*"/>
8928
<parameter name="display" transfer-ownership="none">
8929
<type name="Display" c:type="GdkDisplay*"/>
8933
<method name="lookup_key"
8934
c:identifier="gdk_keymap_lookup_key"
8935
doc="Looks up the keyval mapped to a keycode/group/level triplet.
8936
If no keyval is bound to @key, returns 0. For normal user input,
8937
you want to use gdk_keymap_translate_keyboard_state() instead of
8938
this function, since the effective group/level may not be
8939
the same as the current keyboard state.">
8940
<return-value transfer-ownership="none">
8941
<type name="uint" c:type="guint"/>
8944
<parameter name="key" transfer-ownership="none">
8945
<type name="KeymapKey" c:type="GdkKeymapKey*"/>
8949
<method name="translate_keyboard_state"
8950
c:identifier="gdk_keymap_translate_keyboard_state"
8951
doc="Translates the contents of a #GdkEventKey into a keyval, effective
8952
group, and level. Modifiers that affected the translation and
8953
are thus unavailable for application use are returned in
8954
groups and levels. The @effective_group is the group that was
8955
actually used for the translation; some keys such as Enter are not
8956
affected by the active keyboard group. The @level is derived from
8957
keyval, so this function isn't as useful as you might think.
8958
<note><para>
8959
from @state when comparing this key press to a hot key. For
8960
instance, on a US keyboard, the <literal>plus</literal>
8961
symbol is shifted, so when comparing a key press to a
8962
<literal>&lt;Control&gt;plus</literal> accelerator &lt;Shift&gt; should
8965
<informalexample><programlisting>
8966
&sol;* We want to ignore irrelevant modifiers like ScrollLock *&sol;
8967
&num;define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
8968
gdk_keymap_translate_keyboard_state (keymap, event->hardware_keycode,
8969
event->state, event->group,
8970
&amp;keyval, NULL, NULL, &amp;consumed);
8971
if (keyval == GDK_PLUS &&
8972
(event->state &amp; ~consumed &amp; ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
8973
&sol;* Control was pressed *&sol;
8974
</programlisting></informalexample>
8976
An older interpretation @consumed_modifiers was that it contained
8977
all modifiers that might affect the translation of the key;
8978
this allowed accelerators to be stored with irrelevant consumed
8979
modifiers, by doing:</para>
8980
<informalexample><programlisting>
8981
&sol;* XXX Don't do this XXX *&sol;
8982
if (keyval == accel_keyval &&
8983
(event->state &amp; ~consumed &amp; ALL_ACCELS_MASK) == (accel_mods &amp; ~consumed))
8984
&sol;* Accelerator was pressed *&sol;
8985
</programlisting></informalexample>
8987
However, this did not work if multi-modifier combinations were
8988
used in the keymap, since, for instance, <literal>&lt;Control&gt;</literal>
8989
would be masked out even if only <literal>&lt;Control&gt;&lt;Alt&gt;</literal>
8990
was used in the keymap. To support this usage as well as well as
8991
possible, all <emphasis>single modifier</emphasis> combinations
8992
that could affect the key for any combination of modifiers will
8993
be returned in @consumed_modifiers; multi-modifier combinations
8994
are returned only when actually found in @state. When you store
8995
accelerators, you should always store them with consumed modifiers
8996
removed. Store <literal>&lt;Control&gt;plus</literal>,
8997
not <literal>&lt;Control&gt;&lt;Shift&gt;plus</literal>,
8998
</para></note>">
8999
<return-value transfer-ownership="none">
9000
<type name="boolean" c:type="gboolean"/>
9003
<parameter name="hardware_keycode" transfer-ownership="none">
9004
<type name="uint" c:type="guint"/>
9006
<parameter name="state" transfer-ownership="none">
9007
<type name="ModifierType" c:type="GdkModifierType"/>
9009
<parameter name="group" transfer-ownership="none">
9010
<type name="int" c:type="gint"/>
9012
<parameter name="keyval"
9014
caller-allocates="0"
9015
transfer-ownership="full"
9017
doc="return location for keyval, or %NULL">
9018
<type name="uint" c:type="guint*"/>
9020
<parameter name="effective_group"
9022
caller-allocates="0"
9023
transfer-ownership="full"
9025
doc="return location for effective group, or %NULL">
9026
<type name="int" c:type="gint*"/>
9028
<parameter name="level"
9030
caller-allocates="0"
9031
transfer-ownership="full"
9033
doc="return location for level, or %NULL">
9034
<type name="int" c:type="gint*"/>
9036
<parameter name="consumed_modifiers"
9038
caller-allocates="1"
9039
transfer-ownership="none"
9041
doc="return location for modifiers that were used to determine the group or level, or %NULL">
9042
<type name="ModifierType" c:type="GdkModifierType*"/>
9046
<method name="get_entries_for_keyval"
9047
c:identifier="gdk_keymap_get_entries_for_keyval"
9048
doc="Obtains a list of keycode/group/level combinations that will
9049
generate @keyval. Groups and levels are two kinds of keyboard mode;
9050
in general, the level determines whether the top or bottom symbol
9051
on a key is used, and the group determines whether the left or
9052
right symbol is used. On US keyboards, the shift key changes the
9053
keyboard level, and there are no groups. A group switch key might
9054
convert a keyboard between Hebrew to English modes, for example.
9055
#GdkEventKey contains a %group field that indicates the active
9056
keyboard group. The level is computed from the modifier mask.
9057
The returned array should be freed
9059
<return-value transfer-ownership="none">
9060
<type name="boolean" c:type="gboolean"/>
9063
<parameter name="keyval" transfer-ownership="none">
9064
<type name="uint" c:type="guint"/>
9066
<parameter name="keys"
9068
caller-allocates="0"
9069
transfer-ownership="full"
9070
doc="return location for an array of #GdkKeymapKey">
9071
<type name="KeymapKey" c:type="GdkKeymapKey**"/>
9073
<parameter name="n_keys"
9075
caller-allocates="0"
9076
transfer-ownership="full"
9077
doc="return location for number of elements in returned array">
9078
<type name="int" c:type="gint*"/>
9082
<method name="get_entries_for_keycode"
9083
c:identifier="gdk_keymap_get_entries_for_keycode"
9084
doc="Returns the keyvals bound to @hardware_keycode.
9085
The Nth #GdkKeymapKey in @keys is bound to the Nth
9086
keyval in @keyvals. Free the returned arrays with g_free().
9087
When a keycode is pressed by the user, the keyval from
9088
this list of entries is selected by considering the effective
9089
keyboard group and level. See gdk_keymap_translate_keyboard_state().">
9090
<return-value transfer-ownership="none">
9091
<type name="boolean" c:type="gboolean"/>
9094
<parameter name="hardware_keycode" transfer-ownership="none">
9095
<type name="uint" c:type="guint"/>
9097
<parameter name="keys"
9099
caller-allocates="0"
9100
transfer-ownership="full"
9101
doc="return location for array of #GdkKeymapKey, or %NULL">
9102
<type name="KeymapKey" c:type="GdkKeymapKey**"/>
9104
<parameter name="keyvals"
9106
caller-allocates="0"
9107
transfer-ownership="full"
9108
doc="return location for array of keyvals, or %NULL">
9109
<type name="uint" c:type="guint**"/>
9111
<parameter name="n_entries"
9113
caller-allocates="0"
9114
transfer-ownership="full">
9115
<type name="int" c:type="gint*"/>
9119
<method name="get_direction" c:identifier="gdk_keymap_get_direction">
9120
<return-value transfer-ownership="full">
9121
<type name="Pango.Direction" c:type="PangoDirection"/>
9124
<method name="have_bidi_layouts"
9125
c:identifier="gdk_keymap_have_bidi_layouts">
9126
<return-value transfer-ownership="none">
9127
<type name="boolean" c:type="gboolean"/>
9130
<method name="get_caps_lock_state"
9131
c:identifier="gdk_keymap_get_caps_lock_state"
9132
doc="Returns whether the Caps Lock modifer is locked."
9134
<return-value transfer-ownership="none">
9135
<type name="boolean" c:type="gboolean"/>
9138
<method name="add_virtual_modifiers"
9139
c:identifier="gdk_keymap_add_virtual_modifiers"
9140
doc="Adds virtual modifiers (i.e. Super, Hyper and Meta) which correspond
9141
to the real modifiers (i.e Mod2, Mod3, ...) in @modifiers.
9142
are set in @state to their non-virtual counterparts (i.e. Mod2,
9143
Mod3,...) and set the corresponding bits in @state.
9144
GDK already does this before delivering key events, but for
9145
compatibility reasons, it only sets the first virtual modifier
9146
it finds, whereas this function sets all matching virtual modifiers.
9147
This function is useful when matching key events against
9150
<return-value transfer-ownership="none">
9151
<type name="none" c:type="void"/>
9154
<parameter name="state" transfer-ownership="none">
9155
<type name="ModifierType" c:type="GdkModifierType*"/>
9159
<method name="map_virtual_modifiers"
9160
c:identifier="gdk_keymap_map_virtual_modifiers"
9161
doc="Maps the virtual modifiers (i.e. Super, Hyper and Meta) which
9162
are set in @state to their non-virtual counterparts (i.e. Mod2,
9163
Mod3,...) and set the corresponding bits in @state.
9164
This function is useful when matching key events against
9166
same non-virtual modifier. Note that %FALSE is also returned
9167
if a virtual modifier is mapped to a non-virtual modifier that
9168
was already set in @state."
9170
<return-value transfer-ownership="none">
9171
<type name="boolean" c:type="gboolean"/>
9174
<parameter name="state" transfer-ownership="none">
9175
<type name="ModifierType" c:type="GdkModifierType*"/>
9179
<field name="parent_instance">
9180
<type name="GObject.Object" c:type="GObject"/>
9182
<field name="display">
9183
<type name="Display" c:type="GdkDisplay*"/>
9185
<glib:signal name="direction-changed"
9186
doc="The ::direction-changed signal gets emitted when the direction of
9187
the keymap changes."
9189
<return-value transfer-ownership="full">
9190
<type name="none" c:type="void"/>
9193
<glib:signal name="keys-changed"
9194
doc="The ::keys-changed signal is emitted when the mapping represented by"
9196
<return-value transfer-ownership="full">
9197
<type name="none" c:type="void"/>
9200
<glib:signal name="state-changed"
9201
doc="The ::state-changed signal is emitted when the state of the
9202
keyboard changes, e.g when Caps Lock is turned on or off.
9203
See gdk_keymap_get_caps_lock_state()."
9205
<return-value transfer-ownership="full">
9206
<type name="none" c:type="void"/>
9210
<record name="KeymapClass"
9211
c:type="GdkKeymapClass"
9212
glib:is-gtype-struct-for="Keymap">
9213
<field name="parent_class">
9214
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
9216
<field name="direction_changed">
9217
<callback name="direction_changed" c:type="direction_changed">
9218
<return-value transfer-ownership="none">
9219
<type name="none" c:type="void"/>
9222
<parameter name="keymap" transfer-ownership="none">
9223
<type name="Keymap" c:type="GdkKeymap*"/>
9228
<field name="keys_changed">
9229
<callback name="keys_changed" c:type="keys_changed">
9230
<return-value transfer-ownership="none">
9231
<type name="none" c:type="void"/>
9234
<parameter name="keymap" transfer-ownership="none">
9235
<type name="Keymap" c:type="GdkKeymap*"/>
9240
<field name="state_changed">
9241
<callback name="state_changed" c:type="state_changed">
9242
<return-value transfer-ownership="none">
9243
<type name="none" c:type="void"/>
9246
<parameter name="keymap" transfer-ownership="none">
9247
<type name="Keymap" c:type="GdkKeymap*"/>
9253
<record name="KeymapKey" c:type="GdkKeymapKey">
9254
<field name="keycode" writable="1">
9255
<type name="uint" c:type="guint"/>
9257
<field name="group" writable="1">
9258
<type name="int" c:type="gint"/>
9260
<field name="level" writable="1">
9261
<type name="int" c:type="gint"/>
9264
<constant name="Korean_Won" value="3839">
9267
<constant name="L" value="76">
9270
<constant name="L1" value="65480">
9273
<constant name="L10" value="65489">
9276
<constant name="L2" value="65481">
9279
<constant name="L3" value="65482">
9282
<constant name="L4" value="65483">
9285
<constant name="L5" value="65484">
9288
<constant name="L6" value="65485">
9291
<constant name="L7" value="65486">
9294
<constant name="L8" value="65487">
9297
<constant name="L9" value="65488">
9300
<constant name="Lacute" value="453">
9303
<constant name="Last_Virtual_Screen" value="65236">
9306
<constant name="Launch0" value="269025088">
9309
<constant name="Launch1" value="269025089">
9312
<constant name="Launch2" value="269025090">
9315
<constant name="Launch3" value="269025091">
9318
<constant name="Launch4" value="269025092">
9321
<constant name="Launch5" value="269025093">
9324
<constant name="Launch6" value="269025094">
9327
<constant name="Launch7" value="269025095">
9330
<constant name="Launch8" value="269025096">
9333
<constant name="Launch9" value="269025097">
9336
<constant name="LaunchA" value="269025098">
9339
<constant name="LaunchB" value="269025099">
9342
<constant name="LaunchC" value="269025100">
9345
<constant name="LaunchD" value="269025101">
9348
<constant name="LaunchE" value="269025102">
9351
<constant name="LaunchF" value="269025103">
9354
<constant name="Lbelowdot" value="16784950">
9357
<constant name="Lcaron" value="421">
9360
<constant name="Lcedilla" value="934">
9363
<constant name="Left" value="65361">
9366
<constant name="LightBulb" value="269025077">
9369
<enumeration name="LineStyle"
9370
glib:type-name="GdkLineStyle"
9371
glib:get-type="gdk_line_style_get_type"
9372
c:type="GdkLineStyle">
9373
<member name="solid"
9375
c:identifier="GDK_LINE_SOLID"
9377
<member name="on_off_dash"
9379
c:identifier="GDK_LINE_ON_OFF_DASH"
9380
glib:nick="on-off-dash"/>
9381
<member name="double_dash"
9383
c:identifier="GDK_LINE_DOUBLE_DASH"
9384
glib:nick="double-dash"/>
9386
<constant name="Linefeed" value="65290">
9389
<constant name="LiraSign" value="16785572">
9392
<constant name="LogOff" value="269025121">
9395
<constant name="Lstroke" value="419">
9398
<constant name="M" value="77">
9401
<constant name="MAX_TIMECOORD_AXES" value="128">
9404
<constant name="Mabovedot" value="16784960">
9407
<constant name="Macedonia_DSE" value="1717">
9410
<constant name="Macedonia_GJE" value="1714">
9413
<constant name="Macedonia_KJE" value="1724">
9416
<constant name="Macedonia_dse" value="1701">
9419
<constant name="Macedonia_gje" value="1698">
9422
<constant name="Macedonia_kje" value="1708">
9425
<constant name="Mae_Koho" value="65342">
9428
<constant name="Mail" value="269025049">
9431
<constant name="MailForward" value="269025168">
9434
<constant name="Market" value="269025122">
9437
<constant name="Massyo" value="65324">
9440
<constant name="Meeting" value="269025123">
9443
<constant name="Memo" value="269025054">
9446
<constant name="Menu" value="65383">
9449
<constant name="MenuKB" value="269025125">
9452
<constant name="MenuPB" value="269025126">
9455
<constant name="Messenger" value="269025166">
9458
<constant name="Meta_L" value="65511">
9461
<constant name="Meta_R" value="65512">
9464
<constant name="MillSign" value="16785573">
9467
<constant name="ModeLock" value="269025025">
9470
<constant name="Mode_switch" value="65406">
9473
<bitfield name="ModifierType"
9474
glib:type-name="GdkModifierType"
9475
glib:get-type="gdk_modifier_type_get_type"
9476
c:type="GdkModifierType">
9477
<member name="shift_mask"
9479
c:identifier="GDK_SHIFT_MASK"
9480
glib:nick="shift-mask"/>
9481
<member name="lock_mask"
9483
c:identifier="GDK_LOCK_MASK"
9484
glib:nick="lock-mask"/>
9485
<member name="control_mask"
9487
c:identifier="GDK_CONTROL_MASK"
9488
glib:nick="control-mask"/>
9489
<member name="mod1_mask"
9491
c:identifier="GDK_MOD1_MASK"
9492
glib:nick="mod1-mask"/>
9493
<member name="mod2_mask"
9495
c:identifier="GDK_MOD2_MASK"
9496
glib:nick="mod2-mask"/>
9497
<member name="mod3_mask"
9499
c:identifier="GDK_MOD3_MASK"
9500
glib:nick="mod3-mask"/>
9501
<member name="mod4_mask"
9503
c:identifier="GDK_MOD4_MASK"
9504
glib:nick="mod4-mask"/>
9505
<member name="mod5_mask"
9507
c:identifier="GDK_MOD5_MASK"
9508
glib:nick="mod5-mask"/>
9509
<member name="button1_mask"
9511
c:identifier="GDK_BUTTON1_MASK"
9512
glib:nick="button1-mask"/>
9513
<member name="button2_mask"
9515
c:identifier="GDK_BUTTON2_MASK"
9516
glib:nick="button2-mask"/>
9517
<member name="button3_mask"
9519
c:identifier="GDK_BUTTON3_MASK"
9520
glib:nick="button3-mask"/>
9521
<member name="button4_mask"
9523
c:identifier="GDK_BUTTON4_MASK"
9524
glib:nick="button4-mask"/>
9525
<member name="button5_mask"
9527
c:identifier="GDK_BUTTON5_MASK"
9528
glib:nick="button5-mask"/>
9529
<member name="super_mask"
9531
c:identifier="GDK_SUPER_MASK"
9532
glib:nick="super-mask"/>
9533
<member name="hyper_mask"
9535
c:identifier="GDK_HYPER_MASK"
9536
glib:nick="hyper-mask"/>
9537
<member name="meta_mask"
9539
c:identifier="GDK_META_MASK"
9540
glib:nick="meta-mask"/>
9541
<member name="release_mask"
9543
c:identifier="GDK_RELEASE_MASK"
9544
glib:nick="release-mask"/>
9545
<member name="modifier_mask"
9547
c:identifier="GDK_MODIFIER_MASK"
9548
glib:nick="modifier-mask"/>
9550
<constant name="MonBrightnessDown" value="269025027">
9553
<constant name="MonBrightnessUp" value="269025026">
9556
<constant name="MouseKeys_Accel_Enable" value="65143">
9559
<constant name="MouseKeys_Enable" value="65142">
9562
<constant name="Muhenkan" value="65314">
9565
<constant name="Multi_key" value="65312">
9568
<constant name="MultipleCandidate" value="65341">
9571
<constant name="Music" value="269025170">
9574
<constant name="MyComputer" value="269025075">
9577
<constant name="MySites" value="269025127">
9580
<constant name="N" value="78">
9583
<constant name="Nacute" value="465">
9586
<constant name="NairaSign" value="16785574">
9589
<constant name="Ncaron" value="466">
9592
<constant name="Ncedilla" value="977">
9595
<constant name="New" value="269025128">
9598
<constant name="NewSheqelSign" value="16785578">
9601
<constant name="News" value="269025129">
9604
<constant name="Next" value="65366">
9607
<constant name="Next_VMode" value="269024802">
9610
<constant name="Next_Virtual_Screen" value="65234">
9613
<enumeration name="NotifyType"
9614
glib:type-name="GdkNotifyType"
9615
glib:get-type="gdk_notify_type_get_type"
9616
c:type="GdkNotifyType">
9617
<member name="ancestor"
9619
c:identifier="GDK_NOTIFY_ANCESTOR"
9620
glib:nick="ancestor"/>
9621
<member name="virtual"
9623
c:identifier="GDK_NOTIFY_VIRTUAL"
9624
glib:nick="virtual"/>
9625
<member name="inferior"
9627
c:identifier="GDK_NOTIFY_INFERIOR"
9628
glib:nick="inferior"/>
9629
<member name="nonlinear"
9631
c:identifier="GDK_NOTIFY_NONLINEAR"
9632
glib:nick="nonlinear"/>
9633
<member name="nonlinear_virtual"
9635
c:identifier="GDK_NOTIFY_NONLINEAR_VIRTUAL"
9636
glib:nick="nonlinear-virtual"/>
9637
<member name="unknown"
9639
c:identifier="GDK_NOTIFY_UNKNOWN"
9640
glib:nick="unknown"/>
9642
<constant name="Ntilde" value="209">
9645
<constant name="Num_Lock" value="65407">
9648
<constant name="O" value="79">
9651
<constant name="OE" value="5052">
9654
<constant name="Oacute" value="211">
9657
<constant name="Obarred" value="16777631">
9660
<constant name="Obelowdot" value="16785100">
9663
<constant name="Ocaron" value="16777681">
9666
<constant name="Ocircumflex" value="212">
9669
<constant name="Ocircumflexacute" value="16785104">
9672
<constant name="Ocircumflexbelowdot" value="16785112">
9675
<constant name="Ocircumflexgrave" value="16785106">
9678
<constant name="Ocircumflexhook" value="16785108">
9681
<constant name="Ocircumflextilde" value="16785110">
9684
<constant name="Odiaeresis" value="214">
9687
<constant name="Odoubleacute" value="469">
9690
<constant name="OfficeHome" value="269025130">
9693
<constant name="Ograve" value="210">
9696
<constant name="Ohook" value="16785102">
9699
<constant name="Ohorn" value="16777632">
9702
<constant name="Ohornacute" value="16785114">
9705
<constant name="Ohornbelowdot" value="16785122">
9708
<constant name="Ohorngrave" value="16785116">
9711
<constant name="Ohornhook" value="16785118">
9714
<constant name="Ohorntilde" value="16785120">
9717
<constant name="Omacron" value="978">
9720
<constant name="Ooblique" value="216">
9723
<constant name="Open" value="269025131">
9726
<constant name="OpenURL" value="269025080">
9729
<constant name="Option" value="269025132">
9732
<constant name="Oslash" value="216">
9735
<constant name="Otilde" value="213">
9738
<enumeration name="OverlapType"
9739
glib:type-name="GdkOverlapType"
9740
glib:get-type="gdk_overlap_type_get_type"
9741
c:type="GdkOverlapType">
9744
c:identifier="GDK_OVERLAP_RECTANGLE_IN"
9748
c:identifier="GDK_OVERLAP_RECTANGLE_OUT"
9752
c:identifier="GDK_OVERLAP_RECTANGLE_PART"
9755
<constant name="Overlay1_Enable" value="65144">
9758
<constant name="Overlay2_Enable" value="65145">
9761
<enumeration name="OwnerChange"
9762
glib:type-name="GdkOwnerChange"
9763
glib:get-type="gdk_owner_change_get_type"
9764
c:type="GdkOwnerChange">
9765
<member name="new_owner"
9767
c:identifier="GDK_OWNER_CHANGE_NEW_OWNER"
9768
glib:nick="new-owner"/>
9769
<member name="destroy"
9771
c:identifier="GDK_OWNER_CHANGE_DESTROY"
9772
glib:nick="destroy"/>
9773
<member name="close"
9775
c:identifier="GDK_OWNER_CHANGE_CLOSE"
9778
<constant name="P" value="80">
9781
<constant name="PARENT_RELATIVE" value="1">
9784
<constant name="PRIORITY_REDRAW" value="20">
9787
<constant name="Pabovedot" value="16784982">
9790
<constant name="Page_Down" value="65366">
9793
<constant name="Page_Up" value="65365">
9796
<record name="PangoAttrEmbossColor" c:type="GdkPangoAttrEmbossColor">
9797
<field name="attr" writable="1">
9798
<type name="Pango.Attribute" c:type="PangoAttribute"/>
9800
<field name="color" writable="1">
9801
<type name="Pango.Color" c:type="PangoColor"/>
9803
<constructor name="new"
9804
c:identifier="gdk_pango_attr_emboss_color_new"
9805
doc="Creates a new attribute specifying the color to emboss text with."
9807
<return-value transfer-ownership="full">
9808
<type name="PangoAttrEmbossColor" c:type="PangoAttribute*"/>
9811
<parameter name="color" transfer-ownership="none">
9812
<type name="Color" c:type="GdkColor*"/>
9817
<record name="PangoAttrEmbossed" c:type="GdkPangoAttrEmbossed">
9818
<field name="attr" writable="1">
9819
<type name="Pango.Attribute" c:type="PangoAttribute"/>
9821
<field name="embossed" writable="1">
9822
<type name="boolean" c:type="gboolean"/>
9824
<constructor name="new"
9825
c:identifier="gdk_pango_attr_embossed_new"
9826
doc="Creates a new attribute flagging a region as embossed or not.">
9827
<return-value transfer-ownership="full">
9828
<type name="PangoAttrEmbossed" c:type="PangoAttribute*"/>
9831
<parameter name="embossed" transfer-ownership="none">
9832
<type name="boolean" c:type="gboolean"/>
9837
<record name="PangoAttrStipple" c:type="GdkPangoAttrStipple">
9838
<field name="attr" writable="1">
9839
<type name="Pango.Attribute" c:type="PangoAttribute"/>
9841
<field name="stipple" writable="1">
9842
<type name="Bitmap" c:type="GdkBitmap*"/>
9844
<constructor name="new"
9845
c:identifier="gdk_pango_attr_stipple_new"
9846
doc="Creates a new attribute containing a stipple bitmap to be used when
9847
rendering the text.">
9848
<return-value transfer-ownership="full">
9849
<type name="PangoAttrStipple" c:type="PangoAttribute*"/>
9852
<parameter name="stipple" transfer-ownership="none">
9853
<type name="Bitmap" c:type="GdkBitmap*"/>
9858
<class name="PangoRenderer"
9859
c:type="GdkPangoRenderer"
9860
doc="#GdkPangoRenderer is a subclass of #PangoRenderer used for rendering
9861
Pango objects into GDK drawables. The default renderer for a particular
9862
screen is obtained with gdk_pango_renderer_get_default(); Pango
9863
functions like pango_renderer_draw_layout() and
9864
pango_renderer_draw_layout_line() are then used to draw objects with
9866
In most simple cases, applications can just use gdk_draw_layout(), and
9867
don't need to directly use #GdkPangoRenderer at all. Using the
9868
#GdkPangoRenderer directly is most useful when working with a
9869
transformation such as a rotation, because the Pango drawing functions
9870
take user space coordinates (coordinates before the transformation)
9871
instead of device coordinates.
9872
In certain cases it can be useful to subclass #GdkPangoRenderer. Examples
9873
of reasons to do this are to add handling of custom attributes by
9874
overriding 'prepare_run' or to do custom drawing of embedded objects
9875
by overriding 'draw_shape'."
9877
parent="Pango.Renderer"
9878
glib:type-name="GdkPangoRenderer"
9879
glib:get-type="gdk_pango_renderer_get_type"
9880
glib:type-struct="PangoRendererClass">
9881
<constructor name="new"
9882
c:identifier="gdk_pango_renderer_new"
9883
doc="Creates a new #PangoRenderer for @screen. Normally you can use the
9884
results of gdk_pango_renderer_get_default() rather than creating a new
9887
<return-value transfer-ownership="full">
9888
<type name="PangoRenderer" c:type="PangoRenderer*"/>
9891
<parameter name="screen" transfer-ownership="none">
9892
<type name="Screen" c:type="GdkScreen*"/>
9896
<function name="get_default"
9897
c:identifier="gdk_pango_renderer_get_default"
9898
doc="Gets the default #PangoRenderer for a screen. This default renderer
9899
is shared by all users of the display, so properties such as the color
9900
or transformation matrix set for the renderer may be overwritten
9901
by functions such as gdk_draw_layout().
9902
Before using the renderer, you need to call gdk_pango_renderer_set_drawable()
9903
and gdk_pango_renderer_set_gc() to set the drawable and graphics context
9905
renderer is owned by GTK+ and will be kept around until the
9908
<return-value transfer-ownership="full">
9909
<type name="Pango.Renderer" c:type="PangoRenderer*"/>
9912
<parameter name="screen" transfer-ownership="none">
9913
<type name="Screen" c:type="GdkScreen*"/>
9917
<method name="set_drawable"
9918
c:identifier="gdk_pango_renderer_set_drawable"
9919
doc="Sets the drawable the renderer draws to."
9921
<return-value transfer-ownership="none">
9922
<type name="none" c:type="void"/>
9925
<parameter name="drawable"
9926
transfer-ownership="none"
9928
doc="the new target drawable, or %NULL">
9929
<type name="Drawable" c:type="GdkDrawable*"/>
9933
<method name="set_gc"
9934
c:identifier="gdk_pango_renderer_set_gc"
9935
doc="Sets the GC the renderer draws with. Note that the GC must not be
9936
modified until it is unset by calling the function again with
9937
%NULL for the @gc parameter, since GDK may make internal copies
9938
of the GC which won't be updated to follow changes to the
9941
<return-value transfer-ownership="none">
9942
<type name="none" c:type="void"/>
9945
<parameter name="gc"
9946
transfer-ownership="none"
9948
doc="the new GC to use for drawing, or %NULL">
9949
<type name="GC" c:type="GdkGC*"/>
9953
<method name="set_stipple"
9954
c:identifier="gdk_pango_renderer_set_stipple"
9955
doc="Sets the stipple for one render part (foreground, background, underline,
9956
etc.) Note that this is overwritten when iterating through the individual
9957
styled runs of a #PangoLayout or #PangoLayoutLine. This function is thus
9958
only useful when you call low level functions like pango_renderer_draw_glyphs()
9959
directly, or in the 'prepare_run' virtual function of a subclass of
9962
<return-value transfer-ownership="none">
9963
<type name="none" c:type="void"/>
9966
<parameter name="part" transfer-ownership="none">
9967
<type name="Pango.RenderPart" c:type="PangoRenderPart"/>
9969
<parameter name="stipple" transfer-ownership="none">
9970
<type name="Bitmap" c:type="GdkBitmap*"/>
9974
<method name="set_override_color"
9975
c:identifier="gdk_pango_renderer_set_override_color"
9976
doc="Sets the color for a particular render part (foreground,
9977
background, underline, etc.), overriding any attributes on the layouts
9978
renderered with this renderer."
9980
<return-value transfer-ownership="none">
9981
<type name="none" c:type="void"/>
9984
<parameter name="part" transfer-ownership="none">
9985
<type name="Pango.RenderPart" c:type="PangoRenderPart"/>
9987
<parameter name="color"
9988
transfer-ownership="none"
9990
doc="the color to use, or %NULL to unset a previously set override color.">
9991
<type name="Color" c:type="GdkColor*"/>
9995
<property name="screen" writable="1" construct-only="1">
9996
<type name="Screen" c:type="GdkScreen"/>
9998
<field name="parent_instance">
9999
<type name="Pango.Renderer" c:type="PangoRenderer"/>
10001
<field name="priv">
10002
<type name="PangoRendererPrivate" c:type="GdkPangoRendererPrivate*"/>
10005
<record name="PangoRendererClass"
10006
c:type="GdkPangoRendererClass"
10007
glib:is-gtype-struct-for="PangoRenderer"
10008
doc="#GdkPangoRenderer is the class structure for #GdkPangoRenderer."
10010
<field name="parent_class">
10011
<type name="Pango.RendererClass" c:type="PangoRendererClass"/>
10014
<record name="PangoRendererPrivate" c:type="GdkPangoRendererPrivate">
10016
<constant name="Paste" value="269025133">
10019
<constant name="Pause" value="65299">
10022
<constant name="PesetaSign" value="16785575">
10025
<constant name="Phone" value="269025134">
10028
<constant name="Pictures" value="269025169">
10031
<class name="Pixmap"
10034
glib:type-name="GdkPixmap"
10035
glib:get-type="gdk_pixmap_get_type">
10036
<constructor name="new" c:identifier="gdk_pixmap_new">
10037
<return-value transfer-ownership="full">
10038
<type name="Pixmap" c:type="GdkPixmap*"/>
10041
<parameter name="drawable" transfer-ownership="none">
10042
<type name="Drawable" c:type="GdkDrawable*"/>
10044
<parameter name="width" transfer-ownership="none">
10045
<type name="int" c:type="gint"/>
10047
<parameter name="height" transfer-ownership="none">
10048
<type name="int" c:type="gint"/>
10050
<parameter name="depth" transfer-ownership="none">
10051
<type name="int" c:type="gint"/>
10055
<function name="create_from_data"
10056
c:identifier="gdk_pixmap_create_from_data">
10057
<return-value transfer-ownership="full">
10058
<type name="Pixmap" c:type="GdkPixmap*"/>
10061
<parameter name="drawable" transfer-ownership="none">
10062
<type name="Drawable" c:type="GdkDrawable*"/>
10064
<parameter name="data" transfer-ownership="none">
10065
<type name="utf8" c:type="gchar*"/>
10067
<parameter name="width" transfer-ownership="none">
10068
<type name="int" c:type="gint"/>
10070
<parameter name="height" transfer-ownership="none">
10071
<type name="int" c:type="gint"/>
10073
<parameter name="depth" transfer-ownership="none">
10074
<type name="int" c:type="gint"/>
10076
<parameter name="fg" transfer-ownership="none">
10077
<type name="Color" c:type="GdkColor*"/>
10079
<parameter name="bg" transfer-ownership="none">
10080
<type name="Color" c:type="GdkColor*"/>
10084
<function name="create_from_xpm"
10085
c:identifier="gdk_pixmap_create_from_xpm"
10086
doc="Create a pixmap from a XPM file.">
10087
<return-value transfer-ownership="none" doc="the #GdkPixmap">
10088
<type name="Pixmap" c:type="GdkPixmap*"/>
10091
<parameter name="drawable"
10092
transfer-ownership="none"
10093
doc=" for the new pixmap.">
10094
<type name="Drawable" c:type="GdkDrawable*"/>
10096
<parameter name="mask"
10098
caller-allocates="0"
10099
transfer-ownership="full"
10100
doc="a pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be %NULL, in which case transparency will be ignored.">
10101
<type name="Bitmap" c:type="GdkBitmap**"/>
10103
<parameter name="transparent_color"
10104
transfer-ownership="none"
10105
doc=" that are transparent in the input file. Can be %NULL, in which case a default color will be used.">
10106
<type name="Color" c:type="GdkColor*"/>
10108
<parameter name="filename" transfer-ownership="none">
10109
<type name="utf8" c:type="gchar*"/>
10113
<function name="colormap_create_from_xpm"
10114
c:identifier="gdk_pixmap_colormap_create_from_xpm"
10115
doc="Create a pixmap from a XPM file using a particular colormap.">
10116
<return-value transfer-ownership="none" doc="the #GdkPixmap.">
10117
<type name="Pixmap" c:type="GdkPixmap*"/>
10120
<parameter name="drawable"
10121
transfer-ownership="none"
10122
doc=" for the new pixmap. Can be %NULL if @colormap is given.">
10123
<type name="Drawable" c:type="GdkDrawable*"/>
10125
<parameter name="colormap"
10126
transfer-ownership="none"
10127
doc=" If omitted, the colormap for @window will be used.">
10128
<type name="Colormap" c:type="GdkColormap*"/>
10130
<parameter name="mask"
10131
transfer-ownership="none"
10132
doc=" the transparency mask of the XPM file. Can be %NULL, in which case transparency will be ignored.">
10133
<type name="Bitmap" c:type="GdkBitmap**"/>
10135
<parameter name="transparent_color"
10136
transfer-ownership="none"
10137
doc=" that are transparent in the input file. Can be %NULL, in which case a default color will be used.">
10138
<type name="Color" c:type="GdkColor*"/>
10140
<parameter name="filename" transfer-ownership="none">
10141
<type name="utf8" c:type="gchar*"/>
10145
<function name="create_from_xpm_d"
10146
c:identifier="gdk_pixmap_create_from_xpm_d"
10147
doc="Create a pixmap from data in XPM format.">
10148
<return-value transfer-ownership="none" doc="the #GdkPixmap.">
10149
<type name="Pixmap" c:type="GdkPixmap*"/>
10152
<parameter name="drawable"
10153
transfer-ownership="none"
10154
doc=" for the new pixmap.">
10155
<type name="Drawable" c:type="GdkDrawable*"/>
10157
<parameter name="mask"
10159
caller-allocates="0"
10160
transfer-ownership="full"
10161
doc="Pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be %NULL, in which case transparency will be ignored.">
10162
<type name="Bitmap" c:type="GdkBitmap**"/>
10164
<parameter name="transparent_color"
10165
transfer-ownership="none"
10166
doc=" that are transparent in the input file. Can be %NULL in which case a default color will be used.">
10167
<type name="Color" c:type="GdkColor*"/>
10169
<parameter name="data" transfer-ownership="none">
10170
<array c:type="gchar**">
10171
<type name="utf8"/>
10176
<function name="colormap_create_from_xpm_d"
10177
c:identifier="gdk_pixmap_colormap_create_from_xpm_d"
10178
doc="Create a pixmap from data in XPM format using a particular
10180
<return-value transfer-ownership="none" doc="the #GdkPixmap.">
10181
<type name="Pixmap" c:type="GdkPixmap*"/>
10184
<parameter name="drawable"
10185
transfer-ownership="none"
10186
doc=" for the new pixmap. Can be %NULL if @colormap is given.">
10187
<type name="Drawable" c:type="GdkDrawable*"/>
10189
<parameter name="colormap"
10190
transfer-ownership="none"
10191
doc=" If omitted, the colormap for @window will be used.">
10192
<type name="Colormap" c:type="GdkColormap*"/>
10194
<parameter name="mask"
10195
transfer-ownership="none"
10196
doc=" the transparency mask of the XPM file. Can be %NULL, in which case transparency will be ignored.">
10197
<type name="Bitmap" c:type="GdkBitmap**"/>
10199
<parameter name="transparent_color"
10200
transfer-ownership="none"
10201
doc=" that are transparent in the input file. Can be %NULL, in which case a default color will be used.">
10202
<type name="Color" c:type="GdkColor*"/>
10204
<parameter name="data" transfer-ownership="none">
10205
<array c:type="gchar**">
10206
<type name="utf8"/>
10211
<function name="foreign_new"
10212
c:identifier="gdk_pixmap_foreign_new"
10213
doc="Wraps a native window for the default display in a #GdkPixmap.
10214
This may fail if the pixmap has been destroyed.
10215
For example in the X backend, a native pixmap handle is an Xlib
10216
<type>XID</type>.
10217
native pixmap or %NULL if the pixmap has been destroyed.">
10218
<return-value transfer-ownership="full">
10219
<type name="Pixmap" c:type="GdkPixmap*"/>
10222
<parameter name="anid" transfer-ownership="none">
10223
<type name="NativeWindow" c:type="GdkNativeWindow"/>
10227
<function name="lookup"
10228
c:identifier="gdk_pixmap_lookup"
10229
doc="Looks up the #GdkPixmap that wraps the given native pixmap handle.
10230
For example in the X backend, a native pixmap handle is an Xlib
10231
<type>XID</type>.
10232
or %NULL if there is none.">
10233
<return-value transfer-ownership="full">
10234
<type name="Pixmap" c:type="GdkPixmap*"/>
10237
<parameter name="anid" transfer-ownership="none">
10238
<type name="NativeWindow" c:type="GdkNativeWindow"/>
10242
<function name="foreign_new_for_display"
10243
c:identifier="gdk_pixmap_foreign_new_for_display"
10244
doc="Wraps a native pixmap in a #GdkPixmap.
10245
This may fail if the pixmap has been destroyed.
10246
For example in the X backend, a native pixmap handle is an Xlib
10247
<type>XID</type>.
10248
native pixmap or %NULL if the pixmap has been destroyed."
10250
<return-value transfer-ownership="full">
10251
<type name="Pixmap" c:type="GdkPixmap*"/>
10254
<parameter name="display" transfer-ownership="none">
10255
<type name="Display" c:type="GdkDisplay*"/>
10257
<parameter name="anid" transfer-ownership="none">
10258
<type name="NativeWindow" c:type="GdkNativeWindow"/>
10262
<function name="lookup_for_display"
10263
c:identifier="gdk_pixmap_lookup_for_display"
10264
doc="Looks up the #GdkPixmap that wraps the given native pixmap handle.
10265
For example in the X backend, a native pixmap handle is an Xlib
10266
<type>XID</type>.
10267
or %NULL if there is none."
10269
<return-value transfer-ownership="full">
10270
<type name="Pixmap" c:type="GdkPixmap*"/>
10273
<parameter name="display" transfer-ownership="none">
10274
<type name="Display" c:type="GdkDisplay*"/>
10276
<parameter name="anid" transfer-ownership="none">
10277
<type name="NativeWindow" c:type="GdkNativeWindow"/>
10281
<function name="foreign_new_for_screen"
10282
c:identifier="gdk_pixmap_foreign_new_for_screen"
10283
doc="Wraps a native pixmap in a #GdkPixmap.
10284
This may fail if the pixmap has been destroyed.
10285
For example in the X backend, a native pixmap handle is an Xlib
10286
<type>XID</type>.
10287
This function is an alternative to gdk_pixmap_foreign_new_for_display()
10288
for cases where the dimensions of the pixmap are known. For the X
10289
backend, this avoids a roundtrip to the server.
10290
native pixmap or %NULL if the pixmap has been destroyed."
10292
<return-value transfer-ownership="full">
10293
<type name="Pixmap" c:type="GdkPixmap*"/>
10296
<parameter name="screen" transfer-ownership="none">
10297
<type name="Screen" c:type="GdkScreen*"/>
10299
<parameter name="anid" transfer-ownership="none">
10300
<type name="NativeWindow" c:type="GdkNativeWindow"/>
10302
<parameter name="width" transfer-ownership="none">
10303
<type name="int" c:type="gint"/>
10305
<parameter name="height" transfer-ownership="none">
10306
<type name="int" c:type="gint"/>
10308
<parameter name="depth" transfer-ownership="none">
10309
<type name="int" c:type="gint"/>
10314
<record name="PixmapObject" c:type="GdkPixmapObject">
10315
<field name="parent_instance" writable="1">
10316
<type name="Drawable" c:type="GdkDrawable"/>
10318
<field name="impl" writable="1">
10319
<type name="Drawable" c:type="GdkDrawable*"/>
10321
<field name="depth" writable="1">
10322
<type name="int" c:type="gint"/>
10325
<record name="PixmapObjectClass" c:type="GdkPixmapObjectClass">
10326
<field name="parent_class" writable="1">
10327
<type name="DrawableClass" c:type="GdkDrawableClass"/>
10330
<record name="Point" c:type="GdkPoint">
10331
<field name="x" writable="1">
10332
<type name="int" c:type="gint"/>
10334
<field name="y" writable="1">
10335
<type name="int" c:type="gint"/>
10338
<record name="PointerHooks" c:type="GdkPointerHooks">
10339
<field name="get_pointer">
10340
<type name="any" c:type="pointer"/>
10342
<field name="window_at_pointer">
10343
<type name="any" c:type="pointer"/>
10346
<record name="PointerWindowInfo" c:type="GdkPointerWindowInfo">
10347
<field name="toplevel_under_pointer" writable="1">
10348
<type name="Window" c:type="GdkWindow*"/>
10350
<field name="window_under_pointer" writable="1">
10351
<type name="Window" c:type="GdkWindow*"/>
10353
<field name="toplevel_x" writable="1">
10354
<type name="double" c:type="gdouble"/>
10356
<field name="toplevel_y" writable="1">
10357
<type name="double" c:type="gdouble"/>
10359
<field name="state" writable="1">
10360
<type name="uint32" c:type="guint32"/>
10362
<field name="button" writable="1">
10363
<type name="uint32" c:type="guint32"/>
10365
<field name="motion_hint_serial" writable="1">
10366
<type name="ulong" c:type="gulong"/>
10369
<constant name="Pointer_Accelerate" value="65274">
10372
<constant name="Pointer_Button1" value="65257">
10375
<constant name="Pointer_Button2" value="65258">
10378
<constant name="Pointer_Button3" value="65259">
10381
<constant name="Pointer_Button4" value="65260">
10384
<constant name="Pointer_Button5" value="65261">
10387
<constant name="Pointer_Button_Dflt" value="65256">
10390
<constant name="Pointer_DblClick1" value="65263">
10393
<constant name="Pointer_DblClick2" value="65264">
10396
<constant name="Pointer_DblClick3" value="65265">
10399
<constant name="Pointer_DblClick4" value="65266">
10402
<constant name="Pointer_DblClick5" value="65267">
10405
<constant name="Pointer_DblClick_Dflt" value="65262">
10408
<constant name="Pointer_DfltBtnNext" value="65275">
10411
<constant name="Pointer_DfltBtnPrev" value="65276">
10414
<constant name="Pointer_Down" value="65251">
10417
<constant name="Pointer_DownLeft" value="65254">
10420
<constant name="Pointer_DownRight" value="65255">
10423
<constant name="Pointer_Drag1" value="65269">
10426
<constant name="Pointer_Drag2" value="65270">
10429
<constant name="Pointer_Drag3" value="65271">
10432
<constant name="Pointer_Drag4" value="65272">
10435
<constant name="Pointer_Drag5" value="65277">
10438
<constant name="Pointer_Drag_Dflt" value="65268">
10441
<constant name="Pointer_EnableKeys" value="65273">
10444
<constant name="Pointer_Left" value="65248">
10447
<constant name="Pointer_Right" value="65249">
10450
<constant name="Pointer_Up" value="65250">
10453
<constant name="Pointer_UpLeft" value="65252">
10456
<constant name="Pointer_UpRight" value="65253">
10459
<constant name="PowerDown" value="269025057">
10462
<constant name="PowerOff" value="269025066">
10465
<constant name="Prev_VMode" value="269024803">
10468
<constant name="Prev_Virtual_Screen" value="65233">
10471
<constant name="PreviousCandidate" value="65342">
10474
<constant name="Print" value="65377">
10477
<constant name="Prior" value="65365">
10480
<enumeration name="PropMode"
10481
glib:type-name="GdkPropMode"
10482
glib:get-type="gdk_prop_mode_get_type"
10483
c:type="GdkPropMode">
10484
<member name="replace"
10486
c:identifier="GDK_PROP_MODE_REPLACE"
10487
glib:nick="replace"/>
10488
<member name="prepend"
10490
c:identifier="GDK_PROP_MODE_PREPEND"
10491
glib:nick="prepend"/>
10492
<member name="append"
10494
c:identifier="GDK_PROP_MODE_APPEND"
10495
glib:nick="append"/>
10497
<enumeration name="PropertyState"
10498
glib:type-name="GdkPropertyState"
10499
glib:get-type="gdk_property_state_get_type"
10500
c:type="GdkPropertyState">
10501
<member name="new_value"
10503
c:identifier="GDK_PROPERTY_NEW_VALUE"
10504
glib:nick="new-value"/>
10505
<member name="delete"
10507
c:identifier="GDK_PROPERTY_DELETE"
10508
glib:nick="delete"/>
10510
<constant name="Q" value="81">
10513
<constant name="R" value="82">
10516
<constant name="R1" value="65490">
10519
<constant name="R10" value="65499">
10522
<constant name="R11" value="65500">
10525
<constant name="R12" value="65501">
10528
<constant name="R13" value="65502">
10531
<constant name="R14" value="65503">
10534
<constant name="R15" value="65504">
10537
<constant name="R2" value="65491">
10540
<constant name="R3" value="65492">
10543
<constant name="R4" value="65493">
10546
<constant name="R5" value="65494">
10549
<constant name="R6" value="65495">
10552
<constant name="R7" value="65496">
10555
<constant name="R8" value="65497">
10558
<constant name="R9" value="65498">
10561
<constant name="Racute" value="448">
10564
<constant name="Rcaron" value="472">
10567
<constant name="Rcedilla" value="931">
10570
<record name="Rectangle"
10571
c:type="GdkRectangle"
10572
glib:type-name="GdkRectangle"
10573
glib:get-type="gdk_rectangle_get_type">
10574
<field name="x" writable="1">
10575
<type name="int" c:type="gint"/>
10577
<field name="y" writable="1">
10578
<type name="int" c:type="gint"/>
10580
<field name="width" writable="1">
10581
<type name="int" c:type="gint"/>
10583
<field name="height" writable="1">
10584
<type name="int" c:type="gint"/>
10586
<method name="intersect"
10587
c:identifier="gdk_rectangle_intersect"
10588
doc="Calculates the intersection of two rectangles. It is allowed for
10589
do not intersect, @dest's width and height is set to 0 and its x
10590
and y values are undefined. If you are only interested in whether
10591
the rectangles intersect, but not in the intersecting area itself,
10592
pass %NULL for @dest.">
10593
<return-value transfer-ownership="none">
10594
<type name="boolean" c:type="gboolean"/>
10597
<parameter name="src2" transfer-ownership="none">
10598
<type name="Rectangle" c:type="GdkRectangle*"/>
10600
<parameter name="dest"
10601
transfer-ownership="none"
10603
doc="return location for the intersection of @src1 and @src2, or %NULL">
10604
<type name="Rectangle" c:type="GdkRectangle*"/>
10608
<method name="union"
10609
c:identifier="gdk_rectangle_union"
10610
doc="Calculates the union of two rectangles.
10611
The union of rectangles @src1 and @src2 is the smallest rectangle which
10612
includes both @src1 and @src2 within it.
10613
It is allowed for @dest to be the same as either @src1 or @src2.">
10614
<return-value transfer-ownership="none">
10615
<type name="none" c:type="void"/>
10618
<parameter name="src2" transfer-ownership="none">
10619
<type name="Rectangle" c:type="GdkRectangle*"/>
10621
<parameter name="dest" transfer-ownership="none">
10622
<type name="Rectangle" c:type="GdkRectangle*"/>
10627
<constant name="Red" value="269025187">
10630
<constant name="Redo" value="65382">
10633
<constant name="Refresh" value="269025065">
10636
<record name="Region" c:type="GdkRegion">
10637
<constructor name="new"
10638
c:identifier="gdk_region_new"
10639
doc="Creates a new empty #GdkRegion.">
10640
<return-value transfer-ownership="full">
10641
<type name="Region" c:type="GdkRegion*"/>
10644
<method name="copy"
10645
c:identifier="gdk_region_copy"
10646
doc="Copies @region, creating an identical new region.">
10647
<return-value transfer-ownership="full">
10648
<type name="Region" c:type="GdkRegion*"/>
10651
<method name="destroy"
10652
c:identifier="gdk_region_destroy"
10653
doc="Destroys a #GdkRegion.">
10654
<return-value transfer-ownership="none">
10655
<type name="none" c:type="void"/>
10658
<method name="get_clipbox"
10659
c:identifier="gdk_region_get_clipbox"
10660
doc="Obtains the smallest rectangle which includes the entire #GdkRegion.">
10661
<return-value transfer-ownership="none">
10662
<type name="none" c:type="void"/>
10665
<parameter name="rectangle" transfer-ownership="none">
10666
<type name="Rectangle" c:type="GdkRectangle*"/>
10670
<method name="get_rectangles"
10671
c:identifier="gdk_region_get_rectangles"
10672
doc="Obtains the area covered by the region as a list of rectangles.
10673
The array returned in @rectangles must be freed with g_free().">
10674
<return-value transfer-ownership="none">
10675
<type name="none" c:type="void"/>
10678
<parameter name="rectangles"
10679
transfer-ownership="container"
10680
doc="return location for an array of rectangles">
10681
<array length="2" c:type="GdkRectangle**">
10682
<type name="Rectangle"/>
10685
<parameter name="n_rectangles"
10687
caller-allocates="0"
10688
transfer-ownership="full">
10689
<type name="int" c:type="gint*"/>
10693
<method name="empty"
10694
c:identifier="gdk_region_empty"
10695
doc="Finds out if the #GdkRegion is empty.">
10696
<return-value transfer-ownership="none">
10697
<type name="boolean" c:type="gboolean"/>
10700
<method name="equal"
10701
c:identifier="gdk_region_equal"
10702
doc="Finds out if the two regions are the same.">
10703
<return-value transfer-ownership="none">
10704
<type name="boolean" c:type="gboolean"/>
10707
<parameter name="region2" transfer-ownership="none">
10708
<type name="Region" c:type="GdkRegion*"/>
10712
<method name="rect_equal"
10713
c:identifier="gdk_region_rect_equal"
10714
doc="Finds out if a regions is the same as a rectangle."
10716
<return-value transfer-ownership="none">
10717
<type name="boolean" c:type="gboolean"/>
10720
<parameter name="rectangle" transfer-ownership="none">
10721
<type name="Rectangle" c:type="GdkRectangle*"/>
10725
<method name="point_in"
10726
c:identifier="gdk_region_point_in"
10727
doc="Finds out if a point is in a region.">
10728
<return-value transfer-ownership="none">
10729
<type name="boolean" c:type="gboolean"/>
10732
<parameter name="x" transfer-ownership="none">
10733
<type name="int" c:type="int"/>
10735
<parameter name="y" transfer-ownership="none">
10736
<type name="int" c:type="int"/>
10740
<method name="rect_in"
10741
c:identifier="gdk_region_rect_in"
10742
doc="Tests whether a rectangle is within a region.
10743
%GDK_OVERLAP_RECTANGLE_PART, depending on whether the rectangle is inside,
10744
outside, or partly inside the #GdkRegion, respectively.">
10745
<return-value transfer-ownership="full">
10746
<type name="OverlapType" c:type="GdkOverlapType"/>
10749
<parameter name="rectangle" transfer-ownership="none">
10750
<type name="Rectangle" c:type="GdkRectangle*"/>
10754
<method name="offset"
10755
c:identifier="gdk_region_offset"
10756
doc="Moves a region the specified distance.">
10757
<return-value transfer-ownership="none">
10758
<type name="none" c:type="void"/>
10761
<parameter name="dx" transfer-ownership="none">
10762
<type name="int" c:type="gint"/>
10764
<parameter name="dy" transfer-ownership="none">
10765
<type name="int" c:type="gint"/>
10769
<method name="shrink"
10770
c:identifier="gdk_region_shrink"
10771
doc="Resizes a region by the specified amount.
10772
Positive values shrink the region. Negative values expand it.">
10773
<return-value transfer-ownership="none">
10774
<type name="none" c:type="void"/>
10777
<parameter name="dx" transfer-ownership="none">
10778
<type name="int" c:type="gint"/>
10780
<parameter name="dy" transfer-ownership="none">
10781
<type name="int" c:type="gint"/>
10785
<method name="union_with_rect"
10786
c:identifier="gdk_region_union_with_rect"
10787
doc="Sets the area of @region to the union of the areas of @region and
10788
either @region or @rect.">
10789
<return-value transfer-ownership="none">
10790
<type name="none" c:type="void"/>
10793
<parameter name="rect" transfer-ownership="none">
10794
<type name="Rectangle" c:type="GdkRectangle*"/>
10798
<method name="intersect"
10799
c:identifier="gdk_region_intersect"
10800
doc="Sets the area of @source1 to the intersection of the areas of @source1
10801
and @source2. The resulting area is the set of pixels contained in
10802
both @source1 and @source2.">
10803
<return-value transfer-ownership="none">
10804
<type name="none" c:type="void"/>
10807
<parameter name="source2" transfer-ownership="none">
10808
<type name="Region" c:type="GdkRegion*"/>
10812
<method name="union"
10813
c:identifier="gdk_region_union"
10814
doc="Sets the area of @source1 to the union of the areas of @source1 and
10815
either @source1 or @source2.">
10816
<return-value transfer-ownership="none">
10817
<type name="none" c:type="void"/>
10820
<parameter name="source2" transfer-ownership="none">
10821
<type name="Region" c:type="GdkRegion*"/>
10825
<method name="subtract"
10826
c:identifier="gdk_region_subtract"
10827
doc="Subtracts the area of @source2 from the area @source1. The resulting
10828
area is the set of pixels contained in @source1 but not in @source2.">
10829
<return-value transfer-ownership="none">
10830
<type name="none" c:type="void"/>
10833
<parameter name="source2" transfer-ownership="none">
10834
<type name="Region" c:type="GdkRegion*"/>
10839
c:identifier="gdk_region_xor"
10840
doc="Sets the area of @source1 to the exclusive-OR of the areas of @source1
10841
and @source2. The resulting area is the set of pixels contained in one
10842
or the other of the two sources but not in both.">
10843
<return-value transfer-ownership="none">
10844
<type name="none" c:type="void"/>
10847
<parameter name="source2" transfer-ownership="none">
10848
<type name="Region" c:type="GdkRegion*"/>
10852
<method name="spans_intersect_foreach"
10853
c:identifier="gdk_region_spans_intersect_foreach"
10854
doc="Calls a function on each span in the intersection of @region and @spans.">
10855
<return-value transfer-ownership="none">
10856
<type name="none" c:type="void"/>
10859
<parameter name="spans" transfer-ownership="none">
10860
<type name="Span" c:type="GdkSpan*"/>
10862
<parameter name="n_spans" transfer-ownership="none">
10863
<type name="int" c:type="int"/>
10865
<parameter name="sorted" transfer-ownership="none">
10866
<type name="boolean" c:type="gboolean"/>
10868
<parameter name="function"
10869
transfer-ownership="none"
10872
<type name="SpanFunc" c:type="GdkSpanFunc"/>
10874
<parameter name="data" transfer-ownership="none">
10875
<type name="any" c:type="gpointer"/>
10880
<constant name="Reload" value="269025139">
10883
<constant name="RepeatKeys_Enable" value="65138">
10886
<constant name="Reply" value="269025138">
10889
<constant name="Return" value="65293">
10892
<record name="RgbCmap" c:type="GdkRgbCmap">
10893
<field name="colors" writable="1">
10894
<array zero-terminated="0" c:type="guint32" fixed-size="256">
10895
<type name="uint32"/>
10898
<field name="n_colors" writable="1">
10899
<type name="int" c:type="gint"/>
10901
<field name="info_list" writable="1">
10902
<type name="GLib.SList" c:type="GSList*"/>
10904
<constructor name="new" c:identifier="gdk_rgb_cmap_new">
10905
<return-value transfer-ownership="full">
10906
<type name="RgbCmap" c:type="GdkRgbCmap*"/>
10909
<parameter name="colors"
10911
caller-allocates="0"
10912
transfer-ownership="full">
10913
<type name="uint32" c:type="guint32*"/>
10915
<parameter name="n_colors" transfer-ownership="none">
10916
<type name="int" c:type="gint"/>
10920
<method name="free" c:identifier="gdk_rgb_cmap_free">
10921
<return-value transfer-ownership="none">
10922
<type name="none" c:type="void"/>
10926
<enumeration name="RgbDither"
10927
glib:type-name="GdkRgbDither"
10928
glib:get-type="gdk_rgb_dither_get_type"
10929
c:type="GdkRgbDither">
10930
<member name="none"
10932
c:identifier="GDK_RGB_DITHER_NONE"
10934
<member name="normal"
10936
c:identifier="GDK_RGB_DITHER_NORMAL"
10937
glib:nick="normal"/>
10940
c:identifier="GDK_RGB_DITHER_MAX"
10943
<constant name="Right" value="65363">
10946
<constant name="RockerDown" value="269025060">
10949
<constant name="RockerEnter" value="269025061">
10952
<constant name="RockerUp" value="269025059">
10955
<constant name="Romaji" value="65316">
10958
<constant name="RotateWindows" value="269025140">
10961
<constant name="RotationKB" value="269025142">
10964
<constant name="RotationPB" value="269025141">
10967
<constant name="RupeeSign" value="16785576">
10970
<constant name="S" value="83">
10973
<constant name="SCHWA" value="16777615">
10976
<constant name="Sabovedot" value="16784992">
10979
<constant name="Sacute" value="422">
10982
<constant name="Save" value="269025143">
10985
<constant name="Scaron" value="425">
10988
<constant name="Scedilla" value="426">
10991
<constant name="Scircumflex" value="734">
10994
<class name="Screen"
10996
parent="GObject.Object"
10997
glib:type-name="GdkScreen"
10998
glib:get-type="gdk_screen_get_type"
10999
glib:type-struct="ScreenClass">
11000
<function name="get_default"
11001
c:identifier="gdk_screen_get_default"
11002
doc="Gets the default screen for the default display. (See
11003
gdk_display_get_default ())."
11005
<return-value transfer-ownership="none"
11006
doc="a #GdkScreen, or %NULL if there is no default display.">
11007
<type name="Screen" c:type="GdkScreen*"/>
11010
<function name="width"
11011
c:identifier="gdk_screen_width"
11012
doc="Returns the width of the default screen in pixels.">
11013
<return-value transfer-ownership="none">
11014
<type name="int" c:type="gint"/>
11017
<function name="height"
11018
c:identifier="gdk_screen_height"
11019
doc="Returns the height of the default screen in pixels.">
11020
<return-value transfer-ownership="none">
11021
<type name="int" c:type="gint"/>
11024
<function name="width_mm"
11025
c:identifier="gdk_screen_width_mm"
11026
doc="Returns the width of the default screen in millimeters.
11027
Note that on many X servers this value will not be correct.
11028
though it is not always correct.">
11029
<return-value transfer-ownership="none">
11030
<type name="int" c:type="gint"/>
11033
<function name="height_mm"
11034
c:identifier="gdk_screen_height_mm"
11035
doc="Returns the height of the default screen in millimeters.
11036
Note that on many X servers this value will not be correct.
11037
though it is not always correct.">
11038
<return-value transfer-ownership="none">
11039
<type name="int" c:type="gint"/>
11042
<method name="get_default_colormap"
11043
c:identifier="gdk_screen_get_default_colormap"
11044
doc="Gets the default colormap for @screen."
11046
<return-value transfer-ownership="none"
11047
doc="the default #GdkColormap.">
11048
<type name="Colormap" c:type="GdkColormap*"/>
11051
<method name="set_default_colormap"
11052
c:identifier="gdk_screen_set_default_colormap"
11053
doc="Sets the default @colormap for @screen."
11055
<return-value transfer-ownership="none">
11056
<type name="none" c:type="void"/>
11059
<parameter name="colormap" transfer-ownership="none">
11060
<type name="Colormap" c:type="GdkColormap*"/>
11064
<method name="get_system_colormap"
11065
c:identifier="gdk_screen_get_system_colormap"
11066
doc="Gets the system's default colormap for @screen"
11068
<return-value transfer-ownership="none"
11069
doc="the default colormap for @screen.">
11070
<type name="Colormap" c:type="GdkColormap*"/>
11073
<method name="get_system_visual"
11074
c:identifier="gdk_screen_get_system_visual"
11075
doc="Get the system's default visual for @screen.
11076
This is the visual for the root window of the display.
11077
The return value should not be freed."
11079
<return-value transfer-ownership="none" doc="the system visual">
11080
<type name="Visual" c:type="GdkVisual*"/>
11083
<method name="get_rgb_colormap"
11084
c:identifier="gdk_screen_get_rgb_colormap"
11085
doc="Gets the preferred colormap for rendering image data on @screen.
11086
Not a very useful function; historically, GDK could only render RGB
11087
image data to one colormap and visual, but in the current version
11088
it can render to any colormap and visual. So there's no need to
11089
call this function."
11091
<return-value transfer-ownership="none" doc="the preferred colormap">
11092
<type name="Colormap" c:type="GdkColormap*"/>
11095
<method name="get_rgb_visual"
11096
c:identifier="gdk_screen_get_rgb_visual"
11097
doc="Gets a "preferred visual" chosen by GdkRGB for rendering image data
11098
on @screen. In previous versions of
11099
GDK, this was the only visual GdkRGB could use for rendering. In
11100
current versions, it's simply the visual GdkRGB would have chosen as
11101
the optimal one in those previous versions. GdkRGB can now render to
11102
drawables with any visual."
11104
<return-value transfer-ownership="none"
11105
doc="The #GdkVisual chosen by GdkRGB.">
11106
<type name="Visual" c:type="GdkVisual*"/>
11109
<method name="get_rgba_colormap"
11110
c:identifier="gdk_screen_get_rgba_colormap"
11111
doc="Gets a colormap to use for creating windows or pixmaps with an
11112
alpha channel. The windowing system on which GTK+ is running
11113
may not support this capability, in which case %NULL will
11114
be returned. Even if a non-%NULL value is returned, its
11115
possible that the window's alpha channel won't be honored
11116
X an appropriate windowing manager and compositing manager
11117
must be running to provide appropriate display.
11118
This functionality is not implemented in the Windows backend.
11119
For setting an overall opacity for a top-level window, see
11120
gdk_window_set_opacity().
11121
an alpha channel or %NULL if the capability is not available."
11123
<return-value transfer-ownership="none"
11124
doc="a colormap to use for windows with">
11125
<type name="Colormap" c:type="GdkColormap*"/>
11128
<method name="get_rgba_visual"
11129
c:identifier="gdk_screen_get_rgba_visual"
11130
doc="Gets a visual to use for creating windows or pixmaps with an
11131
alpha channel. See the docs for gdk_screen_get_rgba_colormap()
11133
alpha channel or %NULL if the capability is not available."
11135
<return-value transfer-ownership="none"
11136
doc="a visual to use for windows with an">
11137
<type name="Visual" c:type="GdkVisual*"/>
11140
<method name="is_composited"
11141
c:identifier="gdk_screen_is_composited"
11142
doc="Returns whether windows with an RGBA visual can reasonably
11143
be expected to have their alpha channel drawn correctly on
11145
On X11 this function returns whether a compositing manager is
11146
compositing @screen.
11147
expected to have their alpha channels drawn correctly on the screen."
11149
<return-value transfer-ownership="none">
11150
<type name="boolean" c:type="gboolean"/>
11153
<method name="get_root_window"
11154
c:identifier="gdk_screen_get_root_window"
11155
doc="Gets the root window of @screen."
11157
<return-value transfer-ownership="none" doc="the root window">
11158
<type name="Window" c:type="GdkWindow*"/>
11161
<method name="get_display"
11162
c:identifier="gdk_screen_get_display"
11163
doc="Gets the display to which the @screen belongs."
11165
<return-value transfer-ownership="full">
11166
<type name="Display" c:type="GdkDisplay*"/>
11169
<method name="get_number"
11170
c:identifier="gdk_screen_get_number"
11171
doc="Gets the index of @screen among the screens in the display
11172
to which it belongs. (See gdk_screen_get_display())"
11174
<return-value transfer-ownership="none">
11175
<type name="int" c:type="gint"/>
11178
<method name="get_width"
11179
c:identifier="gdk_screen_get_width"
11180
doc="Gets the width of @screen in pixels"
11182
<return-value transfer-ownership="none">
11183
<type name="int" c:type="gint"/>
11186
<method name="get_height"
11187
c:identifier="gdk_screen_get_height"
11188
doc="Gets the height of @screen in pixels"
11190
<return-value transfer-ownership="none">
11191
<type name="int" c:type="gint"/>
11194
<method name="get_width_mm"
11195
c:identifier="gdk_screen_get_width_mm"
11196
doc="Gets the width of @screen in millimeters.
11197
Note that on some X servers this value will not be correct."
11199
<return-value transfer-ownership="none">
11200
<type name="int" c:type="gint"/>
11203
<method name="get_height_mm"
11204
c:identifier="gdk_screen_get_height_mm"
11205
doc="Returns the height of @screen in millimeters.
11206
Note that on some X servers this value will not be correct."
11208
<return-value transfer-ownership="none">
11209
<type name="int" c:type="gint"/>
11212
<method name="list_visuals"
11213
c:identifier="gdk_screen_list_visuals"
11214
doc="Lists the available visuals for the specified @screen.
11215
A visual describes a hardware image data format.
11216
For example, a visual might support 24-bit color, or 8-bit color,
11217
and might expect pixels to be in a certain format.
11218
Call g_list_free() on the return value when you're finished with it.
11221
<return-value transfer-ownership="full">
11222
<type name="GLib.List" c:type="GList*"/>
11225
<method name="get_toplevel_windows"
11226
c:identifier="gdk_screen_get_toplevel_windows"
11227
doc="Obtains a list of all toplevel windows known to GDK on the screen @screen.
11228
A toplevel window is a child of the root window (see
11229
gdk_get_default_root_window()).
11230
The returned list should be freed with g_list_free(), but
11231
its elements need not be freed."
11233
<return-value transfer-ownership="full">
11234
<type name="GLib.List" c:type="GList*"/>
11237
<method name="make_display_name"
11238
c:identifier="gdk_screen_make_display_name"
11239
doc="Determines the name to pass to gdk_display_open() to get
11240
a #GdkDisplay with this screen as the default screen."
11242
<return-value transfer-ownership="full">
11243
<type name="utf8" c:type="gchar*"/>
11246
<method name="get_n_monitors"
11247
c:identifier="gdk_screen_get_n_monitors"
11248
doc="Returns the number of monitors which @screen consists of."
11250
<return-value transfer-ownership="none">
11251
<type name="int" c:type="gint"/>
11254
<method name="get_primary_monitor"
11255
c:identifier="gdk_screen_get_primary_monitor"
11256
doc="Gets the primary monitor for @screen. The primary monitor
11257
is considered the monitor where the 'main desktop' lives.
11258
While normal application windows typically allow the window
11259
manager to place the windows, specialized desktop applications
11260
such as panels should place themselves on the primary monitor.
11261
If no primary monitor is configured by the user, the return value
11262
will be 0, defaulting to the first monitor."
11264
<return-value transfer-ownership="none">
11265
<type name="int" c:type="gint"/>
11268
<method name="get_monitor_geometry"
11269
c:identifier="gdk_screen_get_monitor_geometry"
11270
doc="Retrieves the #GdkRectangle representing the size and position of
11271
the individual monitor within the entire screen area.
11272
Note that the size of the entire screen area can be retrieved via
11273
gdk_screen_get_width() and gdk_screen_get_height()."
11275
<return-value transfer-ownership="none">
11276
<type name="none" c:type="void"/>
11279
<parameter name="monitor_num" transfer-ownership="none">
11280
<type name="int" c:type="gint"/>
11282
<parameter name="dest" transfer-ownership="none">
11283
<type name="Rectangle" c:type="GdkRectangle*"/>
11287
<method name="get_monitor_at_point"
11288
c:identifier="gdk_screen_get_monitor_at_point"
11289
doc="Returns the monitor number in which the point (@x,@y) is located.
11290
a monitor close to (@x,@y) if the point is not in any monitor."
11292
<return-value transfer-ownership="none" doc="lies, or">
11293
<type name="int" c:type="gint"/>
11296
<parameter name="x" transfer-ownership="none">
11297
<type name="int" c:type="gint"/>
11299
<parameter name="y" transfer-ownership="none">
11300
<type name="int" c:type="gint"/>
11304
<method name="get_monitor_at_window"
11305
c:identifier="gdk_screen_get_monitor_at_window"
11306
doc="Returns the number of the monitor in which the largest area of the
11307
bounding rectangle of @window resides."
11309
<return-value transfer-ownership="none"
11310
doc=" or if @window does not intersect any monitors, a monitor, close to @window.">
11311
<type name="int" c:type="gint"/>
11314
<parameter name="window" transfer-ownership="none">
11315
<type name="Window" c:type="GdkWindow*"/>
11319
<method name="get_monitor_width_mm"
11320
c:identifier="gdk_screen_get_monitor_width_mm"
11321
doc="Gets the width in millimeters of the specified monitor, if available."
11323
<return-value transfer-ownership="none">
11324
<type name="int" c:type="gint"/>
11327
<parameter name="monitor_num" transfer-ownership="none">
11328
<type name="int" c:type="gint"/>
11332
<method name="get_monitor_height_mm"
11333
c:identifier="gdk_screen_get_monitor_height_mm"
11334
doc="Gets the height in millimeters of the specified monitor."
11336
<return-value transfer-ownership="none">
11337
<type name="int" c:type="gint"/>
11340
<parameter name="monitor_num" transfer-ownership="none">
11341
<type name="int" c:type="gint"/>
11345
<method name="get_monitor_plug_name"
11346
c:identifier="gdk_screen_get_monitor_plug_name"
11347
doc="Returns the output name of the specified monitor.
11348
Usually something like VGA, DVI, or TV, not the actual
11349
product name of the display device.
11350
or %NULL if the name cannot be determined"
11352
<return-value transfer-ownership="full">
11353
<type name="utf8" c:type="gchar*"/>
11356
<parameter name="monitor_num" transfer-ownership="none">
11357
<type name="int" c:type="gint"/>
11361
<method name="broadcast_client_message"
11362
c:identifier="gdk_screen_broadcast_client_message"
11363
doc="On X11, sends an X ClientMessage event to all toplevel windows on
11364
Toplevel windows are determined by checking for the WM_STATE property,
11365
as described in the Inter-Client Communication Conventions Manual (ICCCM).
11366
If no windows are found with the WM_STATE property set, the message is
11367
sent to all children of the root window.
11368
On Windows, broadcasts a message registered with the name
11369
GDK_WIN32_CLIENT_MESSAGE to all top-level windows. The amount of
11370
data is limited to one long, i.e. four bytes."
11372
<return-value transfer-ownership="none">
11373
<type name="none" c:type="void"/>
11376
<parameter name="event" transfer-ownership="none">
11377
<type name="Event" c:type="GdkEvent*"/>
11381
<method name="get_setting"
11382
c:identifier="gdk_screen_get_setting"
11383
doc="Retrieves a desktop-wide setting such as double-click time
11384
for the #GdkScreen @screen.
11385
FIXME needs a list of valid settings here, or a link to
11387
in @value, %FALSE otherwise."
11389
<return-value transfer-ownership="none">
11390
<type name="boolean" c:type="gboolean"/>
11393
<parameter name="name" transfer-ownership="none">
11394
<type name="utf8" c:type="gchar*"/>
11396
<parameter name="value" transfer-ownership="none">
11397
<type name="GObject.Value" c:type="GValue*"/>
11401
<method name="set_font_options"
11402
c:identifier="gdk_screen_set_font_options"
11403
doc="Sets the default font options for the screen. These
11404
options will be set on any #PangoContext's newly created
11405
with gdk_pango_context_get_for_screen(). Changing the
11406
default set of font options does not affect contexts that
11407
have already been created."
11409
<return-value transfer-ownership="none">
11410
<type name="none" c:type="void"/>
11413
<parameter name="options"
11414
transfer-ownership="none"
11416
doc="a #cairo_font_options_t, or %NULL to unset any previously set default font options.">
11417
<type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
11421
<method name="get_font_options"
11422
c:identifier="gdk_screen_get_font_options"
11423
doc="Gets any options previously set with gdk_screen_set_font_options().
11424
font options have been set."
11426
<return-value transfer-ownership="none">
11427
<type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
11430
<method name="set_resolution"
11431
c:identifier="gdk_screen_set_resolution"
11432
doc="Sets the resolution for font handling on the screen. This is a
11433
scale factor between points specified in a #PangoFontDescription
11434
and cairo units. The default value is 96, meaning that a 10 point
11435
font will be 13 units high. (10 * 96. / 72. = 13.3)."
11437
<return-value transfer-ownership="none">
11438
<type name="none" c:type="void"/>
11441
<parameter name="dpi"
11442
transfer-ownership="none"
11443
doc=" involved; the terminology is conventional.)">
11444
<type name="double" c:type="gdouble"/>
11448
<method name="get_resolution"
11449
c:identifier="gdk_screen_get_resolution"
11450
doc="Gets the resolution for font handling on the screen; see
11451
gdk_screen_set_resolution() for full details.
11454
<return-value transfer-ownership="none">
11455
<type name="double" c:type="gdouble"/>
11458
<method name="get_active_window"
11459
c:identifier="gdk_screen_get_active_window">
11460
<return-value transfer-ownership="full">
11461
<type name="Window" c:type="GdkWindow*"/>
11464
<method name="get_window_stack"
11465
c:identifier="gdk_screen_get_window_stack">
11466
<return-value transfer-ownership="full">
11467
<type name="GLib.List" c:type="GList*"/>
11470
<property name="font-options" writable="1">
11471
<type name="any" c:type="gpointer"/>
11473
<property name="resolution" writable="1">
11474
<type name="double" c:type="gdouble"/>
11476
<field name="parent_instance">
11477
<type name="GObject.Object" c:type="GObject"/>
11479
<field name="closed" bits="1">
11480
<type name="uint" c:type="guint"/>
11482
<field name="normal_gcs">
11483
<array zero-terminated="0" c:type="GdkGC*" fixed-size="32">
11487
<field name="exposure_gcs">
11488
<array zero-terminated="0" c:type="GdkGC*" fixed-size="32">
11492
<field name="subwindow_gcs">
11493
<array zero-terminated="0" c:type="GdkGC*" fixed-size="32">
11497
<field name="font_options">
11498
<type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
11500
<field name="resolution">
11501
<type name="double" c:type="double"/>
11503
<glib:signal name="composited-changed"
11504
doc="The ::composited-changed signal is emitted when the composited
11505
status of the screen changes"
11507
<return-value transfer-ownership="full">
11508
<type name="none" c:type="void"/>
11511
<glib:signal name="monitors-changed"
11512
doc="The ::monitors-changed signal is emitted when the number, size
11513
or position of the monitors attached to the screen change.
11514
Only for X11 and OS X for now. A future implementation for Win32
11515
may be a possibility."
11517
<return-value transfer-ownership="full">
11518
<type name="none" c:type="void"/>
11521
<glib:signal name="size-changed"
11522
doc="The ::size-changed signal is emitted when the pixel width or
11523
height of a screen changes."
11525
<return-value transfer-ownership="full">
11526
<type name="none" c:type="void"/>
11530
<record name="ScreenClass"
11531
c:type="GdkScreenClass"
11532
glib:is-gtype-struct-for="Screen">
11533
<field name="parent_class">
11534
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
11536
<field name="size_changed">
11537
<callback name="size_changed" c:type="size_changed">
11538
<return-value transfer-ownership="none">
11539
<type name="none" c:type="void"/>
11542
<parameter name="screen" transfer-ownership="none">
11543
<type name="Screen" c:type="GdkScreen*"/>
11548
<field name="composited_changed">
11549
<callback name="composited_changed" c:type="composited_changed">
11550
<return-value transfer-ownership="none">
11551
<type name="none" c:type="void"/>
11554
<parameter name="screen" transfer-ownership="none">
11555
<type name="Screen" c:type="GdkScreen*"/>
11560
<field name="monitors_changed">
11561
<callback name="monitors_changed" c:type="monitors_changed">
11562
<return-value transfer-ownership="none">
11563
<type name="none" c:type="void"/>
11566
<parameter name="screen" transfer-ownership="none">
11567
<type name="Screen" c:type="GdkScreen*"/>
11573
<constant name="ScreenSaver" value="269025069">
11576
<constant name="ScrollClick" value="269025146">
11579
<enumeration name="ScrollDirection"
11580
glib:type-name="GdkScrollDirection"
11581
glib:get-type="gdk_scroll_direction_get_type"
11582
c:type="GdkScrollDirection">
11583
<member name="up" value="0" c:identifier="GDK_SCROLL_UP" glib:nick="up"/>
11584
<member name="down"
11586
c:identifier="GDK_SCROLL_DOWN"
11588
<member name="left"
11590
c:identifier="GDK_SCROLL_LEFT"
11592
<member name="right"
11594
c:identifier="GDK_SCROLL_RIGHT"
11595
glib:nick="right"/>
11597
<constant name="ScrollDown" value="269025145">
11600
<constant name="ScrollUp" value="269025144">
11603
<constant name="Scroll_Lock" value="65300">
11606
<constant name="Search" value="269025051">
11609
<record name="Segment" c:type="GdkSegment">
11610
<field name="x1" writable="1">
11611
<type name="int" c:type="gint"/>
11613
<field name="y1" writable="1">
11614
<type name="int" c:type="gint"/>
11616
<field name="x2" writable="1">
11617
<type name="int" c:type="gint"/>
11619
<field name="y2" writable="1">
11620
<type name="int" c:type="gint"/>
11623
<constant name="Select" value="65376">
11626
<constant name="SelectButton" value="269025184">
11629
<constant name="Send" value="269025147">
11632
<constant name="Serbian_DJE" value="1713">
11635
<constant name="Serbian_DZE" value="1727">
11638
<constant name="Serbian_JE" value="1720">
11641
<constant name="Serbian_LJE" value="1721">
11644
<constant name="Serbian_NJE" value="1722">
11647
<constant name="Serbian_TSHE" value="1723">
11650
<constant name="Serbian_dje" value="1697">
11653
<constant name="Serbian_dze" value="1711">
11656
<constant name="Serbian_je" value="1704">
11659
<constant name="Serbian_lje" value="1705">
11662
<constant name="Serbian_nje" value="1706">
11665
<constant name="Serbian_tshe" value="1707">
11668
<enumeration name="SettingAction"
11669
glib:type-name="GdkSettingAction"
11670
glib:get-type="gdk_setting_action_get_type"
11671
c:type="GdkSettingAction">
11674
c:identifier="GDK_SETTING_ACTION_NEW"
11676
<member name="changed"
11678
c:identifier="GDK_SETTING_ACTION_CHANGED"
11679
glib:nick="changed"/>
11680
<member name="deleted"
11682
c:identifier="GDK_SETTING_ACTION_DELETED"
11683
glib:nick="deleted"/>
11685
<constant name="Shift_L" value="65505">
11688
<constant name="Shift_Lock" value="65510">
11691
<constant name="Shift_R" value="65506">
11694
<constant name="Shop" value="269025078">
11697
<constant name="SingleCandidate" value="65340">
11700
<constant name="Sleep" value="269025071">
11703
<constant name="SlowKeys_Enable" value="65139">
11706
<record name="Span" c:type="GdkSpan">
11707
<field name="x" writable="1">
11708
<type name="int" c:type="gint"/>
11710
<field name="y" writable="1">
11711
<type name="int" c:type="gint"/>
11713
<field name="width" writable="1">
11714
<type name="int" c:type="gint"/>
11717
<callback name="SpanFunc" c:type="GdkSpanFunc">
11718
<return-value transfer-ownership="none">
11719
<type name="none" c:type="void"/>
11722
<parameter name="span" transfer-ownership="none">
11723
<type name="Span" c:type="GdkSpan*"/>
11725
<parameter name="data" transfer-ownership="none">
11726
<type name="any" c:type="gpointer"/>
11730
<constant name="Spell" value="269025148">
11733
<constant name="SplitScreen" value="269025149">
11736
<constant name="Standby" value="269025040">
11739
<constant name="Start" value="269025050">
11742
<enumeration name="Status"
11743
glib:type-name="GdkStatus"
11744
glib:get-type="gdk_status_get_type"
11745
c:type="GdkStatus">
11746
<member name="ok" value="0" c:identifier="GDK_OK" glib:nick="ok"/>
11747
<member name="error"
11749
c:identifier="GDK_ERROR"
11750
glib:nick="error"/>
11751
<member name="error_param"
11753
c:identifier="GDK_ERROR_PARAM"
11754
glib:nick="error-param"/>
11755
<member name="error_file"
11757
c:identifier="GDK_ERROR_FILE"
11758
glib:nick="error-file"/>
11759
<member name="error_mem"
11761
c:identifier="GDK_ERROR_MEM"
11762
glib:nick="error-mem"/>
11764
<constant name="StickyKeys_Enable" value="65141">
11767
<constant name="Stop" value="269025064">
11770
<constant name="Subtitle" value="269025178">
11773
<enumeration name="SubwindowMode"
11774
glib:type-name="GdkSubwindowMode"
11775
glib:get-type="gdk_subwindow_mode_get_type"
11776
c:type="GdkSubwindowMode">
11777
<member name="clip_by_children"
11779
c:identifier="GDK_CLIP_BY_CHILDREN"
11780
glib:nick="clip-by-children"/>
11781
<member name="include_inferiors"
11783
c:identifier="GDK_INCLUDE_INFERIORS"
11784
glib:nick="include-inferiors"/>
11786
<constant name="Super_L" value="65515">
11789
<constant name="Super_R" value="65516">
11792
<constant name="Support" value="269025150">
11795
<constant name="Suspend" value="269025191">
11798
<constant name="Switch_VT_1" value="269024769">
11801
<constant name="Switch_VT_10" value="269024778">
11804
<constant name="Switch_VT_11" value="269024779">
11807
<constant name="Switch_VT_12" value="269024780">
11810
<constant name="Switch_VT_2" value="269024770">
11813
<constant name="Switch_VT_3" value="269024771">
11816
<constant name="Switch_VT_4" value="269024772">
11819
<constant name="Switch_VT_5" value="269024773">
11822
<constant name="Switch_VT_6" value="269024774">
11825
<constant name="Switch_VT_7" value="269024775">
11828
<constant name="Switch_VT_8" value="269024776">
11831
<constant name="Switch_VT_9" value="269024777">
11834
<constant name="Sys_Req" value="65301">
11837
<constant name="T" value="84">
11840
<constant name="THORN" value="222">
11843
<constant name="Tab" value="65289">
11846
<constant name="Tabovedot" value="16785002">
11849
<constant name="TaskPane" value="269025151">
11852
<constant name="Tcaron" value="427">
11855
<constant name="Tcedilla" value="478">
11858
<constant name="Terminal" value="269025152">
11861
<constant name="Terminate_Server" value="65237">
11864
<constant name="Thai_baht" value="3551">
11867
<constant name="Thai_bobaimai" value="3514">
11870
<constant name="Thai_chochan" value="3496">
11873
<constant name="Thai_chochang" value="3498">
11876
<constant name="Thai_choching" value="3497">
11879
<constant name="Thai_chochoe" value="3500">
11882
<constant name="Thai_dochada" value="3502">
11885
<constant name="Thai_dodek" value="3508">
11888
<constant name="Thai_fofa" value="3517">
11891
<constant name="Thai_fofan" value="3519">
11894
<constant name="Thai_hohip" value="3531">
11897
<constant name="Thai_honokhuk" value="3534">
11900
<constant name="Thai_khokhai" value="3490">
11903
<constant name="Thai_khokhon" value="3493">
11906
<constant name="Thai_khokhuat" value="3491">
11909
<constant name="Thai_khokhwai" value="3492">
11912
<constant name="Thai_khorakhang" value="3494">
11915
<constant name="Thai_kokai" value="3489">
11918
<constant name="Thai_lakkhangyao" value="3557">
11921
<constant name="Thai_lekchet" value="3575">
11924
<constant name="Thai_lekha" value="3573">
11927
<constant name="Thai_lekhok" value="3574">
11930
<constant name="Thai_lekkao" value="3577">
11933
<constant name="Thai_leknung" value="3569">
11936
<constant name="Thai_lekpaet" value="3576">
11939
<constant name="Thai_leksam" value="3571">
11942
<constant name="Thai_leksi" value="3572">
11945
<constant name="Thai_leksong" value="3570">
11948
<constant name="Thai_leksun" value="3568">
11951
<constant name="Thai_lochula" value="3532">
11954
<constant name="Thai_loling" value="3525">
11957
<constant name="Thai_lu" value="3526">
11960
<constant name="Thai_maichattawa" value="3563">
11963
<constant name="Thai_maiek" value="3560">
11966
<constant name="Thai_maihanakat" value="3537">
11969
<constant name="Thai_maihanakat_maitho" value="3550">
11972
<constant name="Thai_maitaikhu" value="3559">
11975
<constant name="Thai_maitho" value="3561">
11978
<constant name="Thai_maitri" value="3562">
11981
<constant name="Thai_maiyamok" value="3558">
11984
<constant name="Thai_moma" value="3521">
11987
<constant name="Thai_ngongu" value="3495">
11990
<constant name="Thai_nikhahit" value="3565">
11993
<constant name="Thai_nonen" value="3507">
11996
<constant name="Thai_nonu" value="3513">
11999
<constant name="Thai_oang" value="3533">
12002
<constant name="Thai_paiyannoi" value="3535">
12005
<constant name="Thai_phinthu" value="3546">
12008
<constant name="Thai_phophan" value="3518">
12011
<constant name="Thai_phophung" value="3516">
12014
<constant name="Thai_phosamphao" value="3520">
12017
<constant name="Thai_popla" value="3515">
12020
<constant name="Thai_rorua" value="3523">
12023
<constant name="Thai_ru" value="3524">
12026
<constant name="Thai_saraa" value="3536">
12029
<constant name="Thai_saraaa" value="3538">
12032
<constant name="Thai_saraae" value="3553">
12035
<constant name="Thai_saraaimaimalai" value="3556">
12038
<constant name="Thai_saraaimaimuan" value="3555">
12041
<constant name="Thai_saraam" value="3539">
12044
<constant name="Thai_sarae" value="3552">
12047
<constant name="Thai_sarai" value="3540">
12050
<constant name="Thai_saraii" value="3541">
12053
<constant name="Thai_sarao" value="3554">
12056
<constant name="Thai_sarau" value="3544">
12059
<constant name="Thai_saraue" value="3542">
12062
<constant name="Thai_sarauee" value="3543">
12065
<constant name="Thai_sarauu" value="3545">
12068
<constant name="Thai_sorusi" value="3529">
12071
<constant name="Thai_sosala" value="3528">
12074
<constant name="Thai_soso" value="3499">
12077
<constant name="Thai_sosua" value="3530">
12080
<constant name="Thai_thanthakhat" value="3564">
12083
<constant name="Thai_thonangmontho" value="3505">
12086
<constant name="Thai_thophuthao" value="3506">
12089
<constant name="Thai_thothahan" value="3511">
12092
<constant name="Thai_thothan" value="3504">
12095
<constant name="Thai_thothong" value="3512">
12098
<constant name="Thai_thothung" value="3510">
12101
<constant name="Thai_topatak" value="3503">
12104
<constant name="Thai_totao" value="3509">
12107
<constant name="Thai_wowaen" value="3527">
12110
<constant name="Thai_yoyak" value="3522">
12113
<constant name="Thai_yoying" value="3501">
12116
<constant name="Thorn" value="222">
12119
<constant name="Time" value="269025183">
12122
<record name="TimeCoord" c:type="GdkTimeCoord">
12123
<field name="time" writable="1">
12124
<type name="uint32" c:type="guint32"/>
12126
<field name="axes" writable="1">
12127
<array zero-terminated="0" c:type="gdouble" fixed-size="128">
12128
<type name="double"/>
12132
<constant name="ToDoList" value="269025055">
12135
<constant name="Tools" value="269025153">
12138
<constant name="TopMenu" value="269025186">
12141
<constant name="Touroku" value="65323">
12144
<record name="Trapezoid" c:type="GdkTrapezoid">
12145
<field name="y1" writable="1">
12146
<type name="double" c:type="double"/>
12148
<field name="x11" writable="1">
12149
<type name="double" c:type="double"/>
12151
<field name="x21" writable="1">
12152
<type name="double" c:type="double"/>
12154
<field name="y2" writable="1">
12155
<type name="double" c:type="double"/>
12157
<field name="x12" writable="1">
12158
<type name="double" c:type="double"/>
12160
<field name="x22" writable="1">
12161
<type name="double" c:type="double"/>
12164
<constant name="Travel" value="269025154">
12167
<constant name="Tslash" value="940">
12170
<constant name="U" value="85">
12173
<constant name="UWB" value="269025174">
12176
<constant name="Uacute" value="218">
12179
<constant name="Ubelowdot" value="16785124">
12182
<constant name="Ubreve" value="733">
12185
<constant name="Ucircumflex" value="219">
12188
<constant name="Udiaeresis" value="220">
12191
<constant name="Udoubleacute" value="475">
12194
<constant name="Ugrave" value="217">
12197
<constant name="Uhook" value="16785126">
12200
<constant name="Uhorn" value="16777647">
12203
<constant name="Uhornacute" value="16785128">
12206
<constant name="Uhornbelowdot" value="16785136">
12209
<constant name="Uhorngrave" value="16785130">
12212
<constant name="Uhornhook" value="16785132">
12215
<constant name="Uhorntilde" value="16785134">
12218
<constant name="Ukrainian_GHE_WITH_UPTURN" value="1725">
12221
<constant name="Ukrainian_I" value="1718">
12224
<constant name="Ukrainian_IE" value="1716">
12227
<constant name="Ukrainian_YI" value="1719">
12230
<constant name="Ukrainian_ghe_with_upturn" value="1709">
12233
<constant name="Ukrainian_i" value="1702">
12236
<constant name="Ukrainian_ie" value="1700">
12239
<constant name="Ukrainian_yi" value="1703">
12242
<constant name="Ukranian_I" value="1718">
12245
<constant name="Ukranian_JE" value="1716">
12248
<constant name="Ukranian_YI" value="1719">
12251
<constant name="Ukranian_i" value="1702">
12254
<constant name="Ukranian_je" value="1700">
12257
<constant name="Ukranian_yi" value="1703">
12260
<constant name="Umacron" value="990">
12263
<constant name="Undo" value="65381">
12266
<constant name="Ungrab" value="269024800">
12269
<constant name="Uogonek" value="985">
12272
<constant name="Up" value="65362">
12275
<constant name="Uring" value="473">
12278
<constant name="User1KB" value="269025157">
12281
<constant name="User2KB" value="269025158">
12284
<constant name="UserPB" value="269025156">
12287
<constant name="Utilde" value="989">
12290
<constant name="V" value="86">
12293
<constant name="VendorHome" value="269025076">
12296
<constant name="Video" value="269025159">
12299
<constant name="View" value="269025185">
12302
<enumeration name="VisibilityState"
12303
glib:type-name="GdkVisibilityState"
12304
glib:get-type="gdk_visibility_state_get_type"
12305
c:type="GdkVisibilityState">
12306
<member name="unobscured"
12308
c:identifier="GDK_VISIBILITY_UNOBSCURED"
12309
glib:nick="unobscured"/>
12310
<member name="partial"
12312
c:identifier="GDK_VISIBILITY_PARTIAL"
12313
glib:nick="partial"/>
12314
<member name="fully_obscured"
12316
c:identifier="GDK_VISIBILITY_FULLY_OBSCURED"
12317
glib:nick="fully-obscured"/>
12319
<class name="Visual"
12321
parent="GObject.Object"
12322
glib:type-name="GdkVisual"
12323
glib:get-type="gdk_visual_get_type"
12324
glib:type-struct="VisualClass">
12325
<function name="get_best_depth"
12326
c:identifier="gdk_visual_get_best_depth"
12327
doc="Get the best available depth for the default GDK screen. "Best"
12328
means "largest," i.e. 32 preferred over 24 preferred over 8 bits
12330
<return-value transfer-ownership="none">
12331
<type name="int" c:type="gint"/>
12334
<function name="get_best_type"
12335
c:identifier="gdk_visual_get_best_type"
12336
doc="Return the best available visual type for the default GDK screen.">
12337
<return-value transfer-ownership="full">
12338
<type name="VisualType" c:type="GdkVisualType"/>
12341
<function name="get_system"
12342
c:identifier="gdk_visual_get_system"
12343
doc="Get the system's default visual for the default GDK screen.
12344
This is the visual for the root window of the display.
12345
The return value should not be freed.">
12346
<return-value transfer-ownership="none" doc="system visual">
12347
<type name="Visual" c:type="GdkVisual*"/>
12350
<function name="get_best"
12351
c:identifier="gdk_visual_get_best"
12352
doc="Get the visual with the most available colors for the default
12353
GDK screen. The return value should not be freed.">
12354
<return-value transfer-ownership="none" doc="best visual">
12355
<type name="Visual" c:type="GdkVisual*"/>
12358
<function name="get_best_with_depth"
12359
c:identifier="gdk_visual_get_best_with_depth"
12360
doc="Get the best visual with depth @depth for the default GDK screen.
12361
Color visuals and visuals with mutable colormaps are preferred
12362
over grayscale or fixed-colormap visuals. The return value should not
12363
be freed. %NULL may be returned if no visual supports @depth.">
12364
<return-value transfer-ownership="none"
12365
doc="best visual for the given depth">
12366
<type name="Visual" c:type="GdkVisual*"/>
12369
<parameter name="depth" transfer-ownership="none">
12370
<type name="int" c:type="gint"/>
12374
<function name="get_best_with_type"
12375
c:identifier="gdk_visual_get_best_with_type"
12376
doc="Get the best visual of the given @visual_type for the default GDK screen.
12377
Visuals with higher color depths are considered better. The return value
12378
should not be freed. %NULL may be returned if no visual has type">
12379
<return-value transfer-ownership="none"
12380
doc="best visual of the given type">
12381
<type name="Visual" c:type="GdkVisual*"/>
12384
<parameter name="visual_type" transfer-ownership="none">
12385
<type name="VisualType" c:type="GdkVisualType"/>
12389
<function name="get_best_with_both"
12390
c:identifier="gdk_visual_get_best_with_both"
12391
doc="Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().">
12392
<return-value transfer-ownership="none"
12393
doc="best visual with both @depth and">
12394
<type name="Visual" c:type="GdkVisual*"/>
12397
<parameter name="depth" transfer-ownership="none">
12398
<type name="int" c:type="gint"/>
12400
<parameter name="visual_type" transfer-ownership="none">
12401
<type name="VisualType" c:type="GdkVisualType"/>
12405
<method name="get_screen"
12406
c:identifier="gdk_visual_get_screen"
12407
doc="Gets the screen to which this visual belongs"
12409
<return-value transfer-ownership="none"
12410
doc="the screen to which this visual belongs.">
12411
<type name="Screen" c:type="GdkScreen*"/>
12414
<method name="get_visual_type"
12415
c:identifier="gdk_visual_get_visual_type"
12416
doc="Returns the type of visual this is (PseudoColor, TrueColor, etc)."
12418
<return-value transfer-ownership="full">
12419
<type name="VisualType" c:type="GdkVisualType"/>
12422
<method name="get_depth"
12423
c:identifier="gdk_visual_get_depth"
12424
doc="Returns the bit depth of this visual."
12426
<return-value transfer-ownership="none">
12427
<type name="int" c:type="gint"/>
12430
<method name="get_byte_order"
12431
c:identifier="gdk_visual_get_byte_order"
12432
doc="Returns the byte order of this visual."
12434
<return-value transfer-ownership="full">
12435
<type name="ByteOrder" c:type="GdkByteOrder"/>
12438
<method name="get_colormap_size"
12439
c:identifier="gdk_visual_get_colormap_size"
12440
doc="Returns the size of a colormap for this visual."
12442
<return-value transfer-ownership="none">
12443
<type name="int" c:type="gint"/>
12446
<method name="get_bits_per_rgb"
12447
c:identifier="gdk_visual_get_bits_per_rgb"
12448
doc="Returns the number of significant bits per red, green and blue value."
12450
<return-value transfer-ownership="none">
12451
<type name="int" c:type="gint"/>
12454
<method name="get_red_pixel_details"
12455
c:identifier="gdk_visual_get_red_pixel_details"
12456
doc="Obtains values that are needed to calculate red pixel values in TrueColor
12457
and DirectColor. The "mask" is the significant bits within the pixel.
12458
The "shift" is the number of bits left we must shift a primary for it
12459
to be in position (according to the "mask"). Finally, "precision" refers
12460
to how much precision the pixel value contains for a particular primary."
12462
<return-value transfer-ownership="none">
12463
<type name="none" c:type="void"/>
12466
<parameter name="mask"
12468
caller-allocates="0"
12469
transfer-ownership="full"
12471
doc="A pointer to a #guint32 to be filled in, or %NULL.">
12472
<type name="uint32" c:type="guint32*"/>
12474
<parameter name="shift"
12476
caller-allocates="0"
12477
transfer-ownership="full"
12479
doc="A pointer to a #gint to be filled in, or %NULL.">
12480
<type name="int" c:type="gint*"/>
12482
<parameter name="precision"
12484
caller-allocates="0"
12485
transfer-ownership="full"
12487
doc="A pointer to a #gint to be filled in, or %NULL.">
12488
<type name="int" c:type="gint*"/>
12492
<method name="get_green_pixel_details"
12493
c:identifier="gdk_visual_get_green_pixel_details"
12494
doc="Obtains values that are needed to calculate green pixel values in TrueColor
12495
and DirectColor. The "mask" is the significant bits within the pixel.
12496
The "shift" is the number of bits left we must shift a primary for it
12497
to be in position (according to the "mask"). Finally, "precision" refers
12498
to how much precision the pixel value contains for a particular primary."
12500
<return-value transfer-ownership="none">
12501
<type name="none" c:type="void"/>
12504
<parameter name="mask"
12506
caller-allocates="0"
12507
transfer-ownership="full"
12509
doc="A pointer to a #guint32 to be filled in, or %NULL.">
12510
<type name="uint32" c:type="guint32*"/>
12512
<parameter name="shift"
12514
caller-allocates="0"
12515
transfer-ownership="full"
12517
doc="A pointer to a #gint to be filled in, or %NULL.">
12518
<type name="int" c:type="gint*"/>
12520
<parameter name="precision"
12522
caller-allocates="0"
12523
transfer-ownership="full"
12525
doc="A pointer to a #gint to be filled in, or %NULL.">
12526
<type name="int" c:type="gint*"/>
12530
<method name="get_blue_pixel_details"
12531
c:identifier="gdk_visual_get_blue_pixel_details"
12532
doc="Obtains values that are needed to calculate blue pixel values in TrueColor
12533
and DirectColor. The "mask" is the significant bits within the pixel.
12534
The "shift" is the number of bits left we must shift a primary for it
12535
to be in position (according to the "mask"). Finally, "precision" refers
12536
to how much precision the pixel value contains for a particular primary."
12538
<return-value transfer-ownership="none">
12539
<type name="none" c:type="void"/>
12542
<parameter name="mask"
12544
caller-allocates="0"
12545
transfer-ownership="full"
12547
doc="A pointer to a #guint32 to be filled in, or %NULL.">
12548
<type name="uint32" c:type="guint32*"/>
12550
<parameter name="shift"
12552
caller-allocates="0"
12553
transfer-ownership="full"
12555
doc="A pointer to a #gint to be filled in, or %NULL.">
12556
<type name="int" c:type="gint*"/>
12558
<parameter name="precision"
12560
caller-allocates="0"
12561
transfer-ownership="full"
12563
doc="A pointer to a #gint to be filled in, or %NULL.">
12564
<type name="int" c:type="gint*"/>
12568
<field name="parent_instance">
12569
<type name="GObject.Object" c:type="GObject"/>
12571
<field name="type">
12572
<type name="VisualType" c:type="GdkVisualType"/>
12574
<field name="depth">
12575
<type name="int" c:type="gint"/>
12577
<field name="byte_order">
12578
<type name="ByteOrder" c:type="GdkByteOrder"/>
12580
<field name="colormap_size">
12581
<type name="int" c:type="gint"/>
12583
<field name="bits_per_rgb">
12584
<type name="int" c:type="gint"/>
12586
<field name="red_mask">
12587
<type name="uint32" c:type="guint32"/>
12589
<field name="red_shift">
12590
<type name="int" c:type="gint"/>
12592
<field name="red_prec">
12593
<type name="int" c:type="gint"/>
12595
<field name="green_mask">
12596
<type name="uint32" c:type="guint32"/>
12598
<field name="green_shift">
12599
<type name="int" c:type="gint"/>
12601
<field name="green_prec">
12602
<type name="int" c:type="gint"/>
12604
<field name="blue_mask">
12605
<type name="uint32" c:type="guint32"/>
12607
<field name="blue_shift">
12608
<type name="int" c:type="gint"/>
12610
<field name="blue_prec">
12611
<type name="int" c:type="gint"/>
12614
<record name="VisualClass"
12615
c:type="GdkVisualClass"
12616
glib:is-gtype-struct-for="Visual">
12618
<enumeration name="VisualType"
12619
glib:type-name="GdkVisualType"
12620
glib:get-type="gdk_visual_type_get_type"
12621
c:type="GdkVisualType">
12622
<member name="static_gray"
12624
c:identifier="GDK_VISUAL_STATIC_GRAY"
12625
glib:nick="static-gray"/>
12626
<member name="grayscale"
12628
c:identifier="GDK_VISUAL_GRAYSCALE"
12629
glib:nick="grayscale"/>
12630
<member name="static_color"
12632
c:identifier="GDK_VISUAL_STATIC_COLOR"
12633
glib:nick="static-color"/>
12634
<member name="pseudo_color"
12636
c:identifier="GDK_VISUAL_PSEUDO_COLOR"
12637
glib:nick="pseudo-color"/>
12638
<member name="true_color"
12640
c:identifier="GDK_VISUAL_TRUE_COLOR"
12641
glib:nick="true-color"/>
12642
<member name="direct_color"
12644
c:identifier="GDK_VISUAL_DIRECT_COLOR"
12645
glib:nick="direct-color"/>
12647
<constant name="VoidSymbol" value="16777215">
12650
<constant name="W" value="87">
12653
<constant name="WLAN" value="269025173">
12656
<bitfield name="WMDecoration"
12657
glib:type-name="GdkWMDecoration"
12658
glib:get-type="gdk_wm_decoration_get_type"
12659
c:type="GdkWMDecoration">
12662
c:identifier="GDK_DECOR_ALL"
12664
<member name="border"
12666
c:identifier="GDK_DECOR_BORDER"
12667
glib:nick="border"/>
12668
<member name="resizeh"
12670
c:identifier="GDK_DECOR_RESIZEH"
12671
glib:nick="resizeh"/>
12672
<member name="title"
12674
c:identifier="GDK_DECOR_TITLE"
12675
glib:nick="title"/>
12676
<member name="menu"
12678
c:identifier="GDK_DECOR_MENU"
12680
<member name="minimize"
12682
c:identifier="GDK_DECOR_MINIMIZE"
12683
glib:nick="minimize"/>
12684
<member name="maximize"
12686
c:identifier="GDK_DECOR_MAXIMIZE"
12687
glib:nick="maximize"/>
12689
<bitfield name="WMFunction"
12690
glib:type-name="GdkWMFunction"
12691
glib:get-type="gdk_wm_function_get_type"
12692
c:type="GdkWMFunction">
12695
c:identifier="GDK_FUNC_ALL"
12697
<member name="resize"
12699
c:identifier="GDK_FUNC_RESIZE"
12700
glib:nick="resize"/>
12701
<member name="move"
12703
c:identifier="GDK_FUNC_MOVE"
12705
<member name="minimize"
12707
c:identifier="GDK_FUNC_MINIMIZE"
12708
glib:nick="minimize"/>
12709
<member name="maximize"
12711
c:identifier="GDK_FUNC_MAXIMIZE"
12712
glib:nick="maximize"/>
12713
<member name="close"
12715
c:identifier="GDK_FUNC_CLOSE"
12716
glib:nick="close"/>
12718
<constant name="WWW" value="269025070">
12721
<constant name="Wacute" value="16785026">
12724
<constant name="WakeUp" value="269025067">
12727
<constant name="Wcircumflex" value="16777588">
12730
<constant name="Wdiaeresis" value="16785028">
12733
<constant name="WebCam" value="269025167">
12736
<constant name="Wgrave" value="16785024">
12739
<constant name="WheelButton" value="269025160">
12742
<class name="Window"
12745
glib:type-name="GdkWindow"
12746
glib:get-type="gdk_window_object_get_type">
12747
<constructor name="new"
12748
c:identifier="gdk_window_new"
12749
doc="Creates a new #GdkWindow using the attributes from
12750
display, @parent must be specified.">
12751
<return-value transfer-ownership="none" doc="the new #GdkWindow">
12752
<type name="Window" c:type="GdkWindow*"/>
12755
<parameter name="parent"
12756
transfer-ownership="none"
12758
doc="a #GdkWindow, or %NULL to create the window as a child of the default root window for the default display.">
12759
<type name="Window" c:type="GdkWindow*"/>
12761
<parameter name="attributes" transfer-ownership="none">
12762
<type name="WindowAttr" c:type="GdkWindowAttr*"/>
12764
<parameter name="attributes_mask" transfer-ownership="none">
12765
<type name="int" c:type="gint"/>
12769
<function name="at_pointer"
12770
c:identifier="gdk_window_at_pointer"
12771
doc="Obtains the window underneath the mouse pointer, returning the
12772
location of that window in @win_x, @win_y. Returns %NULL if the
12773
window under the mouse pointer is not known to GDK (if the window
12774
belongs to another application and a #GdkWindow hasn't been created
12775
for it with gdk_window_foreign_new())
12776
gdk_display_get_window_at_pointer() instead.">
12777
<return-value transfer-ownership="none"
12778
doc="window under the mouse pointer">
12779
<type name="Window" c:type="GdkWindow*"/>
12782
<parameter name="win_x"
12784
caller-allocates="0"
12785
transfer-ownership="full"
12787
doc="return location for origin of the window under the pointer">
12788
<type name="int" c:type="gint*"/>
12790
<parameter name="win_y"
12792
caller-allocates="0"
12793
transfer-ownership="full"
12795
doc="return location for origin of the window under the pointer">
12796
<type name="int" c:type="gint*"/>
12800
<function name="foreign_new"
12801
c:identifier="gdk_window_foreign_new"
12802
doc="Wraps a native window for the default display in a #GdkWindow.
12803
This may fail if the window has been destroyed.
12804
For example in the X backend, a native window handle is an Xlib
12805
<type>XID</type>.
12806
native window or %NULL if the window has been destroyed.">
12807
<return-value transfer-ownership="full">
12808
<type name="Window" c:type="GdkWindow*"/>
12811
<parameter name="anid" transfer-ownership="none">
12812
<type name="NativeWindow" c:type="GdkNativeWindow"/>
12816
<function name="lookup"
12817
c:identifier="gdk_window_lookup"
12818
doc="Looks up the #GdkWindow that wraps the given native window handle.
12819
For example in the X backend, a native window handle is an Xlib
12820
<type>XID</type>.
12821
or %NULL if there is none.">
12822
<return-value transfer-ownership="full">
12823
<type name="Window" c:type="GdkWindow*"/>
12826
<parameter name="anid" transfer-ownership="none">
12827
<type name="NativeWindow" c:type="GdkNativeWindow"/>
12831
<function name="foreign_new_for_display"
12832
c:identifier="gdk_window_foreign_new_for_display"
12833
doc="Wraps a native window in a #GdkWindow.
12834
This may fail if the window has been destroyed. If the window
12835
was already known to GDK, a new reference to the existing
12836
#GdkWindow is returned.
12837
For example in the X backend, a native window handle is an Xlib
12838
<type>XID</type>.
12839
%NULL if the window has been destroyed. The wrapper will be
12840
newly created, if one doesn't exist already."
12842
<return-value transfer-ownership="full">
12843
<type name="Window" c:type="GdkWindow*"/>
12846
<parameter name="display" transfer-ownership="none">
12847
<type name="Display" c:type="GdkDisplay*"/>
12849
<parameter name="anid" transfer-ownership="none">
12850
<type name="NativeWindow" c:type="GdkNativeWindow"/>
12854
<function name="lookup_for_display"
12855
c:identifier="gdk_window_lookup_for_display"
12856
doc="Looks up the #GdkWindow that wraps the given native window handle.
12857
For example in the X backend, a native window handle is an Xlib
12858
<type>XID</type>.
12859
or %NULL if there is none."
12861
<return-value transfer-ownership="full">
12862
<type name="Window" c:type="GdkWindow*"/>
12865
<parameter name="display" transfer-ownership="none">
12866
<type name="Display" c:type="GdkDisplay*"/>
12868
<parameter name="anid" transfer-ownership="none">
12869
<type name="NativeWindow" c:type="GdkNativeWindow"/>
12873
<function name="get_toplevels"
12874
c:identifier="gdk_window_get_toplevels"
12875
doc="Obtains a list of all toplevel windows known to GDK on the default
12876
screen (see gdk_screen_get_toplevel_windows()).
12877
A toplevel window is a child of the root window (see
12878
gdk_get_default_root_window()).
12879
The returned list should be freed with g_list_free(), but
12880
its elements need not be freed."
12881
deprecated="Use gdk_screen_get_toplevel_windows() instead."
12882
deprecated-version="2.16">
12883
<return-value transfer-ownership="full">
12884
<type name="GLib.List" c:type="GList*"/>
12887
<function name="process_all_updates"
12888
c:identifier="gdk_window_process_all_updates"
12889
doc="Calls gdk_window_process_updates() for all windows (see #GdkWindow)
12890
in the application.">
12891
<return-value transfer-ownership="none">
12892
<type name="none" c:type="void"/>
12895
<function name="set_debug_updates"
12896
c:identifier="gdk_window_set_debug_updates"
12897
doc="With update debugging enabled, calls to
12898
gdk_window_invalidate_region() clear the invalidated region of the
12899
screen to a noticeable color, and GDK pauses for a short time
12900
before sending exposes to windows during
12901
gdk_window_process_updates(). The net effect is that you can see
12902
the invalid region for each window and watch redraws as they
12903
occur. This allows you to diagnose inefficiencies in your application.
12904
In essence, because the GDK rendering model prevents all flicker,
12905
if you are redrawing the same region 400 times you may never
12906
notice, aside from noticing a speed problem. Enabling update
12907
debugging causes GTK to flicker slowly and noticeably, so you can
12908
see exactly what's being redrawn when, in what order.
12909
The --gtk-debug=updates command line option passed to GTK+ programs
12910
enables this debug option at application startup time. That's
12911
usually more useful than calling gdk_window_set_debug_updates()
12912
yourself, though you might want to use this function to enable
12913
updates sometime after application startup time.">
12914
<return-value transfer-ownership="none">
12915
<type name="none" c:type="void"/>
12918
<parameter name="setting" transfer-ownership="none">
12919
<type name="boolean" c:type="gboolean"/>
12923
<function name="constrain_size"
12924
c:identifier="gdk_window_constrain_size"
12925
doc="Constrains a desired width and height according to a
12926
set of geometry hints (such as minimum and maximum size).">
12927
<return-value transfer-ownership="none">
12928
<type name="none" c:type="void"/>
12931
<parameter name="geometry" transfer-ownership="none">
12932
<type name="Geometry" c:type="GdkGeometry*"/>
12934
<parameter name="flags" transfer-ownership="none">
12935
<type name="uint" c:type="guint"/>
12937
<parameter name="width" transfer-ownership="none">
12938
<type name="int" c:type="gint"/>
12940
<parameter name="height" transfer-ownership="none">
12941
<type name="int" c:type="gint"/>
12943
<parameter name="new_width"
12945
caller-allocates="0"
12946
transfer-ownership="full">
12947
<type name="int" c:type="gint*"/>
12949
<parameter name="new_height"
12951
caller-allocates="0"
12952
transfer-ownership="full">
12953
<type name="int" c:type="gint*"/>
12957
<method name="destroy"
12958
c:identifier="gdk_window_destroy"
12959
doc="Destroys the window system resources associated with @window and decrements @window's
12960
reference count. The window system resources for all children of @window are also
12961
destroyed, but the children's reference counts are not decremented.
12962
Note that a window will not be destroyed automatically when its reference count
12963
reaches zero. You must call this function yourself before that happens.">
12964
<return-value transfer-ownership="none">
12965
<type name="none" c:type="void"/>
12968
<method name="get_window_type"
12969
c:identifier="gdk_window_get_window_type"
12970
doc="Gets the type of the window. See #GdkWindowType.">
12971
<return-value transfer-ownership="full">
12972
<type name="WindowType" c:type="GdkWindowType"/>
12975
<method name="is_destroyed"
12976
c:identifier="gdk_window_is_destroyed"
12977
doc="Check to see if a window is destroyed.."
12979
<return-value transfer-ownership="none">
12980
<type name="boolean" c:type="gboolean"/>
12983
<method name="show"
12984
c:identifier="gdk_window_show"
12985
doc="Like gdk_window_show_unraised(), but also raises the window to the
12986
top of the window stack (moves the window to the front of the
12988
This function maps a window so it's visible onscreen. Its opposite
12989
is gdk_window_hide().
12990
When implementing a #GtkWidget, you should call this function on the widget's
12991
#GdkWindow as part of the "map" method.">
12992
<return-value transfer-ownership="none">
12993
<type name="none" c:type="void"/>
12996
<method name="hide"
12997
c:identifier="gdk_window_hide"
12998
doc="For toplevel windows, withdraws them, so they will no longer be
12999
known to the window manager; for all windows, unmaps them, so
13000
they won't be displayed. Normally done automatically as
13001
part of gtk_widget_hide().">
13002
<return-value transfer-ownership="none">
13003
<type name="none" c:type="void"/>
13006
<method name="withdraw"
13007
c:identifier="gdk_window_withdraw"
13008
doc="Withdraws a window (unmaps it and asks the window manager to forget about it).
13009
This function is not really useful as gdk_window_hide() automatically
13010
withdraws toplevel windows before hiding them.">
13011
<return-value transfer-ownership="none">
13012
<type name="none" c:type="void"/>
13015
<method name="show_unraised"
13016
c:identifier="gdk_window_show_unraised"
13017
doc="Shows a #GdkWindow onscreen, but does not modify its stacking
13018
order. In contrast, gdk_window_show() will raise the window
13019
to the top of the window stack.
13020
On the X11 platform, in Xlib terms, this function calls
13021
XMapWindow() (it also updates some internal GDK state, which means
13022
that you can't really use XMapWindow() directly on a GDK window).">
13023
<return-value transfer-ownership="none">
13024
<type name="none" c:type="void"/>
13027
<method name="move"
13028
c:identifier="gdk_window_move"
13029
doc="Repositions a window relative to its parent window.
13030
For toplevel windows, window managers may ignore or modify the move;
13031
you should probably use gtk_window_move() on a #GtkWindow widget
13032
anyway, instead of using GDK functions. For child windows,
13033
the move will reliably succeed.
13034
If you're also planning to resize the window, use gdk_window_move_resize()
13035
to both move and resize simultaneously, for a nicer visual effect.">
13036
<return-value transfer-ownership="none">
13037
<type name="none" c:type="void"/>
13040
<parameter name="x" transfer-ownership="none">
13041
<type name="int" c:type="gint"/>
13043
<parameter name="y" transfer-ownership="none">
13044
<type name="int" c:type="gint"/>
13048
<method name="resize"
13049
c:identifier="gdk_window_resize"
13050
doc="Resizes @window; for toplevel windows, asks the window manager to resize
13051
the window. The window manager may not allow the resize. When using GTK+,
13052
use gtk_window_resize() instead of this low-level GDK function.
13053
Windows may not be resized below 1x1.
13054
If you're also planning to move the window, use gdk_window_move_resize()
13055
to both move and resize simultaneously, for a nicer visual effect.">
13056
<return-value transfer-ownership="none">
13057
<type name="none" c:type="void"/>
13060
<parameter name="width" transfer-ownership="none">
13061
<type name="int" c:type="gint"/>
13063
<parameter name="height" transfer-ownership="none">
13064
<type name="int" c:type="gint"/>
13068
<method name="move_resize"
13069
c:identifier="gdk_window_move_resize"
13070
doc="Equivalent to calling gdk_window_move() and gdk_window_resize(),
13071
except that both operations are performed at once, avoiding strange
13072
visual effects. (i.e. the user may be able to see the window first
13073
move, then resize, if you don't use gdk_window_move_resize().)">
13074
<return-value transfer-ownership="none">
13075
<type name="none" c:type="void"/>
13078
<parameter name="x" transfer-ownership="none">
13079
<type name="int" c:type="gint"/>
13081
<parameter name="y" transfer-ownership="none">
13082
<type name="int" c:type="gint"/>
13084
<parameter name="width" transfer-ownership="none">
13085
<type name="int" c:type="gint"/>
13087
<parameter name="height" transfer-ownership="none">
13088
<type name="int" c:type="gint"/>
13092
<method name="reparent"
13093
c:identifier="gdk_window_reparent"
13094
doc="Reparents @window into the given @new_parent. The window being
13095
reparented will be unmapped as a side effect.">
13096
<return-value transfer-ownership="none">
13097
<type name="none" c:type="void"/>
13100
<parameter name="new_parent" transfer-ownership="none">
13101
<type name="Window" c:type="GdkWindow*"/>
13103
<parameter name="x" transfer-ownership="none">
13104
<type name="int" c:type="gint"/>
13106
<parameter name="y" transfer-ownership="none">
13107
<type name="int" c:type="gint"/>
13111
<method name="clear"
13112
c:identifier="gdk_window_clear"
13113
doc="Clears an entire @window to the background color or background pixmap.">
13114
<return-value transfer-ownership="none">
13115
<type name="none" c:type="void"/>
13118
<method name="clear_area"
13119
c:identifier="gdk_window_clear_area"
13120
doc="Clears an area of @window to the background color or background pixmap.">
13121
<return-value transfer-ownership="none">
13122
<type name="none" c:type="void"/>
13125
<parameter name="x" transfer-ownership="none">
13126
<type name="int" c:type="gint"/>
13128
<parameter name="y" transfer-ownership="none">
13129
<type name="int" c:type="gint"/>
13131
<parameter name="width" transfer-ownership="none">
13132
<type name="int" c:type="gint"/>
13134
<parameter name="height" transfer-ownership="none">
13135
<type name="int" c:type="gint"/>
13139
<method name="clear_area_e"
13140
c:identifier="gdk_window_clear_area_e"
13141
doc="Like gdk_window_clear_area(), but also generates an expose event for
13143
This function has a stupid name because it dates back to the mists
13144
time, pre-GDK-1.0.">
13145
<return-value transfer-ownership="none">
13146
<type name="none" c:type="void"/>
13149
<parameter name="x" transfer-ownership="none">
13150
<type name="int" c:type="gint"/>
13152
<parameter name="y" transfer-ownership="none">
13153
<type name="int" c:type="gint"/>
13155
<parameter name="width" transfer-ownership="none">
13156
<type name="int" c:type="gint"/>
13158
<parameter name="height" transfer-ownership="none">
13159
<type name="int" c:type="gint"/>
13163
<method name="raise"
13164
c:identifier="gdk_window_raise"
13165
doc="Raises @window to the top of the Z-order (stacking order), so that
13166
other windows with the same parent window appear below @window.
13167
This is true whether or not the windows are visible.
13168
If @window is a toplevel, the window manager may choose to deny the
13169
request to move the window in the Z-order, gdk_window_raise() only
13170
requests the restack, does not guarantee it.">
13171
<return-value transfer-ownership="none">
13172
<type name="none" c:type="void"/>
13175
<method name="lower"
13176
c:identifier="gdk_window_lower"
13177
doc="Lowers @window to the bottom of the Z-order (stacking order), so that
13178
other windows with the same parent window appear above @window.
13179
This is true whether or not the other windows are visible.
13180
If @window is a toplevel, the window manager may choose to deny the
13181
request to move the window in the Z-order, gdk_window_lower() only
13182
requests the restack, does not guarantee it.
13183
Note that gdk_window_show() raises the window again, so don't call this
13184
function before gdk_window_show(). (Try gdk_window_show_unraised().)">
13185
<return-value transfer-ownership="none">
13186
<type name="none" c:type="void"/>
13189
<method name="restack"
13190
c:identifier="gdk_window_restack"
13191
doc="Changes the position of @window in the Z-order (stacking order), so that
13192
it is above @sibling (if @above is %TRUE) or below @sibling (if @above is
13194
If @sibling is %NULL, then this either raises (if @above is %TRUE) or
13196
If @window is a toplevel, the window manager may choose to deny the
13197
request to move the window in the Z-order, gdk_window_restack() only
13198
requests the restack, does not guarantee it."
13200
<return-value transfer-ownership="none">
13201
<type name="none" c:type="void"/>
13204
<parameter name="sibling"
13205
transfer-ownership="none"
13207
doc="a #GdkWindow that is a sibling of @window, or %NULL">
13208
<type name="Window" c:type="GdkWindow*"/>
13210
<parameter name="above" transfer-ownership="none">
13211
<type name="boolean" c:type="gboolean"/>
13215
<method name="focus"
13216
c:identifier="gdk_window_focus"
13217
doc="Sets keyboard focus to @window. In most cases, gtk_window_present()
13218
should be used on a #GtkWindow, rather than calling this function.">
13219
<return-value transfer-ownership="none">
13220
<type name="none" c:type="void"/>
13223
<parameter name="timestamp" transfer-ownership="none">
13224
<type name="uint32" c:type="guint32"/>
13228
<method name="set_user_data"
13229
c:identifier="gdk_window_set_user_data"
13230
doc="For most purposes this function is deprecated in favor of
13231
g_object_set_data(). However, for historical reasons GTK+ stores
13232
the #GtkWidget that owns a #GdkWindow as user data on the
13233
#GdkWindow. So, custom widget implementations should use
13234
this function for that. If GTK+ receives an event for a #GdkWindow,
13235
and the user data for the window is non-%NULL, GTK+ will assume the
13236
user data is a #GtkWidget, and forward the event to that widget.">
13237
<return-value transfer-ownership="none">
13238
<type name="none" c:type="void"/>
13241
<parameter name="user_data" transfer-ownership="none">
13242
<type name="any" c:type="gpointer"/>
13246
<method name="set_override_redirect"
13247
c:identifier="gdk_window_set_override_redirect"
13248
doc="An override redirect window is not under the control of the window manager.
13249
This means it won't have a titlebar, won't be minimizable, etc. - it will
13250
be entirely under the control of the application. The window manager
13251
can't see the override redirect window at all.
13252
Override redirect should only be used for short-lived temporary
13253
windows, such as popup menus. #GtkMenu uses an override redirect
13254
window in its implementation, for example.">
13255
<return-value transfer-ownership="none">
13256
<type name="none" c:type="void"/>
13259
<parameter name="override_redirect" transfer-ownership="none">
13260
<type name="boolean" c:type="gboolean"/>
13264
<method name="get_accept_focus"
13265
c:identifier="gdk_window_get_accept_focus"
13266
doc="Determines whether or not the desktop environment shuld be hinted that
13267
the window does not want to receive input focus."
13269
<return-value transfer-ownership="none">
13270
<type name="boolean" c:type="gboolean"/>
13273
<method name="set_accept_focus"
13274
c:identifier="gdk_window_set_accept_focus"
13275
doc="Setting @accept_focus to %FALSE hints the desktop environment that the
13276
window doesn't want to receive input focus.
13277
On X, it is the responsibility of the window manager to interpret this
13278
hint. ICCCM-compliant window manager usually respect it."
13280
<return-value transfer-ownership="none">
13281
<type name="none" c:type="void"/>
13284
<parameter name="accept_focus" transfer-ownership="none">
13285
<type name="boolean" c:type="gboolean"/>
13289
<method name="get_focus_on_map"
13290
c:identifier="gdk_window_get_focus_on_map"
13291
doc="Determines whether or not the desktop environment should be hinted that the
13292
window does not want to receive input focus when it is mapped.
13295
<return-value transfer-ownership="none">
13296
<type name="boolean" c:type="gboolean"/>
13299
<method name="set_focus_on_map"
13300
c:identifier="gdk_window_set_focus_on_map"
13301
doc="Setting @focus_on_map to %FALSE hints the desktop environment that the
13302
window doesn't want to receive input focus when it is mapped.
13303
focus_on_map should be turned off for windows that aren't triggered
13304
interactively (such as popups from network activity).
13305
On X, it is the responsibility of the window manager to interpret
13306
this hint. Window managers following the freedesktop.org window
13307
manager extension specification should respect it."
13309
<return-value transfer-ownership="none">
13310
<type name="none" c:type="void"/>
13313
<parameter name="focus_on_map" transfer-ownership="none">
13314
<type name="boolean" c:type="gboolean"/>
13318
<method name="add_filter"
13319
c:identifier="gdk_window_add_filter"
13320
doc="Adds an event filter to @window, allowing you to intercept events
13321
before they reach GDK. This is a low-level operation and makes it
13322
easy to break GDK and/or GTK+, so you have to know what you're
13323
doing. Pass %NULL for @window to get all events for all windows,
13324
instead of events for a specific window.
13325
See gdk_display_add_client_message_filter() if you are interested
13326
in X ClientMessage events.">
13327
<return-value transfer-ownership="none">
13328
<type name="none" c:type="void"/>
13331
<parameter name="function"
13332
transfer-ownership="none"
13335
<type name="FilterFunc" c:type="GdkFilterFunc"/>
13337
<parameter name="data" transfer-ownership="none">
13338
<type name="any" c:type="gpointer"/>
13342
<method name="remove_filter"
13343
c:identifier="gdk_window_remove_filter"
13344
doc="Remove a filter previously added with gdk_window_add_filter().">
13345
<return-value transfer-ownership="none">
13346
<type name="none" c:type="void"/>
13349
<parameter name="function"
13350
transfer-ownership="none"
13353
<type name="FilterFunc" c:type="GdkFilterFunc"/>
13355
<parameter name="data" transfer-ownership="none">
13356
<type name="any" c:type="gpointer"/>
13360
<method name="scroll"
13361
c:identifier="gdk_window_scroll"
13362
doc="Scroll the contents of @window, both pixels and children, by the
13363
given amount. @window itself does not move. Portions of the window
13364
that the scroll operation brings in from offscreen areas are
13365
invalidated. The invalidated region may be bigger than what would
13366
strictly be necessary.
13367
For X11, a minimum area will be invalidated if the window has no
13368
subwindows, or if the edges of the window's parent do not extend
13369
beyond the edges of the window. In other cases, a multi-step process
13370
is used to scroll the window which may produce temporary visual
13371
artifacts and unnecessary invalidations.">
13372
<return-value transfer-ownership="none">
13373
<type name="none" c:type="void"/>
13376
<parameter name="dx" transfer-ownership="none">
13377
<type name="int" c:type="gint"/>
13379
<parameter name="dy" transfer-ownership="none">
13380
<type name="int" c:type="gint"/>
13384
<method name="move_region"
13385
c:identifier="gdk_window_move_region"
13386
doc="Move the part of @window indicated by @region by @dy pixels in the Y
13387
direction and @dx pixels in the X direction. The portions of @region
13388
that not covered by the new position of @region are invalidated.
13389
Child windows are not moved."
13391
<return-value transfer-ownership="none">
13392
<type name="none" c:type="void"/>
13395
<parameter name="region" transfer-ownership="none">
13396
<type name="Region" c:type="GdkRegion*"/>
13398
<parameter name="dx" transfer-ownership="none">
13399
<type name="int" c:type="gint"/>
13401
<parameter name="dy" transfer-ownership="none">
13402
<type name="int" c:type="gint"/>
13406
<method name="ensure_native"
13407
c:identifier="gdk_window_ensure_native"
13408
doc="Tries to ensure that there is a window-system native window for this
13409
GdkWindow. This may fail in some situations, returning %FALSE.
13410
Offscreen window and children of them can never have native windows.
13411
Some backends may not support native child windows."
13413
<return-value transfer-ownership="none">
13414
<type name="boolean" c:type="gboolean"/>
13417
<method name="shape_combine_mask"
13418
c:identifier="gdk_window_shape_combine_mask"
13419
doc="Applies a shape mask to @window. Pixels in @window corresponding to
13420
set bits in the @mask will be visible; pixels in @window
13421
corresponding to unset bits in the @mask will be transparent. This
13422
gives a non-rectangular window.
13423
If @mask is %NULL, the shape mask will be unset, and the @x/@y
13424
parameters are not used.
13425
On the X11 platform, this uses an X server extension which is
13426
widely available on most common platforms, but not available on
13427
very old X servers, and occasionally the implementation will be
13428
buggy. On servers without the shape extension, this function
13430
This function works on both toplevel and child windows.">
13431
<return-value transfer-ownership="none">
13432
<type name="none" c:type="void"/>
13435
<parameter name="mask" transfer-ownership="none">
13436
<type name="Bitmap" c:type="GdkBitmap*"/>
13438
<parameter name="x" transfer-ownership="none">
13439
<type name="int" c:type="gint"/>
13441
<parameter name="y" transfer-ownership="none">
13442
<type name="int" c:type="gint"/>
13446
<method name="shape_combine_region"
13447
c:identifier="gdk_window_shape_combine_region"
13448
doc="Makes pixels in @window outside @shape_region be transparent,
13449
so that the window may be nonrectangular. See also
13450
gdk_window_shape_combine_mask() to use a bitmap as the mask.
13451
If @shape_region is %NULL, the shape will be unset, so the whole
13452
window will be opaque again. @offset_x and @offset_y are ignored
13453
if @shape_region is %NULL.
13454
On the X11 platform, this uses an X server extension which is
13455
widely available on most common platforms, but not available on
13456
very old X servers, and occasionally the implementation will be
13457
buggy. On servers without the shape extension, this function
13459
This function works on both toplevel and child windows.">
13460
<return-value transfer-ownership="none">
13461
<type name="none" c:type="void"/>
13464
<parameter name="shape_region" transfer-ownership="none">
13465
<type name="Region" c:type="GdkRegion*"/>
13467
<parameter name="offset_x" transfer-ownership="none">
13468
<type name="int" c:type="gint"/>
13470
<parameter name="offset_y" transfer-ownership="none">
13471
<type name="int" c:type="gint"/>
13475
<method name="set_child_shapes"
13476
c:identifier="gdk_window_set_child_shapes"
13477
doc="Sets the shape mask of @window to the union of shape masks
13478
for all children of @window, ignoring the shape mask of @window
13479
itself. Contrast with gdk_window_merge_child_shapes() which includes
13480
the shape mask of @window in the masks to be merged.">
13481
<return-value transfer-ownership="none">
13482
<type name="none" c:type="void"/>
13485
<method name="get_composited"
13486
c:identifier="gdk_window_get_composited"
13487
doc="Determines whether @window is composited.
13488
See gdk_window_set_composited()."
13490
<return-value transfer-ownership="none">
13491
<type name="boolean" c:type="gboolean"/>
13494
<method name="set_composited"
13495
c:identifier="gdk_window_set_composited"
13496
doc="Sets a #GdkWindow as composited, or unsets it. Composited
13497
windows do not automatically have their contents drawn to
13498
the screen. Drawing is redirected to an offscreen buffer
13499
and an expose event is emitted on the parent of the composited
13500
window. It is the responsibility of the parent's expose handler
13501
to manually merge the off-screen content onto the screen in
13502
whatever way it sees fit. See <xref linkend="composited-window-example"/>
13504
It only makes sense for child windows to be composited; see
13505
gdk_window_set_opacity() if you need translucent toplevel
13507
An additional effect of this call is that the area of this
13508
window is no longer clipped from regions marked for
13509
invalidation on its parent. Draws done on the parent
13510
window are also no longer clipped by the child.
13511
This call is only supported on some systems (currently,
13512
only X11 with new enough Xcomposite and Xdamage extensions).
13513
You must call gdk_display_supports_composite() to check if
13514
setting a window as composited is supported before
13515
attempting to do so."
13517
<return-value transfer-ownership="none">
13518
<type name="none" c:type="void"/>
13521
<parameter name="composited" transfer-ownership="none">
13522
<type name="boolean" c:type="gboolean"/>
13526
<method name="merge_child_shapes"
13527
c:identifier="gdk_window_merge_child_shapes"
13528
doc="Merges the shape masks for any child windows into the
13529
shape mask for @window. i.e. the union of all masks
13530
for @window and its children will become the new mask
13531
for @window. See gdk_window_shape_combine_mask().
13532
This function is distinct from gdk_window_set_child_shapes()
13533
because it includes @window's shape mask in the set of shapes to
13535
<return-value transfer-ownership="none">
13536
<type name="none" c:type="void"/>
13539
<method name="input_shape_combine_mask"
13540
c:identifier="gdk_window_input_shape_combine_mask"
13541
doc="Like gdk_window_shape_combine_mask(), but the shape applies
13542
only to event handling. Mouse events which happen while
13543
the pointer position corresponds to an unset bit in the
13544
mask will be passed on the window below @window.
13545
An input shape is typically used with RGBA windows.
13546
The alpha channel of the window defines which pixels are
13547
invisible and allows for nicely antialiased borders,
13548
and the input shape controls where the window is
13549
"clickable".
13550
On the X11 platform, this requires version 1.1 of the
13552
On the Win32 platform, this functionality is not present and the
13553
function does nothing."
13555
<return-value transfer-ownership="none">
13556
<type name="none" c:type="void"/>
13559
<parameter name="mask"
13560
transfer-ownership="none"
13562
doc="shape mask, or %NULL">
13563
<type name="Bitmap" c:type="GdkBitmap*"/>
13565
<parameter name="x" transfer-ownership="none">
13566
<type name="int" c:type="gint"/>
13568
<parameter name="y" transfer-ownership="none">
13569
<type name="int" c:type="gint"/>
13573
<method name="input_shape_combine_region"
13574
c:identifier="gdk_window_input_shape_combine_region"
13575
doc="Like gdk_window_shape_combine_region(), but the shape applies
13576
only to event handling. Mouse events which happen while
13577
the pointer position corresponds to an unset bit in the
13578
mask will be passed on the window below @window.
13579
An input shape is typically used with RGBA windows.
13580
The alpha channel of the window defines which pixels are
13581
invisible and allows for nicely antialiased borders,
13582
and the input shape controls where the window is
13583
"clickable".
13584
On the X11 platform, this requires version 1.1 of the
13586
On the Win32 platform, this functionality is not present and the
13587
function does nothing."
13589
<return-value transfer-ownership="none">
13590
<type name="none" c:type="void"/>
13593
<parameter name="shape_region" transfer-ownership="none">
13594
<type name="Region" c:type="GdkRegion*"/>
13596
<parameter name="offset_x" transfer-ownership="none">
13597
<type name="int" c:type="gint"/>
13599
<parameter name="offset_y" transfer-ownership="none">
13600
<type name="int" c:type="gint"/>
13604
<method name="set_child_input_shapes"
13605
c:identifier="gdk_window_set_child_input_shapes"
13606
doc="Sets the input shape mask of @window to the union of input shape masks
13607
for all children of @window, ignoring the input shape mask of @window
13608
itself. Contrast with gdk_window_merge_child_input_shapes() which includes
13609
the input shape mask of @window in the masks to be merged."
13611
<return-value transfer-ownership="none">
13612
<type name="none" c:type="void"/>
13615
<method name="merge_child_input_shapes"
13616
c:identifier="gdk_window_merge_child_input_shapes"
13617
doc="Merges the input shape masks for any child windows into the
13618
input shape mask for @window. i.e. the union of all input masks
13619
for @window and its children will become the new input mask
13620
for @window. See gdk_window_input_shape_combine_mask().
13621
This function is distinct from gdk_window_set_child_input_shapes()
13622
because it includes @window's input shape mask in the set of
13623
shapes to be merged."
13625
<return-value transfer-ownership="none">
13626
<type name="none" c:type="void"/>
13629
<method name="is_visible"
13630
c:identifier="gdk_window_is_visible"
13631
doc="Checks whether the window has been mapped (with gdk_window_show() or
13632
gdk_window_show_unraised()).">
13633
<return-value transfer-ownership="none">
13634
<type name="boolean" c:type="gboolean"/>
13637
<method name="is_viewable"
13638
c:identifier="gdk_window_is_viewable"
13639
doc="Check if the window and all ancestors of the window are
13640
mapped. (This is not necessarily "viewable" in the X sense, since
13641
we only check as far as we have GDK window parents, not to the root
13643
<return-value transfer-ownership="none">
13644
<type name="boolean" c:type="gboolean"/>
13647
<method name="is_input_only"
13648
c:identifier="gdk_window_is_input_only"
13649
doc="Determines whether or not the window is an input only window."
13651
<return-value transfer-ownership="none">
13652
<type name="boolean" c:type="gboolean"/>
13655
<method name="is_shaped"
13656
c:identifier="gdk_window_is_shaped"
13657
doc="Determines whether or not the window is shaped."
13659
<return-value transfer-ownership="none">
13660
<type name="boolean" c:type="gboolean"/>
13663
<method name="get_state"
13664
c:identifier="gdk_window_get_state"
13665
doc="Gets the bitwise OR of the currently active window state flags,
13666
from the #GdkWindowState enumeration.">
13667
<return-value transfer-ownership="full">
13668
<type name="WindowState" c:type="GdkWindowState"/>
13671
<method name="set_static_gravities"
13672
c:identifier="gdk_window_set_static_gravities"
13673
doc="Set the bit gravity of the given window to static, and flag it so
13674
all children get static subwindow gravity. This is used if you are
13675
implementing scary features that involve deep knowledge of the
13676
windowing system. Don't worry about it unless you have to.">
13677
<return-value transfer-ownership="none">
13678
<type name="boolean" c:type="gboolean"/>
13681
<parameter name="use_static" transfer-ownership="none">
13682
<type name="boolean" c:type="gboolean"/>
13686
<method name="set_hints"
13687
c:identifier="gdk_window_set_hints"
13688
doc="This function is broken and useless and you should ignore it.
13689
If using GTK+, use functions such as gtk_window_resize(), gtk_window_set_size_request(),
13690
gtk_window_move(), gtk_window_parse_geometry(), and gtk_window_set_geometry_hints(),
13691
depending on what you're trying to do.
13692
If using GDK directly, use gdk_window_set_geometry_hints().">
13693
<return-value transfer-ownership="none">
13694
<type name="none" c:type="void"/>
13697
<parameter name="x" transfer-ownership="none">
13698
<type name="int" c:type="gint"/>
13700
<parameter name="y" transfer-ownership="none">
13701
<type name="int" c:type="gint"/>
13703
<parameter name="min_width" transfer-ownership="none">
13704
<type name="int" c:type="gint"/>
13706
<parameter name="min_height" transfer-ownership="none">
13707
<type name="int" c:type="gint"/>
13709
<parameter name="max_width" transfer-ownership="none">
13710
<type name="int" c:type="gint"/>
13712
<parameter name="max_height" transfer-ownership="none">
13713
<type name="int" c:type="gint"/>
13715
<parameter name="flags" transfer-ownership="none">
13716
<type name="int" c:type="gint"/>
13720
<method name="set_type_hint"
13721
c:identifier="gdk_window_set_type_hint"
13722
doc="The application can use this call to provide a hint to the window
13723
manager about the functionality of a window. The window manager
13724
can use this information when determining the decoration and behaviour
13726
The hint must be set before the window is mapped.">
13727
<return-value transfer-ownership="none">
13728
<type name="none" c:type="void"/>
13731
<parameter name="hint" transfer-ownership="none">
13732
<type name="WindowTypeHint" c:type="GdkWindowTypeHint"/>
13736
<method name="get_type_hint"
13737
c:identifier="gdk_window_get_type_hint"
13738
doc="This function returns the type hint set for a window."
13740
<return-value transfer-ownership="full">
13741
<type name="WindowTypeHint" c:type="GdkWindowTypeHint"/>
13744
<method name="get_modal_hint"
13745
c:identifier="gdk_window_get_modal_hint"
13746
doc="Determines whether or not the window manager is hinted that @window
13747
has modal behaviour."
13749
<return-value transfer-ownership="none">
13750
<type name="boolean" c:type="gboolean"/>
13753
<method name="set_modal_hint"
13754
c:identifier="gdk_window_set_modal_hint"
13755
doc="The application can use this hint to tell the window manager
13756
that a certain window has modal behaviour. The window manager
13757
can use this information to handle modal windows in a special
13759
You should only use this on windows for which you have
13760
previously called gdk_window_set_transient_for()">
13761
<return-value transfer-ownership="none">
13762
<type name="none" c:type="void"/>
13765
<parameter name="modal" transfer-ownership="none">
13766
<type name="boolean" c:type="gboolean"/>
13770
<method name="set_skip_taskbar_hint"
13771
c:identifier="gdk_window_set_skip_taskbar_hint"
13772
doc="Toggles whether a window should appear in a task list or window
13773
list. If a window's semantic type as specified with
13774
gdk_window_set_type_hint() already fully describes the window, this
13775
function should <emphasis>not</emphasis> be called in addition,
13776
instead you should allow the window to be treated according to
13777
standard policy for its semantic type."
13779
<return-value transfer-ownership="none">
13780
<type name="none" c:type="void"/>
13783
<parameter name="skips_taskbar" transfer-ownership="none">
13784
<type name="boolean" c:type="gboolean"/>
13788
<method name="set_skip_pager_hint"
13789
c:identifier="gdk_window_set_skip_pager_hint"
13790
doc="Toggles whether a window should appear in a pager (workspace
13791
switcher, or other desktop utility program that displays a small
13792
thumbnail representation of the windows on the desktop). If a
13793
window's semantic type as specified with gdk_window_set_type_hint()
13794
already fully describes the window, this function should
13795
<emphasis>not</emphasis> be called in addition, instead you should
13796
allow the window to be treated according to standard policy for
13797
its semantic type."
13799
<return-value transfer-ownership="none">
13800
<type name="none" c:type="void"/>
13803
<parameter name="skips_pager" transfer-ownership="none">
13804
<type name="boolean" c:type="gboolean"/>
13808
<method name="set_urgency_hint"
13809
c:identifier="gdk_window_set_urgency_hint"
13810
doc="Toggles whether a window needs the user's
13813
<return-value transfer-ownership="none">
13814
<type name="none" c:type="void"/>
13817
<parameter name="urgent" transfer-ownership="none">
13818
<type name="boolean" c:type="gboolean"/>
13822
<method name="set_geometry_hints"
13823
c:identifier="gdk_window_set_geometry_hints"
13824
doc="Sets the geometry hints for @window. Hints flagged in @geom_mask
13825
are set, hints not flagged in @geom_mask are unset.
13826
To unset all hints, use a @geom_mask of 0 and a @geometry of %NULL.
13827
This function provides hints to the windowing system about
13828
acceptable sizes for a toplevel window. The purpose of
13829
this is to constrain user resizing, but the windowing system
13830
will typically (but is not required to) also constrain the
13831
current size of the window to the provided values and
13832
constrain programatic resizing via gdk_window_resize() or
13833
gdk_window_move_resize().
13834
Note that on X11, this effect has no effect on windows
13835
of type %GDK_WINDOW_TEMP or windows where override redirect
13836
has been turned on via gdk_window_set_override_redirect()
13837
since these windows are not resizable by the user.
13838
Since you can't count on the windowing system doing the
13839
constraints for programmatic resizes, you should generally
13840
call gdk_window_constrain_size() yourself to determine
13841
appropriate sizes.">
13842
<return-value transfer-ownership="none">
13843
<type name="none" c:type="void"/>
13846
<parameter name="geometry" transfer-ownership="none">
13847
<type name="Geometry" c:type="GdkGeometry*"/>
13849
<parameter name="geom_mask" transfer-ownership="none">
13850
<type name="WindowHints" c:type="GdkWindowHints"/>
13854
<method name="begin_paint_rect"
13855
c:identifier="gdk_window_begin_paint_rect"
13856
doc="A convenience wrapper around gdk_window_begin_paint_region() which
13857
creates a rectangular region for you. See
13858
gdk_window_begin_paint_region() for details.">
13859
<return-value transfer-ownership="none">
13860
<type name="none" c:type="void"/>
13863
<parameter name="rectangle" transfer-ownership="none">
13864
<type name="Rectangle" c:type="GdkRectangle*"/>
13868
<method name="begin_paint_region"
13869
c:identifier="gdk_window_begin_paint_region"
13870
doc="Indicates that you are beginning the process of redrawing @region.
13871
A backing store (offscreen buffer) large enough to contain @region
13872
will be created. The backing store will be initialized with the
13873
background color or background pixmap for @window. Then, all
13874
drawing operations performed on @window will be diverted to the
13875
backing store. When you call gdk_window_end_paint(), the backing
13876
store will be copied to @window, making it visible onscreen. Only
13877
the part of @window contained in @region will be modified; that is,
13878
drawing operations are clipped to @region.
13879
The net result of all this is to remove flicker, because the user
13880
sees the finished product appear all at once when you call
13881
gdk_window_end_paint(). If you draw to @window directly without
13882
calling gdk_window_begin_paint_region(), the user may see flicker
13883
as individual drawing operations are performed in sequence. The
13884
clipping and background-initializing features of
13885
gdk_window_begin_paint_region() are conveniences for the
13886
programmer, so you can avoid doing that work yourself.
13887
When using GTK+, the widget system automatically places calls to
13888
gdk_window_begin_paint_region() and gdk_window_end_paint() around
13889
emissions of the expose_event signal. That is, if you're writing an
13890
expose event handler, you can assume that the exposed area in
13891
#GdkEventExpose has already been cleared to the window background,
13892
is already set as the clip region, and already has a backing store.
13893
Therefore in most cases, application code need not call
13894
gdk_window_begin_paint_region(). (You can disable the automatic
13895
calls around expose events on a widget-by-widget basis by calling
13896
gtk_widget_set_double_buffered().)
13897
If you call this function multiple times before calling the
13898
matching gdk_window_end_paint(), the backing stores are pushed onto
13899
a stack. gdk_window_end_paint() copies the topmost backing store
13900
onscreen, subtracts the topmost region from all other regions in
13901
the stack, and pops the stack. All drawing operations affect only
13902
the topmost backing store in the stack. One matching call to
13903
gdk_window_end_paint() is required for each call to
13904
gdk_window_begin_paint_region().">
13905
<return-value transfer-ownership="none">
13906
<type name="none" c:type="void"/>
13909
<parameter name="region" transfer-ownership="none">
13910
<type name="Region" c:type="GdkRegion*"/>
13914
<method name="end_paint"
13915
c:identifier="gdk_window_end_paint"
13916
doc="Indicates that the backing store created by the most recent call to
13917
gdk_window_begin_paint_region() should be copied onscreen and
13918
deleted, leaving the next-most-recent backing store or no backing
13919
store at all as the active paint region. See
13920
gdk_window_begin_paint_region() for full details. It is an error to
13921
call this function without a matching
13922
gdk_window_begin_paint_region() first.">
13923
<return-value transfer-ownership="none">
13924
<type name="none" c:type="void"/>
13927
<method name="flush"
13928
c:identifier="gdk_window_flush"
13929
doc="Flush all outstanding cached operations on a window, leaving the
13930
window in a state which reflects all that has been drawn before.
13931
Gdk uses multiple kinds of caching to get better performance and
13932
nicer drawing. For instance, during exposes all paints to a window
13933
using double buffered rendering are keep on a pixmap until the last
13934
window has been exposed. It also delays window moves/scrolls until
13935
as long as possible until next update to avoid tearing when moving
13937
Normally this should be completely invisible to applications, as
13938
we automatically flush the windows when required, but this might
13939
be needed if you for instance mix direct native drawing with
13940
gdk drawing. For Gtk widgets that don't use double buffering this
13941
will be called automatically before sending the expose event."
13943
<return-value transfer-ownership="none">
13944
<type name="none" c:type="void"/>
13947
<method name="set_title"
13948
c:identifier="gdk_window_set_title"
13949
doc="Sets the title of a toplevel window, to be displayed in the titlebar.
13950
If you haven't explicitly set the icon name for the window
13951
(using gdk_window_set_icon_name()), the icon name will be set to
13952
user-readable strings in GDK/GTK+). @title may not be %NULL.">
13953
<return-value transfer-ownership="none">
13954
<type name="none" c:type="void"/>
13957
<parameter name="title" transfer-ownership="none">
13958
<type name="utf8" c:type="gchar*"/>
13962
<method name="set_role"
13963
c:identifier="gdk_window_set_role"
13964
doc="When using GTK+, typically you should use gtk_window_set_role() instead
13965
of this low-level function.
13966
The window manager and session manager use a window's role to
13967
distinguish it from other kinds of window in the same application.
13968
When an application is restarted after being saved in a previous
13969
session, all windows with the same title and role are treated as
13970
interchangeable. So if you have two windows with the same title
13971
that should be distinguished for session management purposes, you
13972
should set the role on those windows. It doesn't matter what string
13973
you use for the role, as long as you have a different role for each
13974
non-interchangeable kind of window.">
13975
<return-value transfer-ownership="none">
13976
<type name="none" c:type="void"/>
13979
<parameter name="role" transfer-ownership="none">
13980
<type name="utf8" c:type="gchar*"/>
13984
<method name="set_startup_id"
13985
c:identifier="gdk_window_set_startup_id"
13986
doc="When using GTK+, typically you should use gtk_window_set_startup_id()
13987
instead of this low-level function."
13989
<return-value transfer-ownership="none">
13990
<type name="none" c:type="void"/>
13993
<parameter name="startup_id" transfer-ownership="none">
13994
<type name="utf8" c:type="gchar*"/>
13998
<method name="set_transient_for"
13999
c:identifier="gdk_window_set_transient_for"
14000
doc="Indicates to the window manager that @window is a transient dialog
14001
associated with the application window @parent. This allows the
14002
window manager to do things like center @window on @parent and
14003
keep @window above @parent.
14004
See gtk_window_set_transient_for() if you're using #GtkWindow or
14006
<return-value transfer-ownership="none">
14007
<type name="none" c:type="void"/>
14010
<parameter name="parent" transfer-ownership="none">
14011
<type name="Window" c:type="GdkWindow*"/>
14015
<method name="get_background"
14016
c:identifier="gdk_window_get_background"
14017
doc="Sets @color to equal the current background color of @window."
14019
<return-value transfer-ownership="none">
14020
<type name="none" c:type="void"/>
14023
<parameter name="color"
14025
caller-allocates="1"
14026
transfer-ownership="none"
14027
doc="a #GdkColor to be filled in">
14028
<type name="Color" c:type="GdkColor*"/>
14032
<method name="set_background"
14033
c:identifier="gdk_window_set_background"
14034
doc="Sets the background color of @window. (However, when using GTK+,
14035
set the background of a widget with gtk_widget_modify_bg() - if
14036
you're an application - or gtk_style_set_background() - if you're
14037
implementing a custom widget.)
14038
The @color must be allocated; gdk_rgb_find_color() is the best way
14039
to allocate a color.
14040
See also gdk_window_set_background_pixmap().">
14041
<return-value transfer-ownership="none">
14042
<type name="none" c:type="void"/>
14045
<parameter name="color" transfer-ownership="none">
14046
<type name="Color" c:type="GdkColor*"/>
14050
<method name="get_back_pixmap"
14051
c:identifier="gdk_window_get_back_pixmap"
14052
doc="Sets @pixmap to the current background pixmap of @window. You do not
14053
own the pointer that is returned and this pointer should not be freeed
14054
or unreferenced. Sets @parent_relative to %TRUE if the tiling is done
14055
based on the origin of the parent window."
14057
<return-value transfer-ownership="none">
14058
<type name="none" c:type="void"/>
14061
<parameter name="pixmap"
14063
caller-allocates="0"
14064
transfer-ownership="full"
14066
doc="a #GdkPixmap to be filled in, or %NULL.">
14067
<type name="Pixmap" c:type="GdkPixmap**"/>
14069
<parameter name="parent_relative"
14071
caller-allocates="0"
14072
transfer-ownership="full"
14074
doc="a pointer to a #gboolean to be filled in, or %NULL.">
14075
<type name="boolean" c:type="gboolean*"/>
14079
<method name="set_back_pixmap"
14080
c:identifier="gdk_window_set_back_pixmap"
14081
doc="Sets the background pixmap of @window. May also be used to set a
14082
background of "None" on @window, by setting a background pixmap
14084
A background pixmap will be tiled, positioning the first tile at
14085
the origin of @window, or if @parent_relative is %TRUE, the tiling
14086
will be done based on the origin of the parent window (useful to
14087
align tiles in a parent with tiles in a child).
14088
A background pixmap of %NULL means that the window will have no
14089
background. A window with no background will never have its
14090
background filled by the windowing system, instead the window will
14091
contain whatever pixels were already in the corresponding area of
14093
The windowing system will normally fill a window with its background
14094
when the window is obscured then exposed, and when you call
14095
gdk_window_clear().">
14096
<return-value transfer-ownership="none">
14097
<type name="none" c:type="void"/>
14100
<parameter name="pixmap"
14101
transfer-ownership="none"
14103
doc="a #GdkPixmap, or %NULL">
14104
<type name="Pixmap" c:type="GdkPixmap*"/>
14106
<parameter name="parent_relative" transfer-ownership="none">
14107
<type name="boolean" c:type="gboolean"/>
14111
<method name="set_cursor"
14112
c:identifier="gdk_window_set_cursor"
14113
doc="Sets the mouse pointer for a #GdkWindow. Use gdk_cursor_new_for_display()
14114
or gdk_cursor_new_from_pixmap() to create the cursor. To make the cursor
14115
invisible, use %GDK_BLANK_CURSOR. Passing %NULL for the @cursor argument
14116
to gdk_window_set_cursor() means that @window will use the cursor of its
14117
parent window. Most windows should use this default.">
14118
<return-value transfer-ownership="none">
14119
<type name="none" c:type="void"/>
14122
<parameter name="cursor" transfer-ownership="none">
14123
<type name="Cursor" c:type="GdkCursor*"/>
14127
<method name="get_cursor"
14128
c:identifier="gdk_window_get_cursor"
14129
doc="Retrieves a #GdkCursor pointer for the cursor currently set on the
14130
specified #GdkWindow, or %NULL. If the return value is %NULL then
14131
there is no custom cursor set on the specified window, and it is
14132
using the cursor for its parent window.
14133
by the #GdkWindow and should not be unreferenced directly. Use
14134
gdk_window_set_cursor() to unset the cursor of the window"
14136
<return-value transfer-ownership="full">
14137
<type name="Cursor" c:type="GdkCursor*"/>
14140
<method name="get_user_data"
14141
c:identifier="gdk_window_get_user_data"
14142
doc="Retrieves the user data for @window, which is normally the widget
14143
that @window belongs to. See gdk_window_set_user_data().">
14144
<return-value transfer-ownership="none">
14145
<type name="none" c:type="void"/>
14148
<parameter name="data" transfer-ownership="none">
14149
<type name="any" c:type="gpointer*"/>
14153
<method name="get_geometry"
14154
c:identifier="gdk_window_get_geometry"
14155
doc="Any of the return location arguments to this function may be %NULL,
14156
if you aren't interested in getting the value of that field.
14157
The X and Y coordinates returned are relative to the parent window
14158
of @window, which for toplevels usually means relative to the
14159
window decorations (titlebar, etc.) rather than relative to the
14160
root window (screen-size background window).
14161
On the X11 platform, the geometry is obtained from the X server,
14162
so reflects the latest position of @window; this may be out-of-sync
14163
with the position of @window delivered in the most-recently-processed
14164
#GdkEventConfigure. gdk_window_get_position() in contrast gets the
14165
position from the most recent configure event.
14167
If @window is not a toplevel, it is <emphasis>much</emphasis> better
14168
to call gdk_window_get_position() and gdk_drawable_get_size() instead,
14169
because it avoids the roundtrip to the X server and because
14170
gdk_drawable_get_size() supports the full 32-bit coordinate space,
14171
whereas gdk_window_get_geometry() is restricted to the 16-bit
14172
coordinates of X11.
14174
<return-value transfer-ownership="none">
14175
<type name="none" c:type="void"/>
14178
<parameter name="x"
14180
caller-allocates="0"
14181
transfer-ownership="full">
14182
<type name="int" c:type="gint*"/>
14184
<parameter name="y"
14186
caller-allocates="0"
14187
transfer-ownership="full">
14188
<type name="int" c:type="gint*"/>
14190
<parameter name="width"
14192
caller-allocates="0"
14193
transfer-ownership="full">
14194
<type name="int" c:type="gint*"/>
14196
<parameter name="height"
14198
caller-allocates="0"
14199
transfer-ownership="full">
14200
<type name="int" c:type="gint*"/>
14202
<parameter name="depth"
14204
caller-allocates="0"
14205
transfer-ownership="full">
14206
<type name="int" c:type="gint*"/>
14210
<method name="get_position"
14211
c:identifier="gdk_window_get_position"
14212
doc="Obtains the position of the window as reported in the
14213
most-recently-processed #GdkEventConfigure. Contrast with
14214
gdk_window_get_geometry() which queries the X server for the
14215
current window position, regardless of which events have been
14216
received or processed.
14217
The position coordinates are relative to the window's parent window.">
14218
<return-value transfer-ownership="none">
14219
<type name="none" c:type="void"/>
14222
<parameter name="x"
14224
caller-allocates="0"
14225
transfer-ownership="full">
14226
<type name="int" c:type="gint*"/>
14228
<parameter name="y"
14230
caller-allocates="0"
14231
transfer-ownership="full">
14232
<type name="int" c:type="gint*"/>
14236
<method name="get_origin"
14237
c:identifier="gdk_window_get_origin"
14238
doc="Obtains the position of a window in root window coordinates.
14239
(Compare with gdk_window_get_position() and
14240
gdk_window_get_geometry() which return the position of a window
14241
relative to its parent window.)">
14242
<return-value transfer-ownership="none">
14243
<type name="int" c:type="gint"/>
14246
<parameter name="x"
14248
caller-allocates="0"
14249
transfer-ownership="full">
14250
<type name="int" c:type="gint*"/>
14252
<parameter name="y"
14254
caller-allocates="0"
14255
transfer-ownership="full">
14256
<type name="int" c:type="gint*"/>
14260
<method name="get_root_coords"
14261
c:identifier="gdk_window_get_root_coords"
14262
doc="Obtains the position of a window position in root
14263
window coordinates. This is similar to
14264
gdk_window_get_origin() but allows you go pass
14265
in any position in the window, not just the origin."
14267
<return-value transfer-ownership="none">
14268
<type name="none" c:type="void"/>
14271
<parameter name="x" transfer-ownership="none">
14272
<type name="int" c:type="gint"/>
14274
<parameter name="y" transfer-ownership="none">
14275
<type name="int" c:type="gint"/>
14277
<parameter name="root_x"
14279
caller-allocates="0"
14280
transfer-ownership="full">
14281
<type name="int" c:type="gint*"/>
14283
<parameter name="root_y"
14285
caller-allocates="0"
14286
transfer-ownership="full">
14287
<type name="int" c:type="gint*"/>
14291
<method name="coords_to_parent"
14292
c:identifier="gdk_window_coords_to_parent"
14293
doc="Transforms window coordinates from a child window to its parent
14294
window, where the parent window is the normal parent as returned by
14295
gdk_window_get_parent() for normal windows, and the window's
14296
embedder as returned by gdk_offscreen_window_get_embedder() for
14298
For normal windows, calling this function is equivalent to adding
14299
the return values of gdk_window_get_position() to the child coordinates.
14300
For offscreen windows however (which can be arbitrarily transformed),
14302
You should always use this function when writing generic code that
14303
walks up a window hierarchy."
14305
<return-value transfer-ownership="none">
14306
<type name="none" c:type="void"/>
14309
<parameter name="x" transfer-ownership="none">
14310
<type name="double" c:type="gdouble"/>
14312
<parameter name="y" transfer-ownership="none">
14313
<type name="double" c:type="gdouble"/>
14315
<parameter name="parent_x"
14317
caller-allocates="0"
14318
transfer-ownership="full"
14320
doc="return location for X coordinate in parent's coordinate system, or %NULL">
14321
<type name="double" c:type="gdouble*"/>
14323
<parameter name="parent_y"
14325
caller-allocates="0"
14326
transfer-ownership="full"
14328
doc="return location for Y coordinate in parent's coordinate system, or %NULL">
14329
<type name="double" c:type="gdouble*"/>
14333
<method name="coords_from_parent"
14334
c:identifier="gdk_window_coords_from_parent"
14335
doc="Transforms window coordinates from a parent window to a child
14336
window, where the parent window is the normal parent as returned by
14337
gdk_window_get_parent() for normal windows, and the window's
14338
embedder as returned by gdk_offscreen_window_get_embedder() for
14340
For normal windows, calling this function is equivalent to subtracting
14341
the return values of gdk_window_get_position() from the parent coordinates.
14342
For offscreen windows however (which can be arbitrarily transformed),
14344
You should always use this function when writing generic code that
14345
walks down a window hierarchy."
14347
<return-value transfer-ownership="none">
14348
<type name="none" c:type="void"/>
14351
<parameter name="parent_x" transfer-ownership="none">
14352
<type name="double" c:type="gdouble"/>
14354
<parameter name="parent_y" transfer-ownership="none">
14355
<type name="double" c:type="gdouble"/>
14357
<parameter name="x"
14359
caller-allocates="0"
14360
transfer-ownership="full"
14362
doc="return location for X coordinate in child's coordinate system">
14363
<type name="double" c:type="gdouble*"/>
14365
<parameter name="y"
14367
caller-allocates="0"
14368
transfer-ownership="full"
14370
doc="return location for Y coordinate in child's coordinate system">
14371
<type name="double" c:type="gdouble*"/>
14375
<method name="get_deskrelative_origin"
14376
c:identifier="gdk_window_get_deskrelative_origin"
14377
doc="This gets the origin of a #GdkWindow relative to
14378
an Enlightenment-window-manager desktop. As long as you don't
14379
assume that the user's desktop/workspace covers the entire
14380
root window (i.e. you don't assume that the desktop begins
14381
at root window coordinate 0,0) this function is not necessary.
14382
It's deprecated for that reason.">
14383
<return-value transfer-ownership="none">
14384
<type name="boolean" c:type="gboolean"/>
14387
<parameter name="x"
14389
caller-allocates="0"
14390
transfer-ownership="full">
14391
<type name="int" c:type="gint*"/>
14393
<parameter name="y"
14395
caller-allocates="0"
14396
transfer-ownership="full">
14397
<type name="int" c:type="gint*"/>
14401
<method name="get_root_origin"
14402
c:identifier="gdk_window_get_root_origin"
14403
doc="Obtains the top-left corner of the window manager frame in root
14404
window coordinates.">
14405
<return-value transfer-ownership="none">
14406
<type name="none" c:type="void"/>
14409
<parameter name="x"
14411
caller-allocates="0"
14412
transfer-ownership="full">
14413
<type name="int" c:type="gint*"/>
14415
<parameter name="y"
14417
caller-allocates="0"
14418
transfer-ownership="full">
14419
<type name="int" c:type="gint*"/>
14423
<method name="get_frame_extents"
14424
c:identifier="gdk_window_get_frame_extents"
14425
doc="Obtains the bounding box of the window, including window manager
14426
titlebar/borders if any. The frame position is given in root window
14427
coordinates. To get the position of the window itself (rather than
14428
the frame) in root window coordinates, use gdk_window_get_origin().">
14429
<return-value transfer-ownership="none">
14430
<type name="none" c:type="void"/>
14433
<parameter name="rect" transfer-ownership="none">
14434
<type name="Rectangle" c:type="GdkRectangle*"/>
14438
<method name="get_pointer"
14439
c:identifier="gdk_window_get_pointer"
14440
doc="Obtains the current pointer position and modifier state.
14441
The position is given in coordinates relative to the upper left
14443
gdk_window_at_pointer()), or %NULL if the window containing the
14444
pointer isn't known to GDK">
14445
<return-value transfer-ownership="none"
14446
doc="the window containing the pointer (as with">
14447
<type name="Window" c:type="GdkWindow*"/>
14450
<parameter name="x"
14452
caller-allocates="0"
14453
transfer-ownership="full"
14455
doc="return location for X coordinate of pointer or %NULL to not return the X coordinate">
14456
<type name="int" c:type="gint*"/>
14458
<parameter name="y"
14460
caller-allocates="0"
14461
transfer-ownership="full"
14463
doc="return location for Y coordinate of pointer or %NULL to not return the Y coordinate">
14464
<type name="int" c:type="gint*"/>
14466
<parameter name="mask"
14468
caller-allocates="1"
14469
transfer-ownership="none"
14471
doc="return location for modifier mask or %NULL to not return the modifier mask">
14472
<type name="ModifierType" c:type="GdkModifierType*"/>
14476
<method name="get_parent"
14477
c:identifier="gdk_window_get_parent"
14478
doc="Obtains the parent of @window, as known to GDK. Does not query the
14479
X server; thus this returns the parent as passed to gdk_window_new(),
14480
not the actual parent. This should never matter unless you're using
14481
Xlib calls mixed with GDK calls on the X11 platform. It may also
14482
matter for toplevel windows, because the window manager may choose
14484
Note that you should use gdk_window_get_effective_parent() when
14485
writing generic code that walks up a window hierarchy, because
14486
gdk_window_get_parent() will most likely not do what you expect if
14487
there are offscreen windows in the hierarchy.">
14488
<return-value transfer-ownership="full">
14489
<type name="Window" c:type="GdkWindow*"/>
14492
<method name="get_toplevel"
14493
c:identifier="gdk_window_get_toplevel"
14494
doc="Gets the toplevel window that's an ancestor of @window.
14495
Any window type but %GDK_WINDOW_CHILD is considered a
14496
toplevel window, as is a %GDK_WINDOW_CHILD window that
14497
has a root window as parent.
14498
Note that you should use gdk_window_get_effective_toplevel() when
14499
you want to get to a window's toplevel as seen on screen, because
14500
gdk_window_get_toplevel() will most likely not do what you expect
14501
if there are offscreen windows in the hierarchy.">
14502
<return-value transfer-ownership="full">
14503
<type name="Window" c:type="GdkWindow*"/>
14506
<method name="get_effective_parent"
14507
c:identifier="gdk_window_get_effective_parent"
14508
doc="Obtains the parent of @window, as known to GDK. Works like
14509
gdk_window_get_parent() for normal windows, but returns the
14510
window's embedder for offscreen windows."
14512
<return-value transfer-ownership="full">
14513
<type name="Window" c:type="GdkWindow*"/>
14516
<method name="get_effective_toplevel"
14517
c:identifier="gdk_window_get_effective_toplevel"
14518
doc="Gets the toplevel window that's an ancestor of @window.
14519
Works like gdk_window_get_toplevel(), but treats an offscreen window's
14520
embedder as its parent, using gdk_window_get_effective_parent()."
14522
<return-value transfer-ownership="full">
14523
<type name="Window" c:type="GdkWindow*"/>
14526
<method name="get_children"
14527
c:identifier="gdk_window_get_children"
14528
doc="Gets the list of children of @window known to GDK.
14529
This function only returns children created via GDK,
14530
so for example it's useless when used with the root window;
14531
it only returns windows an application created itself.
14532
The returned list must be freed, but the elements in the
14533
list need not be.">
14534
<return-value transfer-ownership="full">
14535
<type name="GLib.List" c:type="GList*"/>
14538
<method name="peek_children"
14539
c:identifier="gdk_window_peek_children"
14540
doc="Like gdk_window_get_children(), but does not copy the list of
14541
children, so the list does not need to be freed.">
14542
<return-value transfer-ownership="full">
14543
<type name="GLib.List" c:type="GList*"/>
14546
<method name="get_events"
14547
c:identifier="gdk_window_get_events"
14548
doc="Gets the event mask for @window. See gdk_window_set_events().">
14549
<return-value transfer-ownership="full">
14550
<type name="EventMask" c:type="GdkEventMask"/>
14553
<method name="set_events"
14554
c:identifier="gdk_window_set_events"
14555
doc="The event mask for a window determines which events will be reported
14556
for that window. For example, an event mask including #GDK_BUTTON_PRESS_MASK
14557
means the window should report button press events. The event mask
14558
is the bitwise OR of values from the #GdkEventMask enumeration.">
14559
<return-value transfer-ownership="none">
14560
<type name="none" c:type="void"/>
14563
<parameter name="event_mask" transfer-ownership="none">
14564
<type name="EventMask" c:type="GdkEventMask"/>
14568
<method name="set_icon_list"
14569
c:identifier="gdk_window_set_icon_list"
14570
doc="Sets a list of icons for the window. One of these will be used
14571
to represent the window when it has been iconified. The icon is
14572
usually shown in an icon box or some sort of task bar. Which icon
14573
size is shown depends on the window manager. The window manager
14574
can scale the icon but setting several size icons can give better
14575
image quality since the window manager may only need to scale the
14576
icon by a small amount or not at all.">
14577
<return-value transfer-ownership="none">
14578
<type name="none" c:type="void"/>
14581
<parameter name="pixbufs" transfer-ownership="none">
14582
<type name="GLib.List" c:type="GList*"/>
14586
<method name="set_icon"
14587
c:identifier="gdk_window_set_icon"
14588
doc="Sets the icon of @window as a pixmap or window. If using GTK+, investigate
14589
gtk_window_set_default_icon_list() first, and then gtk_window_set_icon_list()
14590
and gtk_window_set_icon(). If those don't meet your needs, look at
14591
gdk_window_set_icon_list(). Only if all those are too high-level do you
14592
want to fall back to gdk_window_set_icon().">
14593
<return-value transfer-ownership="none">
14594
<type name="none" c:type="void"/>
14597
<parameter name="icon_window" transfer-ownership="none">
14598
<type name="Window" c:type="GdkWindow*"/>
14600
<parameter name="pixmap" transfer-ownership="none">
14601
<type name="Pixmap" c:type="GdkPixmap*"/>
14603
<parameter name="mask"
14604
transfer-ownership="none"
14605
doc="to use as mask for @pixmap, or %NULL to have none">
14606
<type name="Bitmap" c:type="GdkBitmap*"/>
14610
<method name="set_icon_name"
14611
c:identifier="gdk_window_set_icon_name"
14612
doc="Windows may have a name used while minimized, distinct from the
14613
name they display in their titlebar. Most of the time this is a bad
14614
idea from a user interface standpoint. But you can set such a name
14615
with this function, if you like.
14616
After calling this with a non-%NULL @name, calls to gdk_window_set_title()
14617
will not update the icon title.
14618
Using %NULL for @name unsets the icon title; further calls to
14619
gdk_window_set_title() will again update the icon title as well.">
14620
<return-value transfer-ownership="none">
14621
<type name="none" c:type="void"/>
14624
<parameter name="name" transfer-ownership="none">
14625
<type name="utf8" c:type="gchar*"/>
14629
<method name="set_group"
14630
c:identifier="gdk_window_set_group"
14631
doc="Sets the group leader window for @window. By default,
14632
GDK sets the group leader for all toplevel windows
14633
to a global window implicitly created by GDK. With this function
14634
you can override this default.
14635
The group leader window allows the window manager to distinguish
14636
all windows that belong to a single application. It may for example
14637
allow users to minimize/unminimize all windows belonging to an
14638
application at once. You should only set a non-default group window
14639
if your application pretends to be multiple applications.">
14640
<return-value transfer-ownership="none">
14641
<type name="none" c:type="void"/>
14644
<parameter name="leader" transfer-ownership="none">
14645
<type name="Window" c:type="GdkWindow*"/>
14649
<method name="get_group"
14650
c:identifier="gdk_window_get_group"
14651
doc="Returns the group leader window for @window. See gdk_window_set_group()."
14653
<return-value transfer-ownership="full">
14654
<type name="Window" c:type="GdkWindow*"/>
14657
<method name="set_decorations"
14658
c:identifier="gdk_window_set_decorations"
14659
doc=""Decorations" are the features the window manager adds to a toplevel #GdkWindow.
14660
This function sets the traditional Motif window manager hints that tell the
14661
window manager which decorations you would like your window to have.
14662
Usually you should use gtk_window_set_decorated() on a #GtkWindow instead of
14663
using the GDK function directly.
14664
The @decorations argument is the logical OR of the fields in
14665
the #GdkWMDecoration enumeration. If #GDK_DECOR_ALL is included in the
14666
mask, the other bits indicate which decorations should be turned off.
14667
If #GDK_DECOR_ALL is not included, then the other bits indicate
14668
which decorations should be turned on.
14669
Most window managers honor a decorations hint of 0 to disable all decorations,
14670
but very few honor all possible combinations of bits.">
14671
<return-value transfer-ownership="none">
14672
<type name="none" c:type="void"/>
14675
<parameter name="decorations" transfer-ownership="none">
14676
<type name="WMDecoration" c:type="GdkWMDecoration"/>
14680
<method name="get_decorations"
14681
c:identifier="gdk_window_get_decorations"
14682
doc="Returns the decorations set on the GdkWindow with #gdk_window_set_decorations">
14683
<return-value transfer-ownership="none">
14684
<type name="boolean" c:type="gboolean"/>
14687
<parameter name="decorations" transfer-ownership="none">
14688
<type name="WMDecoration" c:type="GdkWMDecoration*"/>
14692
<method name="set_functions"
14693
c:identifier="gdk_window_set_functions"
14694
doc="Sets hints about the window management functions to make available
14695
via buttons on the window frame.
14696
On the X backend, this function sets the traditional Motif window
14697
manager hint for this purpose. However, few window managers do
14698
anything reliable or interesting with this hint. Many ignore it
14700
The @functions argument is the logical OR of values from the
14701
#GdkWMFunction enumeration. If the bitmask includes #GDK_FUNC_ALL,
14702
then the other bits indicate which functions to disable; if
14703
it doesn't include #GDK_FUNC_ALL, it indicates which functions to
14705
<return-value transfer-ownership="none">
14706
<type name="none" c:type="void"/>
14709
<parameter name="functions" transfer-ownership="none">
14710
<type name="WMFunction" c:type="GdkWMFunction"/>
14714
<method name="beep"
14715
c:identifier="gdk_window_beep"
14716
doc="Emits a short beep associated to @window in the appropriate
14717
display, if supported. Otherwise, emits a short beep on
14718
the display just as gdk_display_beep()."
14720
<return-value transfer-ownership="none">
14721
<type name="none" c:type="void"/>
14724
<method name="iconify"
14725
c:identifier="gdk_window_iconify"
14726
doc="Asks to iconify (minimize) @window. The window manager may choose
14727
to ignore the request, but normally will honor it. Using
14728
gtk_window_iconify() is preferred, if you have a #GtkWindow widget.
14729
This function only makes sense when @window is a toplevel window.">
14730
<return-value transfer-ownership="none">
14731
<type name="none" c:type="void"/>
14734
<method name="deiconify"
14735
c:identifier="gdk_window_deiconify"
14736
doc="Attempt to deiconify (unminimize) @window. On X11 the window manager may
14737
choose to ignore the request to deiconify. When using GTK+,
14738
use gtk_window_deiconify() instead of the #GdkWindow variant. Or better yet,
14739
you probably want to use gtk_window_present(), which raises the window, focuses it,
14740
unminimizes it, and puts it on the current desktop.">
14741
<return-value transfer-ownership="none">
14742
<type name="none" c:type="void"/>
14745
<method name="stick"
14746
c:identifier="gdk_window_stick"
14747
doc=""Pins" a window such that it's on all workspaces and does not scroll
14748
with viewports, for window managers that have scrollable viewports.
14749
(When using #GtkWindow, gtk_window_stick() may be more useful.)
14750
On the X11 platform, this function depends on window manager
14751
support, so may have no effect with many window managers. However,
14752
GDK will do the best it can to convince the window manager to stick
14753
the window. For window managers that don't support this operation,
14754
there's nothing you can do to force it to happen.">
14755
<return-value transfer-ownership="none">
14756
<type name="none" c:type="void"/>
14759
<method name="unstick"
14760
c:identifier="gdk_window_unstick"
14761
doc="Reverse operation for gdk_window_stick(); see gdk_window_stick(),
14762
and gtk_window_unstick().">
14763
<return-value transfer-ownership="none">
14764
<type name="none" c:type="void"/>
14767
<method name="maximize"
14768
c:identifier="gdk_window_maximize"
14769
doc="Maximizes the window. If the window was already maximized, then
14770
this function does nothing.
14771
On X11, asks the window manager to maximize @window, if the window
14772
manager supports this operation. Not all window managers support
14773
this, and some deliberately ignore it or don't have a concept of
14774
"maximized"; so you can't rely on the maximization actually
14775
happening. But it will happen with most standard window managers,
14776
and GDK makes a best effort to get it to happen.
14777
On Windows, reliably maximizes the window.">
14778
<return-value transfer-ownership="none">
14779
<type name="none" c:type="void"/>
14782
<method name="unmaximize"
14783
c:identifier="gdk_window_unmaximize"
14784
doc="Unmaximizes the window. If the window wasn't maximized, then this
14785
function does nothing.
14786
On X11, asks the window manager to unmaximize @window, if the
14787
window manager supports this operation. Not all window managers
14788
support this, and some deliberately ignore it or don't have a
14789
concept of "maximized"; so you can't rely on the unmaximization
14790
actually happening. But it will happen with most standard window
14791
managers, and GDK makes a best effort to get it to happen.
14792
On Windows, reliably unmaximizes the window.">
14793
<return-value transfer-ownership="none">
14794
<type name="none" c:type="void"/>
14797
<method name="fullscreen"
14798
c:identifier="gdk_window_fullscreen"
14799
doc="Moves the window into fullscreen mode. This means the
14800
window covers the entire screen and is above any panels
14802
If the window was already fullscreen, then this function does nothing.
14803
On X11, asks the window manager to put @window in a fullscreen
14804
state, if the window manager supports this operation. Not all
14805
window managers support this, and some deliberately ignore it or
14806
don't have a concept of "fullscreen"; so you can't rely on the
14807
fullscreenification actually happening. But it will happen with
14808
most standard window managers, and GDK makes a best effort to get
14811
<return-value transfer-ownership="none">
14812
<type name="none" c:type="void"/>
14815
<method name="unfullscreen"
14816
c:identifier="gdk_window_unfullscreen"
14817
doc="Moves the window out of fullscreen mode. If the window was not
14818
fullscreen, does nothing.
14819
On X11, asks the window manager to move @window out of the fullscreen
14820
state, if the window manager supports this operation. Not all
14821
window managers support this, and some deliberately ignore it or
14822
don't have a concept of "fullscreen"; so you can't rely on the
14823
unfullscreenification actually happening. But it will happen with
14824
most standard window managers, and GDK makes a best effort to get
14827
<return-value transfer-ownership="none">
14828
<type name="none" c:type="void"/>
14831
<method name="set_keep_above"
14832
c:identifier="gdk_window_set_keep_above"
14833
doc="Set if @window must be kept above other windows. If the
14834
window was already above, then this function does nothing.
14835
On X11, asks the window manager to keep @window above, if the window
14836
manager supports this operation. Not all window managers support
14837
this, and some deliberately ignore it or don't have a concept of
14838
"keep above"; so you can't rely on the window being kept above.
14839
But it will happen with most standard window managers,
14840
and GDK makes a best effort to get it to happen."
14842
<return-value transfer-ownership="none">
14843
<type name="none" c:type="void"/>
14846
<parameter name="setting" transfer-ownership="none">
14847
<type name="boolean" c:type="gboolean"/>
14851
<method name="set_keep_below"
14852
c:identifier="gdk_window_set_keep_below"
14853
doc="Set if @window must be kept below other windows. If the
14854
window was already below, then this function does nothing.
14855
On X11, asks the window manager to keep @window below, if the window
14856
manager supports this operation. Not all window managers support
14857
this, and some deliberately ignore it or don't have a concept of
14858
"keep below"; so you can't rely on the window being kept below.
14859
But it will happen with most standard window managers,
14860
and GDK makes a best effort to get it to happen."
14862
<return-value transfer-ownership="none">
14863
<type name="none" c:type="void"/>
14866
<parameter name="setting" transfer-ownership="none">
14867
<type name="boolean" c:type="gboolean"/>
14871
<method name="set_opacity"
14872
c:identifier="gdk_window_set_opacity"
14873
doc="Request the windowing system to make @window partially transparent,
14874
with opacity 0 being fully transparent and 1 fully opaque. (Values
14875
of the opacity parameter are clamped to the [0,1] range.)
14876
On X11, this works only on X screens with a compositing manager
14878
For setting up per-pixel alpha, see gdk_screen_get_rgba_colormap().
14879
For making non-toplevel windows translucent, see
14880
gdk_window_set_composited()."
14882
<return-value transfer-ownership="none">
14883
<type name="none" c:type="void"/>
14886
<parameter name="opacity" transfer-ownership="none">
14887
<type name="double" c:type="gdouble"/>
14891
<method name="register_dnd" c:identifier="gdk_window_register_dnd">
14892
<return-value transfer-ownership="none">
14893
<type name="none" c:type="void"/>
14896
<method name="begin_resize_drag"
14897
c:identifier="gdk_window_begin_resize_drag"
14898
doc="Begins a window resize operation (for a toplevel window).
14899
You might use this function to implement a "window resize grip," for
14900
example; in fact #GtkStatusbar uses it. The function works best
14901
with window managers that support the <ulink url="http://www.freedesktop.org/Standards/wm-spec">Extended Window Manager Hints</ulink>, but has a
14902
fallback implementation for other window managers.">
14903
<return-value transfer-ownership="none">
14904
<type name="none" c:type="void"/>
14907
<parameter name="edge" transfer-ownership="none">
14908
<type name="WindowEdge" c:type="GdkWindowEdge"/>
14910
<parameter name="button" transfer-ownership="none">
14911
<type name="int" c:type="gint"/>
14913
<parameter name="root_x" transfer-ownership="none">
14914
<type name="int" c:type="gint"/>
14916
<parameter name="root_y" transfer-ownership="none">
14917
<type name="int" c:type="gint"/>
14919
<parameter name="timestamp" transfer-ownership="none">
14920
<type name="uint32" c:type="guint32"/>
14924
<method name="begin_move_drag"
14925
c:identifier="gdk_window_begin_move_drag"
14926
doc="Begins a window move operation (for a toplevel window). You might
14927
use this function to implement a "window move grip," for
14928
example. The function works best with window managers that support
14929
the <ulink url="http://www.freedesktop.org/Standards/wm-spec">Extended
14930
Window Manager Hints</ulink>, but has a fallback implementation for
14931
other window managers.">
14932
<return-value transfer-ownership="none">
14933
<type name="none" c:type="void"/>
14936
<parameter name="button" transfer-ownership="none">
14937
<type name="int" c:type="gint"/>
14939
<parameter name="root_x" transfer-ownership="none">
14940
<type name="int" c:type="gint"/>
14942
<parameter name="root_y" transfer-ownership="none">
14943
<type name="int" c:type="gint"/>
14945
<parameter name="timestamp" transfer-ownership="none">
14946
<type name="uint32" c:type="guint32"/>
14950
<method name="invalidate_rect"
14951
c:identifier="gdk_window_invalidate_rect"
14952
doc="A convenience wrapper around gdk_window_invalidate_region() which
14953
invalidates a rectangular region. See
14954
gdk_window_invalidate_region() for details.">
14955
<return-value transfer-ownership="none">
14956
<type name="none" c:type="void"/>
14959
<parameter name="rect"
14960
transfer-ownership="none"
14962
doc="rectangle to invalidate or %NULL to invalidate the whole window">
14963
<type name="Rectangle" c:type="GdkRectangle*"/>
14965
<parameter name="invalidate_children" transfer-ownership="none">
14966
<type name="boolean" c:type="gboolean"/>
14970
<method name="invalidate_region"
14971
c:identifier="gdk_window_invalidate_region"
14972
doc="Adds @region to the update area for @window. The update area is the
14973
region that needs to be redrawn, or "dirty region." The call
14974
gdk_window_process_updates() sends one or more expose events to the
14975
window, which together cover the entire update area. An
14976
application would normally redraw the contents of @window in
14977
response to those expose events.
14978
GDK will call gdk_window_process_all_updates() on your behalf
14979
whenever your program returns to the main loop and becomes idle, so
14980
normally there's no need to do that manually, you just need to
14981
invalidate regions that you know should be redrawn.
14982
The @invalidate_children parameter controls whether the region of
14983
each child window that intersects @region will also be invalidated.
14984
If %FALSE, then the update area for child windows will remain
14985
unaffected. See gdk_window_invalidate_maybe_recurse if you need
14986
fine grained control over which children are invalidated.">
14987
<return-value transfer-ownership="none">
14988
<type name="none" c:type="void"/>
14991
<parameter name="region" transfer-ownership="none">
14992
<type name="Region" c:type="GdkRegion*"/>
14994
<parameter name="invalidate_children" transfer-ownership="none">
14995
<type name="boolean" c:type="gboolean"/>
14999
<method name="invalidate_maybe_recurse"
15000
c:identifier="gdk_window_invalidate_maybe_recurse"
15001
doc="Adds @region to the update area for @window. The update area is the
15002
region that needs to be redrawn, or "dirty region." The call
15003
gdk_window_process_updates() sends one or more expose events to the
15004
window, which together cover the entire update area. An
15005
application would normally redraw the contents of @window in
15006
response to those expose events.
15007
GDK will call gdk_window_process_all_updates() on your behalf
15008
whenever your program returns to the main loop and becomes idle, so
15009
normally there's no need to do that manually, you just need to
15010
invalidate regions that you know should be redrawn.
15011
The @child_func parameter controls whether the region of
15012
each child window that intersects @region will also be invalidated.
15013
Only children for which @child_func returns TRUE will have the area
15015
<return-value transfer-ownership="none">
15016
<type name="none" c:type="void"/>
15019
<parameter name="region" transfer-ownership="none">
15020
<type name="Region" c:type="GdkRegion*"/>
15022
<parameter name="child_func"
15023
transfer-ownership="none"
15024
doc=" %NULL means never recurse.">
15025
<type name="any" c:type="any*"/>
15027
<parameter name="user_data" transfer-ownership="none">
15028
<type name="any" c:type="gpointer"/>
15032
<method name="get_update_area"
15033
c:identifier="gdk_window_get_update_area"
15034
doc="Transfers ownership of the update area from @window to the caller
15035
of the function. That is, after calling this function, @window will
15036
no longer have an invalid/dirty region; the update area is removed
15037
from @window and handed to you. If a window has no update area,
15038
gdk_window_get_update_area() returns %NULL. You are responsible for
15039
calling gdk_region_destroy() on the returned region if it's non-%NULL.">
15040
<return-value transfer-ownership="full">
15041
<type name="Region" c:type="GdkRegion*"/>
15044
<method name="freeze_updates"
15045
c:identifier="gdk_window_freeze_updates"
15046
doc="Temporarily freezes a window such that it won't receive expose
15047
events. The window will begin receiving expose events again when
15048
gdk_window_thaw_updates() is called. If gdk_window_freeze_updates()
15049
has been called more than once, gdk_window_thaw_updates() must be called
15050
an equal number of times to begin processing exposes.">
15051
<return-value transfer-ownership="none">
15052
<type name="none" c:type="void"/>
15055
<method name="thaw_updates"
15056
c:identifier="gdk_window_thaw_updates"
15057
doc="Thaws a window frozen with gdk_window_freeze_updates().">
15058
<return-value transfer-ownership="none">
15059
<type name="none" c:type="void"/>
15062
<method name="freeze_toplevel_updates_libgtk_only"
15063
c:identifier="gdk_window_freeze_toplevel_updates_libgtk_only"
15064
doc="Temporarily freezes a window and all its descendants such that it won't
15065
receive expose events. The window will begin receiving expose events
15066
again when gdk_window_thaw_toplevel_updates_libgtk_only() is called. If
15067
gdk_window_freeze_toplevel_updates_libgtk_only()
15068
has been called more than once,
15069
gdk_window_thaw_toplevel_updates_libgtk_only() must be called
15070
an equal number of times to begin processing exposes.
15071
This function is not part of the GDK public API and is only
15073
<return-value transfer-ownership="none">
15074
<type name="none" c:type="void"/>
15077
<method name="thaw_toplevel_updates_libgtk_only"
15078
c:identifier="gdk_window_thaw_toplevel_updates_libgtk_only"
15079
doc="Thaws a window frozen with
15080
gdk_window_freeze_toplevel_updates_libgtk_only().
15081
This function is not part of the GDK public API and is only
15083
<return-value transfer-ownership="none">
15084
<type name="none" c:type="void"/>
15087
<method name="process_updates"
15088
c:identifier="gdk_window_process_updates"
15089
doc="Sends one or more expose events to @window. The areas in each
15090
expose event will cover the entire update area for the window (see
15091
gdk_window_invalidate_region() for details). Normally GDK calls
15092
gdk_window_process_all_updates() on your behalf, so there's no
15093
need to call this function unless you want to force expose events
15094
to be delivered immediately and synchronously (vs. the usual
15095
case, where GDK delivers them in an idle handler). Occasionally
15096
this is useful to produce nicer scrolling behavior, for example.">
15097
<return-value transfer-ownership="none">
15098
<type name="none" c:type="void"/>
15101
<parameter name="update_children" transfer-ownership="none">
15102
<type name="boolean" c:type="gboolean"/>
15106
<method name="get_internal_paint_info"
15107
c:identifier="gdk_window_get_internal_paint_info"
15108
doc="If you bypass the GDK layer and use windowing system primitives to
15109
draw directly onto a #GdkWindow, then you need to deal with two
15110
system coordinates, and GDK may have redirected drawing to a offscreen
15111
pixmap as the result of a gdk_window_begin_paint_region() calls.
15112
This function allows retrieving the information you need to compensate
15114
This function exposes details of the GDK implementation, and is thus
15115
likely to change in future releases of GDK.">
15116
<return-value transfer-ownership="none">
15117
<type name="none" c:type="void"/>
15120
<parameter name="real_drawable"
15122
caller-allocates="0"
15123
transfer-ownership="full"
15124
doc="location to store the drawable to which drawing should be done.">
15125
<type name="Drawable" c:type="GdkDrawable**"/>
15127
<parameter name="x_offset"
15129
caller-allocates="0"
15130
transfer-ownership="full"
15131
doc="location to store the X offset between coordinates in @window, and the underlying window system primitive coordinates for *@real_drawable.">
15132
<type name="int" c:type="gint*"/>
15134
<parameter name="y_offset"
15136
caller-allocates="0"
15137
transfer-ownership="full"
15138
doc="location to store the Y offset between coordinates in @window, and the underlying window system primitive coordinates for *@real_drawable.">
15139
<type name="int" c:type="gint*"/>
15143
<method name="enable_synchronized_configure"
15144
c:identifier="gdk_window_enable_synchronized_configure"
15145
doc="Indicates that the application will cooperate with the window
15146
system in synchronizing the window repaint with the window
15147
manager during resizing operations. After an application calls
15148
this function, it must call gdk_window_configure_finished() every
15149
time it has finished all processing associated with a set of
15150
Configure events. Toplevel GTK+ windows automatically use this
15152
On X, calling this function makes @window participate in the
15153
_NET_WM_SYNC_REQUEST window manager protocol."
15155
<return-value transfer-ownership="none">
15156
<type name="none" c:type="void"/>
15159
<method name="configure_finished"
15160
c:identifier="gdk_window_configure_finished"
15161
doc="Signal to the window system that the application has finished
15162
handling Configure events it has received. Window Managers can
15163
use this to better synchronize the frame repaint with the
15164
application. GTK+ applications will automatically call this
15165
function when appropriate.
15166
This function can only be called if gdk_window_enable_synchronized_configure()
15167
was called previously."
15169
<return-value transfer-ownership="none">
15170
<type name="none" c:type="void"/>
15173
<method name="geometry_changed"
15174
c:identifier="gdk_window_geometry_changed"
15175
doc="This function informs GDK that the geometry of an embedded
15176
offscreen window has changed. This is necessary for GDK to keep
15177
track of which offscreen window the pointer is in."
15179
<return-value transfer-ownership="none">
15180
<type name="none" c:type="void"/>
15183
<method name="redirect_to_drawable"
15184
c:identifier="gdk_window_redirect_to_drawable"
15185
doc="Redirects drawing into @window so that drawing to the
15186
window in the rectangle specified by @src_x, @src_y,
15187
Only drawing between gdk_window_begin_paint_region() or
15188
gdk_window_begin_paint_rect() and gdk_window_end_paint() is
15190
Redirection is active until gdk_window_remove_redirection()
15193
<return-value transfer-ownership="none">
15194
<type name="none" c:type="void"/>
15197
<parameter name="drawable" transfer-ownership="none">
15198
<type name="Drawable" c:type="GdkDrawable*"/>
15200
<parameter name="src_x" transfer-ownership="none">
15201
<type name="int" c:type="gint"/>
15203
<parameter name="src_y" transfer-ownership="none">
15204
<type name="int" c:type="gint"/>
15206
<parameter name="dest_x" transfer-ownership="none">
15207
<type name="int" c:type="gint"/>
15209
<parameter name="dest_y" transfer-ownership="none">
15210
<type name="int" c:type="gint"/>
15212
<parameter name="width" transfer-ownership="none">
15213
<type name="int" c:type="gint"/>
15215
<parameter name="height" transfer-ownership="none">
15216
<type name="int" c:type="gint"/>
15220
<method name="remove_redirection"
15221
c:identifier="gdk_window_remove_redirection"
15222
doc="Removes any active redirection started by
15223
gdk_window_redirect_to_drawable()."
15225
<return-value transfer-ownership="none">
15226
<type name="none" c:type="void"/>
15229
<method name="destroy_notify" c:identifier="gdk_window_destroy_notify">
15230
<return-value transfer-ownership="none">
15231
<type name="none" c:type="void"/>
15234
<property name="cursor"
15237
doc="The mouse pointer for a #GdkWindow. See gdk_window_set_cursor() and
15238
gdk_window_get_cursor() for details.">
15239
<type name="Cursor" c:type="GdkCursor"/>
15241
<glib:signal name="from-embedder"
15242
doc="The ::from-embedder signal is emitted to translate coordinates
15243
in the embedder of an offscreen window to the offscreen window.
15244
See also #GtkWindow::to-embedder."
15246
<return-value transfer-ownership="full">
15247
<type name="none" c:type="void"/>
15250
<parameter name="embedder-x" transfer-ownership="none">
15251
<type name="double" c:type="gdouble"/>
15253
<parameter name="embedder-y" transfer-ownership="none">
15254
<type name="double" c:type="gdouble"/>
15256
<parameter name="offscreen-x" transfer-ownership="none">
15257
<type name="any" c:type="gpointer"/>
15259
<parameter name="offscreen-y" transfer-ownership="none">
15260
<type name="any" c:type="gpointer"/>
15264
<glib:signal name="pick-embedded-child"
15265
doc="The ::pick-embedded-child signal is emitted to find an embedded
15266
child at the given position."
15268
<return-value transfer-ownership="full">
15269
<type name="Window" c:type="GdkWindow"/>
15272
<parameter name="x" transfer-ownership="none">
15273
<type name="double" c:type="gdouble"/>
15275
<parameter name="y" transfer-ownership="none">
15276
<type name="double" c:type="gdouble"/>
15280
<glib:signal name="to-embedder"
15281
doc="The ::to-embedder signal is emitted to translate coordinates
15282
in an offscreen window to its embedder.
15283
See also #GtkWindow::from-embedder."
15285
<return-value transfer-ownership="full">
15286
<type name="none" c:type="void"/>
15289
<parameter name="offscreen-x" transfer-ownership="none">
15290
<type name="double" c:type="gdouble"/>
15292
<parameter name="offscreen-y" transfer-ownership="none">
15293
<type name="double" c:type="gdouble"/>
15295
<parameter name="embedder-x" transfer-ownership="none">
15296
<type name="any" c:type="gpointer"/>
15298
<parameter name="embedder-y" transfer-ownership="none">
15299
<type name="any" c:type="gpointer"/>
15304
<record name="WindowAttr" c:type="GdkWindowAttr">
15305
<field name="title" writable="1">
15306
<type name="utf8" c:type="gchar*"/>
15308
<field name="event_mask" writable="1">
15309
<type name="int" c:type="gint"/>
15311
<field name="x" writable="1">
15312
<type name="int" c:type="gint"/>
15314
<field name="y" writable="1">
15315
<type name="int" c:type="gint"/>
15317
<field name="width" writable="1">
15318
<type name="int" c:type="gint"/>
15320
<field name="height" writable="1">
15321
<type name="int" c:type="gint"/>
15323
<field name="wclass" writable="1">
15324
<type name="WindowClass" c:type="GdkWindowClass"/>
15326
<field name="visual" writable="1">
15327
<type name="Visual" c:type="GdkVisual*"/>
15329
<field name="colormap" writable="1">
15330
<type name="Colormap" c:type="GdkColormap*"/>
15332
<field name="window_type" writable="1">
15333
<type name="WindowType" c:type="GdkWindowType"/>
15335
<field name="cursor" writable="1">
15336
<type name="Cursor" c:type="GdkCursor*"/>
15338
<field name="wmclass_name" writable="1">
15339
<type name="utf8" c:type="gchar*"/>
15341
<field name="wmclass_class" writable="1">
15342
<type name="utf8" c:type="gchar*"/>
15344
<field name="override_redirect" writable="1">
15345
<type name="boolean" c:type="gboolean"/>
15347
<field name="type_hint" writable="1">
15348
<type name="WindowTypeHint" c:type="GdkWindowTypeHint"/>
15351
<bitfield name="WindowAttributesType"
15352
glib:type-name="GdkWindowAttributesType"
15353
glib:get-type="gdk_window_attributes_type_get_type"
15354
c:type="GdkWindowAttributesType">
15355
<member name="title"
15357
c:identifier="GDK_WA_TITLE"
15358
glib:nick="title"/>
15359
<member name="x" value="4" c:identifier="GDK_WA_X" glib:nick="x"/>
15360
<member name="y" value="8" c:identifier="GDK_WA_Y" glib:nick="y"/>
15361
<member name="cursor"
15363
c:identifier="GDK_WA_CURSOR"
15364
glib:nick="cursor"/>
15365
<member name="colormap"
15367
c:identifier="GDK_WA_COLORMAP"
15368
glib:nick="colormap"/>
15369
<member name="visual"
15371
c:identifier="GDK_WA_VISUAL"
15372
glib:nick="visual"/>
15373
<member name="wmclass"
15375
c:identifier="GDK_WA_WMCLASS"
15376
glib:nick="wmclass"/>
15377
<member name="noredir"
15379
c:identifier="GDK_WA_NOREDIR"
15380
glib:nick="noredir"/>
15381
<member name="type_hint"
15383
c:identifier="GDK_WA_TYPE_HINT"
15384
glib:nick="type-hint"/>
15386
<enumeration name="WindowClass"
15387
glib:type-name="GdkWindowClass"
15388
glib:get-type="gdk_window_class_get_type"
15389
c:type="GdkWindowClass">
15390
<member name="output"
15392
c:identifier="GDK_INPUT_OUTPUT"
15393
glib:nick="output"/>
15394
<member name="only"
15396
c:identifier="GDK_INPUT_ONLY"
15399
<constant name="WindowClear" value="269025109">
15402
<enumeration name="WindowEdge"
15403
glib:type-name="GdkWindowEdge"
15404
glib:get-type="gdk_window_edge_get_type"
15405
c:type="GdkWindowEdge">
15406
<member name="north_west"
15408
c:identifier="GDK_WINDOW_EDGE_NORTH_WEST"
15409
glib:nick="north-west"/>
15410
<member name="north"
15412
c:identifier="GDK_WINDOW_EDGE_NORTH"
15413
glib:nick="north"/>
15414
<member name="north_east"
15416
c:identifier="GDK_WINDOW_EDGE_NORTH_EAST"
15417
glib:nick="north-east"/>
15418
<member name="west"
15420
c:identifier="GDK_WINDOW_EDGE_WEST"
15422
<member name="east"
15424
c:identifier="GDK_WINDOW_EDGE_EAST"
15426
<member name="south_west"
15428
c:identifier="GDK_WINDOW_EDGE_SOUTH_WEST"
15429
glib:nick="south-west"/>
15430
<member name="south"
15432
c:identifier="GDK_WINDOW_EDGE_SOUTH"
15433
glib:nick="south"/>
15434
<member name="south_east"
15436
c:identifier="GDK_WINDOW_EDGE_SOUTH_EAST"
15437
glib:nick="south-east"/>
15439
<bitfield name="WindowHints"
15440
glib:type-name="GdkWindowHints"
15441
glib:get-type="gdk_window_hints_get_type"
15442
c:type="GdkWindowHints">
15445
c:identifier="GDK_HINT_POS"
15447
<member name="min_size"
15449
c:identifier="GDK_HINT_MIN_SIZE"
15450
glib:nick="min-size"/>
15451
<member name="max_size"
15453
c:identifier="GDK_HINT_MAX_SIZE"
15454
glib:nick="max-size"/>
15455
<member name="base_size"
15457
c:identifier="GDK_HINT_BASE_SIZE"
15458
glib:nick="base-size"/>
15459
<member name="aspect"
15461
c:identifier="GDK_HINT_ASPECT"
15462
glib:nick="aspect"/>
15463
<member name="resize_inc"
15465
c:identifier="GDK_HINT_RESIZE_INC"
15466
glib:nick="resize-inc"/>
15467
<member name="win_gravity"
15469
c:identifier="GDK_HINT_WIN_GRAVITY"
15470
glib:nick="win-gravity"/>
15471
<member name="user_pos"
15473
c:identifier="GDK_HINT_USER_POS"
15474
glib:nick="user-pos"/>
15475
<member name="user_size"
15477
c:identifier="GDK_HINT_USER_SIZE"
15478
glib:nick="user-size"/>
15480
<record name="WindowObject" c:type="GdkWindowObject">
15482
<record name="WindowObjectClass" c:type="GdkWindowObjectClass">
15483
<field name="parent_class" writable="1">
15484
<type name="DrawableClass" c:type="GdkDrawableClass"/>
15487
<record name="WindowRedirect" c:type="GdkWindowRedirect">
15489
<bitfield name="WindowState"
15490
glib:type-name="GdkWindowState"
15491
glib:get-type="gdk_window_state_get_type"
15492
c:type="GdkWindowState">
15493
<member name="withdrawn"
15495
c:identifier="GDK_WINDOW_STATE_WITHDRAWN"
15496
glib:nick="withdrawn"/>
15497
<member name="iconified"
15499
c:identifier="GDK_WINDOW_STATE_ICONIFIED"
15500
glib:nick="iconified"/>
15501
<member name="maximized"
15503
c:identifier="GDK_WINDOW_STATE_MAXIMIZED"
15504
glib:nick="maximized"/>
15505
<member name="sticky"
15507
c:identifier="GDK_WINDOW_STATE_STICKY"
15508
glib:nick="sticky"/>
15509
<member name="fullscreen"
15511
c:identifier="GDK_WINDOW_STATE_FULLSCREEN"
15512
glib:nick="fullscreen"/>
15513
<member name="above"
15515
c:identifier="GDK_WINDOW_STATE_ABOVE"
15516
glib:nick="above"/>
15517
<member name="below"
15519
c:identifier="GDK_WINDOW_STATE_BELOW"
15520
glib:nick="below"/>
15522
<enumeration name="WindowType"
15523
glib:type-name="GdkWindowType"
15524
glib:get-type="gdk_window_type_get_type"
15525
c:type="GdkWindowType">
15526
<member name="root"
15528
c:identifier="GDK_WINDOW_ROOT"
15530
<member name="toplevel"
15532
c:identifier="GDK_WINDOW_TOPLEVEL"
15533
glib:nick="toplevel"/>
15534
<member name="child"
15536
c:identifier="GDK_WINDOW_CHILD"
15537
glib:nick="child"/>
15538
<member name="dialog"
15540
c:identifier="GDK_WINDOW_DIALOG"
15541
glib:nick="dialog"/>
15542
<member name="temp"
15544
c:identifier="GDK_WINDOW_TEMP"
15546
<member name="foreign"
15548
c:identifier="GDK_WINDOW_FOREIGN"
15549
glib:nick="foreign"/>
15550
<member name="offscreen"
15552
c:identifier="GDK_WINDOW_OFFSCREEN"
15553
glib:nick="offscreen"/>
15555
<enumeration name="WindowTypeHint"
15556
glib:type-name="GdkWindowTypeHint"
15557
glib:get-type="gdk_window_type_hint_get_type"
15558
c:type="GdkWindowTypeHint">
15559
<member name="normal"
15561
c:identifier="GDK_WINDOW_TYPE_HINT_NORMAL"
15562
glib:nick="normal"/>
15563
<member name="dialog"
15565
c:identifier="GDK_WINDOW_TYPE_HINT_DIALOG"
15566
glib:nick="dialog"/>
15567
<member name="menu"
15569
c:identifier="GDK_WINDOW_TYPE_HINT_MENU"
15571
<member name="toolbar"
15573
c:identifier="GDK_WINDOW_TYPE_HINT_TOOLBAR"
15574
glib:nick="toolbar"/>
15575
<member name="splashscreen"
15577
c:identifier="GDK_WINDOW_TYPE_HINT_SPLASHSCREEN"
15578
glib:nick="splashscreen"/>
15579
<member name="utility"
15581
c:identifier="GDK_WINDOW_TYPE_HINT_UTILITY"
15582
glib:nick="utility"/>
15583
<member name="dock"
15585
c:identifier="GDK_WINDOW_TYPE_HINT_DOCK"
15587
<member name="desktop"
15589
c:identifier="GDK_WINDOW_TYPE_HINT_DESKTOP"
15590
glib:nick="desktop"/>
15591
<member name="dropdown_menu"
15593
c:identifier="GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU"
15594
glib:nick="dropdown-menu"/>
15595
<member name="popup_menu"
15597
c:identifier="GDK_WINDOW_TYPE_HINT_POPUP_MENU"
15598
glib:nick="popup-menu"/>
15599
<member name="tooltip"
15601
c:identifier="GDK_WINDOW_TYPE_HINT_TOOLTIP"
15602
glib:nick="tooltip"/>
15603
<member name="notification"
15605
c:identifier="GDK_WINDOW_TYPE_HINT_NOTIFICATION"
15606
glib:nick="notification"/>
15607
<member name="combo"
15609
c:identifier="GDK_WINDOW_TYPE_HINT_COMBO"
15610
glib:nick="combo"/>
15613
c:identifier="GDK_WINDOW_TYPE_HINT_DND"
15616
<constant name="WonSign" value="16785577">
15619
<constant name="Word" value="269025161">
15622
<constant name="X" value="88">
15625
<constant name="Xabovedot" value="16785034">
15628
<constant name="Xfer" value="269025162">
15631
<constant name="Y" value="89">
15634
<constant name="Yacute" value="221">
15637
<constant name="Ybelowdot" value="16785140">
15640
<constant name="Ycircumflex" value="16777590">
15643
<constant name="Ydiaeresis" value="5054">
15646
<constant name="Yellow" value="269025189">
15649
<constant name="Ygrave" value="16785138">
15652
<constant name="Yhook" value="16785142">
15655
<constant name="Ytilde" value="16785144">
15658
<constant name="Z" value="90">
15661
<constant name="Zabovedot" value="431">
15664
<constant name="Zacute" value="428">
15667
<constant name="Zcaron" value="430">
15670
<constant name="Zen_Koho" value="65341">
15673
<constant name="Zenkaku" value="65320">
15676
<constant name="Zenkaku_Hankaku" value="65322">
15679
<constant name="ZoomIn" value="269025163">
15682
<constant name="ZoomOut" value="269025164">
15685
<constant name="Zstroke" value="16777653">
15688
<constant name="a" value="97">
15691
<constant name="aacute" value="225">
15694
<constant name="abelowdot" value="16785057">
15697
<constant name="abovedot" value="511">
15700
<constant name="abreve" value="483">
15703
<constant name="abreveacute" value="16785071">
15706
<constant name="abrevebelowdot" value="16785079">
15709
<constant name="abrevegrave" value="16785073">
15712
<constant name="abrevehook" value="16785075">
15715
<constant name="abrevetilde" value="16785077">
15718
<constant name="acircumflex" value="226">
15721
<constant name="acircumflexacute" value="16785061">
15724
<constant name="acircumflexbelowdot" value="16785069">
15727
<constant name="acircumflexgrave" value="16785063">
15730
<constant name="acircumflexhook" value="16785065">
15733
<constant name="acircumflextilde" value="16785067">
15736
<constant name="acute" value="180">
15739
<function name="add_client_message_filter"
15740
c:identifier="gdk_add_client_message_filter"
15741
doc="Adds a filter to the default display to be called when X ClientMessage events
15742
are received. See gdk_display_add_client_message_filter().">
15743
<return-value transfer-ownership="none">
15744
<type name="none" c:type="void"/>
15747
<parameter name="message_type"
15748
transfer-ownership="none"
15749
doc=" checked against the <structfield>message_type</structfield> field of the XClientMessage event struct.">
15750
<type name="Atom" c:type="GdkAtom"/>
15752
<parameter name="func"
15753
transfer-ownership="none"
15756
<type name="FilterFunc" c:type="GdkFilterFunc"/>
15758
<parameter name="data" transfer-ownership="none">
15759
<type name="any" c:type="gpointer"/>
15763
<function name="add_option_entries_libgtk_only"
15764
c:identifier="gdk_add_option_entries_libgtk_only"
15765
doc="Appends gdk option entries to the passed in option group. This is
15766
not public API and must not be used by applications.">
15767
<return-value transfer-ownership="none">
15768
<type name="none" c:type="void"/>
15771
<parameter name="group" transfer-ownership="none">
15772
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
15776
<constant name="adiaeresis" value="228">
15779
<constant name="ae" value="230">
15782
<constant name="agrave" value="224">
15785
<constant name="ahook" value="16785059">
15788
<constant name="amacron" value="992">
15791
<constant name="ampersand" value="38">
15794
<constant name="aogonek" value="433">
15797
<constant name="apostrophe" value="39">
15800
<constant name="approxeq" value="16785992">
15803
<constant name="approximate" value="2248">
15806
<constant name="aring" value="229">
15809
<constant name="asciicircum" value="94">
15812
<constant name="asciitilde" value="126">
15815
<constant name="asterisk" value="42">
15818
<constant name="at" value="64">
15821
<constant name="atilde" value="227">
15824
<function name="atom_intern" c:identifier="gdk_atom_intern">
15825
<return-value transfer-ownership="full">
15826
<type name="Atom" c:type="GdkAtom"/>
15829
<parameter name="atom_name" transfer-ownership="none">
15830
<type name="utf8" c:type="gchar*"/>
15832
<parameter name="only_if_exists" transfer-ownership="none">
15833
<type name="boolean" c:type="gboolean"/>
15837
<function name="atom_intern_static_string"
15838
c:identifier="gdk_atom_intern_static_string"
15839
doc="Finds or creates an atom corresponding to a given string.
15840
Note that this function is identical to gdk_atom_intern() except
15841
that if a new #GdkAtom is created the string itself is used rather
15842
than a copy. This saves memory, but can only be used if the string
15843
will <emphasis>always</emphasis> exist. It can be used with statically
15844
allocated strings in the main program, but not with statically
15845
allocated memory in dynamically loaded modules, if you expect to
15846
ever unload the module again (e.g. do not use this function in
15847
GTK+ theme engines)."
15849
<return-value transfer-ownership="full">
15850
<type name="Atom" c:type="GdkAtom"/>
15853
<parameter name="atom_name" transfer-ownership="none">
15854
<type name="utf8" c:type="gchar*"/>
15858
<constant name="b" value="98">
15861
<constant name="babovedot" value="16784899">
15864
<constant name="backslash" value="92">
15867
<constant name="ballotcross" value="2804">
15870
<constant name="bar" value="124">
15873
<constant name="because" value="16785973">
15876
<function name="beep"
15877
c:identifier="gdk_beep"
15878
doc="Emits a short beep on the default display.">
15879
<return-value transfer-ownership="none">
15880
<type name="none" c:type="void"/>
15883
<function name="bitmap_create_from_data"
15884
c:identifier="gdk_bitmap_create_from_data">
15885
<return-value transfer-ownership="full">
15886
<type name="Bitmap" c:type="GdkBitmap*"/>
15889
<parameter name="drawable" transfer-ownership="none">
15890
<type name="Drawable" c:type="GdkDrawable*"/>
15892
<parameter name="data" transfer-ownership="none">
15893
<type name="utf8" c:type="gchar*"/>
15895
<parameter name="width" transfer-ownership="none">
15896
<type name="int" c:type="gint"/>
15898
<parameter name="height" transfer-ownership="none">
15899
<type name="int" c:type="gint"/>
15903
<constant name="blank" value="2527">
15906
<constant name="botintegral" value="2213">
15909
<constant name="botleftparens" value="2220">
15912
<constant name="botleftsqbracket" value="2216">
15915
<constant name="botleftsummation" value="2226">
15918
<constant name="botrightparens" value="2222">
15921
<constant name="botrightsqbracket" value="2218">
15924
<constant name="botrightsummation" value="2230">
15927
<constant name="bott" value="2550">
15930
<constant name="botvertsummationconnector" value="2228">
15933
<constant name="braceleft" value="123">
15936
<constant name="braceright" value="125">
15939
<constant name="bracketleft" value="91">
15942
<constant name="bracketright" value="93">
15945
<constant name="braille_blank" value="16787456">
15948
<constant name="braille_dot_1" value="65521">
15951
<constant name="braille_dot_10" value="65530">
15954
<constant name="braille_dot_2" value="65522">
15957
<constant name="braille_dot_3" value="65523">
15960
<constant name="braille_dot_4" value="65524">
15963
<constant name="braille_dot_5" value="65525">
15966
<constant name="braille_dot_6" value="65526">
15969
<constant name="braille_dot_7" value="65527">
15972
<constant name="braille_dot_8" value="65528">
15975
<constant name="braille_dot_9" value="65529">
15978
<constant name="braille_dots_1" value="16787457">
15981
<constant name="braille_dots_12" value="16787459">
15984
<constant name="braille_dots_123" value="16787463">
15987
<constant name="braille_dots_1234" value="16787471">
15990
<constant name="braille_dots_12345" value="16787487">
15993
<constant name="braille_dots_123456" value="16787519">
15996
<constant name="braille_dots_1234567" value="16787583">
15999
<constant name="braille_dots_12345678" value="16787711">
16002
<constant name="braille_dots_1234568" value="16787647">
16005
<constant name="braille_dots_123457" value="16787551">
16008
<constant name="braille_dots_1234578" value="16787679">
16011
<constant name="braille_dots_123458" value="16787615">
16014
<constant name="braille_dots_12346" value="16787503">
16017
<constant name="braille_dots_123467" value="16787567">
16020
<constant name="braille_dots_1234678" value="16787695">
16023
<constant name="braille_dots_123468" value="16787631">
16026
<constant name="braille_dots_12347" value="16787535">
16029
<constant name="braille_dots_123478" value="16787663">
16032
<constant name="braille_dots_12348" value="16787599">
16035
<constant name="braille_dots_1235" value="16787479">
16038
<constant name="braille_dots_12356" value="16787511">
16041
<constant name="braille_dots_123567" value="16787575">
16044
<constant name="braille_dots_1235678" value="16787703">
16047
<constant name="braille_dots_123568" value="16787639">
16050
<constant name="braille_dots_12357" value="16787543">
16053
<constant name="braille_dots_123578" value="16787671">
16056
<constant name="braille_dots_12358" value="16787607">
16059
<constant name="braille_dots_1236" value="16787495">
16062
<constant name="braille_dots_12367" value="16787559">
16065
<constant name="braille_dots_123678" value="16787687">
16068
<constant name="braille_dots_12368" value="16787623">
16071
<constant name="braille_dots_1237" value="16787527">
16074
<constant name="braille_dots_12378" value="16787655">
16077
<constant name="braille_dots_1238" value="16787591">
16080
<constant name="braille_dots_124" value="16787467">
16083
<constant name="braille_dots_1245" value="16787483">
16086
<constant name="braille_dots_12456" value="16787515">
16089
<constant name="braille_dots_124567" value="16787579">
16092
<constant name="braille_dots_1245678" value="16787707">
16095
<constant name="braille_dots_124568" value="16787643">
16098
<constant name="braille_dots_12457" value="16787547">
16101
<constant name="braille_dots_124578" value="16787675">
16104
<constant name="braille_dots_12458" value="16787611">
16107
<constant name="braille_dots_1246" value="16787499">
16110
<constant name="braille_dots_12467" value="16787563">
16113
<constant name="braille_dots_124678" value="16787691">
16116
<constant name="braille_dots_12468" value="16787627">
16119
<constant name="braille_dots_1247" value="16787531">
16122
<constant name="braille_dots_12478" value="16787659">
16125
<constant name="braille_dots_1248" value="16787595">
16128
<constant name="braille_dots_125" value="16787475">
16131
<constant name="braille_dots_1256" value="16787507">
16134
<constant name="braille_dots_12567" value="16787571">
16137
<constant name="braille_dots_125678" value="16787699">
16140
<constant name="braille_dots_12568" value="16787635">
16143
<constant name="braille_dots_1257" value="16787539">
16146
<constant name="braille_dots_12578" value="16787667">
16149
<constant name="braille_dots_1258" value="16787603">
16152
<constant name="braille_dots_126" value="16787491">
16155
<constant name="braille_dots_1267" value="16787555">
16158
<constant name="braille_dots_12678" value="16787683">
16161
<constant name="braille_dots_1268" value="16787619">
16164
<constant name="braille_dots_127" value="16787523">
16167
<constant name="braille_dots_1278" value="16787651">
16170
<constant name="braille_dots_128" value="16787587">
16173
<constant name="braille_dots_13" value="16787461">
16176
<constant name="braille_dots_134" value="16787469">
16179
<constant name="braille_dots_1345" value="16787485">
16182
<constant name="braille_dots_13456" value="16787517">
16185
<constant name="braille_dots_134567" value="16787581">
16188
<constant name="braille_dots_1345678" value="16787709">
16191
<constant name="braille_dots_134568" value="16787645">
16194
<constant name="braille_dots_13457" value="16787549">
16197
<constant name="braille_dots_134578" value="16787677">
16200
<constant name="braille_dots_13458" value="16787613">
16203
<constant name="braille_dots_1346" value="16787501">
16206
<constant name="braille_dots_13467" value="16787565">
16209
<constant name="braille_dots_134678" value="16787693">
16212
<constant name="braille_dots_13468" value="16787629">
16215
<constant name="braille_dots_1347" value="16787533">
16218
<constant name="braille_dots_13478" value="16787661">
16221
<constant name="braille_dots_1348" value="16787597">
16224
<constant name="braille_dots_135" value="16787477">
16227
<constant name="braille_dots_1356" value="16787509">
16230
<constant name="braille_dots_13567" value="16787573">
16233
<constant name="braille_dots_135678" value="16787701">
16236
<constant name="braille_dots_13568" value="16787637">
16239
<constant name="braille_dots_1357" value="16787541">
16242
<constant name="braille_dots_13578" value="16787669">
16245
<constant name="braille_dots_1358" value="16787605">
16248
<constant name="braille_dots_136" value="16787493">
16251
<constant name="braille_dots_1367" value="16787557">
16254
<constant name="braille_dots_13678" value="16787685">
16257
<constant name="braille_dots_1368" value="16787621">
16260
<constant name="braille_dots_137" value="16787525">
16263
<constant name="braille_dots_1378" value="16787653">
16266
<constant name="braille_dots_138" value="16787589">
16269
<constant name="braille_dots_14" value="16787465">
16272
<constant name="braille_dots_145" value="16787481">
16275
<constant name="braille_dots_1456" value="16787513">
16278
<constant name="braille_dots_14567" value="16787577">
16281
<constant name="braille_dots_145678" value="16787705">
16284
<constant name="braille_dots_14568" value="16787641">
16287
<constant name="braille_dots_1457" value="16787545">
16290
<constant name="braille_dots_14578" value="16787673">
16293
<constant name="braille_dots_1458" value="16787609">
16296
<constant name="braille_dots_146" value="16787497">
16299
<constant name="braille_dots_1467" value="16787561">
16302
<constant name="braille_dots_14678" value="16787689">
16305
<constant name="braille_dots_1468" value="16787625">
16308
<constant name="braille_dots_147" value="16787529">
16311
<constant name="braille_dots_1478" value="16787657">
16314
<constant name="braille_dots_148" value="16787593">
16317
<constant name="braille_dots_15" value="16787473">
16320
<constant name="braille_dots_156" value="16787505">
16323
<constant name="braille_dots_1567" value="16787569">
16326
<constant name="braille_dots_15678" value="16787697">
16329
<constant name="braille_dots_1568" value="16787633">
16332
<constant name="braille_dots_157" value="16787537">
16335
<constant name="braille_dots_1578" value="16787665">
16338
<constant name="braille_dots_158" value="16787601">
16341
<constant name="braille_dots_16" value="16787489">
16344
<constant name="braille_dots_167" value="16787553">
16347
<constant name="braille_dots_1678" value="16787681">
16350
<constant name="braille_dots_168" value="16787617">
16353
<constant name="braille_dots_17" value="16787521">
16356
<constant name="braille_dots_178" value="16787649">
16359
<constant name="braille_dots_18" value="16787585">
16362
<constant name="braille_dots_2" value="16787458">
16365
<constant name="braille_dots_23" value="16787462">
16368
<constant name="braille_dots_234" value="16787470">
16371
<constant name="braille_dots_2345" value="16787486">
16374
<constant name="braille_dots_23456" value="16787518">
16377
<constant name="braille_dots_234567" value="16787582">
16380
<constant name="braille_dots_2345678" value="16787710">
16383
<constant name="braille_dots_234568" value="16787646">
16386
<constant name="braille_dots_23457" value="16787550">
16389
<constant name="braille_dots_234578" value="16787678">
16392
<constant name="braille_dots_23458" value="16787614">
16395
<constant name="braille_dots_2346" value="16787502">
16398
<constant name="braille_dots_23467" value="16787566">
16401
<constant name="braille_dots_234678" value="16787694">
16404
<constant name="braille_dots_23468" value="16787630">
16407
<constant name="braille_dots_2347" value="16787534">
16410
<constant name="braille_dots_23478" value="16787662">
16413
<constant name="braille_dots_2348" value="16787598">
16416
<constant name="braille_dots_235" value="16787478">
16419
<constant name="braille_dots_2356" value="16787510">
16422
<constant name="braille_dots_23567" value="16787574">
16425
<constant name="braille_dots_235678" value="16787702">
16428
<constant name="braille_dots_23568" value="16787638">
16431
<constant name="braille_dots_2357" value="16787542">
16434
<constant name="braille_dots_23578" value="16787670">
16437
<constant name="braille_dots_2358" value="16787606">
16440
<constant name="braille_dots_236" value="16787494">
16443
<constant name="braille_dots_2367" value="16787558">
16446
<constant name="braille_dots_23678" value="16787686">
16449
<constant name="braille_dots_2368" value="16787622">
16452
<constant name="braille_dots_237" value="16787526">
16455
<constant name="braille_dots_2378" value="16787654">
16458
<constant name="braille_dots_238" value="16787590">
16461
<constant name="braille_dots_24" value="16787466">
16464
<constant name="braille_dots_245" value="16787482">
16467
<constant name="braille_dots_2456" value="16787514">
16470
<constant name="braille_dots_24567" value="16787578">
16473
<constant name="braille_dots_245678" value="16787706">
16476
<constant name="braille_dots_24568" value="16787642">
16479
<constant name="braille_dots_2457" value="16787546">
16482
<constant name="braille_dots_24578" value="16787674">
16485
<constant name="braille_dots_2458" value="16787610">
16488
<constant name="braille_dots_246" value="16787498">
16491
<constant name="braille_dots_2467" value="16787562">
16494
<constant name="braille_dots_24678" value="16787690">
16497
<constant name="braille_dots_2468" value="16787626">
16500
<constant name="braille_dots_247" value="16787530">
16503
<constant name="braille_dots_2478" value="16787658">
16506
<constant name="braille_dots_248" value="16787594">
16509
<constant name="braille_dots_25" value="16787474">
16512
<constant name="braille_dots_256" value="16787506">
16515
<constant name="braille_dots_2567" value="16787570">
16518
<constant name="braille_dots_25678" value="16787698">
16521
<constant name="braille_dots_2568" value="16787634">
16524
<constant name="braille_dots_257" value="16787538">
16527
<constant name="braille_dots_2578" value="16787666">
16530
<constant name="braille_dots_258" value="16787602">
16533
<constant name="braille_dots_26" value="16787490">
16536
<constant name="braille_dots_267" value="16787554">
16539
<constant name="braille_dots_2678" value="16787682">
16542
<constant name="braille_dots_268" value="16787618">
16545
<constant name="braille_dots_27" value="16787522">
16548
<constant name="braille_dots_278" value="16787650">
16551
<constant name="braille_dots_28" value="16787586">
16554
<constant name="braille_dots_3" value="16787460">
16557
<constant name="braille_dots_34" value="16787468">
16560
<constant name="braille_dots_345" value="16787484">
16563
<constant name="braille_dots_3456" value="16787516">
16566
<constant name="braille_dots_34567" value="16787580">
16569
<constant name="braille_dots_345678" value="16787708">
16572
<constant name="braille_dots_34568" value="16787644">
16575
<constant name="braille_dots_3457" value="16787548">
16578
<constant name="braille_dots_34578" value="16787676">
16581
<constant name="braille_dots_3458" value="16787612">
16584
<constant name="braille_dots_346" value="16787500">
16587
<constant name="braille_dots_3467" value="16787564">
16590
<constant name="braille_dots_34678" value="16787692">
16593
<constant name="braille_dots_3468" value="16787628">
16596
<constant name="braille_dots_347" value="16787532">
16599
<constant name="braille_dots_3478" value="16787660">
16602
<constant name="braille_dots_348" value="16787596">
16605
<constant name="braille_dots_35" value="16787476">
16608
<constant name="braille_dots_356" value="16787508">
16611
<constant name="braille_dots_3567" value="16787572">
16614
<constant name="braille_dots_35678" value="16787700">
16617
<constant name="braille_dots_3568" value="16787636">
16620
<constant name="braille_dots_357" value="16787540">
16623
<constant name="braille_dots_3578" value="16787668">
16626
<constant name="braille_dots_358" value="16787604">
16629
<constant name="braille_dots_36" value="16787492">
16632
<constant name="braille_dots_367" value="16787556">
16635
<constant name="braille_dots_3678" value="16787684">
16638
<constant name="braille_dots_368" value="16787620">
16641
<constant name="braille_dots_37" value="16787524">
16644
<constant name="braille_dots_378" value="16787652">
16647
<constant name="braille_dots_38" value="16787588">
16650
<constant name="braille_dots_4" value="16787464">
16653
<constant name="braille_dots_45" value="16787480">
16656
<constant name="braille_dots_456" value="16787512">
16659
<constant name="braille_dots_4567" value="16787576">
16662
<constant name="braille_dots_45678" value="16787704">
16665
<constant name="braille_dots_4568" value="16787640">
16668
<constant name="braille_dots_457" value="16787544">
16671
<constant name="braille_dots_4578" value="16787672">
16674
<constant name="braille_dots_458" value="16787608">
16677
<constant name="braille_dots_46" value="16787496">
16680
<constant name="braille_dots_467" value="16787560">
16683
<constant name="braille_dots_4678" value="16787688">
16686
<constant name="braille_dots_468" value="16787624">
16689
<constant name="braille_dots_47" value="16787528">
16692
<constant name="braille_dots_478" value="16787656">
16695
<constant name="braille_dots_48" value="16787592">
16698
<constant name="braille_dots_5" value="16787472">
16701
<constant name="braille_dots_56" value="16787504">
16704
<constant name="braille_dots_567" value="16787568">
16707
<constant name="braille_dots_5678" value="16787696">
16710
<constant name="braille_dots_568" value="16787632">
16713
<constant name="braille_dots_57" value="16787536">
16716
<constant name="braille_dots_578" value="16787664">
16719
<constant name="braille_dots_58" value="16787600">
16722
<constant name="braille_dots_6" value="16787488">
16725
<constant name="braille_dots_67" value="16787552">
16728
<constant name="braille_dots_678" value="16787680">
16731
<constant name="braille_dots_68" value="16787616">
16734
<constant name="braille_dots_7" value="16787520">
16737
<constant name="braille_dots_78" value="16787648">
16740
<constant name="braille_dots_8" value="16787584">
16743
<constant name="breve" value="418">
16746
<constant name="brokenbar" value="166">
16749
<constant name="c" value="99">
16752
<constant name="cabovedot" value="741">
16755
<constant name="cacute" value="486">
16758
<function name="cairo_create"
16759
c:identifier="gdk_cairo_create"
16760
doc="Creates a Cairo context for drawing to @drawable.
16761
<note><para>
16762
Note that due to double-buffering, Cairo contexts created
16763
in a GTK+ expose event handler cannot be cached and reused
16764
between different expose events.
16765
</para></note>
16766
cairo_destroy() when you are done drawing."
16768
<return-value transfer-ownership="full">
16769
<type name="cairo.Context" c:type="cairo_t*"/>
16772
<parameter name="drawable" transfer-ownership="none">
16773
<type name="Drawable" c:type="GdkDrawable*"/>
16777
<function name="cairo_rectangle"
16778
c:identifier="gdk_cairo_rectangle"
16779
doc="Adds the given rectangle to the current path of @cr."
16781
<return-value transfer-ownership="none">
16782
<type name="none" c:type="void"/>
16785
<parameter name="cr" transfer-ownership="none">
16786
<type name="cairo.Context" c:type="cairo_t*"/>
16788
<parameter name="rectangle" transfer-ownership="none">
16789
<type name="Rectangle" c:type="GdkRectangle*"/>
16793
<function name="cairo_region"
16794
c:identifier="gdk_cairo_region"
16795
doc="Adds the given region to the current path of @cr."
16797
<return-value transfer-ownership="none">
16798
<type name="none" c:type="void"/>
16801
<parameter name="cr" transfer-ownership="none">
16802
<type name="cairo.Context" c:type="cairo_t*"/>
16804
<parameter name="region" transfer-ownership="none">
16805
<type name="Region" c:type="GdkRegion*"/>
16809
<function name="cairo_reset_clip"
16810
c:identifier="gdk_cairo_reset_clip"
16811
doc="Resets the clip region for a Cairo context created by gdk_cairo_create().
16812
This resets the clip region to the "empty" state for the given drawable.
16813
This is required for non-native windows since a direct call to
16814
cairo_reset_clip() would unset the clip region inherited from the
16815
drawable (i.e. the window clip region), and thus let you e.g.
16816
draw outside your window.
16817
This is rarely needed though, since most code just create a new cairo_t
16818
using gdk_cairo_create() each time they want to draw something."
16820
<return-value transfer-ownership="none">
16821
<type name="none" c:type="void"/>
16824
<parameter name="cr" transfer-ownership="none">
16825
<type name="cairo.Context" c:type="cairo_t*"/>
16827
<parameter name="drawable" transfer-ownership="none">
16828
<type name="Drawable" c:type="GdkDrawable*"/>
16832
<function name="cairo_set_source_color"
16833
c:identifier="gdk_cairo_set_source_color"
16834
doc="Sets the specified #GdkColor as the source color of @cr."
16836
<return-value transfer-ownership="none">
16837
<type name="none" c:type="void"/>
16840
<parameter name="cr" transfer-ownership="none">
16841
<type name="cairo.Context" c:type="cairo_t*"/>
16843
<parameter name="color" transfer-ownership="none">
16844
<type name="Color" c:type="GdkColor*"/>
16848
<function name="cairo_set_source_pixbuf"
16849
c:identifier="gdk_cairo_set_source_pixbuf"
16850
doc="Sets the given pixbuf as the source pattern for the Cairo context.
16851
The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
16852
so that the origin of @pixbuf is @pixbuf_x, @pixbuf_y"
16854
<return-value transfer-ownership="none">
16855
<type name="none" c:type="void"/>
16858
<parameter name="cr" transfer-ownership="none">
16859
<type name="cairo.Context" c:type="cairo_t*"/>
16861
<parameter name="pixbuf" transfer-ownership="none">
16862
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
16864
<parameter name="pixbuf_x" transfer-ownership="none">
16865
<type name="double" c:type="double"/>
16867
<parameter name="pixbuf_y" transfer-ownership="none">
16868
<type name="double" c:type="double"/>
16872
<function name="cairo_set_source_pixmap"
16873
c:identifier="gdk_cairo_set_source_pixmap"
16874
doc="Sets the given pixmap as the source pattern for the Cairo context.
16875
The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
16876
so that the origin of @pixmap is @pixmap_x, @pixmap_y"
16878
<return-value transfer-ownership="none">
16879
<type name="none" c:type="void"/>
16882
<parameter name="cr" transfer-ownership="none">
16883
<type name="cairo.Context" c:type="cairo_t*"/>
16885
<parameter name="pixmap" transfer-ownership="none">
16886
<type name="Pixmap" c:type="GdkPixmap*"/>
16888
<parameter name="pixmap_x" transfer-ownership="none">
16889
<type name="double" c:type="double"/>
16891
<parameter name="pixmap_y" transfer-ownership="none">
16892
<type name="double" c:type="double"/>
16896
<constant name="careof" value="2744">
16899
<constant name="caret" value="2812">
16902
<constant name="caron" value="439">
16905
<constant name="ccaron" value="488">
16908
<constant name="ccedilla" value="231">
16911
<constant name="ccircumflex" value="742">
16914
<constant name="cedilla" value="184">
16917
<constant name="cent" value="162">
16920
<function name="char_height"
16921
c:identifier="gdk_char_height"
16922
doc="Determines the total height of a given character.
16923
This value is not generally useful, because you cannot
16924
determine how this total height will be drawn in
16925
relation to the baseline. See gdk_text_extents()."
16926
deprecated="Use gdk_text_extents() instead."
16927
deprecated-version="2.2">
16928
<return-value transfer-ownership="none">
16929
<type name="int" c:type="gint"/>
16932
<parameter name="font" transfer-ownership="none">
16933
<type name="Font" c:type="GdkFont*"/>
16935
<parameter name="character" transfer-ownership="none">
16936
<type name="int8" c:type="gchar"/>
16940
<function name="char_measure"
16941
c:identifier="gdk_char_measure"
16942
doc="Determines the distance from the origin to the rightmost
16943
portion of a character when drawn. This is not the
16944
correct value for determining the origin of the next
16945
portion when drawing text in multiple pieces.">
16946
<return-value transfer-ownership="none">
16947
<type name="int" c:type="gint"/>
16950
<parameter name="font" transfer-ownership="none">
16951
<type name="Font" c:type="GdkFont*"/>
16953
<parameter name="character" transfer-ownership="none">
16954
<type name="int8" c:type="gchar"/>
16958
<function name="char_width"
16959
c:identifier="gdk_char_width"
16960
doc="Determines the width of a given character."
16961
deprecated="Use gdk_text_extents() instead."
16962
deprecated-version="2.2">
16963
<return-value transfer-ownership="none">
16964
<type name="int" c:type="gint"/>
16967
<parameter name="font" transfer-ownership="none">
16968
<type name="Font" c:type="GdkFont*"/>
16970
<parameter name="character" transfer-ownership="none">
16971
<type name="int8" c:type="gchar"/>
16975
<function name="char_width_wc"
16976
c:identifier="gdk_char_width_wc"
16977
doc="Determines the width of a given wide character. (Encoded
16978
in the wide-character encoding of the current locale).">
16979
<return-value transfer-ownership="none">
16980
<type name="int" c:type="gint"/>
16983
<parameter name="font" transfer-ownership="none">
16984
<type name="Font" c:type="GdkFont*"/>
16986
<parameter name="character" transfer-ownership="none">
16987
<type name="WChar" c:type="GdkWChar"/>
16991
<constant name="checkerboard" value="2529">
16994
<constant name="checkmark" value="2803">
16997
<constant name="circle" value="3023">
17000
<constant name="club" value="2796">
17003
<constant name="colon" value="58">
17006
<function name="color_alloc"
17007
c:identifier="gdk_color_alloc"
17008
doc="Allocates a single color from a colormap."
17009
deprecated="Use gdk_colormap_alloc_color() instead."
17010
deprecated-version="2.2">
17011
<return-value transfer-ownership="none">
17012
<type name="int" c:type="gint"/>
17015
<parameter name="colormap" transfer-ownership="none">
17016
<type name="Colormap" c:type="GdkColormap*"/>
17018
<parameter name="color"
17019
transfer-ownership="none"
17020
doc=" <structfield>pixel</structfield> field will be filled in.">
17021
<type name="Color" c:type="GdkColor*"/>
17025
<function name="color_black"
17026
c:identifier="gdk_color_black"
17027
doc="Returns the black color for a given colormap. The resulting
17028
value has already been allocated.">
17029
<return-value transfer-ownership="none">
17030
<type name="int" c:type="gint"/>
17033
<parameter name="colormap" transfer-ownership="none">
17034
<type name="Colormap" c:type="GdkColormap*"/>
17036
<parameter name="color" transfer-ownership="none">
17037
<type name="Color" c:type="GdkColor*"/>
17041
<function name="color_change"
17042
c:identifier="gdk_color_change"
17043
doc="Changes the value of a color that has already
17044
been allocated. If @colormap is not a private
17045
colormap, then the color must have been allocated
17046
using gdk_colormap_alloc_colors() with the">
17047
<return-value transfer-ownership="none">
17048
<type name="int" c:type="gint"/>
17051
<parameter name="colormap" transfer-ownership="none">
17052
<type name="Colormap" c:type="GdkColormap*"/>
17054
<parameter name="color"
17055
transfer-ownership="none"
17056
doc=" in the <structfield>pixel</structfield> field, and the new value in the remaining fields.">
17057
<type name="Color" c:type="GdkColor*"/>
17061
<function name="color_parse"
17062
c:identifier="gdk_color_parse"
17063
doc="Parses a textual specification of a color and fill in the
17064
<structfield>red</structfield>, <structfield>green</structfield>,
17065
and <structfield>blue</structfield> fields of a #GdkColor
17066
structure. The color is <emphasis>not</emphasis> allocated, you
17067
must call gdk_colormap_alloc_color() yourself. The string can
17068
either one of a large set of standard names. (Taken from the X11
17069
<filename>rgb.txt</filename> file), or it can be a hex value in the
17070
form '&num;rgb' '&num;rrggbb' '&num;rrrgggbbb' or
17071
'&num;rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the
17072
red, green, and blue components of the color, respectively. (White
17073
in the four forms is '&num;fff' '&num;ffffff' '&num;fffffffff' and
17074
'&num;ffffffffffff')">
17075
<return-value transfer-ownership="none">
17076
<type name="boolean" c:type="gboolean"/>
17079
<parameter name="spec" transfer-ownership="none">
17080
<type name="utf8" c:type="gchar*"/>
17082
<parameter name="color"
17084
caller-allocates="1"
17085
transfer-ownership="none"
17086
doc="the #GdkColor to fill in">
17087
<type name="Color" c:type="GdkColor*"/>
17091
<function name="color_white"
17092
c:identifier="gdk_color_white"
17093
doc="Returns the white color for a given colormap. The resulting
17094
value has already allocated been allocated.">
17095
<return-value transfer-ownership="none">
17096
<type name="int" c:type="gint"/>
17099
<parameter name="colormap" transfer-ownership="none">
17100
<type name="Colormap" c:type="GdkColormap*"/>
17102
<parameter name="color" transfer-ownership="none">
17103
<type name="Color" c:type="GdkColor*"/>
17107
<function name="colors_alloc"
17108
c:identifier="gdk_colors_alloc"
17109
doc="Allocates colors from a colormap. This function
17110
is obsolete. See gdk_colormap_alloc_colors().
17111
For full documentation of the fields, see
17112
the Xlib documentation for <function>XAllocColorCells()</function>.">
17113
<return-value transfer-ownership="none">
17114
<type name="int" c:type="gint"/>
17117
<parameter name="colormap" transfer-ownership="none">
17118
<type name="Colormap" c:type="GdkColormap*"/>
17120
<parameter name="contiguous"
17121
transfer-ownership="none"
17122
doc=" in contiguous color cells.">
17123
<type name="boolean" c:type="gboolean"/>
17125
<parameter name="planes"
17127
caller-allocates="0"
17128
transfer-ownership="full">
17129
<type name="ulong" c:type="gulong*"/>
17131
<parameter name="nplanes"
17132
transfer-ownership="none"
17133
doc=" to indicate that the color allocation should not be planar.)">
17134
<type name="int" c:type="gint"/>
17136
<parameter name="pixels"
17138
caller-allocates="0"
17139
transfer-ownership="full">
17140
<type name="ulong" c:type="gulong*"/>
17142
<parameter name="npixels" transfer-ownership="none">
17143
<type name="int" c:type="gint"/>
17147
<function name="colors_free"
17148
c:identifier="gdk_colors_free"
17149
doc="Frees colors allocated with gdk_colors_alloc(). This
17150
function is obsolete. See gdk_colormap_free_colors().">
17151
<return-value transfer-ownership="none">
17152
<type name="none" c:type="void"/>
17155
<parameter name="colormap" transfer-ownership="none">
17156
<type name="Colormap" c:type="GdkColormap*"/>
17158
<parameter name="pixels"
17160
caller-allocates="0"
17161
transfer-ownership="full">
17162
<type name="ulong" c:type="gulong*"/>
17164
<parameter name="npixels" transfer-ownership="none">
17165
<type name="int" c:type="gint"/>
17167
<parameter name="planes" transfer-ownership="none">
17168
<type name="ulong" c:type="gulong"/>
17172
<function name="colors_store"
17173
c:identifier="gdk_colors_store"
17174
doc="Changes the value of the first @ncolors colors in
17175
a private colormap. This function is obsolete and
17176
should not be used. See gdk_color_change().">
17177
<return-value transfer-ownership="none">
17178
<type name="none" c:type="void"/>
17181
<parameter name="colormap" transfer-ownership="none">
17182
<type name="Colormap" c:type="GdkColormap*"/>
17184
<parameter name="colors" transfer-ownership="none">
17185
<type name="Color" c:type="GdkColor*"/>
17187
<parameter name="ncolors" transfer-ownership="none">
17188
<type name="int" c:type="gint"/>
17192
<constant name="comma" value="44">
17195
<constant name="containsas" value="16785931">
17198
<constant name="copyright" value="169">
17201
<constant name="cr" value="2532">
17204
<constant name="crossinglines" value="2542">
17207
<constant name="cuberoot" value="16785947">
17210
<constant name="currency" value="164">
17213
<constant name="cursor" value="2815">
17216
<constant name="d" value="100">
17219
<constant name="dabovedot" value="16784907">
17222
<constant name="dagger" value="2801">
17225
<constant name="dcaron" value="495">
17228
<constant name="dead_A" value="65153">
17231
<constant name="dead_E" value="65155">
17234
<constant name="dead_I" value="65157">
17237
<constant name="dead_O" value="65159">
17240
<constant name="dead_U" value="65161">
17243
<constant name="dead_a" value="65152">
17246
<constant name="dead_abovecomma" value="65124">
17249
<constant name="dead_abovedot" value="65110">
17252
<constant name="dead_abovereversedcomma" value="65125">
17255
<constant name="dead_abovering" value="65112">
17258
<constant name="dead_acute" value="65105">
17261
<constant name="dead_belowbreve" value="65131">
17264
<constant name="dead_belowcircumflex" value="65129">
17267
<constant name="dead_belowcomma" value="65134">
17270
<constant name="dead_belowdiaeresis" value="65132">
17273
<constant name="dead_belowdot" value="65120">
17276
<constant name="dead_belowmacron" value="65128">
17279
<constant name="dead_belowring" value="65127">
17282
<constant name="dead_belowtilde" value="65130">
17285
<constant name="dead_breve" value="65109">
17288
<constant name="dead_capital_schwa" value="65163">
17291
<constant name="dead_caron" value="65114">
17294
<constant name="dead_cedilla" value="65115">
17297
<constant name="dead_circumflex" value="65106">
17300
<constant name="dead_currency" value="65135">
17303
<constant name="dead_dasia" value="65125">
17306
<constant name="dead_diaeresis" value="65111">
17309
<constant name="dead_doubleacute" value="65113">
17312
<constant name="dead_doublegrave" value="65126">
17315
<constant name="dead_e" value="65154">
17318
<constant name="dead_grave" value="65104">
17321
<constant name="dead_hook" value="65121">
17324
<constant name="dead_horn" value="65122">
17327
<constant name="dead_i" value="65156">
17330
<constant name="dead_invertedbreve" value="65133">
17333
<constant name="dead_iota" value="65117">
17336
<constant name="dead_macron" value="65108">
17339
<constant name="dead_o" value="65158">
17342
<constant name="dead_ogonek" value="65116">
17345
<constant name="dead_perispomeni" value="65107">
17348
<constant name="dead_psili" value="65124">
17351
<constant name="dead_semivoiced_sound" value="65119">
17354
<constant name="dead_small_schwa" value="65162">
17357
<constant name="dead_stroke" value="65123">
17360
<constant name="dead_tilde" value="65107">
17363
<constant name="dead_u" value="65160">
17366
<constant name="dead_voiced_sound" value="65118">
17369
<constant name="decimalpoint" value="2749">
17372
<constant name="degree" value="176">
17375
<function name="devices_list"
17376
c:identifier="gdk_devices_list"
17377
doc="Returns the list of available input devices for the default display.
17378
The list is statically allocated and should not be freed.">
17379
<return-value transfer-ownership="full">
17380
<type name="GLib.List" c:type="GList*"/>
17383
<constant name="diaeresis" value="168">
17386
<constant name="diamond" value="2797">
17389
<constant name="digitspace" value="2725">
17392
<constant name="dintegral" value="16785964">
17395
<constant name="division" value="247">
17398
<constant name="dollar" value="36">
17401
<constant name="doubbaselinedot" value="2735">
17404
<constant name="doubleacute" value="445">
17407
<constant name="doubledagger" value="2802">
17410
<constant name="doublelowquotemark" value="2814">
17413
<constant name="downarrow" value="2302">
17416
<constant name="downcaret" value="2984">
17419
<constant name="downshoe" value="3030">
17422
<constant name="downstile" value="3012">
17425
<constant name="downtack" value="3010">
17428
<function name="drag_abort"
17429
c:identifier="gdk_drag_abort"
17430
doc="Aborts a drag without dropping.
17431
This function is called by the drag source.">
17432
<return-value transfer-ownership="none">
17433
<type name="none" c:type="void"/>
17436
<parameter name="context" transfer-ownership="none">
17437
<type name="DragContext" c:type="GdkDragContext*"/>
17439
<parameter name="time_" transfer-ownership="none">
17440
<type name="uint32" c:type="guint32"/>
17444
<function name="drag_begin"
17445
c:identifier="gdk_drag_begin"
17446
doc="Starts a drag and creates a new drag context for it.
17447
This function is called by the drag source.">
17448
<return-value transfer-ownership="full">
17449
<type name="DragContext" c:type="GdkDragContext*"/>
17452
<parameter name="window" transfer-ownership="none">
17453
<type name="Window" c:type="GdkWindow*"/>
17455
<parameter name="targets" transfer-ownership="none">
17456
<type name="GLib.List" c:type="GList*"/>
17460
<function name="drag_drop"
17461
c:identifier="gdk_drag_drop"
17462
doc="Drops on the current destination.
17463
This function is called by the drag source.">
17464
<return-value transfer-ownership="none">
17465
<type name="none" c:type="void"/>
17468
<parameter name="context" transfer-ownership="none">
17469
<type name="DragContext" c:type="GdkDragContext*"/>
17471
<parameter name="time_" transfer-ownership="none">
17472
<type name="uint32" c:type="guint32"/>
17476
<function name="drag_drop_succeeded"
17477
c:identifier="gdk_drag_drop_succeeded"
17478
doc="Returns whether the dropped data has been successfully
17479
transferred. This function is intended to be used while
17480
handling a %GDK_DROP_FINISHED event, its return value is
17481
meaningless at other times."
17483
<return-value transfer-ownership="none">
17484
<type name="boolean" c:type="gboolean"/>
17487
<parameter name="context" transfer-ownership="none">
17488
<type name="DragContext" c:type="GdkDragContext*"/>
17492
<function name="drag_find_window"
17493
c:identifier="gdk_drag_find_window"
17494
doc="Finds the destination window and DND protocol to use at the
17495
given pointer position.
17496
This function is called by the drag source to obtain the">
17497
<return-value transfer-ownership="none">
17498
<type name="none" c:type="void"/>
17501
<parameter name="context" transfer-ownership="none">
17502
<type name="DragContext" c:type="GdkDragContext*"/>
17504
<parameter name="drag_window"
17505
transfer-ownership="none"
17506
doc=" should be ignored, since it is put up by the drag source as an icon.">
17507
<type name="Window" c:type="GdkWindow*"/>
17509
<parameter name="x_root" transfer-ownership="none">
17510
<type name="int" c:type="gint"/>
17512
<parameter name="y_root" transfer-ownership="none">
17513
<type name="int" c:type="gint"/>
17515
<parameter name="dest_window"
17517
caller-allocates="0"
17518
transfer-ownership="full"
17519
doc="location to store the destination window in.">
17520
<type name="Window" c:type="GdkWindow**"/>
17522
<parameter name="protocol"
17524
caller-allocates="1"
17525
transfer-ownership="none"
17526
doc="location to store the DND protocol in.">
17527
<type name="DragProtocol" c:type="GdkDragProtocol*"/>
17531
<function name="drag_find_window_for_screen"
17532
c:identifier="gdk_drag_find_window_for_screen"
17533
doc="Finds the destination window and DND protocol to use at the
17534
given pointer position.
17535
This function is called by the drag source to obtain the"
17537
<return-value transfer-ownership="none">
17538
<type name="none" c:type="void"/>
17541
<parameter name="context" transfer-ownership="none">
17542
<type name="DragContext" c:type="GdkDragContext*"/>
17544
<parameter name="drag_window"
17545
transfer-ownership="none"
17546
doc=" should be ignored, since it is put up by the drag source as an icon.">
17547
<type name="Window" c:type="GdkWindow*"/>
17549
<parameter name="screen" transfer-ownership="none">
17550
<type name="Screen" c:type="GdkScreen*"/>
17552
<parameter name="x_root" transfer-ownership="none">
17553
<type name="int" c:type="gint"/>
17555
<parameter name="y_root" transfer-ownership="none">
17556
<type name="int" c:type="gint"/>
17558
<parameter name="dest_window"
17560
caller-allocates="0"
17561
transfer-ownership="full"
17562
doc="location to store the destination window in.">
17563
<type name="Window" c:type="GdkWindow**"/>
17565
<parameter name="protocol"
17567
caller-allocates="1"
17568
transfer-ownership="none"
17569
doc="location to store the DND protocol in.">
17570
<type name="DragProtocol" c:type="GdkDragProtocol*"/>
17574
<function name="drag_get_protocol"
17575
c:identifier="gdk_drag_get_protocol"
17576
doc="Finds out the DND protocol supported by a window.
17577
the drop should happen. This may be @xid or the id of a proxy
17578
window, or zero if @xid doesn't support Drag and Drop.">
17579
<return-value transfer-ownership="full">
17580
<type name="NativeWindow" c:type="GdkNativeWindow"/>
17583
<parameter name="xid" transfer-ownership="none">
17584
<type name="NativeWindow" c:type="GdkNativeWindow"/>
17586
<parameter name="protocol" transfer-ownership="none">
17587
<type name="DragProtocol" c:type="GdkDragProtocol*"/>
17591
<function name="drag_get_protocol_for_display"
17592
c:identifier="gdk_drag_get_protocol_for_display"
17593
doc="Finds out the DND protocol supported by a window."
17595
<return-value transfer-ownership="full"
17596
doc=" may be @xid or the id of a proxy window, or zero if @xid doesn't support Drag and Drop.">
17597
<type name="NativeWindow" c:type="GdkNativeWindow"/>
17600
<parameter name="display" transfer-ownership="none">
17601
<type name="Display" c:type="GdkDisplay*"/>
17603
<parameter name="xid" transfer-ownership="none">
17604
<type name="NativeWindow" c:type="GdkNativeWindow"/>
17606
<parameter name="protocol" transfer-ownership="none">
17607
<type name="DragProtocol" c:type="GdkDragProtocol*"/>
17611
<function name="drag_get_selection"
17612
c:identifier="gdk_drag_get_selection"
17613
doc="Returns the selection atom for the current source window.">
17614
<return-value transfer-ownership="full">
17615
<type name="Atom" c:type="GdkAtom"/>
17618
<parameter name="context" transfer-ownership="none">
17619
<type name="DragContext" c:type="GdkDragContext*"/>
17623
<function name="drag_motion"
17624
c:identifier="gdk_drag_motion"
17625
doc="Updates the drag context when the pointer moves or the
17626
set of actions changes.
17627
This function is called by the drag source.">
17628
<return-value transfer-ownership="none">
17629
<type name="boolean" c:type="gboolean"/>
17632
<parameter name="context" transfer-ownership="none">
17633
<type name="DragContext" c:type="GdkDragContext*"/>
17635
<parameter name="dest_window"
17636
transfer-ownership="none"
17637
doc=" gdk_drag_find_window().">
17638
<type name="Window" c:type="GdkWindow*"/>
17640
<parameter name="protocol" transfer-ownership="none">
17641
<type name="DragProtocol" c:type="GdkDragProtocol"/>
17643
<parameter name="x_root" transfer-ownership="none">
17644
<type name="int" c:type="gint"/>
17646
<parameter name="y_root" transfer-ownership="none">
17647
<type name="int" c:type="gint"/>
17649
<parameter name="suggested_action" transfer-ownership="none">
17650
<type name="DragAction" c:type="GdkDragAction"/>
17652
<parameter name="possible_actions" transfer-ownership="none">
17653
<type name="DragAction" c:type="GdkDragAction"/>
17655
<parameter name="time_" transfer-ownership="none">
17656
<type name="uint32" c:type="guint32"/>
17660
<function name="drag_status"
17661
c:identifier="gdk_drag_status"
17662
doc="Selects one of the actions offered by the drag source.
17663
This function is called by the drag destination in response to
17664
gdk_drag_motion() called by the drag source.">
17665
<return-value transfer-ownership="none">
17666
<type name="none" c:type="void"/>
17669
<parameter name="context" transfer-ownership="none">
17670
<type name="DragContext" c:type="GdkDragContext*"/>
17672
<parameter name="action"
17673
transfer-ownership="none"
17674
doc=" or 0 to indicate that a drop will not be accepted.">
17675
<type name="DragAction" c:type="GdkDragAction"/>
17677
<parameter name="time_" transfer-ownership="none">
17678
<type name="uint32" c:type="guint32"/>
17682
<function name="draw_arc"
17683
c:identifier="gdk_draw_arc"
17684
doc="Draws an arc or a filled 'pie slice'. The arc is defined by the bounding
17685
rectangle of the entire ellipse, and the start and end angles of the part
17686
of the ellipse to be drawn.">
17687
<return-value transfer-ownership="none">
17688
<type name="none" c:type="void"/>
17691
<parameter name="drawable" transfer-ownership="none">
17692
<type name="Drawable" c:type="GdkDrawable*"/>
17694
<parameter name="gc" transfer-ownership="none">
17695
<type name="GC" c:type="GdkGC*"/>
17697
<parameter name="filled" transfer-ownership="none">
17698
<type name="boolean" c:type="gboolean"/>
17700
<parameter name="x" transfer-ownership="none">
17701
<type name="int" c:type="gint"/>
17703
<parameter name="y" transfer-ownership="none">
17704
<type name="int" c:type="gint"/>
17706
<parameter name="width" transfer-ownership="none">
17707
<type name="int" c:type="gint"/>
17709
<parameter name="height" transfer-ownership="none">
17710
<type name="int" c:type="gint"/>
17712
<parameter name="angle1"
17713
transfer-ownership="none"
17714
doc=" counter-clockwise, in 1/64ths of a degree.">
17715
<type name="int" c:type="gint"/>
17717
<parameter name="angle2" transfer-ownership="none" doc=" of a degree.">
17718
<type name="int" c:type="gint"/>
17722
<function name="draw_drawable"
17723
c:identifier="gdk_draw_drawable"
17724
doc="Copies the @width x @height region of @src at coordinates (@xsrc,
17725
Most fields in @gc are not used for this operation, but notably the
17726
clip mask or clip region will be honored.
17727
The source and destination drawables must have the same visual and
17728
colormap, or errors will result. (On X11, failure to match
17729
visual/colormap results in a BadMatch error from the X server.)
17730
A common cause of this problem is an attempt to draw a bitmap to
17731
a color drawable. The way to draw a bitmap is to set the bitmap as
17732
the stipple on the #GdkGC, set the fill mode to %GDK_STIPPLED, and
17733
then draw the rectangle.">
17734
<return-value transfer-ownership="none">
17735
<type name="none" c:type="void"/>
17738
<parameter name="drawable" transfer-ownership="none">
17739
<type name="Drawable" c:type="GdkDrawable*"/>
17741
<parameter name="gc" transfer-ownership="none">
17742
<type name="GC" c:type="GdkGC*"/>
17744
<parameter name="src" transfer-ownership="none">
17745
<type name="Drawable" c:type="GdkDrawable*"/>
17747
<parameter name="xsrc" transfer-ownership="none">
17748
<type name="int" c:type="gint"/>
17750
<parameter name="ysrc" transfer-ownership="none">
17751
<type name="int" c:type="gint"/>
17753
<parameter name="xdest" transfer-ownership="none">
17754
<type name="int" c:type="gint"/>
17756
<parameter name="ydest" transfer-ownership="none">
17757
<type name="int" c:type="gint"/>
17759
<parameter name="width" transfer-ownership="none">
17760
<type name="int" c:type="gint"/>
17762
<parameter name="height" transfer-ownership="none">
17763
<type name="int" c:type="gint"/>
17767
<function name="draw_glyphs"
17768
c:identifier="gdk_draw_glyphs"
17769
doc="This is a low-level function; 99% of text rendering should be done
17770
using gdk_draw_layout() instead.
17771
A glyph is a single image in a font. This function draws a sequence of
17772
glyphs. To obtain a sequence of glyphs you have to understand a
17773
lot about internationalized text handling, which you don't want to
17774
understand; thus, use gdk_draw_layout() instead of this function,
17775
gdk_draw_layout() handles the details.">
17776
<return-value transfer-ownership="none">
17777
<type name="none" c:type="void"/>
17780
<parameter name="drawable" transfer-ownership="none">
17781
<type name="Drawable" c:type="GdkDrawable*"/>
17783
<parameter name="gc" transfer-ownership="none">
17784
<type name="GC" c:type="GdkGC*"/>
17786
<parameter name="font" transfer-ownership="none">
17787
<type name="Pango.Font" c:type="PangoFont*"/>
17789
<parameter name="x" transfer-ownership="none">
17790
<type name="int" c:type="gint"/>
17792
<parameter name="y" transfer-ownership="none">
17793
<type name="int" c:type="gint"/>
17795
<parameter name="glyphs" transfer-ownership="none">
17796
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
17800
<function name="draw_glyphs_transformed"
17801
c:identifier="gdk_draw_glyphs_transformed"
17802
doc="Renders a #PangoGlyphString onto a drawable, possibly
17803
transforming the layed-out coordinates through a transformation
17804
matrix. Note that the transformation matrix for @font is not
17805
changed, so to produce correct rendering results, the @font
17806
must have been loaded using a #PangoContext with an identical
17807
transformation matrix to that passed in to this function.
17808
See also gdk_draw_glyphs(), gdk_draw_layout()."
17810
<return-value transfer-ownership="none">
17811
<type name="none" c:type="void"/>
17814
<parameter name="drawable" transfer-ownership="none">
17815
<type name="Drawable" c:type="GdkDrawable*"/>
17817
<parameter name="gc" transfer-ownership="none">
17818
<type name="GC" c:type="GdkGC*"/>
17820
<parameter name="matrix"
17821
transfer-ownership="none"
17823
doc="a #PangoMatrix, or %NULL to use an identity transformation">
17824
<type name="Pango.Matrix" c:type="PangoMatrix*"/>
17826
<parameter name="font" transfer-ownership="none">
17827
<type name="Pango.Font" c:type="PangoFont*"/>
17829
<parameter name="x"
17830
transfer-ownership="none"
17831
doc=" units in user space coordinates)">
17832
<type name="int" c:type="gint"/>
17834
<parameter name="y"
17835
transfer-ownership="none"
17836
doc=" in user space coordinates)">
17837
<type name="int" c:type="gint"/>
17839
<parameter name="glyphs" transfer-ownership="none">
17840
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
17844
<function name="draw_gray_image" c:identifier="gdk_draw_gray_image">
17845
<return-value transfer-ownership="none">
17846
<type name="none" c:type="void"/>
17849
<parameter name="drawable" transfer-ownership="none">
17850
<type name="Drawable" c:type="GdkDrawable*"/>
17852
<parameter name="gc" transfer-ownership="none">
17853
<type name="GC" c:type="GdkGC*"/>
17855
<parameter name="x" transfer-ownership="none">
17856
<type name="int" c:type="gint"/>
17858
<parameter name="y" transfer-ownership="none">
17859
<type name="int" c:type="gint"/>
17861
<parameter name="width" transfer-ownership="none">
17862
<type name="int" c:type="gint"/>
17864
<parameter name="height" transfer-ownership="none">
17865
<type name="int" c:type="gint"/>
17867
<parameter name="dith" transfer-ownership="none">
17868
<type name="RgbDither" c:type="GdkRgbDither"/>
17870
<parameter name="buf" transfer-ownership="none">
17871
<array c:type="guchar*">
17872
<type name="uint8"/>
17875
<parameter name="rowstride" transfer-ownership="none">
17876
<type name="int" c:type="gint"/>
17880
<function name="draw_image"
17881
c:identifier="gdk_draw_image"
17882
doc="Draws a #GdkImage onto a drawable.
17883
The depth of the #GdkImage must match the depth of the #GdkDrawable.">
17884
<return-value transfer-ownership="none">
17885
<type name="none" c:type="void"/>
17888
<parameter name="drawable" transfer-ownership="none">
17889
<type name="Drawable" c:type="GdkDrawable*"/>
17891
<parameter name="gc" transfer-ownership="none">
17892
<type name="GC" c:type="GdkGC*"/>
17894
<parameter name="image" transfer-ownership="none">
17895
<type name="Image" c:type="GdkImage*"/>
17897
<parameter name="xsrc" transfer-ownership="none">
17898
<type name="int" c:type="gint"/>
17900
<parameter name="ysrc" transfer-ownership="none">
17901
<type name="int" c:type="gint"/>
17903
<parameter name="xdest" transfer-ownership="none">
17904
<type name="int" c:type="gint"/>
17906
<parameter name="ydest" transfer-ownership="none">
17907
<type name="int" c:type="gint"/>
17909
<parameter name="width"
17910
transfer-ownership="none"
17911
doc=" extend to the right edge of @image.">
17912
<type name="int" c:type="gint"/>
17914
<parameter name="height"
17915
transfer-ownership="none"
17916
doc=" extend to the bottom edge of @image.">
17917
<type name="int" c:type="gint"/>
17921
<function name="draw_indexed_image" c:identifier="gdk_draw_indexed_image">
17922
<return-value transfer-ownership="none">
17923
<type name="none" c:type="void"/>
17926
<parameter name="drawable" transfer-ownership="none">
17927
<type name="Drawable" c:type="GdkDrawable*"/>
17929
<parameter name="gc" transfer-ownership="none">
17930
<type name="GC" c:type="GdkGC*"/>
17932
<parameter name="x" transfer-ownership="none">
17933
<type name="int" c:type="gint"/>
17935
<parameter name="y" transfer-ownership="none">
17936
<type name="int" c:type="gint"/>
17938
<parameter name="width" transfer-ownership="none">
17939
<type name="int" c:type="gint"/>
17941
<parameter name="height" transfer-ownership="none">
17942
<type name="int" c:type="gint"/>
17944
<parameter name="dith" transfer-ownership="none">
17945
<type name="RgbDither" c:type="GdkRgbDither"/>
17947
<parameter name="buf" transfer-ownership="none">
17948
<array c:type="guchar*">
17949
<type name="uint8"/>
17952
<parameter name="rowstride" transfer-ownership="none">
17953
<type name="int" c:type="gint"/>
17955
<parameter name="cmap" transfer-ownership="none">
17956
<type name="RgbCmap" c:type="GdkRgbCmap*"/>
17960
<function name="draw_layout"
17961
c:identifier="gdk_draw_layout"
17962
doc="Render a #PangoLayout onto a GDK drawable
17963
If the layout's #PangoContext has a transformation matrix set, then
17964
bounding box (in device space) of the transformed layout.
17965
If you're using GTK+, the usual way to obtain a #PangoLayout
17966
is gtk_widget_create_pango_layout().">
17967
<return-value transfer-ownership="none">
17968
<type name="none" c:type="void"/>
17971
<parameter name="drawable" transfer-ownership="none">
17972
<type name="Drawable" c:type="GdkDrawable*"/>
17974
<parameter name="gc" transfer-ownership="none">
17975
<type name="GC" c:type="GdkGC*"/>
17977
<parameter name="x" transfer-ownership="none">
17978
<type name="int" c:type="gint"/>
17980
<parameter name="y" transfer-ownership="none">
17981
<type name="int" c:type="gint"/>
17983
<parameter name="layout" transfer-ownership="none">
17984
<type name="Pango.Layout" c:type="PangoLayout*"/>
17988
<function name="draw_layout_line"
17989
c:identifier="gdk_draw_layout_line"
17990
doc="Render a #PangoLayoutLine onto an GDK drawable
17991
If the layout's #PangoContext has a transformation matrix set, then
17992
(left is in before-tranform user coordinates) in after-transform
17993
device coordinates.">
17994
<return-value transfer-ownership="none">
17995
<type name="none" c:type="void"/>
17998
<parameter name="drawable" transfer-ownership="none">
17999
<type name="Drawable" c:type="GdkDrawable*"/>
18001
<parameter name="gc" transfer-ownership="none">
18002
<type name="GC" c:type="GdkGC*"/>
18004
<parameter name="x" transfer-ownership="none">
18005
<type name="int" c:type="gint"/>
18007
<parameter name="y" transfer-ownership="none">
18008
<type name="int" c:type="gint"/>
18010
<parameter name="line" transfer-ownership="none">
18011
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
18015
<function name="draw_layout_line_with_colors"
18016
c:identifier="gdk_draw_layout_line_with_colors"
18017
doc="Render a #PangoLayoutLine onto a #GdkDrawable, overriding the
18018
layout's normal colors with @foreground and/or @background.
18019
If the layout's #PangoContext has a transformation matrix set, then
18020
(left is in before-tranform user coordinates) in after-transform
18021
device coordinates.">
18022
<return-value transfer-ownership="none">
18023
<type name="none" c:type="void"/>
18026
<parameter name="drawable" transfer-ownership="none">
18027
<type name="Drawable" c:type="GdkDrawable*"/>
18029
<parameter name="gc" transfer-ownership="none">
18030
<type name="GC" c:type="GdkGC*"/>
18032
<parameter name="x" transfer-ownership="none">
18033
<type name="int" c:type="gint"/>
18035
<parameter name="y" transfer-ownership="none">
18036
<type name="int" c:type="gint"/>
18038
<parameter name="line" transfer-ownership="none">
18039
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
18041
<parameter name="foreground"
18042
transfer-ownership="none"
18044
doc="foreground override color, or %NULL for none">
18045
<type name="Color" c:type="GdkColor*"/>
18047
<parameter name="background"
18048
transfer-ownership="none"
18050
doc="background override color, or %NULL for none">
18051
<type name="Color" c:type="GdkColor*"/>
18055
<function name="draw_layout_with_colors"
18056
c:identifier="gdk_draw_layout_with_colors"
18057
doc="Render a #PangoLayout onto a #GdkDrawable, overriding the
18058
layout's normal colors with @foreground and/or @background.
18059
If the layout's #PangoContext has a transformation matrix set, then
18060
bounding box (in device space) of the transformed layout.
18061
If you're using GTK+, the ususal way to obtain a #PangoLayout
18062
is gtk_widget_create_pango_layout().">
18063
<return-value transfer-ownership="none">
18064
<type name="none" c:type="void"/>
18067
<parameter name="drawable" transfer-ownership="none">
18068
<type name="Drawable" c:type="GdkDrawable*"/>
18070
<parameter name="gc" transfer-ownership="none">
18071
<type name="GC" c:type="GdkGC*"/>
18073
<parameter name="x" transfer-ownership="none">
18074
<type name="int" c:type="gint"/>
18076
<parameter name="y" transfer-ownership="none">
18077
<type name="int" c:type="gint"/>
18079
<parameter name="layout" transfer-ownership="none">
18080
<type name="Pango.Layout" c:type="PangoLayout*"/>
18082
<parameter name="foreground"
18083
transfer-ownership="none"
18085
doc="foreground override color, or %NULL for none">
18086
<type name="Color" c:type="GdkColor*"/>
18088
<parameter name="background"
18089
transfer-ownership="none"
18091
doc="background override color, or %NULL for none">
18092
<type name="Color" c:type="GdkColor*"/>
18096
<function name="draw_line"
18097
c:identifier="gdk_draw_line"
18098
doc="Draws a line, using the foreground color and other attributes of
18100
<return-value transfer-ownership="none">
18101
<type name="none" c:type="void"/>
18104
<parameter name="drawable" transfer-ownership="none">
18105
<type name="Drawable" c:type="GdkDrawable*"/>
18107
<parameter name="gc" transfer-ownership="none">
18108
<type name="GC" c:type="GdkGC*"/>
18110
<parameter name="x1_" transfer-ownership="none">
18111
<type name="int" c:type="gint"/>
18113
<parameter name="y1_" transfer-ownership="none">
18114
<type name="int" c:type="gint"/>
18116
<parameter name="x2_" transfer-ownership="none">
18117
<type name="int" c:type="gint"/>
18119
<parameter name="y2_" transfer-ownership="none">
18120
<type name="int" c:type="gint"/>
18124
<function name="draw_lines"
18125
c:identifier="gdk_draw_lines"
18126
doc="Draws a series of lines connecting the given points.
18127
The way in which joins between lines are draw is determined by the
18128
#GdkCapStyle value in the #GdkGC. This can be set with
18129
gdk_gc_set_line_attributes().">
18130
<return-value transfer-ownership="none">
18131
<type name="none" c:type="void"/>
18134
<parameter name="drawable" transfer-ownership="none">
18135
<type name="Drawable" c:type="GdkDrawable*"/>
18137
<parameter name="gc" transfer-ownership="none">
18138
<type name="GC" c:type="GdkGC*"/>
18140
<parameter name="points" transfer-ownership="none">
18141
<type name="Point" c:type="GdkPoint*"/>
18143
<parameter name="n_points" transfer-ownership="none">
18144
<type name="int" c:type="gint"/>
18148
<function name="draw_pixbuf"
18149
c:identifier="gdk_draw_pixbuf"
18150
doc="Renders a rectangular portion of a pixbuf to a drawable. The destination
18151
drawable must have a colormap. All windows have a colormap, however, pixmaps
18152
only have colormap by default if they were created with a non-%NULL window
18153
argument. Otherwise a colormap must be set on them with
18154
gdk_drawable_set_colormap().
18155
On older X servers, rendering pixbufs with an alpha channel involves round
18156
trips to the X server, and may be somewhat slow.
18157
If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf
18158
function is accelerated using mediaLib, which provides hardware
18159
acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib
18160
support can be turned off by setting the GDK_DISABLE_MEDIALIB environment
18163
<return-value transfer-ownership="none">
18164
<type name="none" c:type="void"/>
18167
<parameter name="drawable" transfer-ownership="none">
18168
<type name="Drawable" c:type="GdkDrawable*"/>
18170
<parameter name="gc"
18171
transfer-ownership="none"
18173
doc="a #GdkGC, used for clipping, or %NULL">
18174
<type name="GC" c:type="GdkGC*"/>
18176
<parameter name="pixbuf" transfer-ownership="none">
18177
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
18179
<parameter name="src_x" transfer-ownership="none">
18180
<type name="int" c:type="gint"/>
18182
<parameter name="src_y" transfer-ownership="none">
18183
<type name="int" c:type="gint"/>
18185
<parameter name="dest_x" transfer-ownership="none">
18186
<type name="int" c:type="gint"/>
18188
<parameter name="dest_y" transfer-ownership="none">
18189
<type name="int" c:type="gint"/>
18191
<parameter name="width" transfer-ownership="none">
18192
<type name="int" c:type="gint"/>
18194
<parameter name="height" transfer-ownership="none">
18195
<type name="int" c:type="gint"/>
18197
<parameter name="dither" transfer-ownership="none">
18198
<type name="RgbDither" c:type="GdkRgbDither"/>
18200
<parameter name="x_dither" transfer-ownership="none">
18201
<type name="int" c:type="gint"/>
18203
<parameter name="y_dither" transfer-ownership="none">
18204
<type name="int" c:type="gint"/>
18208
<function name="draw_point"
18209
c:identifier="gdk_draw_point"
18210
doc="Draws a point, using the foreground color and other attributes of
18212
<return-value transfer-ownership="none">
18213
<type name="none" c:type="void"/>
18216
<parameter name="drawable" transfer-ownership="none">
18217
<type name="Drawable" c:type="GdkDrawable*"/>
18219
<parameter name="gc" transfer-ownership="none">
18220
<type name="GC" c:type="GdkGC*"/>
18222
<parameter name="x" transfer-ownership="none">
18223
<type name="int" c:type="gint"/>
18225
<parameter name="y" transfer-ownership="none">
18226
<type name="int" c:type="gint"/>
18230
<function name="draw_points"
18231
c:identifier="gdk_draw_points"
18232
doc="Draws a number of points, using the foreground color and other
18233
attributes of the #GdkGC.">
18234
<return-value transfer-ownership="none">
18235
<type name="none" c:type="void"/>
18238
<parameter name="drawable" transfer-ownership="none">
18239
<type name="Drawable" c:type="GdkDrawable*"/>
18241
<parameter name="gc" transfer-ownership="none">
18242
<type name="GC" c:type="GdkGC*"/>
18244
<parameter name="points" transfer-ownership="none">
18245
<type name="Point" c:type="GdkPoint*"/>
18247
<parameter name="n_points" transfer-ownership="none">
18248
<type name="int" c:type="gint"/>
18252
<function name="draw_polygon"
18253
c:identifier="gdk_draw_polygon"
18254
doc="Draws an outlined or filled polygon.">
18255
<return-value transfer-ownership="none">
18256
<type name="none" c:type="void"/>
18259
<parameter name="drawable" transfer-ownership="none">
18260
<type name="Drawable" c:type="GdkDrawable*"/>
18262
<parameter name="gc" transfer-ownership="none">
18263
<type name="GC" c:type="GdkGC*"/>
18265
<parameter name="filled"
18266
transfer-ownership="none"
18267
doc=" automatically, connecting the last point to the first point if necessary.">
18268
<type name="boolean" c:type="gboolean"/>
18270
<parameter name="points"
18271
transfer-ownership="none"
18272
doc=" up the polygon.">
18273
<type name="Point" c:type="GdkPoint*"/>
18275
<parameter name="n_points" transfer-ownership="none">
18276
<type name="int" c:type="gint"/>
18280
<function name="draw_rectangle"
18281
c:identifier="gdk_draw_rectangle"
18282
doc="Draws a rectangular outline or filled rectangle, using the foreground color
18283
and other attributes of the #GdkGC.
18284
A rectangle drawn filled is 1 pixel smaller in both dimensions than a
18285
rectangle outlined. Calling
18286
<literal>gdk_draw_rectangle (window, gc, TRUE, 0, 0, 20, 20)</literal>
18287
results in a filled rectangle 20 pixels wide and 20 pixels high. Calling
18288
<literal>gdk_draw_rectangle (window, gc, FALSE, 0, 0, 20, 20)</literal>
18289
results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20),
18290
and (20, 0), which makes it 21 pixels wide and 21 pixels high.">
18291
<return-value transfer-ownership="none">
18292
<type name="none" c:type="void"/>
18295
<parameter name="drawable" transfer-ownership="none">
18296
<type name="Drawable" c:type="GdkDrawable*"/>
18298
<parameter name="gc" transfer-ownership="none">
18299
<type name="GC" c:type="GdkGC*"/>
18301
<parameter name="filled" transfer-ownership="none">
18302
<type name="boolean" c:type="gboolean"/>
18304
<parameter name="x" transfer-ownership="none">
18305
<type name="int" c:type="gint"/>
18307
<parameter name="y" transfer-ownership="none">
18308
<type name="int" c:type="gint"/>
18310
<parameter name="width" transfer-ownership="none">
18311
<type name="int" c:type="gint"/>
18313
<parameter name="height" transfer-ownership="none">
18314
<type name="int" c:type="gint"/>
18318
<function name="draw_rgb_32_image" c:identifier="gdk_draw_rgb_32_image">
18319
<return-value transfer-ownership="none">
18320
<type name="none" c:type="void"/>
18323
<parameter name="drawable" transfer-ownership="none">
18324
<type name="Drawable" c:type="GdkDrawable*"/>
18326
<parameter name="gc" transfer-ownership="none">
18327
<type name="GC" c:type="GdkGC*"/>
18329
<parameter name="x" transfer-ownership="none">
18330
<type name="int" c:type="gint"/>
18332
<parameter name="y" transfer-ownership="none">
18333
<type name="int" c:type="gint"/>
18335
<parameter name="width" transfer-ownership="none">
18336
<type name="int" c:type="gint"/>
18338
<parameter name="height" transfer-ownership="none">
18339
<type name="int" c:type="gint"/>
18341
<parameter name="dith" transfer-ownership="none">
18342
<type name="RgbDither" c:type="GdkRgbDither"/>
18344
<parameter name="buf" transfer-ownership="none">
18345
<array c:type="guchar*">
18346
<type name="uint8"/>
18349
<parameter name="rowstride" transfer-ownership="none">
18350
<type name="int" c:type="gint"/>
18354
<function name="draw_rgb_32_image_dithalign"
18355
c:identifier="gdk_draw_rgb_32_image_dithalign"
18356
doc="Like gdk_draw_rgb_32_image(), but allows you to specify the dither
18357
offsets. See gdk_draw_rgb_image_dithalign() for more details.">
18358
<return-value transfer-ownership="none">
18359
<type name="none" c:type="void"/>
18362
<parameter name="drawable" transfer-ownership="none">
18363
<type name="Drawable" c:type="GdkDrawable*"/>
18365
<parameter name="gc" transfer-ownership="none">
18366
<type name="GC" c:type="GdkGC*"/>
18368
<parameter name="x" transfer-ownership="none">
18369
<type name="int" c:type="gint"/>
18371
<parameter name="y" transfer-ownership="none">
18372
<type name="int" c:type="gint"/>
18374
<parameter name="width" transfer-ownership="none">
18375
<type name="int" c:type="gint"/>
18377
<parameter name="height" transfer-ownership="none">
18378
<type name="int" c:type="gint"/>
18380
<parameter name="dith" transfer-ownership="none">
18381
<type name="RgbDither" c:type="GdkRgbDither"/>
18383
<parameter name="buf" transfer-ownership="none">
18384
<array c:type="guchar*">
18385
<type name="uint8"/>
18388
<parameter name="rowstride" transfer-ownership="none">
18389
<type name="int" c:type="gint"/>
18391
<parameter name="xdith" transfer-ownership="none">
18392
<type name="int" c:type="gint"/>
18394
<parameter name="ydith" transfer-ownership="none">
18395
<type name="int" c:type="gint"/>
18399
<function name="draw_rgb_image" c:identifier="gdk_draw_rgb_image">
18400
<return-value transfer-ownership="none">
18401
<type name="none" c:type="void"/>
18404
<parameter name="drawable" transfer-ownership="none">
18405
<type name="Drawable" c:type="GdkDrawable*"/>
18407
<parameter name="gc" transfer-ownership="none">
18408
<type name="GC" c:type="GdkGC*"/>
18410
<parameter name="x" transfer-ownership="none">
18411
<type name="int" c:type="gint"/>
18413
<parameter name="y" transfer-ownership="none">
18414
<type name="int" c:type="gint"/>
18416
<parameter name="width" transfer-ownership="none">
18417
<type name="int" c:type="gint"/>
18419
<parameter name="height" transfer-ownership="none">
18420
<type name="int" c:type="gint"/>
18422
<parameter name="dith" transfer-ownership="none">
18423
<type name="RgbDither" c:type="GdkRgbDither"/>
18425
<parameter name="rgb_buf" transfer-ownership="none">
18426
<array c:type="guchar*">
18427
<type name="uint8"/>
18430
<parameter name="rowstride" transfer-ownership="none">
18431
<type name="int" c:type="gint"/>
18435
<function name="draw_rgb_image_dithalign"
18436
c:identifier="gdk_draw_rgb_image_dithalign">
18437
<return-value transfer-ownership="none">
18438
<type name="none" c:type="void"/>
18441
<parameter name="drawable" transfer-ownership="none">
18442
<type name="Drawable" c:type="GdkDrawable*"/>
18444
<parameter name="gc" transfer-ownership="none">
18445
<type name="GC" c:type="GdkGC*"/>
18447
<parameter name="x" transfer-ownership="none">
18448
<type name="int" c:type="gint"/>
18450
<parameter name="y" transfer-ownership="none">
18451
<type name="int" c:type="gint"/>
18453
<parameter name="width" transfer-ownership="none">
18454
<type name="int" c:type="gint"/>
18456
<parameter name="height" transfer-ownership="none">
18457
<type name="int" c:type="gint"/>
18459
<parameter name="dith" transfer-ownership="none">
18460
<type name="RgbDither" c:type="GdkRgbDither"/>
18462
<parameter name="rgb_buf" transfer-ownership="none">
18463
<array c:type="guchar*">
18464
<type name="uint8"/>
18467
<parameter name="rowstride" transfer-ownership="none">
18468
<type name="int" c:type="gint"/>
18470
<parameter name="xdith" transfer-ownership="none">
18471
<type name="int" c:type="gint"/>
18473
<parameter name="ydith" transfer-ownership="none">
18474
<type name="int" c:type="gint"/>
18478
<function name="draw_segments"
18479
c:identifier="gdk_draw_segments"
18480
doc="Draws a number of unconnected lines.">
18481
<return-value transfer-ownership="none">
18482
<type name="none" c:type="void"/>
18485
<parameter name="drawable" transfer-ownership="none">
18486
<type name="Drawable" c:type="GdkDrawable*"/>
18488
<parameter name="gc" transfer-ownership="none">
18489
<type name="GC" c:type="GdkGC*"/>
18491
<parameter name="segs"
18492
transfer-ownership="none"
18493
doc=" end points of the lines to be drawn.">
18494
<type name="Segment" c:type="GdkSegment*"/>
18496
<parameter name="n_segs" transfer-ownership="none">
18497
<type name="int" c:type="gint"/>
18501
<function name="draw_string"
18502
c:identifier="gdk_draw_string"
18503
doc="Draws a string of characters in the given font or fontset."
18504
deprecated="Use gdk_draw_layout() instead."
18505
deprecated-version="2.4">
18506
<return-value transfer-ownership="none">
18507
<type name="none" c:type="void"/>
18510
<parameter name="drawable" transfer-ownership="none">
18511
<type name="Drawable" c:type="GdkDrawable*"/>
18513
<parameter name="font" transfer-ownership="none">
18514
<type name="Font" c:type="GdkFont*"/>
18516
<parameter name="gc" transfer-ownership="none">
18517
<type name="GC" c:type="GdkGC*"/>
18519
<parameter name="x" transfer-ownership="none">
18520
<type name="int" c:type="gint"/>
18522
<parameter name="y" transfer-ownership="none">
18523
<type name="int" c:type="gint"/>
18525
<parameter name="string" transfer-ownership="none">
18526
<type name="utf8" c:type="gchar*"/>
18530
<function name="draw_text"
18531
c:identifier="gdk_draw_text"
18532
doc="Draws a number of characters in the given font or fontset."
18533
deprecated="Use gdk_draw_layout() instead."
18534
deprecated-version="2.4">
18535
<return-value transfer-ownership="none">
18536
<type name="none" c:type="void"/>
18539
<parameter name="drawable" transfer-ownership="none">
18540
<type name="Drawable" c:type="GdkDrawable*"/>
18542
<parameter name="font" transfer-ownership="none">
18543
<type name="Font" c:type="GdkFont*"/>
18545
<parameter name="gc" transfer-ownership="none">
18546
<type name="GC" c:type="GdkGC*"/>
18548
<parameter name="x" transfer-ownership="none">
18549
<type name="int" c:type="gint"/>
18551
<parameter name="y" transfer-ownership="none">
18552
<type name="int" c:type="gint"/>
18554
<parameter name="text" transfer-ownership="none">
18555
<type name="utf8" c:type="gchar*"/>
18557
<parameter name="text_length" transfer-ownership="none">
18558
<type name="int" c:type="gint"/>
18562
<function name="draw_text_wc"
18563
c:identifier="gdk_draw_text_wc"
18564
doc="Draws a number of wide characters using the given font of fontset.
18565
If the font is a 1-byte font, the string is converted into 1-byte
18566
characters (discarding the high bytes) before output."
18567
deprecated="Use gdk_draw_layout() instead."
18568
deprecated-version="2.4">
18569
<return-value transfer-ownership="none">
18570
<type name="none" c:type="void"/>
18573
<parameter name="drawable" transfer-ownership="none">
18574
<type name="Drawable" c:type="GdkDrawable*"/>
18576
<parameter name="font" transfer-ownership="none">
18577
<type name="Font" c:type="GdkFont*"/>
18579
<parameter name="gc" transfer-ownership="none">
18580
<type name="GC" c:type="GdkGC*"/>
18582
<parameter name="x" transfer-ownership="none">
18583
<type name="int" c:type="gint"/>
18585
<parameter name="y" transfer-ownership="none">
18586
<type name="int" c:type="gint"/>
18588
<parameter name="text" transfer-ownership="none">
18589
<type name="WChar" c:type="GdkWChar*"/>
18591
<parameter name="text_length" transfer-ownership="none">
18592
<type name="int" c:type="gint"/>
18596
<function name="draw_trapezoids"
18597
c:identifier="gdk_draw_trapezoids"
18598
doc="Draws a set of anti-aliased trapezoids. The trapezoids are
18599
combined using saturation addition, then drawn over the background
18600
as a set. This is low level functionality used internally to implement
18601
rotated underlines and backgrouds when rendering a PangoLayout and is
18602
likely not useful for applications."
18604
<return-value transfer-ownership="none">
18605
<type name="none" c:type="void"/>
18608
<parameter name="drawable" transfer-ownership="none">
18609
<type name="Drawable" c:type="GdkDrawable*"/>
18611
<parameter name="gc" transfer-ownership="none">
18612
<type name="GC" c:type="GdkGC*"/>
18614
<parameter name="trapezoids" transfer-ownership="none">
18615
<type name="Trapezoid" c:type="GdkTrapezoid*"/>
18617
<parameter name="n_trapezoids" transfer-ownership="none">
18618
<type name="int" c:type="gint"/>
18622
<function name="drop_finish"
18623
c:identifier="gdk_drop_finish"
18624
doc="Ends the drag operation after a drop.
18625
This function is called by the drag destination.">
18626
<return-value transfer-ownership="none">
18627
<type name="none" c:type="void"/>
18630
<parameter name="context" transfer-ownership="none">
18631
<type name="DragContext" c:type="GdkDragContext*"/>
18633
<parameter name="success" transfer-ownership="none">
18634
<type name="boolean" c:type="gboolean"/>
18636
<parameter name="time_" transfer-ownership="none">
18637
<type name="uint32" c:type="guint32"/>
18641
<function name="drop_reply"
18642
c:identifier="gdk_drop_reply"
18643
doc="Accepts or rejects a drop.
18644
This function is called by the drag destination in response
18645
to a drop initiated by the drag source.">
18646
<return-value transfer-ownership="none">
18647
<type name="none" c:type="void"/>
18650
<parameter name="context" transfer-ownership="none">
18651
<type name="DragContext" c:type="GdkDragContext*"/>
18653
<parameter name="ok" transfer-ownership="none">
18654
<type name="boolean" c:type="gboolean"/>
18656
<parameter name="time_" transfer-ownership="none">
18657
<type name="uint32" c:type="guint32"/>
18661
<constant name="dstroke" value="496">
18664
<constant name="e" value="101">
18667
<constant name="eabovedot" value="1004">
18670
<constant name="eacute" value="233">
18673
<constant name="ebelowdot" value="16785081">
18676
<constant name="ecaron" value="492">
18679
<constant name="ecircumflex" value="234">
18682
<constant name="ecircumflexacute" value="16785087">
18685
<constant name="ecircumflexbelowdot" value="16785095">
18688
<constant name="ecircumflexgrave" value="16785089">
18691
<constant name="ecircumflexhook" value="16785091">
18694
<constant name="ecircumflextilde" value="16785093">
18697
<constant name="ediaeresis" value="235">
18700
<constant name="egrave" value="232">
18703
<constant name="ehook" value="16785083">
18706
<constant name="eightsubscript" value="16785544">
18709
<constant name="eightsuperior" value="16785528">
18712
<constant name="elementof" value="16785928">
18715
<constant name="ellipsis" value="2734">
18718
<constant name="em3space" value="2723">
18721
<constant name="em4space" value="2724">
18724
<constant name="emacron" value="954">
18727
<constant name="emdash" value="2729">
18730
<constant name="emfilledcircle" value="2782">
18733
<constant name="emfilledrect" value="2783">
18736
<constant name="emopencircle" value="2766">
18739
<constant name="emopenrectangle" value="2767">
18742
<constant name="emptyset" value="16785925">
18745
<constant name="emspace" value="2721">
18748
<constant name="endash" value="2730">
18751
<constant name="enfilledcircbullet" value="2790">
18754
<constant name="enfilledsqbullet" value="2791">
18757
<constant name="eng" value="959">
18760
<constant name="enopencircbullet" value="2784">
18763
<constant name="enopensquarebullet" value="2785">
18766
<constant name="enspace" value="2722">
18769
<constant name="eogonek" value="490">
18772
<constant name="equal" value="61">
18775
<function name="error_trap_pop" c:identifier="gdk_error_trap_pop">
18776
<return-value transfer-ownership="none">
18777
<type name="int" c:type="gint"/>
18780
<function name="error_trap_push" c:identifier="gdk_error_trap_push">
18781
<return-value transfer-ownership="none">
18782
<type name="none" c:type="void"/>
18785
<constant name="eth" value="240">
18788
<constant name="etilde" value="16785085">
18791
<function name="event_get"
18792
c:identifier="gdk_event_get"
18793
doc="Checks all open displays for a #GdkEvent to process,to be processed
18794
on, fetching events from the windowing system if necessary.
18795
See gdk_display_get_event().
18796
are pending. The returned #GdkEvent should be freed with gdk_event_free().">
18797
<return-value transfer-ownership="full">
18798
<type name="Event" c:type="GdkEvent*"/>
18801
<function name="event_get_graphics_expose"
18802
c:identifier="gdk_event_get_graphics_expose"
18803
doc="Waits for a GraphicsExpose or NoExpose event from the X server.
18804
This is used in the #GtkText and #GtkCList widgets in GTK+ to make sure any
18805
GraphicsExpose events are handled before the widget is scrolled.
18806
NoExpose event was received."
18807
deprecated="2.18:">
18808
<return-value transfer-ownership="full">
18809
<type name="Event" c:type="GdkEvent*"/>
18812
<parameter name="window" transfer-ownership="none">
18813
<type name="Window" c:type="GdkWindow*"/>
18817
<function name="event_handler_set"
18818
c:identifier="gdk_event_handler_set"
18819
doc="Sets the function to call to handle all events from GDK.
18820
Note that GTK+ uses this to install its own event handler, so it is
18821
usually not useful for GTK+ applications. (Although an application
18822
can call this function then call gtk_main_do_event() to pass
18824
<return-value transfer-ownership="none">
18825
<type name="none" c:type="void"/>
18828
<parameter name="func"
18829
transfer-ownership="none"
18833
<type name="EventFunc" c:type="GdkEventFunc"/>
18835
<parameter name="data" transfer-ownership="none">
18836
<type name="any" c:type="gpointer"/>
18838
<parameter name="notify"
18839
transfer-ownership="none"
18841
doc=" gdk_event_handler_set() is called with another event handler.">
18842
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
18846
<function name="event_peek"
18847
c:identifier="gdk_event_peek"
18848
doc="If there is an event waiting in the event queue of some open
18849
display, returns a copy of it. See gdk_display_peek_event().
18850
events are in any queues. The returned #GdkEvent should be freed with
18851
gdk_event_free().">
18852
<return-value transfer-ownership="full">
18853
<type name="Event" c:type="GdkEvent*"/>
18856
<function name="event_request_motions"
18857
c:identifier="gdk_event_request_motions"
18858
doc="Request more motion notifies if @event is a motion notify hint event.
18859
This function should be used instead of gdk_window_get_pointer() to
18860
request further motion notifies, because it also works for extension
18861
events where motion notifies are provided for devices other than the
18862
core pointer. Coordinate extraction, processing and requesting more
18863
motion events from a %GDK_MOTION_NOTIFY event usually works like this:
18866
/&ast; motion_event handler &ast;/
18867
x = motion_event->x;
18868
y = motion_event->y;
18869
/&ast; handle (x,y) motion &ast;/
18870
gdk_event_request_motions (motion_event); /&ast; handles is_hint events &ast;/
18874
<return-value transfer-ownership="none">
18875
<type name="none" c:type="void"/>
18878
<parameter name="event" transfer-ownership="none">
18879
<type name="EventMotion" c:type="GdkEventMotion*"/>
18883
<function name="event_send_client_message_for_display"
18884
c:identifier="gdk_event_send_client_message_for_display"
18885
doc="On X11, sends an X ClientMessage event to a given window. On
18886
Windows, sends a message registered with the name
18887
GDK_WIN32_CLIENT_MESSAGE.
18888
This could be used for communicating between different
18889
applications, though the amount of data is limited to 20 bytes on
18890
X11, and to just four bytes on Windows."
18892
<return-value transfer-ownership="none">
18893
<type name="boolean" c:type="gboolean"/>
18896
<parameter name="display" transfer-ownership="none">
18897
<type name="Display" c:type="GdkDisplay*"/>
18899
<parameter name="event" transfer-ownership="none">
18900
<type name="Event" c:type="GdkEvent*"/>
18902
<parameter name="winid" transfer-ownership="none">
18903
<type name="NativeWindow" c:type="GdkNativeWindow"/>
18907
<function name="events_pending"
18908
c:identifier="gdk_events_pending"
18909
doc="Checks if any events are ready to be processed for any display.">
18910
<return-value transfer-ownership="none">
18911
<type name="boolean" c:type="gboolean"/>
18914
<constant name="exclam" value="33">
18917
<constant name="exclamdown" value="161">
18920
<function name="exit" c:identifier="gdk_exit">
18921
<return-value transfer-ownership="none">
18922
<type name="none" c:type="void"/>
18925
<parameter name="error_code" transfer-ownership="none">
18926
<type name="int" c:type="gint"/>
18930
<constant name="f" value="102">
18933
<constant name="fabovedot" value="16784927">
18936
<constant name="femalesymbol" value="2808">
18939
<constant name="ff" value="2531">
18942
<constant name="figdash" value="2747">
18945
<constant name="filledlefttribullet" value="2780">
18948
<constant name="filledrectbullet" value="2779">
18951
<constant name="filledrighttribullet" value="2781">
18954
<constant name="filledtribulletdown" value="2793">
18957
<constant name="filledtribulletup" value="2792">
18960
<constant name="fiveeighths" value="2757">
18963
<constant name="fivesixths" value="2743">
18966
<constant name="fivesubscript" value="16785541">
18969
<constant name="fivesuperior" value="16785525">
18972
<function name="flush" c:identifier="gdk_flush">
18973
<return-value transfer-ownership="none">
18974
<type name="none" c:type="void"/>
18977
<function name="font_from_description"
18978
c:identifier="gdk_font_from_description"
18979
doc="Load a #GdkFont based on a Pango font description. This font will
18980
only be an approximation of the Pango font, and
18981
internationalization will not be handled correctly. This function
18982
should only be used for legacy code that cannot be easily converted
18983
to use Pango. Using Pango directly will produce better results.
18984
cannot be loaded.">
18985
<return-value transfer-ownership="full">
18986
<type name="Font" c:type="GdkFont*"/>
18989
<parameter name="font_desc" transfer-ownership="none">
18990
<type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
18994
<function name="font_from_description_for_display"
18995
c:identifier="gdk_font_from_description_for_display"
18996
doc="Loads a #GdkFont based on a Pango font description for use on @display.
18997
This font will only be an approximation of the Pango font, and
18998
internationalization will not be handled correctly. This function
18999
should only be used for legacy code that cannot be easily converted
19000
to use Pango. Using Pango directly will produce better results.
19003
<return-value transfer-ownership="full">
19004
<type name="Font" c:type="GdkFont*"/>
19007
<parameter name="display" transfer-ownership="none">
19008
<type name="Display" c:type="GdkDisplay*"/>
19010
<parameter name="font_desc" transfer-ownership="none">
19011
<type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
19015
<function name="font_load"
19016
c:identifier="gdk_font_load"
19018
The font may be newly loaded or looked up the font in a cache.
19019
You should make no assumptions about the initial reference count.">
19020
<return-value transfer-ownership="full">
19021
<type name="Font" c:type="GdkFont*"/>
19024
<parameter name="font_name" transfer-ownership="none">
19025
<type name="utf8" c:type="gchar*"/>
19029
<function name="font_load_for_display"
19030
c:identifier="gdk_font_load_for_display"
19031
doc="Loads a font for use on @display.
19032
The font may be newly loaded or looked up the font in a cache.
19033
You should make no assumptions about the initial reference count."
19035
<return-value transfer-ownership="full">
19036
<type name="Font" c:type="GdkFont*"/>
19039
<parameter name="display" transfer-ownership="none">
19040
<type name="Display" c:type="GdkDisplay*"/>
19042
<parameter name="font_name" transfer-ownership="none">
19043
<type name="utf8" c:type="gchar*"/>
19047
<function name="fontset_load"
19048
c:identifier="gdk_fontset_load"
19049
doc="Loads a fontset.
19050
The fontset may be newly loaded or looked up in a cache.
19051
You should make no assumptions about the initial reference count.">
19052
<return-value transfer-ownership="full">
19053
<type name="Font" c:type="GdkFont*"/>
19056
<parameter name="fontset_name"
19057
transfer-ownership="none"
19058
doc=" the component fonts of the fontset to load.">
19059
<type name="utf8" c:type="gchar*"/>
19063
<function name="fontset_load_for_display"
19064
c:identifier="gdk_fontset_load_for_display"
19065
doc="Loads a fontset for use on @display.
19066
The fontset may be newly loaded or looked up in a cache.
19067
You should make no assumptions about the initial reference count."
19069
<return-value transfer-ownership="full">
19070
<type name="Font" c:type="GdkFont*"/>
19073
<parameter name="display" transfer-ownership="none">
19074
<type name="Display" c:type="GdkDisplay*"/>
19076
<parameter name="fontset_name"
19077
transfer-ownership="none"
19078
doc=" the component fonts of the fontset to load.">
19079
<type name="utf8" c:type="gchar*"/>
19083
<constant name="fourfifths" value="2741">
19086
<constant name="foursubscript" value="16785540">
19089
<constant name="foursuperior" value="16785524">
19092
<constant name="fourthroot" value="16785948">
19095
<function name="free_compound_text" c:identifier="gdk_free_compound_text">
19096
<return-value transfer-ownership="none">
19097
<type name="none" c:type="void"/>
19100
<parameter name="ctext" transfer-ownership="none">
19101
<array c:type="guchar*">
19102
<type name="uint8"/>
19107
<function name="free_text_list" c:identifier="gdk_free_text_list">
19108
<return-value transfer-ownership="none">
19109
<type name="none" c:type="void"/>
19112
<parameter name="list" transfer-ownership="none">
19113
<array c:type="gchar**">
19114
<type name="utf8"/>
19119
<constant name="function" value="2294">
19122
<constant name="g" value="103">
19125
<constant name="gabovedot" value="757">
19128
<constant name="gbreve" value="699">
19131
<constant name="gcaron" value="16777703">
19134
<constant name="gcedilla" value="955">
19137
<constant name="gcircumflex" value="760">
19140
<function name="get_default_root_window"
19141
c:identifier="gdk_get_default_root_window"
19142
doc="Obtains the root window (parent all other windows are inside)
19143
for the default display and screen.">
19144
<return-value transfer-ownership="full">
19145
<type name="Window" c:type="GdkWindow*"/>
19148
<function name="get_display" c:identifier="gdk_get_display">
19149
<return-value transfer-ownership="full">
19150
<type name="utf8" c:type="gchar*"/>
19153
<function name="get_display_arg_name"
19154
c:identifier="gdk_get_display_arg_name">
19155
<return-value transfer-ownership="none">
19156
<type name="utf8" c:type="gchar*"/>
19159
<function name="get_program_class" c:identifier="gdk_get_program_class">
19160
<return-value transfer-ownership="none">
19161
<type name="utf8" c:type="char*"/>
19164
<function name="get_show_events"
19165
c:identifier="gdk_get_show_events"
19166
doc="Gets whether event debugging output is enabled.">
19167
<return-value transfer-ownership="none">
19168
<type name="boolean" c:type="gboolean"/>
19171
<function name="get_use_xshm" c:identifier="gdk_get_use_xshm">
19172
<return-value transfer-ownership="none">
19173
<type name="boolean" c:type="gboolean"/>
19176
<constant name="grave" value="96">
19179
<constant name="greater" value="62">
19182
<constant name="greaterthanequal" value="2238">
19185
<constant name="guillemotleft" value="171">
19188
<constant name="guillemotright" value="187">
19191
<constant name="h" value="104">
19194
<constant name="hairspace" value="2728">
19197
<constant name="hcircumflex" value="694">
19200
<constant name="heart" value="2798">
19203
<constant name="hebrew_aleph" value="3296">
19206
<constant name="hebrew_ayin" value="3314">
19209
<constant name="hebrew_bet" value="3297">
19212
<constant name="hebrew_beth" value="3297">
19215
<constant name="hebrew_chet" value="3303">
19218
<constant name="hebrew_dalet" value="3299">
19221
<constant name="hebrew_daleth" value="3299">
19224
<constant name="hebrew_doublelowline" value="3295">
19227
<constant name="hebrew_finalkaph" value="3306">
19230
<constant name="hebrew_finalmem" value="3309">
19233
<constant name="hebrew_finalnun" value="3311">
19236
<constant name="hebrew_finalpe" value="3315">
19239
<constant name="hebrew_finalzade" value="3317">
19242
<constant name="hebrew_finalzadi" value="3317">
19245
<constant name="hebrew_gimel" value="3298">
19248
<constant name="hebrew_gimmel" value="3298">
19251
<constant name="hebrew_he" value="3300">
19254
<constant name="hebrew_het" value="3303">
19257
<constant name="hebrew_kaph" value="3307">
19260
<constant name="hebrew_kuf" value="3319">
19263
<constant name="hebrew_lamed" value="3308">
19266
<constant name="hebrew_mem" value="3310">
19269
<constant name="hebrew_nun" value="3312">
19272
<constant name="hebrew_pe" value="3316">
19275
<constant name="hebrew_qoph" value="3319">
19278
<constant name="hebrew_resh" value="3320">
19281
<constant name="hebrew_samech" value="3313">
19284
<constant name="hebrew_samekh" value="3313">
19287
<constant name="hebrew_shin" value="3321">
19290
<constant name="hebrew_taf" value="3322">
19293
<constant name="hebrew_taw" value="3322">
19296
<constant name="hebrew_tet" value="3304">
19299
<constant name="hebrew_teth" value="3304">
19302
<constant name="hebrew_waw" value="3301">
19305
<constant name="hebrew_yod" value="3305">
19308
<constant name="hebrew_zade" value="3318">
19311
<constant name="hebrew_zadi" value="3318">
19314
<constant name="hebrew_zain" value="3302">
19317
<constant name="hebrew_zayin" value="3302">
19320
<constant name="hexagram" value="2778">
19323
<constant name="horizconnector" value="2211">
19326
<constant name="horizlinescan1" value="2543">
19329
<constant name="horizlinescan3" value="2544">
19332
<constant name="horizlinescan5" value="2545">
19335
<constant name="horizlinescan7" value="2546">
19338
<constant name="horizlinescan9" value="2547">
19341
<constant name="hstroke" value="689">
19344
<constant name="ht" value="2530">
19347
<constant name="hyphen" value="173">
19350
<constant name="i" value="105">
19353
<constant name="iTouch" value="269025120">
19356
<constant name="iacute" value="237">
19359
<constant name="ibelowdot" value="16785099">
19362
<constant name="ibreve" value="16777517">
19365
<constant name="icircumflex" value="238">
19368
<constant name="identical" value="2255">
19371
<constant name="idiaeresis" value="239">
19374
<constant name="idotless" value="697">
19377
<constant name="ifonlyif" value="2253">
19380
<constant name="igrave" value="236">
19383
<constant name="ihook" value="16785097">
19386
<constant name="imacron" value="1007">
19389
<constant name="implies" value="2254">
19392
<constant name="includedin" value="2266">
19395
<constant name="includes" value="2267">
19398
<constant name="infinity" value="2242">
19401
<function name="init" c:identifier="gdk_init">
19402
<return-value transfer-ownership="none">
19403
<type name="none" c:type="void"/>
19406
<parameter name="argc"
19408
caller-allocates="0"
19409
transfer-ownership="full">
19410
<type name="int" c:type="gint*"/>
19412
<parameter name="argv"
19414
caller-allocates="0"
19415
transfer-ownership="full">
19416
<array length="0" c:type="gchar***">
19417
<type name="utf8"/>
19422
<function name="init_check"
19423
c:identifier="gdk_init_check"
19424
doc="Initialize the library for use.
19426
"argc" is the number of arguments.
19427
"argv" is an array of strings.
19429
"argc" and "argv" are modified to reflect any arguments
19430
which were not handled. (Such arguments should either
19431
be handled by the application or dismissed). If initialization
19432
fails, returns FALSE, otherwise TRUE.
19434
The library is initialized.
19435
-------------------------------------------------------------">
19436
<return-value transfer-ownership="none">
19437
<type name="boolean" c:type="gboolean"/>
19440
<parameter name="argc"
19442
caller-allocates="0"
19443
transfer-ownership="full">
19444
<type name="int" c:type="gint*"/>
19446
<parameter name="argv"
19448
caller-allocates="0"
19449
transfer-ownership="full">
19450
<array length="0" c:type="gchar***">
19451
<type name="utf8"/>
19456
<function name="input_add"
19457
c:identifier="gdk_input_add"
19458
doc="Establish a callback when a condition becomes true on
19460
gdk_input_remove()."
19461
deprecated="Use g_io_add_watch() on a #GIOChannel"
19462
deprecated-version="2.14">
19463
<return-value transfer-ownership="none">
19464
<type name="int" c:type="gint"/>
19467
<parameter name="source" transfer-ownership="none">
19468
<type name="int" c:type="gint"/>
19470
<parameter name="condition" transfer-ownership="none">
19471
<type name="InputCondition" c:type="GdkInputCondition"/>
19473
<parameter name="function"
19474
transfer-ownership="none"
19477
<type name="InputFunction" c:type="GdkInputFunction"/>
19479
<parameter name="data" transfer-ownership="none">
19480
<type name="any" c:type="gpointer"/>
19484
<function name="input_add_full"
19485
c:identifier="gdk_input_add_full"
19486
doc="Establish a callback when a condition becomes true on
19488
gdk_input_remove()."
19489
deprecated="Use g_io_add_watch_full() on a #GIOChannel"
19490
deprecated-version="2.14">
19491
<return-value transfer-ownership="none">
19492
<type name="int" c:type="gint"/>
19495
<parameter name="source" transfer-ownership="none">
19496
<type name="int" c:type="gint"/>
19498
<parameter name="condition" transfer-ownership="none">
19499
<type name="InputCondition" c:type="GdkInputCondition"/>
19501
<parameter name="function"
19502
transfer-ownership="none"
19506
<type name="InputFunction" c:type="GdkInputFunction"/>
19508
<parameter name="data" transfer-ownership="none">
19509
<type name="any" c:type="gpointer"/>
19511
<parameter name="destroy"
19512
transfer-ownership="none"
19514
doc=" handler is removed.">
19515
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
19519
<function name="input_remove" c:identifier="gdk_input_remove">
19520
<return-value transfer-ownership="none">
19521
<type name="none" c:type="void"/>
19524
<parameter name="tag" transfer-ownership="none">
19525
<type name="int" c:type="gint"/>
19529
<function name="input_set_extension_events"
19530
c:identifier="gdk_input_set_extension_events">
19531
<return-value transfer-ownership="none">
19532
<type name="none" c:type="void"/>
19535
<parameter name="window" transfer-ownership="none">
19536
<type name="Window" c:type="GdkWindow*"/>
19538
<parameter name="mask" transfer-ownership="none">
19539
<type name="int" c:type="gint"/>
19541
<parameter name="mode" transfer-ownership="none">
19542
<type name="ExtensionMode" c:type="GdkExtensionMode"/>
19546
<constant name="integral" value="2239">
19549
<constant name="intersection" value="2268">
19552
<constant name="iogonek" value="999">
19555
<constant name="itilde" value="949">
19558
<constant name="j" value="106">
19561
<constant name="jcircumflex" value="700">
19564
<constant name="jot" value="3018">
19567
<constant name="k" value="107">
19570
<constant name="kana_A" value="1201">
19573
<constant name="kana_CHI" value="1217">
19576
<constant name="kana_E" value="1204">
19579
<constant name="kana_FU" value="1228">
19582
<constant name="kana_HA" value="1226">
19585
<constant name="kana_HE" value="1229">
19588
<constant name="kana_HI" value="1227">
19591
<constant name="kana_HO" value="1230">
19594
<constant name="kana_HU" value="1228">
19597
<constant name="kana_I" value="1202">
19600
<constant name="kana_KA" value="1206">
19603
<constant name="kana_KE" value="1209">
19606
<constant name="kana_KI" value="1207">
19609
<constant name="kana_KO" value="1210">
19612
<constant name="kana_KU" value="1208">
19615
<constant name="kana_MA" value="1231">
19618
<constant name="kana_ME" value="1234">
19621
<constant name="kana_MI" value="1232">
19624
<constant name="kana_MO" value="1235">
19627
<constant name="kana_MU" value="1233">
19630
<constant name="kana_N" value="1245">
19633
<constant name="kana_NA" value="1221">
19636
<constant name="kana_NE" value="1224">
19639
<constant name="kana_NI" value="1222">
19642
<constant name="kana_NO" value="1225">
19645
<constant name="kana_NU" value="1223">
19648
<constant name="kana_O" value="1205">
19651
<constant name="kana_RA" value="1239">
19654
<constant name="kana_RE" value="1242">
19657
<constant name="kana_RI" value="1240">
19660
<constant name="kana_RO" value="1243">
19663
<constant name="kana_RU" value="1241">
19666
<constant name="kana_SA" value="1211">
19669
<constant name="kana_SE" value="1214">
19672
<constant name="kana_SHI" value="1212">
19675
<constant name="kana_SO" value="1215">
19678
<constant name="kana_SU" value="1213">
19681
<constant name="kana_TA" value="1216">
19684
<constant name="kana_TE" value="1219">
19687
<constant name="kana_TI" value="1217">
19690
<constant name="kana_TO" value="1220">
19693
<constant name="kana_TSU" value="1218">
19696
<constant name="kana_TU" value="1218">
19699
<constant name="kana_U" value="1203">
19702
<constant name="kana_WA" value="1244">
19705
<constant name="kana_WO" value="1190">
19708
<constant name="kana_YA" value="1236">
19711
<constant name="kana_YO" value="1238">
19714
<constant name="kana_YU" value="1237">
19717
<constant name="kana_a" value="1191">
19720
<constant name="kana_closingbracket" value="1187">
19723
<constant name="kana_comma" value="1188">
19726
<constant name="kana_conjunctive" value="1189">
19729
<constant name="kana_e" value="1194">
19732
<constant name="kana_fullstop" value="1185">
19735
<constant name="kana_i" value="1192">
19738
<constant name="kana_middledot" value="1189">
19741
<constant name="kana_o" value="1195">
19744
<constant name="kana_openingbracket" value="1186">
19747
<constant name="kana_switch" value="65406">
19750
<constant name="kana_tsu" value="1199">
19753
<constant name="kana_tu" value="1199">
19756
<constant name="kana_u" value="1193">
19759
<constant name="kana_ya" value="1196">
19762
<constant name="kana_yo" value="1198">
19765
<constant name="kana_yu" value="1197">
19768
<constant name="kappa" value="930">
19771
<constant name="kcedilla" value="1011">
19774
<function name="keyboard_grab" c:identifier="gdk_keyboard_grab">
19775
<return-value transfer-ownership="full">
19776
<type name="GrabStatus" c:type="GdkGrabStatus"/>
19779
<parameter name="window" transfer-ownership="none">
19780
<type name="Window" c:type="GdkWindow*"/>
19782
<parameter name="owner_events" transfer-ownership="none">
19783
<type name="boolean" c:type="gboolean"/>
19785
<parameter name="time_" transfer-ownership="none">
19786
<type name="uint32" c:type="guint32"/>
19790
<function name="keyboard_grab_info_libgtk_only"
19791
c:identifier="gdk_keyboard_grab_info_libgtk_only"
19792
doc="Determines information about the current keyboard grab.
19793
This is not public API and must not be used by applications.
19794
keyboard grabbed.">
19795
<return-value transfer-ownership="none">
19796
<type name="boolean" c:type="gboolean"/>
19799
<parameter name="display" transfer-ownership="none">
19800
<type name="Display" c:type="GdkDisplay*"/>
19802
<parameter name="grab_window" transfer-ownership="none">
19803
<type name="Window" c:type="GdkWindow**"/>
19805
<parameter name="owner_events"
19807
caller-allocates="0"
19808
transfer-ownership="full"
19809
doc=" the @owner_events flag to gdk_keyboard_grab() was %TRUE.">
19810
<type name="boolean" c:type="gboolean*"/>
19814
<function name="keyboard_ungrab"
19815
c:identifier="gdk_keyboard_ungrab"
19816
doc="Ungrabs the keyboard on the default display, if it is grabbed by this
19818
<return-value transfer-ownership="none">
19819
<type name="none" c:type="void"/>
19822
<parameter name="time_"
19823
transfer-ownership="none"
19824
doc=" timestamp is available.">
19825
<type name="uint32" c:type="guint32"/>
19829
<function name="keyval_convert_case"
19830
c:identifier="gdk_keyval_convert_case"
19831
doc="Obtains the upper- and lower-case versions of the keyval @symbol.
19832
Examples of keyvals are #GDK_a, #GDK_Enter, #GDK_F1, etc.">
19833
<return-value transfer-ownership="none">
19834
<type name="none" c:type="void"/>
19837
<parameter name="symbol" transfer-ownership="none">
19838
<type name="uint" c:type="guint"/>
19840
<parameter name="lower"
19842
caller-allocates="0"
19843
transfer-ownership="full"
19844
doc="return location for lowercase version of @symbol">
19845
<type name="uint" c:type="guint*"/>
19847
<parameter name="upper"
19849
caller-allocates="0"
19850
transfer-ownership="full"
19851
doc="return location for uppercase version of @symbol">
19852
<type name="uint" c:type="guint*"/>
19856
<function name="keyval_from_name" c:identifier="gdk_keyval_from_name">
19857
<return-value transfer-ownership="none">
19858
<type name="uint" c:type="guint"/>
19861
<parameter name="keyval_name" transfer-ownership="none">
19862
<type name="utf8" c:type="gchar*"/>
19866
<function name="keyval_is_lower" c:identifier="gdk_keyval_is_lower">
19867
<return-value transfer-ownership="none">
19868
<type name="boolean" c:type="gboolean"/>
19871
<parameter name="keyval" transfer-ownership="none">
19872
<type name="uint" c:type="guint"/>
19876
<function name="keyval_is_upper" c:identifier="gdk_keyval_is_upper">
19877
<return-value transfer-ownership="none">
19878
<type name="boolean" c:type="gboolean"/>
19881
<parameter name="keyval" transfer-ownership="none">
19882
<type name="uint" c:type="guint"/>
19886
<function name="keyval_name" c:identifier="gdk_keyval_name">
19887
<return-value transfer-ownership="full">
19888
<type name="utf8" c:type="gchar*"/>
19891
<parameter name="keyval" transfer-ownership="none">
19892
<type name="uint" c:type="guint"/>
19896
<function name="keyval_to_lower" c:identifier="gdk_keyval_to_lower">
19897
<return-value transfer-ownership="none">
19898
<type name="uint" c:type="guint"/>
19901
<parameter name="keyval" transfer-ownership="none">
19902
<type name="uint" c:type="guint"/>
19906
<function name="keyval_to_unicode"
19907
c:identifier="gdk_keyval_to_unicode"
19908
doc="Convert from a GDK key symbol to the corresponding ISO10646 (Unicode)
19910
is no corresponding character.">
19911
<return-value transfer-ownership="none">
19912
<type name="uint32" c:type="guint32"/>
19915
<parameter name="keyval" transfer-ownership="none">
19916
<type name="uint" c:type="guint"/>
19920
<function name="keyval_to_upper" c:identifier="gdk_keyval_to_upper">
19921
<return-value transfer-ownership="none">
19922
<type name="uint" c:type="guint"/>
19925
<parameter name="keyval" transfer-ownership="none">
19926
<type name="uint" c:type="guint"/>
19930
<constant name="kra" value="930">
19933
<constant name="l" value="108">
19936
<constant name="lacute" value="485">
19939
<constant name="latincross" value="2777">
19942
<constant name="lbelowdot" value="16784951">
19945
<constant name="lcaron" value="437">
19948
<constant name="lcedilla" value="950">
19951
<constant name="leftanglebracket" value="2748">
19954
<constant name="leftarrow" value="2299">
19957
<constant name="leftcaret" value="2979">
19960
<constant name="leftdoublequotemark" value="2770">
19963
<constant name="leftmiddlecurlybrace" value="2223">
19966
<constant name="leftopentriangle" value="2764">
19969
<constant name="leftpointer" value="2794">
19972
<constant name="leftradical" value="2209">
19975
<constant name="leftshoe" value="3034">
19978
<constant name="leftsinglequotemark" value="2768">
19981
<constant name="leftt" value="2548">
19984
<constant name="lefttack" value="3036">
19987
<constant name="less" value="60">
19990
<constant name="lessthanequal" value="2236">
19993
<constant name="lf" value="2533">
19996
<function name="list_visuals"
19997
c:identifier="gdk_list_visuals"
19998
doc="Lists the available visuals for the default screen.
19999
(See gdk_screen_list_visuals())
20000
A visual describes a hardware image data format.
20001
For example, a visual might support 24-bit color, or 8-bit color,
20002
and might expect pixels to be in a certain format.
20003
Call g_list_free() on the return value when you're finished with it.">
20004
<return-value transfer-ownership="full">
20005
<type name="GLib.List" c:type="GList*"/>
20008
<constant name="logicaland" value="2270">
20011
<constant name="logicalor" value="2271">
20014
<constant name="lowleftcorner" value="2541">
20017
<constant name="lowrightcorner" value="2538">
20020
<constant name="lstroke" value="435">
20023
<constant name="m" value="109">
20026
<constant name="mabovedot" value="16784961">
20029
<constant name="macron" value="175">
20032
<constant name="malesymbol" value="2807">
20035
<constant name="maltesecross" value="2800">
20038
<constant name="marker" value="2751">
20041
<constant name="masculine" value="186">
20044
<function name="mbstowcs"
20045
c:identifier="gdk_mbstowcs"
20046
doc="Converts a multi-byte string to a wide character string.
20047
(The function name comes from an acronym of 'Multi-Byte String TO Wide
20048
Character String').
20049
the conversion failed.">
20050
<return-value transfer-ownership="none">
20051
<type name="int" c:type="gint"/>
20054
<parameter name="dest" transfer-ownership="none">
20055
<type name="WChar" c:type="GdkWChar*"/>
20057
<parameter name="src" transfer-ownership="none">
20058
<type name="utf8" c:type="gchar*"/>
20060
<parameter name="dest_max" transfer-ownership="none">
20061
<type name="int" c:type="gint"/>
20065
<constant name="minus" value="45">
20068
<constant name="minutes" value="2774">
20071
<constant name="mu" value="181">
20074
<constant name="multiply" value="215">
20077
<constant name="musicalflat" value="2806">
20080
<constant name="musicalsharp" value="2805">
20083
<constant name="n" value="110">
20086
<constant name="nabla" value="2245">
20089
<constant name="nacute" value="497">
20092
<constant name="ncaron" value="498">
20095
<constant name="ncedilla" value="1009">
20098
<constant name="ninesubscript" value="16785545">
20101
<constant name="ninesuperior" value="16785529">
20104
<constant name="nl" value="2536">
20107
<constant name="nobreakspace" value="160">
20110
<constant name="notapproxeq" value="16785991">
20113
<constant name="notelementof" value="16785929">
20116
<constant name="notequal" value="2237">
20119
<constant name="notidentical" value="16786018">
20122
<function name="notify_startup_complete"
20123
c:identifier="gdk_notify_startup_complete"
20124
doc="Indicates to the GUI environment that the application has finished
20125
loading. If the applications opens windows, this function is
20126
normally called after opening the application's initial set of
20128
GTK+ will call this function automatically after opening the first
20129
#GtkWindow unless gtk_window_set_auto_startup_notification() is called
20130
to disable that feature."
20132
<return-value transfer-ownership="none">
20133
<type name="none" c:type="void"/>
20136
<function name="notify_startup_complete_with_id"
20137
c:identifier="gdk_notify_startup_complete_with_id"
20138
doc="Indicates to the GUI environment that the application has finished
20139
loading, using a given identifier.
20140
GTK+ will call this function automatically for #GtkWindow with custom
20141
startup-notification identifier unless
20142
gtk_window_set_auto_startup_notification() is called to disable
20145
<return-value transfer-ownership="none">
20146
<type name="none" c:type="void"/>
20149
<parameter name="startup_id"
20150
transfer-ownership="none"
20151
doc=" process should be completed">
20152
<type name="utf8" c:type="gchar*"/>
20156
<constant name="notsign" value="172">
20159
<constant name="ntilde" value="241">
20162
<constant name="numbersign" value="35">
20165
<constant name="numerosign" value="1712">
20168
<constant name="o" value="111">
20171
<constant name="oacute" value="243">
20174
<constant name="obarred" value="16777845">
20177
<constant name="obelowdot" value="16785101">
20180
<constant name="ocaron" value="16777682">
20183
<constant name="ocircumflex" value="244">
20186
<constant name="ocircumflexacute" value="16785105">
20189
<constant name="ocircumflexbelowdot" value="16785113">
20192
<constant name="ocircumflexgrave" value="16785107">
20195
<constant name="ocircumflexhook" value="16785109">
20198
<constant name="ocircumflextilde" value="16785111">
20201
<constant name="odiaeresis" value="246">
20204
<constant name="odoubleacute" value="501">
20207
<constant name="oe" value="5053">
20210
<function name="offscreen_window_get_embedder"
20211
c:identifier="gdk_offscreen_window_get_embedder"
20212
doc="Gets the window that @window is embedded in.
20213
embedded offscreen window"
20215
<return-value transfer-ownership="full">
20216
<type name="Window" c:type="GdkWindow*"/>
20219
<parameter name="window" transfer-ownership="none">
20220
<type name="Window" c:type="GdkWindow*"/>
20224
<function name="offscreen_window_get_pixmap"
20225
c:identifier="gdk_offscreen_window_get_pixmap"
20226
doc="Gets the offscreen pixmap that an offscreen window renders into.
20227
If you need to keep this around over window resizes, you need to
20228
add a reference to it."
20230
<return-value transfer-ownership="full">
20231
<type name="Pixmap" c:type="GdkPixmap*"/>
20234
<parameter name="window" transfer-ownership="none">
20235
<type name="Window" c:type="GdkWindow*"/>
20239
<function name="offscreen_window_set_embedder"
20240
c:identifier="gdk_offscreen_window_set_embedder"
20241
doc="Sets @window to be embedded in @embedder.
20242
To fully embed an offscreen window, in addition to calling this
20243
function, it is also necessary to handle the #GdkWindow::pick-embedded-child
20244
signal on the @embedder and the #GdkWindow::to-embedder and
20245
#GdkWindow::from-embedder signals on @window."
20247
<return-value transfer-ownership="none">
20248
<type name="none" c:type="void"/>
20251
<parameter name="window" transfer-ownership="none">
20252
<type name="Window" c:type="GdkWindow*"/>
20254
<parameter name="embedder" transfer-ownership="none">
20255
<type name="Window" c:type="GdkWindow*"/>
20259
<constant name="ogonek" value="434">
20262
<constant name="ograve" value="242">
20265
<constant name="ohook" value="16785103">
20268
<constant name="ohorn" value="16777633">
20271
<constant name="ohornacute" value="16785115">
20274
<constant name="ohornbelowdot" value="16785123">
20277
<constant name="ohorngrave" value="16785117">
20280
<constant name="ohornhook" value="16785119">
20283
<constant name="ohorntilde" value="16785121">
20286
<constant name="omacron" value="1010">
20289
<constant name="oneeighth" value="2755">
20292
<constant name="onefifth" value="2738">
20295
<constant name="onehalf" value="189">
20298
<constant name="onequarter" value="188">
20301
<constant name="onesixth" value="2742">
20304
<constant name="onesubscript" value="16785537">
20307
<constant name="onesuperior" value="185">
20310
<constant name="onethird" value="2736">
20313
<constant name="ooblique" value="248">
20316
<constant name="openrectbullet" value="2786">
20319
<constant name="openstar" value="2789">
20322
<constant name="opentribulletdown" value="2788">
20325
<constant name="opentribulletup" value="2787">
20328
<constant name="ordfeminine" value="170">
20331
<constant name="oslash" value="248">
20334
<constant name="otilde" value="245">
20337
<constant name="overbar" value="3008">
20340
<constant name="overline" value="1150">
20343
<constant name="p" value="112">
20346
<constant name="pabovedot" value="16784983">
20349
<function name="pango_context_get"
20350
c:identifier="gdk_pango_context_get"
20351
doc="Creates a #PangoContext for the default GDK screen.
20352
The context must be freed when you're finished with it.
20353
When using GTK+, normally you should use gtk_widget_get_pango_context()
20354
instead of this function, to get the appropriate context for
20355
the widget you intend to render text onto.
20356
The newly created context will have the default font options (see
20357
#cairo_font_options_t) for the default screen; if these options
20358
change it will not be updated. Using gtk_widget_get_pango_context()
20359
is more convenient if you want to keep a context around and track
20360
changes to the screen's font rendering settings.">
20361
<return-value transfer-ownership="full">
20362
<type name="Pango.Context" c:type="PangoContext*"/>
20365
<function name="pango_context_get_for_screen"
20366
c:identifier="gdk_pango_context_get_for_screen"
20367
doc="Creates a #PangoContext for @screen.
20368
The context must be freed when you're finished with it.
20369
When using GTK+, normally you should use gtk_widget_get_pango_context()
20370
instead of this function, to get the appropriate context for
20371
the widget you intend to render text onto.
20372
The newly created context will have the default font options
20373
(see #cairo_font_options_t) for the screen; if these options
20374
change it will not be updated. Using gtk_widget_get_pango_context()
20375
is more convenient if you want to keep a context around and track
20376
changes to the screen's font rendering settings."
20378
<return-value transfer-ownership="full">
20379
<type name="Pango.Context" c:type="PangoContext*"/>
20382
<parameter name="screen" transfer-ownership="none">
20383
<type name="Screen" c:type="GdkScreen*"/>
20387
<function name="pango_context_set_colormap"
20388
c:identifier="gdk_pango_context_set_colormap"
20389
doc="This function used to set the colormap to be used for drawing with
20390
context used for drawing, so calling this function is no longer
20392
<return-value transfer-ownership="none">
20393
<type name="none" c:type="void"/>
20396
<parameter name="context" transfer-ownership="none">
20397
<type name="Pango.Context" c:type="PangoContext*"/>
20399
<parameter name="colormap" transfer-ownership="none">
20400
<type name="Colormap" c:type="GdkColormap*"/>
20404
<function name="pango_layout_get_clip_region"
20405
c:identifier="gdk_pango_layout_get_clip_region"
20406
doc="Obtains a clip region which contains the areas where the given ranges
20407
of text would be drawn. @x_origin and @y_origin are the same position
20408
you would pass to gdk_draw_layout_line(). @index_ranges should contain
20409
ranges of bytes in the layout's text.
20410
Note that the regions returned correspond to logical extents of the text
20411
ranges, not ink extents. So the drawn layout may in fact touch areas out of
20412
the clip region. The clip region is mainly useful for highlightling parts
20413
of text, such as when text is selected.">
20414
<return-value transfer-ownership="full">
20415
<type name="Region" c:type="GdkRegion*"/>
20418
<parameter name="layout" transfer-ownership="none">
20419
<type name="Pango.Layout" c:type="PangoLayout*"/>
20421
<parameter name="x_origin" transfer-ownership="none">
20422
<type name="int" c:type="gint"/>
20424
<parameter name="y_origin" transfer-ownership="none">
20425
<type name="int" c:type="gint"/>
20427
<parameter name="index_ranges"
20429
caller-allocates="0"
20430
transfer-ownership="none">
20431
<type name="int" c:type="gint*"/>
20433
<parameter name="n_ranges" transfer-ownership="none">
20434
<type name="int" c:type="gint"/>
20438
<function name="pango_layout_line_get_clip_region"
20439
c:identifier="gdk_pango_layout_line_get_clip_region"
20440
doc="Obtains a clip region which contains the areas where the given
20441
ranges of text would be drawn. @x_origin and @y_origin are the same
20442
position you would pass to gdk_draw_layout_line(). @index_ranges
20443
should contain ranges of bytes in the layout's text. The clip
20444
region will include space to the left or right of the line (to the
20445
layout bounding box) if you have indexes above or below the indexes
20446
contained inside the line. This is to draw the selection all the way
20447
to the side of the layout. However, the clip region is in line coordinates,
20448
not layout coordinates.
20449
Note that the regions returned correspond to logical extents of the text
20450
ranges, not ink extents. So the drawn line may in fact touch areas out of
20451
the clip region. The clip region is mainly useful for highlightling parts
20452
of text, such as when text is selected.">
20453
<return-value transfer-ownership="full">
20454
<type name="Region" c:type="GdkRegion*"/>
20457
<parameter name="line" transfer-ownership="none">
20458
<type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
20460
<parameter name="x_origin" transfer-ownership="none">
20461
<type name="int" c:type="gint"/>
20463
<parameter name="y_origin" transfer-ownership="none">
20464
<type name="int" c:type="gint"/>
20466
<parameter name="index_ranges"
20468
caller-allocates="0"
20469
transfer-ownership="none">
20470
<type name="int" c:type="gint*"/>
20472
<parameter name="n_ranges" transfer-ownership="none">
20473
<type name="int" c:type="gint"/>
20477
<constant name="paragraph" value="182">
20480
<constant name="parenleft" value="40">
20483
<constant name="parenright" value="41">
20486
<function name="parse_args"
20487
c:identifier="gdk_parse_args"
20488
doc="Parse command line arguments, and store for future
20489
use by calls to gdk_display_open().
20490
Any arguments used by GDK are removed from the array and @argc and @argv are
20491
updated accordingly.
20492
You shouldn't call this function explicitely if you are using
20493
gtk_init(), gtk_init_check(), gdk_init(), or gdk_init_check()."
20495
<return-value transfer-ownership="none">
20496
<type name="none" c:type="void"/>
20499
<parameter name="argc"
20501
caller-allocates="0"
20502
transfer-ownership="full">
20503
<type name="int" c:type="gint*"/>
20505
<parameter name="argv" transfer-ownership="none">
20506
<type name="utf8" c:type="gchar***"/>
20510
<constant name="partdifferential" value="16785922">
20513
<constant name="partialderivative" value="2287">
20516
<constant name="percent" value="37">
20519
<constant name="period" value="46">
20522
<constant name="periodcentered" value="183">
20525
<constant name="phonographcopyright" value="2811">
20528
<function name="pixbuf_get_from_drawable"
20529
c:identifier="gdk_pixbuf_get_from_drawable"
20530
doc="Transfers image data from a #GdkDrawable and converts it to an RGB(A)
20531
representation inside a #GdkPixbuf. In other words, copies
20532
image data from a server-side drawable to a client-side RGB(A) buffer.
20533
This allows you to efficiently read individual pixels on the client side.
20534
If the drawable @src has no colormap (gdk_drawable_get_colormap()
20535
returns %NULL), then a suitable colormap must be specified.
20536
Typically a #GdkWindow or a pixmap created by passing a #GdkWindow
20537
to gdk_pixmap_new() will already have a colormap associated with
20538
it. If the drawable has a colormap, the @cmap argument will be
20539
ignored. If the drawable is a bitmap (1 bit per pixel pixmap),
20540
then a colormap is not required; pixels with a value of 1 are
20541
assumed to be white, and pixels with a value of 0 are assumed to be
20542
black. For taking screenshots, gdk_colormap_get_system() returns
20543
the correct colormap to use.
20544
If the specified destination pixbuf @dest is %NULL, then this
20545
function will create an RGB pixbuf with 8 bits per channel and no
20546
alpha, with the same size specified by the @width and @height
20547
arguments. In this case, the @dest_x and @dest_y arguments must be
20548
specified as 0. If the specified destination pixbuf is not %NULL
20549
and it contains alpha information, then the filled pixels will be
20550
set to full opacity (alpha = 255).
20551
If the specified drawable is a pixmap, then the requested source
20552
rectangle must be completely contained within the pixmap, otherwise
20553
the function will return %NULL. For pixmaps only (not for windows)
20554
passing -1 for width or height is allowed to mean the full width
20555
or height of the pixmap.
20556
If the specified drawable is a window, and the window is off the
20557
screen, then there is no image data in the obscured/offscreen
20558
regions to be placed in the pixbuf. The contents of portions of the
20559
pixbuf corresponding to the offscreen region are undefined.
20560
If the window you're obtaining data from is partially obscured by
20561
other windows, then the contents of the pixbuf areas corresponding
20562
to the obscured regions are undefined.
20563
If the target drawable is not mapped (typically because it's
20564
iconified/minimized or not on the current workspace), then %NULL
20566
If memory can't be allocated for the return value, %NULL will be returned
20568
(In short, there are several ways this function can fail, and if it fails
20569
it returns %NULL; so check the return value.)
20570
This function calls gdk_drawable_get_image() internally and
20571
converts the resulting image to a #GdkPixbuf, so the
20572
documentation for gdk_drawable_get_image() may also be relevant.
20573
pixbuf with a reference count of 1 if no destination pixbuf was specified, or %NULL on error">
20574
<return-value transfer-ownership="full">
20575
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20578
<parameter name="dest"
20579
transfer-ownership="none"
20581
doc="Destination pixbuf, or %NULL if a new pixbuf should be created.">
20582
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20584
<parameter name="src" transfer-ownership="none">
20585
<type name="Drawable" c:type="GdkDrawable*"/>
20587
<parameter name="cmap" transfer-ownership="none">
20588
<type name="Colormap" c:type="GdkColormap*"/>
20590
<parameter name="src_x" transfer-ownership="none">
20591
<type name="int" c:type="int"/>
20593
<parameter name="src_y" transfer-ownership="none">
20594
<type name="int" c:type="int"/>
20596
<parameter name="dest_x" transfer-ownership="none">
20597
<type name="int" c:type="int"/>
20599
<parameter name="dest_y" transfer-ownership="none">
20600
<type name="int" c:type="int"/>
20602
<parameter name="width" transfer-ownership="none">
20603
<type name="int" c:type="int"/>
20605
<parameter name="height" transfer-ownership="none">
20606
<type name="int" c:type="int"/>
20610
<function name="pixbuf_get_from_image"
20611
c:identifier="gdk_pixbuf_get_from_image"
20612
doc="Same as gdk_pixbuf_get_from_drawable() but gets the pixbuf from
20614
<return-value transfer-ownership="full">
20615
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20618
<parameter name="dest"
20619
transfer-ownership="none"
20621
doc="Destination pixbuf, or %NULL if a new pixbuf should be created.">
20622
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20624
<parameter name="src" transfer-ownership="none">
20625
<type name="Image" c:type="GdkImage*"/>
20627
<parameter name="cmap"
20628
transfer-ownership="none"
20630
doc="A colormap, or %NULL to use the one for @src">
20631
<type name="Colormap" c:type="GdkColormap*"/>
20633
<parameter name="src_x" transfer-ownership="none">
20634
<type name="int" c:type="int"/>
20636
<parameter name="src_y" transfer-ownership="none">
20637
<type name="int" c:type="int"/>
20639
<parameter name="dest_x" transfer-ownership="none">
20640
<type name="int" c:type="int"/>
20642
<parameter name="dest_y" transfer-ownership="none">
20643
<type name="int" c:type="int"/>
20645
<parameter name="width" transfer-ownership="none">
20646
<type name="int" c:type="int"/>
20648
<parameter name="height" transfer-ownership="none">
20649
<type name="int" c:type="int"/>
20653
<function name="pixbuf_render_pixmap_and_mask"
20654
c:identifier="gdk_pixbuf_render_pixmap_and_mask"
20655
doc="Creates a pixmap and a mask bitmap which are returned in the @pixmap_return
20656
and @mask_return arguments, respectively, and renders a pixbuf and its
20657
corresponding thresholded alpha mask to them. This is merely a convenience
20658
function; applications that need to render pixbufs with dither offsets or to
20659
given drawables should use gdk_draw_pixbuf() and gdk_pixbuf_render_threshold_alpha().
20660
The pixmap that is created is created for the colormap returned
20661
by gdk_rgb_get_colormap(). You normally will want to instead use
20662
the actual colormap for a widget, and use
20663
gdk_pixbuf_render_pixmap_and_mask_for_colormap().
20664
If the pixbuf does not have an alpha channel, then *@mask_return will be set
20666
<return-value transfer-ownership="none">
20667
<type name="none" c:type="void"/>
20670
<parameter name="pixbuf" transfer-ownership="none">
20671
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20673
<parameter name="pixmap_return"
20674
transfer-ownership="none"
20675
doc=" or %NULL if the pixmap is not needed.">
20676
<type name="Pixmap" c:type="GdkPixmap**"/>
20678
<parameter name="mask_return"
20679
transfer-ownership="none"
20680
doc=" or %NULL if the mask is not needed.">
20681
<type name="Bitmap" c:type="GdkBitmap**"/>
20683
<parameter name="alpha_threshold" transfer-ownership="none">
20684
<type name="int" c:type="int"/>
20688
<function name="pixbuf_render_pixmap_and_mask_for_colormap"
20689
c:identifier="gdk_pixbuf_render_pixmap_and_mask_for_colormap"
20690
doc="Creates a pixmap and a mask bitmap which are returned in the @pixmap_return
20691
and @mask_return arguments, respectively, and renders a pixbuf and its
20692
corresponding tresholded alpha mask to them. This is merely a convenience
20693
function; applications that need to render pixbufs with dither offsets or to
20694
given drawables should use gdk_draw_pixbuf(), and gdk_pixbuf_render_threshold_alpha().
20695
The pixmap that is created uses the #GdkColormap specified by @colormap.
20696
This colormap must match the colormap of the window where the pixmap
20697
will eventually be used or an error will result.
20698
If the pixbuf does not have an alpha channel, then *@mask_return will be set
20700
<return-value transfer-ownership="none">
20701
<type name="none" c:type="void"/>
20704
<parameter name="pixbuf" transfer-ownership="none">
20705
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20707
<parameter name="colormap" transfer-ownership="none">
20708
<type name="Colormap" c:type="GdkColormap*"/>
20710
<parameter name="pixmap_return"
20711
transfer-ownership="none"
20712
doc=" or %NULL if the pixmap is not needed.">
20713
<type name="Pixmap" c:type="GdkPixmap**"/>
20715
<parameter name="mask_return"
20716
transfer-ownership="none"
20717
doc=" or %NULL if the mask is not needed.">
20718
<type name="Bitmap" c:type="GdkBitmap**"/>
20720
<parameter name="alpha_threshold" transfer-ownership="none">
20721
<type name="int" c:type="int"/>
20725
<function name="pixbuf_render_threshold_alpha"
20726
c:identifier="gdk_pixbuf_render_threshold_alpha"
20727
doc="Takes the opacity values in a rectangular portion of a pixbuf and thresholds
20728
them to produce a bi-level alpha mask that can be used as a clipping mask for
20730
<return-value transfer-ownership="none">
20731
<type name="none" c:type="void"/>
20734
<parameter name="pixbuf" transfer-ownership="none">
20735
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20737
<parameter name="bitmap" transfer-ownership="none">
20738
<type name="Bitmap" c:type="GdkBitmap*"/>
20740
<parameter name="src_x" transfer-ownership="none">
20741
<type name="int" c:type="int"/>
20743
<parameter name="src_y" transfer-ownership="none">
20744
<type name="int" c:type="int"/>
20746
<parameter name="dest_x" transfer-ownership="none">
20747
<type name="int" c:type="int"/>
20749
<parameter name="dest_y" transfer-ownership="none">
20750
<type name="int" c:type="int"/>
20752
<parameter name="width" transfer-ownership="none">
20753
<type name="int" c:type="int"/>
20755
<parameter name="height" transfer-ownership="none">
20756
<type name="int" c:type="int"/>
20758
<parameter name="alpha_threshold"
20759
transfer-ownership="none"
20760
doc=" other values will be painted as one.">
20761
<type name="int" c:type="int"/>
20765
<function name="pixbuf_render_to_drawable"
20766
c:identifier="gdk_pixbuf_render_to_drawable"
20767
doc="Renders a rectangular portion of a pixbuf to a drawable while using the
20768
specified GC. This is done using GdkRGB, so the specified drawable must have
20769
the GdkRGB visual and colormap. Note that this function will ignore the
20770
opacity information for images with an alpha channel; the GC must already
20771
have the clipping mask set if you want transparent regions to show through.
20772
For an explanation of dither offsets, see the GdkRGB documentation. In
20773
brief, the dither offset is important when re-rendering partial regions of an
20774
image to a rendered version of the full image, or for when the offsets to a
20775
base position change, as in scrolling. The dither matrix has to be shifted
20776
for consistent visual results. If you do not have any of these cases, the
20777
dither offsets can be both zero."
20778
deprecated="This function is obsolete. Use gdk_draw_pixbuf() instead."
20779
deprecated-version="2.4">
20780
<return-value transfer-ownership="none">
20781
<type name="none" c:type="void"/>
20784
<parameter name="pixbuf" transfer-ownership="none">
20785
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20787
<parameter name="drawable" transfer-ownership="none">
20788
<type name="Drawable" c:type="GdkDrawable*"/>
20790
<parameter name="gc" transfer-ownership="none">
20791
<type name="GC" c:type="GdkGC*"/>
20793
<parameter name="src_x" transfer-ownership="none">
20794
<type name="int" c:type="int"/>
20796
<parameter name="src_y" transfer-ownership="none">
20797
<type name="int" c:type="int"/>
20799
<parameter name="dest_x" transfer-ownership="none">
20800
<type name="int" c:type="int"/>
20802
<parameter name="dest_y" transfer-ownership="none">
20803
<type name="int" c:type="int"/>
20805
<parameter name="width" transfer-ownership="none">
20806
<type name="int" c:type="int"/>
20808
<parameter name="height" transfer-ownership="none">
20809
<type name="int" c:type="int"/>
20811
<parameter name="dither" transfer-ownership="none">
20812
<type name="RgbDither" c:type="GdkRgbDither"/>
20814
<parameter name="x_dither" transfer-ownership="none">
20815
<type name="int" c:type="int"/>
20817
<parameter name="y_dither" transfer-ownership="none">
20818
<type name="int" c:type="int"/>
20822
<function name="pixbuf_render_to_drawable_alpha"
20823
c:identifier="gdk_pixbuf_render_to_drawable_alpha"
20824
doc="Renders a rectangular portion of a pixbuf to a drawable. The destination
20825
drawable must have a colormap. All windows have a colormap, however, pixmaps
20826
only have colormap by default if they were created with a non-%NULL window argument.
20827
Otherwise a colormap must be set on them with gdk_drawable_set_colormap.
20828
On older X servers, rendering pixbufs with an alpha channel involves round trips
20829
to the X server, and may be somewhat slow."
20830
deprecated="This function is obsolete. Use gdk_draw_pixbuf() instead."
20831
deprecated-version="2.4">
20832
<return-value transfer-ownership="none">
20833
<type name="none" c:type="void"/>
20836
<parameter name="pixbuf" transfer-ownership="none">
20837
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
20839
<parameter name="drawable" transfer-ownership="none">
20840
<type name="Drawable" c:type="GdkDrawable*"/>
20842
<parameter name="src_x" transfer-ownership="none">
20843
<type name="int" c:type="int"/>
20845
<parameter name="src_y" transfer-ownership="none">
20846
<type name="int" c:type="int"/>
20848
<parameter name="dest_x" transfer-ownership="none">
20849
<type name="int" c:type="int"/>
20851
<parameter name="dest_y" transfer-ownership="none">
20852
<type name="int" c:type="int"/>
20854
<parameter name="width" transfer-ownership="none">
20855
<type name="int" c:type="int"/>
20857
<parameter name="height" transfer-ownership="none">
20858
<type name="int" c:type="int"/>
20860
<parameter name="alpha_mode" transfer-ownership="none">
20861
<type name="GdkPixbuf.PixbufAlphaMode" c:type="GdkPixbufAlphaMode"/>
20863
<parameter name="alpha_threshold" transfer-ownership="none">
20864
<type name="int" c:type="int"/>
20866
<parameter name="dither" transfer-ownership="none">
20867
<type name="RgbDither" c:type="GdkRgbDither"/>
20869
<parameter name="x_dither" transfer-ownership="none">
20870
<type name="int" c:type="int"/>
20872
<parameter name="y_dither" transfer-ownership="none">
20873
<type name="int" c:type="int"/>
20877
<constant name="plus" value="43">
20880
<constant name="plusminus" value="177">
20883
<function name="pointer_grab" c:identifier="gdk_pointer_grab">
20884
<return-value transfer-ownership="full">
20885
<type name="GrabStatus" c:type="GdkGrabStatus"/>
20888
<parameter name="window" transfer-ownership="none">
20889
<type name="Window" c:type="GdkWindow*"/>
20891
<parameter name="owner_events" transfer-ownership="none">
20892
<type name="boolean" c:type="gboolean"/>
20894
<parameter name="event_mask" transfer-ownership="none">
20895
<type name="EventMask" c:type="GdkEventMask"/>
20897
<parameter name="confine_to" transfer-ownership="none">
20898
<type name="Window" c:type="GdkWindow*"/>
20900
<parameter name="cursor" transfer-ownership="none">
20901
<type name="Cursor" c:type="GdkCursor*"/>
20903
<parameter name="time_" transfer-ownership="none">
20904
<type name="uint32" c:type="guint32"/>
20908
<function name="pointer_grab_info_libgtk_only"
20909
c:identifier="gdk_pointer_grab_info_libgtk_only"
20910
doc="Determines information about the current pointer grab.
20911
This is not public API and must not be used by applications.
20913
<return-value transfer-ownership="none">
20914
<type name="boolean" c:type="gboolean"/>
20917
<parameter name="display" transfer-ownership="none">
20918
<type name="Display" c:type="GdkDisplay*"/>
20920
<parameter name="grab_window" transfer-ownership="none">
20921
<type name="Window" c:type="GdkWindow**"/>
20923
<parameter name="owner_events"
20925
caller-allocates="0"
20926
transfer-ownership="full"
20927
doc=" the @owner_events flag to gdk_pointer_grab() was %TRUE.">
20928
<type name="boolean" c:type="gboolean*"/>
20932
<function name="pointer_is_grabbed"
20933
c:identifier="gdk_pointer_is_grabbed"
20934
doc="Returns %TRUE if the pointer on the default display is currently
20935
grabbed by this application.
20936
Note that this does not take the inmplicit pointer grab on button
20937
presses into account.">
20938
<return-value transfer-ownership="none">
20939
<type name="boolean" c:type="gboolean"/>
20942
<function name="pointer_ungrab"
20943
c:identifier="gdk_pointer_ungrab"
20944
doc="Ungrabs the pointer on the default display, if it is grabbed by this
20946
<return-value transfer-ownership="none">
20947
<type name="none" c:type="void"/>
20950
<parameter name="time_"
20951
transfer-ownership="none"
20952
doc=" timestamp is available.">
20953
<type name="uint32" c:type="guint32"/>
20957
<function name="pre_parse_libgtk_only"
20958
c:identifier="gdk_pre_parse_libgtk_only">
20959
<return-value transfer-ownership="none">
20960
<type name="none" c:type="void"/>
20963
<constant name="prescription" value="2772">
20966
<constant name="prolongedsound" value="1200">
20969
<function name="property_change" c:identifier="gdk_property_change">
20970
<return-value transfer-ownership="none">
20971
<type name="none" c:type="void"/>
20974
<parameter name="window" transfer-ownership="none">
20975
<type name="Window" c:type="GdkWindow*"/>
20977
<parameter name="property" transfer-ownership="none">
20978
<type name="Atom" c:type="GdkAtom"/>
20980
<parameter name="type" transfer-ownership="none">
20981
<type name="Atom" c:type="GdkAtom"/>
20983
<parameter name="format" transfer-ownership="none">
20984
<type name="int" c:type="gint"/>
20986
<parameter name="mode" transfer-ownership="none">
20987
<type name="PropMode" c:type="GdkPropMode"/>
20989
<parameter name="data" transfer-ownership="none">
20990
<array c:type="guchar*">
20991
<type name="uint8"/>
20994
<parameter name="nelements" transfer-ownership="none">
20995
<type name="int" c:type="gint"/>
20999
<function name="property_delete" c:identifier="gdk_property_delete">
21000
<return-value transfer-ownership="none">
21001
<type name="none" c:type="void"/>
21004
<parameter name="window" transfer-ownership="none">
21005
<type name="Window" c:type="GdkWindow*"/>
21007
<parameter name="property" transfer-ownership="none">
21008
<type name="Atom" c:type="GdkAtom"/>
21012
<function name="property_get" c:identifier="gdk_property_get">
21013
<return-value transfer-ownership="none">
21014
<type name="boolean" c:type="gboolean"/>
21017
<parameter name="window" transfer-ownership="none">
21018
<type name="Window" c:type="GdkWindow*"/>
21020
<parameter name="property" transfer-ownership="none">
21021
<type name="Atom" c:type="GdkAtom"/>
21023
<parameter name="type" transfer-ownership="none">
21024
<type name="Atom" c:type="GdkAtom"/>
21026
<parameter name="offset" transfer-ownership="none">
21027
<type name="ulong" c:type="gulong"/>
21029
<parameter name="length" transfer-ownership="none">
21030
<type name="ulong" c:type="gulong"/>
21032
<parameter name="pdelete" transfer-ownership="none">
21033
<type name="int" c:type="gint"/>
21035
<parameter name="actual_property_type" transfer-ownership="none">
21036
<type name="Atom" c:type="GdkAtom*"/>
21038
<parameter name="actual_format"
21040
caller-allocates="0"
21041
transfer-ownership="full">
21042
<type name="int" c:type="gint*"/>
21044
<parameter name="actual_length"
21046
caller-allocates="0"
21047
transfer-ownership="full">
21048
<type name="int" c:type="gint*"/>
21050
<parameter name="data"
21052
caller-allocates="0"
21053
transfer-ownership="full">
21054
<type name="uint8" c:type="guchar**"/>
21058
<constant name="punctspace" value="2726">
21061
<constant name="q" value="113">
21064
<constant name="quad" value="3020">
21067
<function name="query_depths"
21068
c:identifier="gdk_query_depths"
21069
doc="This function returns the available bit depths for the default
21070
screen. It's equivalent to listing the visuals
21071
(gdk_list_visuals()) and then looking at the depth field in each
21072
visual, removing duplicates.
21073
The array returned by this function should not be freed.">
21074
<return-value transfer-ownership="none">
21075
<type name="none" c:type="void"/>
21078
<parameter name="depths"
21080
caller-allocates="0"
21081
transfer-ownership="full"
21082
doc="return location for available depths">
21083
<array c:type="gint**">
21087
<parameter name="count"
21089
caller-allocates="0"
21090
transfer-ownership="full"
21091
doc="return location for number of available depths">
21092
<type name="int" c:type="gint*"/>
21096
<function name="query_visual_types"
21097
c:identifier="gdk_query_visual_types"
21098
doc="This function returns the available visual types for the default
21099
screen. It's equivalent to listing the visuals
21100
(gdk_list_visuals()) and then looking at the type field in each
21101
visual, removing duplicates.
21102
The array returned by this function should not be freed.">
21103
<return-value transfer-ownership="none">
21104
<type name="none" c:type="void"/>
21107
<parameter name="visual_types" transfer-ownership="none">
21108
<type name="VisualType" c:type="GdkVisualType**"/>
21110
<parameter name="count"
21112
caller-allocates="0"
21113
transfer-ownership="full">
21114
<type name="int" c:type="gint*"/>
21118
<constant name="question" value="63">
21121
<constant name="questiondown" value="191">
21124
<constant name="quotedbl" value="34">
21127
<constant name="quoteleft" value="96">
21130
<constant name="quoteright" value="39">
21133
<constant name="r" value="114">
21136
<constant name="racute" value="480">
21139
<constant name="radical" value="2262">
21142
<constant name="rcaron" value="504">
21145
<constant name="rcedilla" value="947">
21148
<function name="region_polygon"
21149
c:identifier="gdk_region_polygon"
21150
doc="Creates a new #GdkRegion using the polygon defined by a
21151
number of points.">
21152
<return-value transfer-ownership="full">
21153
<type name="Region" c:type="GdkRegion*"/>
21156
<parameter name="points" transfer-ownership="none">
21157
<type name="Point" c:type="GdkPoint*"/>
21159
<parameter name="n_points" transfer-ownership="none">
21160
<type name="int" c:type="gint"/>
21162
<parameter name="fill_rule"
21163
transfer-ownership="none"
21164
doc=" polygon overlaps itself.">
21165
<type name="FillRule" c:type="GdkFillRule"/>
21169
<function name="region_rectangle"
21170
c:identifier="gdk_region_rectangle"
21171
doc="Creates a new region containing the area @rectangle.">
21172
<return-value transfer-ownership="full">
21173
<type name="Region" c:type="GdkRegion*"/>
21176
<parameter name="rectangle" transfer-ownership="none">
21177
<type name="Rectangle" c:type="GdkRectangle*"/>
21181
<constant name="registered" value="174">
21184
<function name="rgb_colormap_ditherable"
21185
c:identifier="gdk_rgb_colormap_ditherable">
21186
<return-value transfer-ownership="none">
21187
<type name="boolean" c:type="gboolean"/>
21190
<parameter name="cmap" transfer-ownership="none">
21191
<type name="Colormap" c:type="GdkColormap*"/>
21195
<function name="rgb_ditherable" c:identifier="gdk_rgb_ditherable">
21196
<return-value transfer-ownership="none">
21197
<type name="boolean" c:type="gboolean"/>
21200
<function name="rgb_find_color"
21201
c:identifier="gdk_rgb_find_color"
21202
doc="drawable you're using to draw. If you're drawing to a #GtkWidget,
21203
call gtk_widget_get_colormap().
21204
gdk_rgb_find_color() will fill in the %pixel field with the best
21205
matching pixel from a color cube. The color is then ready to be
21206
used for drawing, e.g. you can call gdk_gc_set_foreground() which
21207
expects %pixel to be initialized.
21208
In many cases, you can avoid this whole issue by calling
21209
gdk_gc_set_rgb_fg_color() or gdk_gc_set_rgb_bg_color(), which
21210
do not expect %pixel to be initialized in advance. If you use those
21211
functions, there's no need for gdk_rgb_find_color().">
21212
<return-value transfer-ownership="none">
21213
<type name="none" c:type="void"/>
21216
<parameter name="colormap" transfer-ownership="none">
21217
<type name="Colormap" c:type="GdkColormap*"/>
21219
<parameter name="color" transfer-ownership="none">
21220
<type name="Color" c:type="GdkColor*"/>
21224
<function name="rgb_gc_set_background"
21225
c:identifier="gdk_rgb_gc_set_background">
21226
<return-value transfer-ownership="none">
21227
<type name="none" c:type="void"/>
21230
<parameter name="gc" transfer-ownership="none">
21231
<type name="GC" c:type="GdkGC*"/>
21233
<parameter name="rgb" transfer-ownership="none">
21234
<type name="uint32" c:type="guint32"/>
21238
<function name="rgb_gc_set_foreground"
21239
c:identifier="gdk_rgb_gc_set_foreground">
21240
<return-value transfer-ownership="none">
21241
<type name="none" c:type="void"/>
21244
<parameter name="gc" transfer-ownership="none">
21245
<type name="GC" c:type="GdkGC*"/>
21247
<parameter name="rgb" transfer-ownership="none">
21248
<type name="uint32" c:type="guint32"/>
21252
<function name="rgb_get_colormap"
21253
c:identifier="gdk_rgb_get_colormap"
21254
doc="Get the preferred colormap for rendering image data. Not a
21255
very useful function; historically, GDK could only render RGB image
21256
data to one colormap and visual, but in the current version it can
21257
render to any colormap and visual. So there's no need to call this
21259
<return-value transfer-ownership="none" doc="the preferred colormap">
21260
<type name="Colormap" c:type="GdkColormap*"/>
21263
<function name="rgb_get_visual"
21264
c:identifier="gdk_rgb_get_visual"
21265
doc="Gets a "preferred visual" chosen by GdkRGB for rendering image data
21266
on the default screen. In previous versions of GDK, this was the
21267
only visual GdkRGB could use for rendering. In current versions,
21268
it's simply the visual GdkRGB would have chosen as the optimal one
21269
in those previous versions. GdkRGB can now render to drawables with
21271
<return-value transfer-ownership="none"
21272
doc="The #GdkVisual chosen by GdkRGB.">
21273
<type name="Visual" c:type="GdkVisual*"/>
21276
<function name="rgb_init" c:identifier="gdk_rgb_init">
21277
<return-value transfer-ownership="none">
21278
<type name="none" c:type="void"/>
21281
<function name="rgb_set_install" c:identifier="gdk_rgb_set_install">
21282
<return-value transfer-ownership="none">
21283
<type name="none" c:type="void"/>
21286
<parameter name="install" transfer-ownership="none">
21287
<type name="boolean" c:type="gboolean"/>
21291
<function name="rgb_set_min_colors" c:identifier="gdk_rgb_set_min_colors">
21292
<return-value transfer-ownership="none">
21293
<type name="none" c:type="void"/>
21296
<parameter name="min_colors" transfer-ownership="none">
21297
<type name="int" c:type="gint"/>
21301
<function name="rgb_set_verbose" c:identifier="gdk_rgb_set_verbose">
21302
<return-value transfer-ownership="none">
21303
<type name="none" c:type="void"/>
21306
<parameter name="verbose" transfer-ownership="none">
21307
<type name="boolean" c:type="gboolean"/>
21311
<function name="rgb_xpixel_from_rgb"
21312
c:identifier="gdk_rgb_xpixel_from_rgb">
21313
<return-value transfer-ownership="none">
21314
<type name="ulong" c:type="gulong"/>
21317
<parameter name="rgb" transfer-ownership="none">
21318
<type name="uint32" c:type="guint32"/>
21322
<constant name="rightanglebracket" value="2750">
21325
<constant name="rightarrow" value="2301">
21328
<constant name="rightcaret" value="2982">
21331
<constant name="rightdoublequotemark" value="2771">
21334
<constant name="rightmiddlecurlybrace" value="2224">
21337
<constant name="rightmiddlesummation" value="2231">
21340
<constant name="rightopentriangle" value="2765">
21343
<constant name="rightpointer" value="2795">
21346
<constant name="rightshoe" value="3032">
21349
<constant name="rightsinglequotemark" value="2769">
21352
<constant name="rightt" value="2549">
21355
<constant name="righttack" value="3068">
21358
<constant name="s" value="115">
21361
<constant name="sabovedot" value="16784993">
21364
<constant name="sacute" value="438">
21367
<constant name="scaron" value="441">
21370
<constant name="scedilla" value="442">
21373
<constant name="schwa" value="16777817">
21376
<constant name="scircumflex" value="766">
21379
<constant name="script_switch" value="65406">
21382
<constant name="seconds" value="2775">
21385
<constant name="section" value="167">
21388
<function name="selection_convert" c:identifier="gdk_selection_convert">
21389
<return-value transfer-ownership="none">
21390
<type name="none" c:type="void"/>
21393
<parameter name="requestor" transfer-ownership="none">
21394
<type name="Window" c:type="GdkWindow*"/>
21396
<parameter name="selection" transfer-ownership="none">
21397
<type name="Atom" c:type="GdkAtom"/>
21399
<parameter name="target" transfer-ownership="none">
21400
<type name="Atom" c:type="GdkAtom"/>
21402
<parameter name="time_" transfer-ownership="none">
21403
<type name="uint32" c:type="guint32"/>
21407
<function name="selection_owner_get"
21408
c:identifier="gdk_selection_owner_get">
21409
<return-value transfer-ownership="full">
21410
<type name="Window" c:type="GdkWindow*"/>
21413
<parameter name="selection" transfer-ownership="none">
21414
<type name="Atom" c:type="GdkAtom"/>
21418
<function name="selection_owner_get_for_display"
21419
c:identifier="gdk_selection_owner_get_for_display"
21420
doc="Determine the owner of the given selection.
21421
Note that the return value may be owned by a different
21422
process if a foreign window was previously created for that
21423
window, but a new foreign window will never be created by this call.
21424
window known to the current process, the #GdkWindow that owns the
21425
selection, otherwise %NULL."
21427
<return-value transfer-ownership="full">
21428
<type name="Window" c:type="GdkWindow*"/>
21431
<parameter name="display" transfer-ownership="none">
21432
<type name="Display" c:type="GdkDisplay*"/>
21434
<parameter name="selection" transfer-ownership="none">
21435
<type name="Atom" c:type="GdkAtom"/>
21439
<function name="selection_owner_set"
21440
c:identifier="gdk_selection_owner_set">
21441
<return-value transfer-ownership="none">
21442
<type name="boolean" c:type="gboolean"/>
21445
<parameter name="owner" transfer-ownership="none">
21446
<type name="Window" c:type="GdkWindow*"/>
21448
<parameter name="selection" transfer-ownership="none">
21449
<type name="Atom" c:type="GdkAtom"/>
21451
<parameter name="time_" transfer-ownership="none">
21452
<type name="uint32" c:type="guint32"/>
21454
<parameter name="send_event" transfer-ownership="none">
21455
<type name="boolean" c:type="gboolean"/>
21459
<function name="selection_owner_set_for_display"
21460
c:identifier="gdk_selection_owner_set_for_display"
21461
doc="Sets the #GdkWindow @owner as the current owner of the selection @selection.
21464
<return-value transfer-ownership="none">
21465
<type name="boolean" c:type="gboolean"/>
21468
<parameter name="display" transfer-ownership="none">
21469
<type name="Display" c:type="GdkDisplay*"/>
21471
<parameter name="owner"
21472
transfer-ownership="none"
21473
doc=" the given should be unset.">
21474
<type name="Window" c:type="GdkWindow*"/>
21476
<parameter name="selection" transfer-ownership="none">
21477
<type name="Atom" c:type="GdkAtom"/>
21479
<parameter name="time_"
21480
transfer-ownership="none"
21481
doc=" If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored.">
21482
<type name="uint32" c:type="guint32"/>
21484
<parameter name="send_event"
21485
transfer-ownership="none"
21486
doc=" owner, the current owner will be sent a SelectionClear event.">
21487
<type name="boolean" c:type="gboolean"/>
21491
<function name="selection_property_get"
21492
c:identifier="gdk_selection_property_get"
21493
doc="Retrieves selection data that was stored by the selection
21494
data in response to a call to gdk_selection_convert(). This function
21495
will not be used by applications, who should use the #GtkClipboard
21497
<return-value transfer-ownership="none">
21498
<type name="int" c:type="gint"/>
21501
<parameter name="requestor" transfer-ownership="none">
21502
<type name="Window" c:type="GdkWindow*"/>
21504
<parameter name="data"
21506
caller-allocates="0"
21507
transfer-ownership="full"
21508
doc=" the retrieval failed, %NULL we be stored here, otherwise, it ll be non-%NULL and the returned data should be freed with g_free() en you are finished using it. The length of the located memory is one more than the length the returned data, and the final byte will always zero, to ensure nul-termination of strings.">
21509
<type name="uint8" c:type="guchar**"/>
21511
<parameter name="prop_type" transfer-ownership="none">
21512
<type name="Atom" c:type="GdkAtom*"/>
21514
<parameter name="prop_format"
21516
caller-allocates="0"
21517
transfer-ownership="full">
21518
<type name="int" c:type="gint*"/>
21522
<function name="selection_send_notify"
21523
c:identifier="gdk_selection_send_notify">
21524
<return-value transfer-ownership="none">
21525
<type name="none" c:type="void"/>
21528
<parameter name="requestor" transfer-ownership="none">
21529
<type name="NativeWindow" c:type="GdkNativeWindow"/>
21531
<parameter name="selection" transfer-ownership="none">
21532
<type name="Atom" c:type="GdkAtom"/>
21534
<parameter name="target" transfer-ownership="none">
21535
<type name="Atom" c:type="GdkAtom"/>
21537
<parameter name="property" transfer-ownership="none">
21538
<type name="Atom" c:type="GdkAtom"/>
21540
<parameter name="time_" transfer-ownership="none">
21541
<type name="uint32" c:type="guint32"/>
21545
<function name="selection_send_notify_for_display"
21546
c:identifier="gdk_selection_send_notify_for_display"
21547
doc="Send a response to SelectionRequest event."
21549
<return-value transfer-ownership="none">
21550
<type name="none" c:type="void"/>
21553
<parameter name="display" transfer-ownership="none">
21554
<type name="Display" c:type="GdkDisplay*"/>
21556
<parameter name="requestor" transfer-ownership="none">
21557
<type name="NativeWindow" c:type="GdkNativeWindow"/>
21559
<parameter name="selection" transfer-ownership="none">
21560
<type name="Atom" c:type="GdkAtom"/>
21562
<parameter name="target" transfer-ownership="none">
21563
<type name="Atom" c:type="GdkAtom"/>
21565
<parameter name="property"
21566
transfer-ownership="none"
21567
doc=" or %GDK_NONE to indicate that the request was rejected.">
21568
<type name="Atom" c:type="GdkAtom"/>
21570
<parameter name="time_" transfer-ownership="none">
21571
<type name="uint32" c:type="guint32"/>
21575
<constant name="semicolon" value="59">
21578
<constant name="semivoicedsound" value="1247">
21581
<function name="set_double_click_time"
21582
c:identifier="gdk_set_double_click_time"
21583
doc="Set the double click time for the default display. See
21584
gdk_display_set_double_click_time().
21585
See also gdk_display_set_double_click_distance().
21586
Applications should <emphasis>not</emphasis> set this, it is a
21587
global user-configured setting.">
21588
<return-value transfer-ownership="none">
21589
<type name="none" c:type="void"/>
21592
<parameter name="msec" transfer-ownership="none">
21593
<type name="uint" c:type="guint"/>
21597
<function name="set_locale" c:identifier="gdk_set_locale">
21598
<return-value transfer-ownership="full">
21599
<type name="utf8" c:type="gchar*"/>
21602
<function name="set_pointer_hooks"
21603
c:identifier="gdk_set_pointer_hooks"
21604
doc="This function allows for hooking into the operation
21605
of getting the current location of the pointer. This
21606
is only useful for such low-level tools as an
21607
event recorder. Applications should never have any
21608
reason to use this facility.
21609
This function is not multihead safe. For multihead operation,
21610
see gdk_display_set_pointer_hooks().">
21611
<return-value transfer-ownership="full">
21612
<type name="PointerHooks" c:type="GdkPointerHooks*"/>
21615
<parameter name="new_hooks"
21616
transfer-ownership="none"
21617
doc=" quantities related to the current pointer position, or %NULL to restore the default table.">
21618
<type name="PointerHooks" c:type="GdkPointerHooks*"/>
21622
<function name="set_program_class" c:identifier="gdk_set_program_class">
21623
<return-value transfer-ownership="none">
21624
<type name="none" c:type="void"/>
21627
<parameter name="program_class" transfer-ownership="none">
21628
<type name="utf8" c:type="char*"/>
21632
<function name="set_show_events"
21633
c:identifier="gdk_set_show_events"
21634
doc="Sets whether a trace of received events is output.
21635
Note that GTK+ must be compiled with debugging (that is,
21636
configured using the <option>--enable-debug</option> option)
21637
to use this option.">
21638
<return-value transfer-ownership="none">
21639
<type name="none" c:type="void"/>
21642
<parameter name="show_events" transfer-ownership="none">
21643
<type name="boolean" c:type="gboolean"/>
21647
<function name="set_sm_client_id"
21648
c:identifier="gdk_set_sm_client_id"
21649
doc="Sets the <literal>SM_CLIENT_ID</literal> property on the application's leader window so that
21650
the window manager can save the application's state using the X11R6 ICCCM
21651
session management protocol.
21652
See the X Session Management Library documentation for more information on
21653
session management and the Inter-Client Communication Conventions Manual
21654
(ICCCM) for information on the <literal>WM_CLIENT_LEADER</literal> property.
21655
(Both documents are part of the X Window System distribution.)">
21656
<return-value transfer-ownership="none">
21657
<type name="none" c:type="void"/>
21660
<parameter name="sm_client_id"
21661
transfer-ownership="none"
21662
doc=" connection was opened, or %NULL to remove the property.">
21663
<type name="utf8" c:type="gchar*"/>
21667
<function name="set_use_xshm" c:identifier="gdk_set_use_xshm">
21668
<return-value transfer-ownership="none">
21669
<type name="none" c:type="void"/>
21672
<parameter name="use_xshm" transfer-ownership="none">
21673
<type name="boolean" c:type="gboolean"/>
21677
<function name="setting_get"
21678
c:identifier="gdk_setting_get"
21679
doc="Obtains a desktop-wide setting, such as the double-click time,
21680
for the default screen. See gdk_screen_get_setting().
21681
in @value, %FALSE otherwise.">
21682
<return-value transfer-ownership="none">
21683
<type name="boolean" c:type="gboolean"/>
21686
<parameter name="name" transfer-ownership="none">
21687
<type name="utf8" c:type="gchar*"/>
21689
<parameter name="value" transfer-ownership="none">
21690
<type name="GObject.Value" c:type="GValue*"/>
21694
<constant name="seveneighths" value="2758">
21697
<constant name="sevensubscript" value="16785543">
21700
<constant name="sevensuperior" value="16785527">
21703
<constant name="signaturemark" value="2762">
21706
<constant name="signifblank" value="2732">
21709
<constant name="similarequal" value="2249">
21712
<constant name="singlelowquotemark" value="2813">
21715
<constant name="sixsubscript" value="16785542">
21718
<constant name="sixsuperior" value="16785526">
21721
<constant name="slash" value="47">
21724
<constant name="soliddiamond" value="2528">
21727
<constant name="space" value="32">
21730
<function name="spawn_command_line_on_screen"
21731
c:identifier="gdk_spawn_command_line_on_screen"
21732
doc="Like g_spawn_command_line_async(), except the child process is
21733
spawned in such an environment that on calling gdk_display_open()
21734
it would be returned a #GdkDisplay with @screen as the default
21736
This is useful for applications which wish to launch an application
21737
on a specific screen."
21740
<return-value transfer-ownership="none">
21741
<type name="boolean" c:type="gboolean"/>
21744
<parameter name="screen" transfer-ownership="none">
21745
<type name="Screen" c:type="GdkScreen*"/>
21747
<parameter name="command_line" transfer-ownership="none">
21748
<type name="utf8" c:type="gchar*"/>
21752
<function name="spawn_on_screen"
21753
c:identifier="gdk_spawn_on_screen"
21754
doc="Like g_spawn_async(), except the child process is spawned in such
21755
an environment that on calling gdk_display_open() it would be
21756
returned a #GdkDisplay with @screen as the default screen.
21757
This is useful for applications which wish to launch an application
21758
on a specific screen."
21761
<return-value transfer-ownership="none">
21762
<type name="boolean" c:type="gboolean"/>
21765
<parameter name="screen" transfer-ownership="none">
21766
<type name="Screen" c:type="GdkScreen*"/>
21768
<parameter name="working_directory"
21769
transfer-ownership="none"
21770
doc=" inherit parent's">
21771
<type name="utf8" c:type="gchar*"/>
21773
<parameter name="argv" transfer-ownership="none">
21774
<array c:type="gchar**">
21775
<type name="utf8"/>
21778
<parameter name="envp" transfer-ownership="none">
21779
<array c:type="gchar**">
21780
<type name="utf8"/>
21783
<parameter name="flags" transfer-ownership="none">
21784
<type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
21786
<parameter name="child_setup"
21787
transfer-ownership="none"
21790
<type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
21792
<parameter name="user_data" transfer-ownership="none">
21793
<type name="any" c:type="gpointer"/>
21795
<parameter name="child_pid"
21797
caller-allocates="0"
21798
transfer-ownership="full">
21799
<type name="int" c:type="gint*"/>
21803
<function name="spawn_on_screen_with_pipes"
21804
c:identifier="gdk_spawn_on_screen_with_pipes"
21805
doc="Like g_spawn_async_with_pipes(), except the child process is
21806
spawned in such an environment that on calling gdk_display_open()
21807
it would be returned a #GdkDisplay with @screen as the default
21809
This is useful for applications which wish to launch an application
21810
on a specific screen."
21813
<return-value transfer-ownership="none">
21814
<type name="boolean" c:type="gboolean"/>
21817
<parameter name="screen" transfer-ownership="none">
21818
<type name="Screen" c:type="GdkScreen*"/>
21820
<parameter name="working_directory"
21821
transfer-ownership="none"
21822
doc=" inherit parent's">
21823
<type name="utf8" c:type="gchar*"/>
21825
<parameter name="argv" transfer-ownership="none">
21826
<array c:type="gchar**">
21827
<type name="utf8"/>
21830
<parameter name="envp" transfer-ownership="none">
21831
<array c:type="gchar**">
21832
<type name="utf8"/>
21835
<parameter name="flags" transfer-ownership="none">
21836
<type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
21838
<parameter name="child_setup"
21839
transfer-ownership="none"
21842
<type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
21844
<parameter name="user_data" transfer-ownership="none">
21845
<type name="any" c:type="gpointer"/>
21847
<parameter name="child_pid"
21849
caller-allocates="0"
21850
transfer-ownership="full">
21851
<type name="int" c:type="gint*"/>
21853
<parameter name="standard_input"
21855
caller-allocates="0"
21856
transfer-ownership="full"
21857
doc=" child's stdin, or %NULL">
21858
<type name="int" c:type="gint*"/>
21860
<parameter name="standard_output"
21862
caller-allocates="0"
21863
transfer-ownership="full"
21864
doc=" stdout, or %NULL">
21865
<type name="int" c:type="gint*"/>
21867
<parameter name="standard_error"
21869
caller-allocates="0"
21870
transfer-ownership="full"
21871
doc=" stderr, or %NULL">
21872
<type name="int" c:type="gint*"/>
21876
<constant name="squareroot" value="16785946">
21879
<constant name="ssharp" value="223">
21882
<constant name="sterling" value="163">
21885
<constant name="stricteq" value="16786019">
21888
<function name="string_extents"
21889
c:identifier="gdk_string_extents"
21890
doc="Gets the metrics of a nul-terminated string.">
21891
<return-value transfer-ownership="none">
21892
<type name="none" c:type="void"/>
21895
<parameter name="font" transfer-ownership="none">
21896
<type name="Font" c:type="GdkFont*"/>
21898
<parameter name="string" transfer-ownership="none">
21899
<type name="utf8" c:type="gchar*"/>
21901
<parameter name="lbearing"
21903
caller-allocates="0"
21904
transfer-ownership="full">
21905
<type name="int" c:type="gint*"/>
21907
<parameter name="rbearing"
21909
caller-allocates="0"
21910
transfer-ownership="full">
21911
<type name="int" c:type="gint*"/>
21913
<parameter name="width"
21915
caller-allocates="0"
21916
transfer-ownership="full">
21917
<type name="int" c:type="gint*"/>
21919
<parameter name="ascent"
21921
caller-allocates="0"
21922
transfer-ownership="full">
21923
<type name="int" c:type="gint*"/>
21925
<parameter name="descent"
21927
caller-allocates="0"
21928
transfer-ownership="full">
21929
<type name="int" c:type="gint*"/>
21933
<function name="string_height"
21934
c:identifier="gdk_string_height"
21935
doc="Determines the total height of a given nul-terminated
21936
string. This value is not generally useful, because you
21937
cannot determine how this total height will be drawn in
21938
relation to the baseline. See gdk_string_extents().">
21939
<return-value transfer-ownership="none">
21940
<type name="int" c:type="gint"/>
21943
<parameter name="font" transfer-ownership="none">
21944
<type name="Font" c:type="GdkFont*"/>
21946
<parameter name="string" transfer-ownership="none">
21947
<type name="utf8" c:type="gchar*"/>
21951
<function name="string_measure"
21952
c:identifier="gdk_string_measure"
21953
doc="Determines the distance from the origin to the rightmost
21954
portion of a nul-terminated string when drawn. This is not the
21955
correct value for determining the origin of the next
21956
portion when drawing text in multiple pieces.
21957
See gdk_string_width().">
21958
<return-value transfer-ownership="none">
21959
<type name="int" c:type="gint"/>
21962
<parameter name="font" transfer-ownership="none">
21963
<type name="Font" c:type="GdkFont*"/>
21965
<parameter name="string" transfer-ownership="none">
21966
<type name="utf8" c:type="gchar*"/>
21970
<function name="string_to_compound_text"
21971
c:identifier="gdk_string_to_compound_text">
21972
<return-value transfer-ownership="none">
21973
<type name="int" c:type="gint"/>
21976
<parameter name="str" transfer-ownership="none">
21977
<type name="utf8" c:type="gchar*"/>
21979
<parameter name="encoding" transfer-ownership="none">
21980
<type name="Atom" c:type="GdkAtom*"/>
21982
<parameter name="format"
21984
caller-allocates="0"
21985
transfer-ownership="full">
21986
<type name="int" c:type="gint*"/>
21988
<parameter name="ctext"
21990
caller-allocates="0"
21991
transfer-ownership="full">
21992
<type name="uint8" c:type="guchar**"/>
21994
<parameter name="length"
21996
caller-allocates="0"
21997
transfer-ownership="full">
21998
<type name="int" c:type="gint*"/>
22002
<function name="string_to_compound_text_for_display"
22003
c:identifier="gdk_string_to_compound_text_for_display"
22004
doc="Convert a string from the encoding of the current
22005
locale into a form suitable for storing in a window property."
22007
<return-value transfer-ownership="none">
22008
<type name="int" c:type="gint"/>
22011
<parameter name="display" transfer-ownership="none">
22012
<type name="Display" c:type="GdkDisplay*"/>
22014
<parameter name="str" transfer-ownership="none">
22015
<type name="utf8" c:type="gchar*"/>
22017
<parameter name="encoding"
22018
transfer-ownership="none"
22019
doc=" (to be used as the type for the property).">
22020
<type name="Atom" c:type="GdkAtom*"/>
22022
<parameter name="format"
22024
caller-allocates="0"
22025
transfer-ownership="full">
22026
<type name="int" c:type="gint*"/>
22028
<parameter name="ctext"
22030
caller-allocates="0"
22031
transfer-ownership="full">
22032
<type name="uint8" c:type="guchar**"/>
22034
<parameter name="length"
22036
caller-allocates="0"
22037
transfer-ownership="full">
22038
<type name="int" c:type="gint*"/>
22042
<function name="string_width"
22043
c:identifier="gdk_string_width"
22044
doc="Determines the width of a nul-terminated string.
22045
(The distance from the origin of the string to the
22046
point where the next string in a sequence of strings
22048
<return-value transfer-ownership="none">
22049
<type name="int" c:type="gint"/>
22052
<parameter name="font" transfer-ownership="none">
22053
<type name="Font" c:type="GdkFont*"/>
22055
<parameter name="string" transfer-ownership="none">
22056
<type name="utf8" c:type="gchar*"/>
22060
<function name="synthesize_window_state"
22061
c:identifier="gdk_synthesize_window_state">
22062
<return-value transfer-ownership="none">
22063
<type name="none" c:type="void"/>
22066
<parameter name="window" transfer-ownership="none">
22067
<type name="Window" c:type="GdkWindow*"/>
22069
<parameter name="unset_flags" transfer-ownership="none">
22070
<type name="WindowState" c:type="GdkWindowState"/>
22072
<parameter name="set_flags" transfer-ownership="none">
22073
<type name="WindowState" c:type="GdkWindowState"/>
22077
<constant name="t" value="116">
22080
<constant name="tabovedot" value="16785003">
22083
<constant name="tcaron" value="443">
22086
<constant name="tcedilla" value="510">
22089
<constant name="telephone" value="2809">
22092
<constant name="telephonerecorder" value="2810">
22095
<function name="test_render_sync"
22096
c:identifier="gdk_test_render_sync"
22097
doc="This function retrieves a pixel from @window to force the windowing
22098
system to carry out any pending rendering commands.
22099
This function is intended to be used to syncronize with rendering
22100
pipelines, to benchmark windowing system rendering operations."
22102
<return-value transfer-ownership="none">
22103
<type name="none" c:type="void"/>
22106
<parameter name="window" transfer-ownership="none">
22107
<type name="Window" c:type="GdkWindow*"/>
22111
<function name="test_simulate_button"
22112
c:identifier="gdk_test_simulate_button">
22113
<return-value transfer-ownership="none">
22114
<type name="boolean" c:type="gboolean"/>
22117
<parameter name="window" transfer-ownership="none">
22118
<type name="Window" c:type="GdkWindow*"/>
22120
<parameter name="x" transfer-ownership="none">
22121
<type name="int" c:type="gint"/>
22123
<parameter name="y" transfer-ownership="none">
22124
<type name="int" c:type="gint"/>
22126
<parameter name="button" transfer-ownership="none">
22127
<type name="uint" c:type="guint"/>
22129
<parameter name="modifiers" transfer-ownership="none">
22130
<type name="ModifierType" c:type="GdkModifierType"/>
22132
<parameter name="button_pressrelease" transfer-ownership="none">
22133
<type name="EventType" c:type="GdkEventType"/>
22137
<function name="test_simulate_key" c:identifier="gdk_test_simulate_key">
22138
<return-value transfer-ownership="none">
22139
<type name="boolean" c:type="gboolean"/>
22142
<parameter name="window" transfer-ownership="none">
22143
<type name="Window" c:type="GdkWindow*"/>
22145
<parameter name="x" transfer-ownership="none">
22146
<type name="int" c:type="gint"/>
22148
<parameter name="y" transfer-ownership="none">
22149
<type name="int" c:type="gint"/>
22151
<parameter name="keyval" transfer-ownership="none">
22152
<type name="uint" c:type="guint"/>
22154
<parameter name="modifiers" transfer-ownership="none">
22155
<type name="ModifierType" c:type="GdkModifierType"/>
22157
<parameter name="key_pressrelease" transfer-ownership="none">
22158
<type name="EventType" c:type="GdkEventType"/>
22162
<function name="text_extents"
22163
c:identifier="gdk_text_extents"
22164
doc="Gets the metrics of a string.">
22165
<return-value transfer-ownership="none">
22166
<type name="none" c:type="void"/>
22169
<parameter name="font" transfer-ownership="none">
22170
<type name="Font" c:type="GdkFont*"/>
22172
<parameter name="text" transfer-ownership="none">
22173
<type name="utf8" c:type="gchar*"/>
22175
<parameter name="text_length"
22176
transfer-ownership="none"
22177
doc=" font is a 16-bit font, this is twice the length of the text in characters.)">
22178
<type name="int" c:type="gint"/>
22180
<parameter name="lbearing"
22182
caller-allocates="0"
22183
transfer-ownership="full">
22184
<type name="int" c:type="gint*"/>
22186
<parameter name="rbearing"
22188
caller-allocates="0"
22189
transfer-ownership="full">
22190
<type name="int" c:type="gint*"/>
22192
<parameter name="width"
22194
caller-allocates="0"
22195
transfer-ownership="full">
22196
<type name="int" c:type="gint*"/>
22198
<parameter name="ascent"
22200
caller-allocates="0"
22201
transfer-ownership="full">
22202
<type name="int" c:type="gint*"/>
22204
<parameter name="descent"
22206
caller-allocates="0"
22207
transfer-ownership="full">
22208
<type name="int" c:type="gint*"/>
22212
<function name="text_extents_wc"
22213
c:identifier="gdk_text_extents_wc"
22214
doc="Gets the metrics of a string of wide characters.">
22215
<return-value transfer-ownership="none">
22216
<type name="none" c:type="void"/>
22219
<parameter name="font" transfer-ownership="none">
22220
<type name="Font" c:type="GdkFont*"/>
22222
<parameter name="text" transfer-ownership="none">
22223
<type name="WChar" c:type="GdkWChar*"/>
22225
<parameter name="text_length" transfer-ownership="none">
22226
<type name="int" c:type="gint"/>
22228
<parameter name="lbearing"
22230
caller-allocates="0"
22231
transfer-ownership="full">
22232
<type name="int" c:type="gint*"/>
22234
<parameter name="rbearing"
22236
caller-allocates="0"
22237
transfer-ownership="full">
22238
<type name="int" c:type="gint*"/>
22240
<parameter name="width"
22242
caller-allocates="0"
22243
transfer-ownership="full">
22244
<type name="int" c:type="gint*"/>
22246
<parameter name="ascent"
22248
caller-allocates="0"
22249
transfer-ownership="full">
22250
<type name="int" c:type="gint*"/>
22252
<parameter name="descent"
22254
caller-allocates="0"
22255
transfer-ownership="full">
22256
<type name="int" c:type="gint*"/>
22260
<function name="text_height"
22261
c:identifier="gdk_text_height"
22262
doc="Determines the total height of a given string.
22263
This value is not generally useful, because you cannot
22264
determine how this total height will be drawn in
22265
relation to the baseline. See gdk_text_extents().">
22266
<return-value transfer-ownership="none">
22267
<type name="int" c:type="gint"/>
22270
<parameter name="font" transfer-ownership="none">
22271
<type name="Font" c:type="GdkFont*"/>
22273
<parameter name="text" transfer-ownership="none">
22274
<type name="utf8" c:type="gchar*"/>
22276
<parameter name="text_length" transfer-ownership="none">
22277
<type name="int" c:type="gint"/>
22281
<function name="text_measure"
22282
c:identifier="gdk_text_measure"
22283
doc="Determines the distance from the origin to the rightmost
22284
portion of a string when drawn. This is not the
22285
correct value for determining the origin of the next
22286
portion when drawing text in multiple pieces.
22287
See gdk_text_width().">
22288
<return-value transfer-ownership="none">
22289
<type name="int" c:type="gint"/>
22292
<parameter name="font" transfer-ownership="none">
22293
<type name="Font" c:type="GdkFont*"/>
22295
<parameter name="text" transfer-ownership="none">
22296
<type name="utf8" c:type="gchar*"/>
22298
<parameter name="text_length" transfer-ownership="none">
22299
<type name="int" c:type="gint"/>
22303
<function name="text_property_to_text_list"
22304
c:identifier="gdk_text_property_to_text_list">
22305
<return-value transfer-ownership="none">
22306
<type name="int" c:type="gint"/>
22309
<parameter name="encoding" transfer-ownership="none">
22310
<type name="Atom" c:type="GdkAtom"/>
22312
<parameter name="format" transfer-ownership="none">
22313
<type name="int" c:type="gint"/>
22315
<parameter name="text" transfer-ownership="none">
22316
<array c:type="guchar*">
22317
<type name="uint8"/>
22320
<parameter name="length" transfer-ownership="none">
22321
<type name="int" c:type="gint"/>
22323
<parameter name="list" transfer-ownership="none">
22324
<type name="utf8" c:type="gchar***"/>
22328
<function name="text_property_to_text_list_for_display"
22329
c:identifier="gdk_text_property_to_text_list_for_display"
22330
doc="Convert a text string from the encoding as it is stored
22331
in a property into an array of strings in the encoding of
22332
the current locale. (The elements of the array represent the
22333
nul-separated elements of the original text string.)
22334
if the conversion failed."
22336
<return-value transfer-ownership="none">
22337
<type name="int" c:type="gint"/>
22340
<parameter name="display" transfer-ownership="none">
22341
<type name="Display" c:type="GdkDisplay*"/>
22343
<parameter name="encoding"
22344
transfer-ownership="none"
22345
doc=" common values for this are STRING, or COMPOUND_TEXT. This is value used as the type for the property.">
22346
<type name="Atom" c:type="GdkAtom"/>
22348
<parameter name="format" transfer-ownership="none">
22349
<type name="int" c:type="gint"/>
22351
<parameter name="text" transfer-ownership="none">
22352
<array c:type="guchar*">
22353
<type name="uint8"/>
22356
<parameter name="length" transfer-ownership="none">
22357
<type name="int" c:type="gint"/>
22359
<parameter name="list"
22360
transfer-ownership="none"
22361
doc=" the encoding of the current locale. This array should be freed using gdk_free_text_list().">
22362
<type name="utf8" c:type="gchar***"/>
22366
<function name="text_property_to_utf8_list"
22367
c:identifier="gdk_text_property_to_utf8_list"
22368
doc="Convert a text property in the giving encoding to
22369
a list of UTF-8 strings.
22371
<return-value transfer-ownership="none">
22372
<type name="int" c:type="gint"/>
22375
<parameter name="encoding" transfer-ownership="none">
22376
<type name="Atom" c:type="GdkAtom"/>
22378
<parameter name="format" transfer-ownership="none">
22379
<type name="int" c:type="gint"/>
22381
<parameter name="text" transfer-ownership="none">
22382
<array c:type="guchar*">
22383
<type name="uint8"/>
22386
<parameter name="length" transfer-ownership="none">
22387
<type name="int" c:type="gint"/>
22389
<parameter name="list"
22390
transfer-ownership="none"
22392
doc="location to store the list of strings or %NULL. The list should be freed with g_strfreev().">
22393
<type name="utf8" c:type="gchar***"/>
22397
<function name="text_property_to_utf8_list_for_display"
22398
c:identifier="gdk_text_property_to_utf8_list_for_display"
22399
doc="Converts a text property in the given encoding to
22400
a list of UTF-8 strings.
22403
<return-value transfer-ownership="none">
22404
<type name="int" c:type="gint"/>
22407
<parameter name="display" transfer-ownership="none">
22408
<type name="Display" c:type="GdkDisplay*"/>
22410
<parameter name="encoding" transfer-ownership="none">
22411
<type name="Atom" c:type="GdkAtom"/>
22413
<parameter name="format" transfer-ownership="none">
22414
<type name="int" c:type="gint"/>
22416
<parameter name="text" transfer-ownership="none">
22417
<array c:type="guchar*">
22418
<type name="uint8"/>
22421
<parameter name="length" transfer-ownership="none">
22422
<type name="int" c:type="gint"/>
22424
<parameter name="list"
22425
transfer-ownership="none"
22426
doc=" list should be freed with g_strfreev().">
22427
<type name="utf8" c:type="gchar***"/>
22431
<function name="text_width"
22432
c:identifier="gdk_text_width"
22433
doc="Determines the width of a given string.">
22434
<return-value transfer-ownership="none">
22435
<type name="int" c:type="gint"/>
22438
<parameter name="font" transfer-ownership="none">
22439
<type name="Font" c:type="GdkFont*"/>
22441
<parameter name="text" transfer-ownership="none">
22442
<type name="utf8" c:type="gchar*"/>
22444
<parameter name="text_length" transfer-ownership="none">
22445
<type name="int" c:type="gint"/>
22449
<function name="text_width_wc"
22450
c:identifier="gdk_text_width_wc"
22451
doc="Determines the width of a given wide-character string.">
22452
<return-value transfer-ownership="none">
22453
<type name="int" c:type="gint"/>
22456
<parameter name="font" transfer-ownership="none">
22457
<type name="Font" c:type="GdkFont*"/>
22459
<parameter name="text" transfer-ownership="none">
22460
<type name="WChar" c:type="GdkWChar*"/>
22462
<parameter name="text_length" transfer-ownership="none">
22463
<type name="int" c:type="gint"/>
22467
<constant name="therefore" value="2240">
22470
<constant name="thinspace" value="2727">
22473
<constant name="thorn" value="254">
22476
<function name="threads_add_idle"
22477
c:identifier="gdk_threads_add_idle"
22478
doc="A wrapper for the common usage of gdk_threads_add_idle_full()
22479
assigning the default priority, #G_PRIORITY_DEFAULT_IDLE.
22480
See gdk_threads_add_idle_full()."
22482
<return-value transfer-ownership="none" doc="of the event source.">
22483
<type name="uint" c:type="guint"/>
22486
<parameter name="function"
22487
transfer-ownership="none"
22490
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
22492
<parameter name="data" transfer-ownership="none">
22493
<type name="any" c:type="gpointer"/>
22497
<function name="threads_add_idle_full"
22498
c:identifier="gdk_threads_add_idle_full"
22499
doc="Adds a function to be called whenever there are no higher priority
22500
events pending. If the function returns %FALSE it is automatically
22501
removed from the list of event sources and will not be called again.
22502
This variant of g_idle_add_full() calls @function with the GDK lock
22503
held. It can be thought of a MT-safe version for GTK+ widgets for the
22504
following use case, where you have to worry about idle_callback()
22505
running in thread A and accessing @self after it has been finalized
22509
idle_callback (gpointer data)
22511
/&ast; gdk_threads_enter(); would be needed for g_idle_add() &ast;/
22512
SomeWidget *self = data;
22513
/&ast; do stuff with self &ast;/
22514
self->idle_id = 0;
22515
/&ast; gdk_threads_leave(); would be needed for g_idle_add() &ast;/
22519
some_widget_do_stuff_later (SomeWidget *self)
22521
self->idle_id = gdk_threads_add_idle (idle_callback, self)
22522
/&ast; using g_idle_add() here would require thread protection in the callback &ast;/
22525
some_widget_finalize (GObject *object)
22527
SomeWidget *self = SOME_WIDGET (object);
22528
if (self->idle_id)
22529
g_source_remove (self->idle_id);
22530
G_OBJECT_CLASS (parent_class)->finalize (object);
22534
<return-value transfer-ownership="none" doc="of the event source.">
22535
<type name="uint" c:type="guint"/>
22538
<parameter name="priority"
22539
transfer-ownership="none"
22540
doc=" range btweeen #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE">
22541
<type name="int" c:type="gint"/>
22543
<parameter name="function"
22544
transfer-ownership="none"
22548
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
22550
<parameter name="data" transfer-ownership="none">
22551
<type name="any" c:type="gpointer"/>
22553
<parameter name="notify"
22554
transfer-ownership="none"
22557
doc="function to call when the idle is removed, or %NULL">
22558
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
22562
<function name="threads_add_timeout"
22563
c:identifier="gdk_threads_add_timeout"
22564
doc="A wrapper for the common usage of gdk_threads_add_timeout_full()
22565
assigning the default priority, #G_PRIORITY_DEFAULT.
22566
See gdk_threads_add_timeout_full()."
22568
<return-value transfer-ownership="none" doc="of the event source.">
22569
<type name="uint" c:type="guint"/>
22572
<parameter name="interval"
22573
transfer-ownership="none"
22574
doc=" (1/1000ths of a second)">
22575
<type name="uint" c:type="guint"/>
22577
<parameter name="function"
22578
transfer-ownership="none"
22581
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
22583
<parameter name="data" transfer-ownership="none">
22584
<type name="any" c:type="gpointer"/>
22588
<function name="threads_add_timeout_full"
22589
c:identifier="gdk_threads_add_timeout_full"
22590
doc="Sets a function to be called at regular intervals holding the GDK lock,
22591
with the given priority. The function is called repeatedly until it
22592
returns %FALSE, at which point the timeout is automatically destroyed
22593
and the function will not be called again. The @notify function is
22594
called when the timeout is destroyed. The first call to the
22595
function will be at the end of the first @interval.
22596
Note that timeout functions may be delayed, due to the processing of other
22597
event sources. Thus they should not be relied on for precise timing.
22598
After each call to the timeout function, the time of the next
22599
timeout is recalculated based on the current time and the given interval
22600
(it does not try to 'catch up' time lost in delays).
22601
This variant of g_timeout_add_full() can be thought of a MT-safe version
22602
for GTK+ widgets for the following use case:
22604
static gboolean timeout_callback (gpointer data)
22606
SomeWidget *self = data;
22607
/&ast; do stuff with self &ast;/
22608
self->timeout_id = 0;
22611
static void some_widget_do_stuff_later (SomeWidget *self)
22613
self->timeout_id = g_timeout_add (timeout_callback, self)
22615
static void some_widget_finalize (GObject *object)
22617
SomeWidget *self = SOME_WIDGET (object);
22618
if (self->timeout_id)
22619
g_source_remove (self->timeout_id);
22620
G_OBJECT_CLASS (parent_class)->finalize (object);
22624
<return-value transfer-ownership="none" doc="of the event source.">
22625
<type name="uint" c:type="guint"/>
22628
<parameter name="priority"
22629
transfer-ownership="none"
22630
doc=" range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.">
22631
<type name="int" c:type="gint"/>
22633
<parameter name="interval"
22634
transfer-ownership="none"
22635
doc=" (1/1000ths of a second)">
22636
<type name="uint" c:type="guint"/>
22638
<parameter name="function"
22639
transfer-ownership="none"
22643
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
22645
<parameter name="data" transfer-ownership="none">
22646
<type name="any" c:type="gpointer"/>
22648
<parameter name="notify"
22649
transfer-ownership="none"
22652
doc="function to call when the timeout is removed, or %NULL">
22653
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
22657
<function name="threads_add_timeout_seconds"
22658
c:identifier="gdk_threads_add_timeout_seconds"
22659
doc="A wrapper for the common usage of gdk_threads_add_timeout_seconds_full()
22660
assigning the default priority, #G_PRIORITY_DEFAULT.
22661
For details, see gdk_threads_add_timeout_full()."
22663
<return-value transfer-ownership="none" doc="of the event source.">
22664
<type name="uint" c:type="guint"/>
22667
<parameter name="interval" transfer-ownership="none">
22668
<type name="uint" c:type="guint"/>
22670
<parameter name="function"
22671
transfer-ownership="none"
22674
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
22676
<parameter name="data" transfer-ownership="none">
22677
<type name="any" c:type="gpointer"/>
22681
<function name="threads_add_timeout_seconds_full"
22682
c:identifier="gdk_threads_add_timeout_seconds_full"
22683
doc="A variant of gdk_threads_add_timout_full() with second-granularity.
22684
See g_timeout_add_seconds_full() for a discussion of why it is
22685
a good idea to use this function if you don't need finer granularity."
22687
<return-value transfer-ownership="none" doc="of the event source.">
22688
<type name="uint" c:type="guint"/>
22691
<parameter name="priority"
22692
transfer-ownership="none"
22693
doc=" range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.">
22694
<type name="int" c:type="gint"/>
22696
<parameter name="interval" transfer-ownership="none">
22697
<type name="uint" c:type="guint"/>
22699
<parameter name="function"
22700
transfer-ownership="none"
22704
<type name="GLib.SourceFunc" c:type="GSourceFunc"/>
22706
<parameter name="data" transfer-ownership="none">
22707
<type name="any" c:type="gpointer"/>
22709
<parameter name="notify"
22710
transfer-ownership="none"
22713
doc="function to call when the timeout is removed, or %NULL">
22714
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
22718
<function name="threads_enter" c:identifier="gdk_threads_enter">
22719
<return-value transfer-ownership="none">
22720
<type name="none" c:type="void"/>
22723
<function name="threads_init"
22724
c:identifier="gdk_threads_init"
22725
doc="Initializes GDK so that it can be used from multiple threads
22726
in conjunction with gdk_threads_enter() and gdk_threads_leave().
22727
g_thread_init() must be called previous to this function.
22728
This call must be made before any use of the main loop from
22729
GTK+; to be safe, call it before gtk_init().">
22730
<return-value transfer-ownership="none">
22731
<type name="none" c:type="void"/>
22734
<function name="threads_leave" c:identifier="gdk_threads_leave">
22735
<return-value transfer-ownership="none">
22736
<type name="none" c:type="void"/>
22739
<function name="threads_set_lock_functions"
22740
c:identifier="gdk_threads_set_lock_functions"
22741
doc="Allows the application to replace the standard method that
22742
GDK uses to protect its data structures. Normally, GDK
22743
creates a single #GMutex that is locked by gdk_threads_enter(),
22744
and released by gdk_threads_leave(); using this function an
22745
application provides, instead, a function @enter_fn that is
22746
called by gdk_threads_enter() and a function @leave_fn that is
22747
called by gdk_threads_leave().
22748
The functions must provide at least same locking functionality
22749
as the default implementation, but can also do extra application
22750
specific processing.
22751
As an example, consider an application that has its own recursive
22752
lock that when held, holds the GTK+ lock as well. When GTK+ unlocks
22753
the GTK+ lock when entering a recursive main loop, the application
22754
must temporarily release its lock as well.
22755
Most threaded GTK+ apps won't need to use this method.
22756
This method must be called before gdk_threads_init(), and cannot
22757
be called multiple times."
22759
<return-value transfer-ownership="none">
22760
<type name="none" c:type="void"/>
22763
<parameter name="enter_fn" transfer-ownership="none" scope="call">
22764
<type name="GObject.Callback" c:type="GCallback"/>
22766
<parameter name="leave_fn" transfer-ownership="none" scope="call">
22767
<type name="GObject.Callback" c:type="GCallback"/>
22771
<constant name="threeeighths" value="2756">
22774
<constant name="threefifths" value="2740">
22777
<constant name="threequarters" value="190">
22780
<constant name="threesubscript" value="16785539">
22783
<constant name="threesuperior" value="179">
22786
<constant name="tintegral" value="16785965">
22789
<constant name="topintegral" value="2212">
22792
<constant name="topleftparens" value="2219">
22795
<constant name="topleftradical" value="2210">
22798
<constant name="topleftsqbracket" value="2215">
22801
<constant name="topleftsummation" value="2225">
22804
<constant name="toprightparens" value="2221">
22807
<constant name="toprightsqbracket" value="2217">
22810
<constant name="toprightsummation" value="2229">
22813
<constant name="topt" value="2551">
22816
<constant name="topvertsummationconnector" value="2227">
22819
<constant name="trademark" value="2761">
22822
<constant name="trademarkincircle" value="2763">
22825
<constant name="tslash" value="956">
22828
<constant name="twofifths" value="2739">
22831
<constant name="twosubscript" value="16785538">
22834
<constant name="twosuperior" value="178">
22837
<constant name="twothirds" value="2737">
22840
<constant name="u" value="117">
22843
<constant name="uacute" value="250">
22846
<constant name="ubelowdot" value="16785125">
22849
<constant name="ubreve" value="765">
22852
<constant name="ucircumflex" value="251">
22855
<constant name="udiaeresis" value="252">
22858
<constant name="udoubleacute" value="507">
22861
<constant name="ugrave" value="249">
22864
<constant name="uhook" value="16785127">
22867
<constant name="uhorn" value="16777648">
22870
<constant name="uhornacute" value="16785129">
22873
<constant name="uhornbelowdot" value="16785137">
22876
<constant name="uhorngrave" value="16785131">
22879
<constant name="uhornhook" value="16785133">
22882
<constant name="uhorntilde" value="16785135">
22885
<constant name="umacron" value="1022">
22888
<constant name="underbar" value="3014">
22891
<constant name="underscore" value="95">
22894
<function name="unicode_to_keyval"
22895
c:identifier="gdk_unicode_to_keyval"
22896
doc="Convert from a ISO10646 character to a key symbol.
22897
or, if there is no corresponding symbol,
22899
<return-value transfer-ownership="none">
22900
<type name="uint" c:type="guint"/>
22903
<parameter name="wc" transfer-ownership="none">
22904
<type name="uint32" c:type="guint32"/>
22908
<constant name="union" value="2269">
22911
<constant name="uogonek" value="1017">
22914
<constant name="uparrow" value="2300">
22917
<constant name="upcaret" value="2985">
22920
<constant name="upleftcorner" value="2540">
22923
<constant name="uprightcorner" value="2539">
22926
<constant name="upshoe" value="3011">
22929
<constant name="upstile" value="3027">
22932
<constant name="uptack" value="3022">
22935
<constant name="uring" value="505">
22938
<function name="utf8_to_compound_text"
22939
c:identifier="gdk_utf8_to_compound_text"
22940
doc="Convert from UTF-8 to compound text.
22942
<return-value transfer-ownership="none">
22943
<type name="boolean" c:type="gboolean"/>
22946
<parameter name="str" transfer-ownership="none">
22947
<type name="utf8" c:type="gchar*"/>
22949
<parameter name="encoding" transfer-ownership="none">
22950
<type name="Atom" c:type="GdkAtom*"/>
22952
<parameter name="format"
22954
caller-allocates="0"
22955
transfer-ownership="full">
22956
<type name="int" c:type="gint*"/>
22958
<parameter name="ctext"
22960
caller-allocates="0"
22961
transfer-ownership="full">
22962
<type name="uint8" c:type="guchar**"/>
22964
<parameter name="length"
22966
caller-allocates="0"
22967
transfer-ownership="full"
22968
doc=" stored in @ctext">
22969
<type name="int" c:type="gint*"/>
22973
<function name="utf8_to_compound_text_for_display"
22974
c:identifier="gdk_utf8_to_compound_text_for_display"
22975
doc="Converts from UTF-8 to compound text.
22978
<return-value transfer-ownership="none">
22979
<type name="boolean" c:type="gboolean"/>
22982
<parameter name="display" transfer-ownership="none">
22983
<type name="Display" c:type="GdkDisplay*"/>
22985
<parameter name="str" transfer-ownership="none">
22986
<type name="utf8" c:type="gchar*"/>
22988
<parameter name="encoding" transfer-ownership="none">
22989
<type name="Atom" c:type="GdkAtom*"/>
22991
<parameter name="format"
22993
caller-allocates="0"
22994
transfer-ownership="full">
22995
<type name="int" c:type="gint*"/>
22997
<parameter name="ctext"
22999
caller-allocates="0"
23000
transfer-ownership="full">
23001
<type name="uint8" c:type="guchar**"/>
23003
<parameter name="length"
23005
caller-allocates="0"
23006
transfer-ownership="full"
23007
doc=" stored in @ctext">
23008
<type name="int" c:type="gint*"/>
23012
<function name="utf8_to_string_target"
23013
c:identifier="gdk_utf8_to_string_target"
23014
doc="Converts an UTF-8 string into the best possible representation
23015
as a STRING. The representation of characters not in STRING
23016
is not specified; it may be as pseudo-escape sequences
23017
\x{ABCD}, or it may be in some other form of approximation.
23018
conversion failed. (It should not fail for
23019
any properly formed UTF-8 string unless system
23020
limits like memory or file descriptors are exceeded.)">
23021
<return-value transfer-ownership="full">
23022
<type name="utf8" c:type="gchar*"/>
23025
<parameter name="str" transfer-ownership="none">
23026
<type name="utf8" c:type="gchar*"/>
23030
<constant name="utilde" value="1021">
23033
<constant name="v" value="118">
23036
<constant name="variation" value="2241">
23039
<constant name="vertbar" value="2552">
23042
<constant name="vertconnector" value="2214">
23045
<constant name="voicedsound" value="1246">
23048
<constant name="vt" value="2537">
23051
<constant name="w" value="119">
23054
<constant name="wacute" value="16785027">
23057
<constant name="wcircumflex" value="16777589">
23060
<function name="wcstombs"
23061
c:identifier="gdk_wcstombs"
23062
doc="Converts a wide character string to a multi-byte string.
23063
(The function name comes from an acronym of 'Wide Character String TO
23064
Multi-Byte String').
23065
conversion failed. The returned string should be freed with g_free() when no
23067
<return-value transfer-ownership="full">
23068
<type name="utf8" c:type="gchar*"/>
23071
<parameter name="src" transfer-ownership="none">
23072
<type name="WChar" c:type="GdkWChar*"/>
23076
<constant name="wdiaeresis" value="16785029">
23079
<constant name="wgrave" value="16785025">
23082
<constant name="x" value="120">
23085
<constant name="xabovedot" value="16785035">
23088
<constant name="y" value="121">
23091
<constant name="yacute" value="253">
23094
<constant name="ybelowdot" value="16785141">
23097
<constant name="ycircumflex" value="16777591">
23100
<constant name="ydiaeresis" value="255">
23103
<constant name="yen" value="165">
23106
<constant name="ygrave" value="16785139">
23109
<constant name="yhook" value="16785143">
23112
<constant name="ytilde" value="16785145">
23115
<constant name="z" value="122">
23118
<constant name="zabovedot" value="447">
23121
<constant name="zacute" value="444">
23124
<constant name="zcaron" value="446">
23127
<constant name="zerosubscript" value="16785536">
23130
<constant name="zerosuperior" value="16785520">
23133
<constant name="zstroke" value="16777654">