libx11 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/generate-constants +92 -0
- data/bin/generate-functions +64 -0
- data/bin/generate-structs +103 -0
- data/bin/typesym.rb +50 -0
- data/example/window_manager.rb +10 -14
- data/lib/libx11/version.rb +1 -1
- data/lib/libx11/x.rb +573 -132
- data/lib/libx11/xlib.rb +463 -28
- data/lib/libx11/xlib/depth.rb +11 -0
- data/lib/libx11/xlib/screen.rb +28 -0
- data/lib/libx11/xlib/screen_format.rb +12 -0
- data/lib/libx11/xlib/visual.rb +16 -0
- data/lib/libx11/xlib/{xany_event.rb → x_any_event.rb} +1 -1
- data/lib/libx11/xlib/x_arc.rb +14 -0
- data/lib/libx11/xlib/{xbutton_event.rb → x_button_event.rb} +2 -2
- data/lib/libx11/xlib/x_char2b.rb +10 -0
- data/lib/libx11/xlib/x_char_struct.rb +14 -0
- data/lib/libx11/xlib/{xcirculate_event.rb → x_circulate_event.rb} +1 -1
- data/lib/libx11/xlib/{xcirculate_request_event.rb → x_circulate_request_event.rb} +2 -2
- data/lib/libx11/xlib/{xclient_message_event.rb → x_client_message_event.rb} +0 -0
- data/lib/libx11/xlib/x_color.rb +14 -0
- data/lib/libx11/xlib/{xcolormap_event.rb → x_colormap_event.rb} +2 -2
- data/lib/libx11/xlib/{xconfigure_event.rb → x_configure_event.rb} +2 -2
- data/lib/libx11/xlib/{xconfigure_request_event.rb → x_configure_request_event.rb} +2 -2
- data/lib/libx11/xlib/{xcreate_window_event.rb → x_create_window_event.rb} +2 -2
- data/lib/libx11/xlib/{xcrossing_event.rb → x_crossing_event.rb} +4 -4
- data/lib/libx11/xlib/{xdestroy_window_event.rb → x_destroy_window_event.rb} +1 -1
- data/lib/libx11/xlib/x_edata_object.rb +14 -0
- data/lib/libx11/xlib/{xerror_event.rb → x_error_event.rb} +0 -0
- data/lib/libx11/xlib/{xevent.rb → x_event.rb} +34 -34
- data/lib/libx11/xlib/{xexpose_event.rb → x_expose_event.rb} +1 -1
- data/lib/libx11/xlib/x_ext_codes.rb +12 -0
- data/lib/libx11/xlib/{xfocus_change_event.rb → x_focus_change_event.rb} +2 -2
- data/lib/libx11/xlib/x_font_prop.rb +10 -0
- data/lib/libx11/xlib/x_font_set_extents.rb +10 -0
- data/lib/libx11/xlib/x_font_struct.rb +24 -0
- data/lib/libx11/xlib/{xgeneric_event.rb → x_generic_event.rb} +0 -0
- data/lib/libx11/xlib/{xgeneric_event_cookie.rb → x_generic_event_cookie.rb} +1 -1
- data/lib/libx11/xlib/{xgraphics_expose_event.rb → x_graphics_expose_event.rb} +1 -2
- data/lib/libx11/xlib/{xgravity_event.rb → x_gravity_event.rb} +1 -1
- data/lib/libx11/xlib/x_host_address.rb +11 -0
- data/lib/libx11/xlib/x_key_event.rb +23 -0
- data/lib/libx11/xlib/x_keyboard_control.rb +16 -0
- data/lib/libx11/xlib/x_keyboard_state.rb +15 -0
- data/lib/libx11/xlib/{xkeymap_event.rb → x_keymap_event.rb} +1 -1
- data/lib/libx11/xlib/{xmap_event.rb → x_map_event.rb} +2 -2
- data/lib/libx11/xlib/x_map_request_event.rb +14 -0
- data/lib/libx11/xlib/{xmapping_event.rb → x_mapping_event.rb} +1 -1
- data/lib/libx11/xlib/x_modifier_keymap.rb +10 -0
- data/lib/libx11/xlib/{xmotion_event.rb → x_motion_event.rb} +2 -2
- data/lib/libx11/xlib/{xno_expose_event.rb → x_no_expose_event.rb} +1 -1
- data/lib/libx11/xlib/x_pixmap_format_values.rb +11 -0
- data/lib/libx11/xlib/x_point.rb +10 -0
- data/lib/libx11/xlib/{xproperty_event.rb → x_property_event.rb} +1 -1
- data/lib/libx11/xlib/x_rectangle.rb +12 -0
- data/lib/libx11/xlib/{xreparent_event.rb → x_reparent_event.rb} +2 -2
- data/lib/libx11/xlib/{xresize_request_event.rb → x_resize_request_event.rb} +1 -1
- data/lib/libx11/xlib/x_segment.rb +12 -0
- data/lib/libx11/xlib/{xselection_clear_event.rb → x_selection_clear_event.rb} +1 -1
- data/lib/libx11/xlib/{xselection_event.rb → x_selection_event.rb} +1 -1
- data/lib/libx11/xlib/{xselection_request_event.rb → x_selection_request_event.rb} +1 -1
- data/lib/libx11/xlib/x_server_interpreted_address.rb +12 -0
- data/lib/libx11/xlib/x_set_window_attributes.rb +23 -0
- data/lib/libx11/xlib/x_text_item.rb +12 -0
- data/lib/libx11/xlib/x_text_item16.rb +12 -0
- data/lib/libx11/xlib/x_time_coord.rb +11 -0
- data/lib/libx11/xlib/{xunmap_event.rb → x_unmap_event.rb} +2 -2
- data/lib/libx11/xlib/{xvisibility_event.rb → x_visibility_event.rb} +1 -1
- data/lib/libx11/xlib/x_window_attributes.rb +31 -0
- data/lib/libx11/xlib/x_window_changes.rb +15 -0
- data/lib/libx11/xlib/xgc_values.rb +31 -0
- data/lib/libx11/xlib/xic_callback.rb +10 -0
- data/lib/libx11/xlib/xim_callback.rb +10 -0
- data/lib/libx11/xlib/xim_styles.rb +10 -0
- data/lib/libx11/xlib/xim_values_list.rb +10 -0
- data/lib/libx11/xlib/xmb_text_item.rb +12 -0
- data/lib/libx11/xlib/xom_char_set_list.rb +10 -0
- data/lib/libx11/xlib/xom_font_info.rb +11 -0
- data/lib/libx11/xlib/xom_orientation.rb +10 -0
- data/lib/libx11/xlib/xwc_text_item.rb +12 -0
- data/libx11.gemspec +2 -1
- metadata +105 -49
- data/lib/libx11/xlib/xkey_event.rb +0 -23
- data/lib/libx11/xlib/xmap_request_event.rb +0 -18
data/lib/libx11/xlib.rb
CHANGED
@@ -4,39 +4,474 @@ module LibX11
|
|
4
4
|
|
5
5
|
ffi_lib 'X11'
|
6
6
|
|
7
|
-
typedef :int,
|
8
|
-
typedef :
|
9
|
-
typedef :
|
10
|
-
typedef :
|
11
|
-
typedef :ulong,
|
12
|
-
typedef :
|
13
|
-
typedef :
|
14
|
-
typedef :
|
15
|
-
typedef :
|
7
|
+
typedef :int, :Bool
|
8
|
+
typedef :int, :Status
|
9
|
+
typedef :string, :XPointer
|
10
|
+
typedef :uchar, :KeyCode
|
11
|
+
typedef :ulong, :Atom
|
12
|
+
typedef :ulong, :Time
|
13
|
+
typedef :ulong, :VisualID
|
14
|
+
typedef :ulong, :XID
|
15
|
+
typedef :ulong, :XIMStyle
|
16
|
+
typedef :XID, :Colormap
|
17
|
+
typedef :XID, :Cursor
|
18
|
+
typedef :XID, :Drawable
|
19
|
+
typedef :XID, :Font
|
20
|
+
typedef :XID, :GC
|
21
|
+
typedef :XID, :GContext
|
22
|
+
typedef :XID, :KeySym
|
23
|
+
typedef :XID, :Pixmap
|
24
|
+
typedef :XID, :Window
|
16
25
|
|
17
26
|
require 'libx11/xlib/display'
|
18
|
-
require 'libx11/xlib/
|
27
|
+
require 'libx11/xlib/x_event'
|
19
28
|
|
29
|
+
callback :XConnectionWatchProc, [Display.ptr, :XPointer, :int, :bool, :pointer], :void
|
20
30
|
callback :XErrorHandler, [Display.ptr, XErrorEvent.ptr], :int
|
31
|
+
callback :XICProc, [:pointer, :XPointer, :XPointer], :void
|
32
|
+
callback :XIDProc, [Display.ptr, :XPointer, :XPointer], :void
|
33
|
+
callback :XIMProc, [:pointer, :XPointer, :XPointer], :void
|
34
|
+
callback :XIOErrorHandler, [Display.ptr], :int
|
21
35
|
|
22
|
-
|
36
|
+
enum :XOrientation, [
|
37
|
+
:XOMOrientation_LTR_TTB,
|
38
|
+
:XOMOrientation_RTL_TTB,
|
39
|
+
:XOMOrientation_TTB_LTR,
|
40
|
+
:XOMOrientation_TTB_RTL,
|
41
|
+
:XOMOrientation_Context,
|
42
|
+
]
|
43
|
+
|
44
|
+
require 'libx11/xlib/x_edata_object'
|
45
|
+
require 'libx11/xlib/depth'
|
46
|
+
require 'libx11/xlib/screen'
|
47
|
+
require 'libx11/xlib/screen_format'
|
48
|
+
require 'libx11/xlib/visual'
|
49
|
+
require 'libx11/xlib/x_arc'
|
50
|
+
require 'libx11/xlib/x_char2b'
|
51
|
+
require 'libx11/xlib/x_char_struct'
|
52
|
+
require 'libx11/xlib/x_color'
|
53
|
+
require 'libx11/xlib/x_ext_codes'
|
54
|
+
require 'libx11/xlib/x_font_prop'
|
55
|
+
require 'libx11/xlib/x_rectangle'
|
56
|
+
require 'libx11/xlib/x_font_set_extents'
|
57
|
+
require 'libx11/xlib/x_font_struct'
|
58
|
+
require 'libx11/xlib/x_host_address'
|
59
|
+
require 'libx11/xlib/x_keyboard_control'
|
60
|
+
require 'libx11/xlib/x_keyboard_state'
|
61
|
+
require 'libx11/xlib/x_modifier_keymap'
|
62
|
+
require 'libx11/xlib/x_pixmap_format_values'
|
63
|
+
require 'libx11/xlib/x_point'
|
64
|
+
require 'libx11/xlib/x_segment'
|
65
|
+
require 'libx11/xlib/x_server_interpreted_address'
|
66
|
+
require 'libx11/xlib/x_set_window_attributes'
|
67
|
+
require 'libx11/xlib/x_text_item'
|
68
|
+
require 'libx11/xlib/x_text_item16'
|
69
|
+
require 'libx11/xlib/x_time_coord'
|
70
|
+
require 'libx11/xlib/x_window_attributes'
|
71
|
+
require 'libx11/xlib/x_window_changes'
|
72
|
+
require 'libx11/xlib/xgc_values'
|
73
|
+
require 'libx11/xlib/xic_callback'
|
74
|
+
require 'libx11/xlib/xim_callback'
|
75
|
+
require 'libx11/xlib/xim_styles'
|
76
|
+
require 'libx11/xlib/xim_values_list'
|
77
|
+
require 'libx11/xlib/xmb_text_item'
|
78
|
+
require 'libx11/xlib/xom_char_set_list'
|
79
|
+
require 'libx11/xlib/xom_font_info'
|
80
|
+
require 'libx11/xlib/xom_orientation'
|
81
|
+
require 'libx11/xlib/xwc_text_item'
|
82
|
+
|
83
|
+
attach_function :XLoadQueryFont, [Display.ptr, :string], :pointer
|
84
|
+
attach_function :XQueryFont, [Display.ptr, :XID], :pointer
|
85
|
+
attach_function :XGetMotionEvents, [Display.ptr, :Window, :Time, :Time, :pointer], :pointer
|
86
|
+
attach_function :XDeleteModifiermapEntry, [:pointer, :KeyCode, :int], :pointer
|
87
|
+
attach_function :XNewModifiermap, [:int], :pointer
|
88
|
+
attach_function :XCreateImage, [Display.ptr, :pointer, :uint, :int, :int, :string, :uint, :uint, :int, :int], :pointer
|
89
|
+
attach_function :XInitImage, [:pointer], :Status
|
90
|
+
attach_function :XGetImage, [Display.ptr, :Drawable, :int, :int, :uint, :uint, :ulong, :int], :pointer
|
91
|
+
attach_function :XGetSubImage, [Display.ptr, :Drawable, :int, :int, :uint, :uint, :ulong, :int, :pointer, :int, :int], :pointer
|
92
|
+
attach_function :XOpenDisplay, [:string], Display.ptr
|
93
|
+
attach_function :XrmInitialize, [], :void
|
94
|
+
attach_function :XFetchBytes, [Display.ptr, :pointer], :string
|
95
|
+
attach_function :XFetchBuffer, [Display.ptr, :pointer, :int], :string
|
96
|
+
attach_function :XGetAtomName, [Display.ptr, :Atom], :string
|
97
|
+
attach_function :XGetAtomNames, [Display.ptr, :pointer, :int, :pointer], :Status
|
98
|
+
attach_function :XGetDefault, [Display.ptr, :string, :string], :string
|
99
|
+
attach_function :XDisplayName, [:string], :string
|
100
|
+
attach_function :XKeysymToString, [:KeySym], :string
|
101
|
+
attach_function :XInternAtom, [Display.ptr, :string, :bool], :Atom
|
102
|
+
attach_function :XInternAtoms, [Display.ptr, :pointer, :int, :bool, :pointer], :Status
|
103
|
+
attach_function :XCopyColormapAndFree, [Display.ptr, :Colormap], :Colormap
|
104
|
+
attach_function :XCreateColormap, [Display.ptr, :Window, :pointer, :int], :Colormap
|
105
|
+
attach_function :XCreatePixmapCursor, [Display.ptr, :Pixmap, :Pixmap, :pointer, :pointer, :uint, :uint], :Cursor
|
106
|
+
attach_function :XCreateGlyphCursor, [Display.ptr, :Font, :Font, :uint, :uint, :pointer, :pointer], :Cursor
|
107
|
+
attach_function :XCreateFontCursor, [Display.ptr, :uint], :Cursor
|
108
|
+
attach_function :XLoadFont, [Display.ptr, :string], :Font
|
109
|
+
attach_function :XCreateGC, [Display.ptr, :Drawable, :ulong, :pointer], :GC
|
110
|
+
attach_function :XGContextFromGC, [:GC], :GContext
|
111
|
+
attach_function :XFlushGC, [Display.ptr, :GC], :void
|
112
|
+
attach_function :XCreatePixmap, [Display.ptr, :Drawable, :uint, :uint, :uint], :Pixmap
|
113
|
+
attach_function :XCreateBitmapFromData, [Display.ptr, :Drawable, :string, :uint, :uint], :Pixmap
|
114
|
+
attach_function :XCreatePixmapFromBitmapData, [Display.ptr, :Drawable, :string, :uint, :uint, :ulong, :ulong, :uint], :Pixmap
|
23
115
|
attach_function :XCreateSimpleWindow, [Display.ptr, :Window, :int, :int, :uint, :uint, :uint, :ulong, :ulong], :Window
|
24
|
-
attach_function :
|
25
|
-
attach_function :
|
26
|
-
attach_function :
|
27
|
-
attach_function :
|
28
|
-
attach_function :
|
29
|
-
attach_function :
|
30
|
-
attach_function :
|
31
|
-
attach_function :
|
32
|
-
attach_function :
|
33
|
-
attach_function :
|
34
|
-
attach_function :
|
35
|
-
attach_function :
|
36
|
-
attach_function :
|
37
|
-
attach_function :
|
38
|
-
attach_function :
|
39
|
-
attach_function :
|
40
|
-
attach_function :
|
116
|
+
attach_function :XGetSelectionOwner, [Display.ptr, :Atom], :Window
|
117
|
+
attach_function :XCreateWindow, [Display.ptr, :Window, :int, :int, :uint, :uint, :uint, :int, :uint, :pointer, :ulong, :pointer], :Window
|
118
|
+
attach_function :XListInstalledColormaps, [Display.ptr, :Window, :pointer], :pointer
|
119
|
+
attach_function :XListFonts, [Display.ptr, :string, :int, :pointer], :pointer
|
120
|
+
attach_function :XListFontsWithInfo, [Display.ptr, :string, :int, :pointer, :pointer], :pointer
|
121
|
+
attach_function :XGetFontPath, [Display.ptr, :pointer], :pointer
|
122
|
+
attach_function :XListExtensions, [Display.ptr, :pointer], :pointer
|
123
|
+
attach_function :XListProperties, [Display.ptr, :Window, :pointer], :pointer
|
124
|
+
attach_function :XListHosts, [Display.ptr, :pointer, :pointer], :pointer
|
125
|
+
attach_function :XKeycodeToKeysym, [Display.ptr, :KeyCode, :int], :KeySym
|
126
|
+
attach_function :XLookupKeysym, [XKeyEvent.ptr, :int], :KeySym
|
127
|
+
attach_function :XGetKeyboardMapping, [Display.ptr, :KeyCode, :int, :pointer], :pointer
|
128
|
+
attach_function :XStringToKeysym, [:string], :KeySym
|
129
|
+
attach_function :XMaxRequestSize, [Display.ptr], :long
|
130
|
+
attach_function :XExtendedMaxRequestSize, [Display.ptr], :long
|
131
|
+
attach_function :XResourceManagerString, [Display.ptr], :string
|
132
|
+
attach_function :XScreenResourceString, [:pointer], :string
|
133
|
+
attach_function :XDisplayMotionBufferSize, [Display.ptr], :ulong
|
134
|
+
attach_function :XVisualIDFromVisual, [:pointer], :VisualID
|
135
|
+
attach_function :XInitThreads, [], :Status
|
136
|
+
attach_function :XLockDisplay, [Display.ptr], :void
|
137
|
+
attach_function :XUnlockDisplay, [Display.ptr], :void
|
138
|
+
attach_function :XInitExtension, [Display.ptr, :string], :pointer
|
139
|
+
attach_function :XAddExtension, [Display.ptr], :pointer
|
140
|
+
attach_function :XFindOnExtensionList, [:pointer, :int], :pointer
|
141
|
+
attach_function :XEHeadOfExtensionList, [XEDataObject.by_value], :pointer
|
142
|
+
attach_function :XRootWindow, [Display.ptr, :int], :Window
|
143
|
+
attach_function :XDefaultRootWindow, [Display.ptr], :Window
|
144
|
+
attach_function :XRootWindowOfScreen, [:pointer], :Window
|
145
|
+
attach_function :XDefaultVisual, [Display.ptr, :int], :pointer
|
146
|
+
attach_function :XDefaultVisualOfScreen, [:pointer], :pointer
|
147
|
+
attach_function :XDefaultGC, [Display.ptr, :int], :GC
|
148
|
+
attach_function :XDefaultGCOfScreen, [:pointer], :GC
|
149
|
+
attach_function :XBlackPixel, [Display.ptr, :int], :ulong
|
150
|
+
attach_function :XWhitePixel, [Display.ptr, :int], :ulong
|
151
|
+
attach_function :XAllPlanes, [], :ulong
|
152
|
+
attach_function :XBlackPixelOfScreen, [:pointer], :ulong
|
153
|
+
attach_function :XWhitePixelOfScreen, [:pointer], :ulong
|
154
|
+
attach_function :XNextRequest, [Display.ptr], :ulong
|
155
|
+
attach_function :XLastKnownRequestProcessed, [Display.ptr], :ulong
|
156
|
+
attach_function :XServerVendor, [Display.ptr], :string
|
157
|
+
attach_function :XDisplayString, [Display.ptr], :string
|
158
|
+
attach_function :XDefaultColormap, [Display.ptr, :int], :Colormap
|
159
|
+
attach_function :XDefaultColormapOfScreen, [:pointer], :Colormap
|
160
|
+
attach_function :XDisplayOfScreen, [:pointer], Display.ptr
|
161
|
+
attach_function :XScreenOfDisplay, [Display.ptr, :int], :pointer
|
162
|
+
attach_function :XDefaultScreenOfDisplay, [Display.ptr], :pointer
|
163
|
+
attach_function :XEventMaskOfScreen, [:pointer], :long
|
164
|
+
attach_function :XScreenNumberOfScreen, [:pointer], :int
|
165
|
+
attach_function :XSetErrorHandler, [:XErrorHandler], :XErrorHandler
|
166
|
+
attach_function :XSetIOErrorHandler, [:XIOErrorHandler], :XIOErrorHandler
|
167
|
+
attach_function :XListPixmapFormats, [Display.ptr, :pointer], :pointer
|
168
|
+
attach_function :XListDepths, [Display.ptr, :int, :pointer], :pointer
|
169
|
+
attach_function :XReconfigureWMWindow, [Display.ptr, :Window, :int, :uint, :pointer], :Status
|
170
|
+
attach_function :XGetWMProtocols, [Display.ptr, :Window, :pointer, :pointer], :Status
|
171
|
+
attach_function :XSetWMProtocols, [Display.ptr, :Window, :pointer, :int], :Status
|
172
|
+
attach_function :XIconifyWindow, [Display.ptr, :Window, :int], :Status
|
173
|
+
attach_function :XWithdrawWindow, [Display.ptr, :Window, :int], :Status
|
174
|
+
attach_function :XGetCommand, [Display.ptr, :Window, :pointer, :pointer], :Status
|
175
|
+
attach_function :XGetWMColormapWindows, [Display.ptr, :Window, :pointer, :pointer], :Status
|
176
|
+
attach_function :XSetWMColormapWindows, [Display.ptr, :Window, :pointer, :int], :Status
|
177
|
+
attach_function :XFreeStringList, [:pointer], :void
|
178
|
+
attach_function :XSetTransientForHint, [Display.ptr, :Window, :Window], :int
|
179
|
+
attach_function :XActivateScreenSaver, [Display.ptr], :int
|
180
|
+
attach_function :XAddHost, [Display.ptr, :pointer], :int
|
181
|
+
attach_function :XAddHosts, [Display.ptr, :pointer, :int], :int
|
182
|
+
attach_function :XAddToExtensionList, [:pointer, :pointer], :int
|
183
|
+
attach_function :XAddToSaveSet, [Display.ptr, :Window], :int
|
184
|
+
attach_function :XAllocColor, [Display.ptr, :Colormap, :pointer], :Status
|
185
|
+
attach_function :XAllocColorCells, [Display.ptr, :Colormap, :bool, :pointer, :uint, :pointer, :uint], :Status
|
186
|
+
attach_function :XAllocColorPlanes, [Display.ptr, :Colormap, :bool, :pointer, :int, :int, :int, :int, :pointer, :pointer, :pointer], :Status
|
187
|
+
attach_function :XAllocNamedColor, [Display.ptr, :Colormap, :string, :pointer, :pointer], :Status
|
188
|
+
attach_function :XAllowEvents, [Display.ptr, :int, :Time], :int
|
189
|
+
attach_function :XAutoRepeatOff, [Display.ptr], :int
|
190
|
+
attach_function :XAutoRepeatOn, [Display.ptr], :int
|
191
|
+
attach_function :XBell, [Display.ptr, :int], :int
|
192
|
+
attach_function :XBitmapBitOrder, [Display.ptr], :int
|
193
|
+
attach_function :XBitmapPad, [Display.ptr], :int
|
194
|
+
attach_function :XBitmapUnit, [Display.ptr], :int
|
195
|
+
attach_function :XCellsOfScreen, [:pointer], :int
|
196
|
+
attach_function :XChangeActivePointerGrab, [Display.ptr, :uint, :Cursor, :Time], :int
|
197
|
+
attach_function :XChangeGC, [Display.ptr, :GC, :ulong, :pointer], :int
|
198
|
+
attach_function :XChangeKeyboardControl, [Display.ptr, :ulong, :pointer], :int
|
199
|
+
attach_function :XChangeKeyboardMapping, [Display.ptr, :int, :int, :pointer, :int], :int
|
200
|
+
attach_function :XChangePointerControl, [Display.ptr, :bool, :bool, :int, :int, :int], :int
|
201
|
+
attach_function :XChangeProperty, [Display.ptr, :Window, :Atom, :Atom, :int, :int, :pointer, :int], :int
|
202
|
+
attach_function :XChangeSaveSet, [Display.ptr, :Window, :int], :int
|
203
|
+
attach_function :XChangeWindowAttributes, [Display.ptr, :Window, :ulong, :pointer], :int
|
204
|
+
attach_function :XCheckMaskEvent, [Display.ptr, :long, XEvent.ptr], :bool
|
205
|
+
attach_function :XCheckTypedEvent, [Display.ptr, :int, XEvent.ptr], :bool
|
206
|
+
attach_function :XCheckTypedWindowEvent, [Display.ptr, :Window, :int, XEvent.ptr], :bool
|
207
|
+
attach_function :XCheckWindowEvent, [Display.ptr, :Window, :long, XEvent.ptr], :bool
|
208
|
+
attach_function :XCirculateSubwindows, [Display.ptr, :Window, :int], :int
|
209
|
+
attach_function :XCirculateSubwindowsDown, [Display.ptr, :Window], :int
|
210
|
+
attach_function :XCirculateSubwindowsUp, [Display.ptr, :Window], :int
|
211
|
+
attach_function :XClearArea, [Display.ptr, :Window, :int, :int, :uint, :uint, :bool], :int
|
212
|
+
attach_function :XClearWindow, [Display.ptr, :Window], :int
|
213
|
+
attach_function :XCloseDisplay, [Display.ptr], :int
|
214
|
+
attach_function :XConfigureWindow, [Display.ptr, :Window, :uint, :pointer], :int
|
215
|
+
attach_function :XConnectionNumber, [Display.ptr], :int
|
216
|
+
attach_function :XConvertSelection, [Display.ptr, :Atom, :Atom, :Atom, :Window, :Time], :int
|
217
|
+
attach_function :XCopyArea, [Display.ptr, :Drawable, :Drawable, :GC, :int, :int, :uint, :uint, :int, :int], :int
|
218
|
+
attach_function :XCopyGC, [Display.ptr, :GC, :ulong, :GC], :int
|
219
|
+
attach_function :XCopyPlane, [Display.ptr, :Drawable, :Drawable, :GC, :int, :int, :uint, :uint, :int, :int, :ulong], :int
|
220
|
+
attach_function :XDefaultDepth, [Display.ptr, :int], :int
|
221
|
+
attach_function :XDefaultDepthOfScreen, [:pointer], :int
|
222
|
+
attach_function :XDefaultScreen, [Display.ptr], :int
|
223
|
+
attach_function :XDefineCursor, [Display.ptr, :Window, :Cursor], :int
|
224
|
+
attach_function :XDeleteProperty, [Display.ptr, :Window, :Atom], :int
|
225
|
+
attach_function :XDestroyWindow, [Display.ptr, :Window], :int
|
226
|
+
attach_function :XDestroySubwindows, [Display.ptr, :Window], :int
|
227
|
+
attach_function :XDoesBackingStore, [:pointer], :int
|
228
|
+
attach_function :XDoesSaveUnders, [:pointer], :bool
|
229
|
+
attach_function :XDisableAccessControl, [Display.ptr], :int
|
230
|
+
attach_function :XDisplayCells, [Display.ptr, :int], :int
|
231
|
+
attach_function :XDisplayHeight, [Display.ptr, :int], :int
|
232
|
+
attach_function :XDisplayHeightMM, [Display.ptr, :int], :int
|
233
|
+
attach_function :XDisplayKeycodes, [Display.ptr, :pointer, :pointer], :int
|
234
|
+
attach_function :XDisplayPlanes, [Display.ptr, :int], :int
|
235
|
+
attach_function :XDisplayWidth, [Display.ptr, :int], :int
|
236
|
+
attach_function :XDisplayWidthMM, [Display.ptr, :int], :int
|
237
|
+
attach_function :XDrawArc, [Display.ptr, :Drawable, :GC, :int, :int, :uint, :uint, :int, :int], :int
|
238
|
+
attach_function :XDrawArcs, [Display.ptr, :Drawable, :GC, :pointer, :int], :int
|
239
|
+
attach_function :XDrawImageString, [Display.ptr, :Drawable, :GC, :int, :int, :string, :int], :int
|
240
|
+
attach_function :XDrawImageString16, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :int
|
241
|
+
attach_function :XDrawLine, [Display.ptr, :Drawable, :GC, :int, :int, :int, :int], :int
|
242
|
+
attach_function :XDrawLines, [Display.ptr, :Drawable, :GC, :pointer, :int, :int], :int
|
243
|
+
attach_function :XDrawPoint, [Display.ptr, :Drawable, :GC, :int, :int], :int
|
244
|
+
attach_function :XDrawPoints, [Display.ptr, :Drawable, :GC, :pointer, :int, :int], :int
|
245
|
+
attach_function :XDrawRectangle, [Display.ptr, :Drawable, :GC, :int, :int, :uint, :uint], :int
|
246
|
+
attach_function :XDrawRectangles, [Display.ptr, :Drawable, :GC, :pointer, :int], :int
|
247
|
+
attach_function :XDrawSegments, [Display.ptr, :Drawable, :GC, :pointer, :int], :int
|
248
|
+
attach_function :XDrawString, [Display.ptr, :Drawable, :GC, :int, :int, :string, :int], :int
|
249
|
+
attach_function :XDrawString16, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :int
|
250
|
+
attach_function :XDrawText, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :int
|
251
|
+
attach_function :XDrawText16, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :int
|
252
|
+
attach_function :XEnableAccessControl, [Display.ptr], :int
|
253
|
+
attach_function :XEventsQueued, [Display.ptr, :int], :int
|
254
|
+
attach_function :XFetchName, [Display.ptr, :Window, :pointer], :Status
|
255
|
+
attach_function :XFillArc, [Display.ptr, :Drawable, :GC, :int, :int, :uint, :uint, :int, :int], :int
|
256
|
+
attach_function :XFillArcs, [Display.ptr, :Drawable, :GC, :pointer, :int], :int
|
257
|
+
attach_function :XFillPolygon, [Display.ptr, :Drawable, :GC, :pointer, :int, :int, :int], :int
|
258
|
+
attach_function :XFillRectangle, [Display.ptr, :Drawable, :GC, :int, :int, :uint, :uint], :int
|
259
|
+
attach_function :XFillRectangles, [Display.ptr, :Drawable, :GC, :pointer, :int], :int
|
260
|
+
attach_function :XFlush, [Display.ptr], :int
|
261
|
+
attach_function :XForceScreenSaver, [Display.ptr, :int], :int
|
262
|
+
attach_function :XFree, [:pointer], :int
|
263
|
+
attach_function :XFreeColormap, [Display.ptr, :Colormap], :int
|
264
|
+
attach_function :XFreeColors, [Display.ptr, :Colormap, :pointer, :int, :ulong], :int
|
265
|
+
attach_function :XFreeCursor, [Display.ptr, :Cursor], :int
|
266
|
+
attach_function :XFreeExtensionList, [:pointer], :int
|
267
|
+
attach_function :XFreeFont, [Display.ptr, :pointer], :int
|
268
|
+
attach_function :XFreeFontInfo, [:pointer, :pointer, :int], :int
|
269
|
+
attach_function :XFreeFontNames, [:pointer], :int
|
270
|
+
attach_function :XFreeFontPath, [:pointer], :int
|
271
|
+
attach_function :XFreeGC, [Display.ptr, :GC], :int
|
272
|
+
attach_function :XFreeModifiermap, [:pointer], :int
|
273
|
+
attach_function :XFreePixmap, [Display.ptr, :Pixmap], :int
|
274
|
+
attach_function :XGeometry, [Display.ptr, :int, :string, :string, :uint, :uint, :uint, :int, :int, :pointer, :pointer, :pointer, :pointer], :int
|
275
|
+
attach_function :XGetErrorDatabaseText, [Display.ptr, :string, :string, :string, :string, :int], :int
|
276
|
+
attach_function :XGetErrorText, [Display.ptr, :int, :string, :int], :int
|
277
|
+
attach_function :XGetFontProperty, [:pointer, :Atom, :pointer], :bool
|
278
|
+
attach_function :XGetGCValues, [Display.ptr, :GC, :ulong, :pointer], :Status
|
279
|
+
attach_function :XGetGeometry, [Display.ptr, :Drawable, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer], :Status
|
280
|
+
attach_function :XGetIconName, [Display.ptr, :Window, :pointer], :Status
|
281
|
+
attach_function :XGetInputFocus, [Display.ptr, :pointer, :pointer], :int
|
282
|
+
attach_function :XGetKeyboardControl, [Display.ptr, :pointer], :int
|
283
|
+
attach_function :XGetPointerControl, [Display.ptr, :pointer, :pointer, :pointer], :int
|
284
|
+
attach_function :XGetPointerMapping, [Display.ptr, :pointer, :int], :int
|
285
|
+
attach_function :XGetScreenSaver, [Display.ptr, :pointer, :pointer, :pointer, :pointer], :int
|
286
|
+
attach_function :XGetTransientForHint, [Display.ptr, :Window, :pointer], :Status
|
287
|
+
attach_function :XGetWindowProperty, [Display.ptr, :Window, :Atom, :long, :long, :bool, :Atom, :pointer, :pointer, :pointer, :pointer, :pointer], :int
|
288
|
+
attach_function :XGetWindowAttributes, [Display.ptr, :Window, :pointer], :Status
|
289
|
+
attach_function :XGrabButton, [Display.ptr, :uint, :uint, :Window, :bool, :uint, :int, :int, :Window, :Cursor], :int
|
290
|
+
attach_function :XGrabKey, [Display.ptr, :int, :uint, :Window, :bool, :int, :int], :int
|
291
|
+
attach_function :XGrabKeyboard, [Display.ptr, :Window, :bool, :int, :int, :Time], :int
|
292
|
+
attach_function :XGrabPointer, [Display.ptr, :Window, :bool, :uint, :int, :int, :Window, :Cursor, :Time], :int
|
293
|
+
attach_function :XGrabServer, [Display.ptr], :int
|
294
|
+
attach_function :XHeightMMOfScreen, [:pointer], :int
|
295
|
+
attach_function :XHeightOfScreen, [:pointer], :int
|
296
|
+
attach_function :XImageByteOrder, [Display.ptr], :int
|
297
|
+
attach_function :XInstallColormap, [Display.ptr, :Colormap], :int
|
298
|
+
attach_function :XKeysymToKeycode, [Display.ptr, :KeySym], :KeyCode
|
299
|
+
attach_function :XKillClient, [Display.ptr, :XID], :int
|
300
|
+
attach_function :XLookupColor, [Display.ptr, :Colormap, :string, :pointer, :pointer], :Status
|
301
|
+
attach_function :XLowerWindow, [Display.ptr, :Window], :int
|
302
|
+
attach_function :XMapRaised, [Display.ptr, :Window], :int
|
303
|
+
attach_function :XMapSubwindows, [Display.ptr, :Window], :int
|
304
|
+
attach_function :XMapWindow, [Display.ptr, :Window], :int
|
305
|
+
attach_function :XMaskEvent, [Display.ptr, :long, XEvent.ptr], :int
|
306
|
+
attach_function :XMaxCmapsOfScreen, [:pointer], :int
|
307
|
+
attach_function :XMinCmapsOfScreen, [:pointer], :int
|
308
|
+
attach_function :XMoveResizeWindow, [Display.ptr, :Window, :int, :int, :uint, :uint], :int
|
309
|
+
attach_function :XMoveWindow, [Display.ptr, :Window, :int, :int], :int
|
310
|
+
attach_function :XNextEvent, [Display.ptr, XEvent.ptr], :int, blocking: true
|
311
|
+
attach_function :XNoOp, [Display.ptr], :int
|
312
|
+
attach_function :XParseColor, [Display.ptr, :Colormap, :string, :pointer], :Status
|
313
|
+
attach_function :XParseGeometry, [:string, :pointer, :pointer, :pointer, :pointer], :int
|
314
|
+
attach_function :XPeekEvent, [Display.ptr, XEvent.ptr], :int
|
315
|
+
attach_function :XPending, [Display.ptr], :int
|
316
|
+
attach_function :XPlanesOfScreen, [:pointer], :int
|
317
|
+
attach_function :XProtocolRevision, [Display.ptr], :int
|
318
|
+
attach_function :XProtocolVersion, [Display.ptr], :int
|
319
|
+
attach_function :XPutBackEvent, [Display.ptr, XEvent.ptr], :int
|
320
|
+
attach_function :XPutImage, [Display.ptr, :Drawable, :GC, :pointer, :int, :int, :int, :int, :uint, :uint], :int
|
321
|
+
attach_function :XQLength, [Display.ptr], :int
|
322
|
+
attach_function :XQueryBestCursor, [Display.ptr, :Drawable, :uint, :uint, :pointer, :pointer], :Status
|
323
|
+
attach_function :XQueryBestSize, [Display.ptr, :int, :Drawable, :uint, :uint, :pointer, :pointer], :Status
|
324
|
+
attach_function :XQueryBestStipple, [Display.ptr, :Drawable, :uint, :uint, :pointer, :pointer], :Status
|
325
|
+
attach_function :XQueryBestTile, [Display.ptr, :Drawable, :uint, :uint, :pointer, :pointer], :Status
|
326
|
+
attach_function :XQueryColor, [Display.ptr, :Colormap, :pointer], :int
|
327
|
+
attach_function :XQueryColors, [Display.ptr, :Colormap, :pointer, :int], :int
|
328
|
+
attach_function :XQueryExtension, [Display.ptr, :string, :pointer, :pointer, :pointer], :bool
|
329
|
+
attach_function :XQueryKeymap, [Display.ptr, :pointer], :int
|
330
|
+
attach_function :XQueryPointer, [Display.ptr, :Window, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer], :bool
|
331
|
+
attach_function :XQueryTextExtents, [Display.ptr, :XID, :string, :int, :pointer, :pointer, :pointer, :pointer], :int
|
332
|
+
attach_function :XQueryTextExtents16, [Display.ptr, :XID, :pointer, :int, :pointer, :pointer, :pointer, :pointer], :int
|
333
|
+
attach_function :XQueryTree, [Display.ptr, :Window, :pointer, :pointer, :pointer, :pointer], :Status
|
334
|
+
attach_function :XRaiseWindow, [Display.ptr, :Window], :int
|
335
|
+
attach_function :XReadBitmapFile, [Display.ptr, :Drawable, :string, :pointer, :pointer, :pointer, :pointer, :pointer], :int
|
336
|
+
attach_function :XReadBitmapFileData, [:string, :pointer, :pointer, :pointer, :pointer, :pointer], :int
|
337
|
+
attach_function :XRebindKeysym, [Display.ptr, :KeySym, :pointer, :int, :pointer, :int], :int
|
338
|
+
attach_function :XRecolorCursor, [Display.ptr, :Cursor, :pointer, :pointer], :int
|
339
|
+
attach_function :XRefreshKeyboardMapping, [XMappingEvent.ptr], :int
|
340
|
+
attach_function :XRemoveFromSaveSet, [Display.ptr, :Window], :int
|
341
|
+
attach_function :XRemoveHost, [Display.ptr, :pointer], :int
|
342
|
+
attach_function :XRemoveHosts, [Display.ptr, :pointer, :int], :int
|
343
|
+
attach_function :XReparentWindow, [Display.ptr, :Window, :Window, :int, :int], :int
|
344
|
+
attach_function :XResetScreenSaver, [Display.ptr], :int
|
345
|
+
attach_function :XResizeWindow, [Display.ptr, :Window, :uint, :uint], :int
|
346
|
+
attach_function :XRestackWindows, [Display.ptr, :pointer, :int], :int
|
347
|
+
attach_function :XRotateBuffers, [Display.ptr, :int], :int
|
348
|
+
attach_function :XRotateWindowProperties, [Display.ptr, :Window, :pointer, :int, :int], :int
|
349
|
+
attach_function :XScreenCount, [Display.ptr], :int
|
350
|
+
attach_function :XSelectInput, [Display.ptr, :Window, :long], :int
|
351
|
+
attach_function :XSendEvent, [Display.ptr, :Window, :bool, :long, XEvent.ptr], :Status
|
352
|
+
attach_function :XSetAccessControl, [Display.ptr, :int], :int
|
353
|
+
attach_function :XSetArcMode, [Display.ptr, :GC, :int], :int
|
354
|
+
attach_function :XSetBackground, [Display.ptr, :GC, :ulong], :int
|
355
|
+
attach_function :XSetClipMask, [Display.ptr, :GC, :Pixmap], :int
|
356
|
+
attach_function :XSetClipOrigin, [Display.ptr, :GC, :int, :int], :int
|
357
|
+
attach_function :XSetClipRectangles, [Display.ptr, :GC, :int, :int, :pointer, :int, :int], :int
|
358
|
+
attach_function :XSetCloseDownMode, [Display.ptr, :int], :int
|
359
|
+
attach_function :XSetCommand, [Display.ptr, :Window, :pointer, :int], :int
|
360
|
+
attach_function :XSetDashes, [Display.ptr, :GC, :int, :string, :int], :int
|
361
|
+
attach_function :XSetFillRule, [Display.ptr, :GC, :int], :int
|
362
|
+
attach_function :XSetFillStyle, [Display.ptr, :GC, :int], :int
|
363
|
+
attach_function :XSetFont, [Display.ptr, :GC, :Font], :int
|
364
|
+
attach_function :XSetFontPath, [Display.ptr, :pointer, :int], :int
|
365
|
+
attach_function :XSetForeground, [Display.ptr, :GC, :ulong], :int
|
366
|
+
attach_function :XSetFunction, [Display.ptr, :GC, :int], :int
|
367
|
+
attach_function :XSetGraphicsExposures, [Display.ptr, :GC, :bool], :int
|
368
|
+
attach_function :XSetIconName, [Display.ptr, :Window, :string], :int
|
369
|
+
attach_function :XSetInputFocus, [Display.ptr, :Window, :int, :Time], :int
|
370
|
+
attach_function :XSetLineAttributes, [Display.ptr, :GC, :uint, :int, :int, :int], :int
|
371
|
+
attach_function :XSetModifierMapping, [Display.ptr, :pointer], :int
|
372
|
+
attach_function :XSetPlaneMask, [Display.ptr, :GC, :ulong], :int
|
373
|
+
attach_function :XSetPointerMapping, [Display.ptr, :pointer, :int], :int
|
374
|
+
attach_function :XSetScreenSaver, [Display.ptr, :int, :int, :int, :int], :int
|
375
|
+
attach_function :XSetSelectionOwner, [Display.ptr, :Atom, :Window, :Time], :int
|
376
|
+
attach_function :XSetState, [Display.ptr, :GC, :ulong, :ulong, :int, :ulong], :int
|
377
|
+
attach_function :XSetStipple, [Display.ptr, :GC, :Pixmap], :int
|
378
|
+
attach_function :XSetSubwindowMode, [Display.ptr, :GC, :int], :int
|
379
|
+
attach_function :XSetTSOrigin, [Display.ptr, :GC, :int, :int], :int
|
380
|
+
attach_function :XSetTile, [Display.ptr, :GC, :Pixmap], :int
|
381
|
+
attach_function :XSetWindowBackground, [Display.ptr, :Window, :ulong], :int
|
382
|
+
attach_function :XSetWindowBackgroundPixmap, [Display.ptr, :Window, :Pixmap], :int
|
383
|
+
attach_function :XSetWindowBorder, [Display.ptr, :Window, :ulong], :int
|
384
|
+
attach_function :XSetWindowBorderPixmap, [Display.ptr, :Window, :Pixmap], :int
|
385
|
+
attach_function :XSetWindowBorderWidth, [Display.ptr, :Window, :uint], :int
|
386
|
+
attach_function :XSetWindowColormap, [Display.ptr, :Window, :Colormap], :int
|
387
|
+
attach_function :XStoreBuffer, [Display.ptr, :string, :int, :int], :int
|
388
|
+
attach_function :XStoreBytes, [Display.ptr, :string, :int], :int
|
389
|
+
attach_function :XStoreColor, [Display.ptr, :Colormap, :pointer], :int
|
390
|
+
attach_function :XStoreColors, [Display.ptr, :Colormap, :pointer, :int], :int
|
391
|
+
attach_function :XStoreName, [Display.ptr, :Window, :string], :int
|
392
|
+
attach_function :XStoreNamedColor, [Display.ptr, :Colormap, :string, :ulong, :int], :int
|
393
|
+
attach_function :XSync, [Display.ptr, :bool], :int, blocking: true
|
394
|
+
attach_function :XTextExtents, [:pointer, :string, :int, :pointer, :pointer, :pointer, :pointer], :int
|
395
|
+
attach_function :XTextExtents16, [:pointer, :pointer, :int, :pointer, :pointer, :pointer, :pointer], :int
|
396
|
+
attach_function :XTextWidth, [:pointer, :string, :int], :int
|
397
|
+
attach_function :XTextWidth16, [:pointer, :pointer, :int], :int
|
398
|
+
attach_function :XTranslateCoordinates, [Display.ptr, :Window, :Window, :int, :int, :pointer, :pointer, :pointer], :bool
|
399
|
+
attach_function :XUndefineCursor, [Display.ptr, :Window], :int
|
400
|
+
attach_function :XUngrabButton, [Display.ptr, :uint, :uint, :Window], :int
|
401
|
+
attach_function :XUngrabKey, [Display.ptr, :int, :uint, :Window], :int
|
402
|
+
attach_function :XUngrabKeyboard, [Display.ptr, :Time], :int
|
403
|
+
attach_function :XUngrabPointer, [Display.ptr, :Time], :int
|
404
|
+
attach_function :XUngrabServer, [Display.ptr], :int
|
405
|
+
attach_function :XUninstallColormap, [Display.ptr, :Colormap], :int
|
406
|
+
attach_function :XUnloadFont, [Display.ptr, :Font], :int
|
407
|
+
attach_function :XUnmapSubwindows, [Display.ptr, :Window], :int
|
408
|
+
attach_function :XUnmapWindow, [Display.ptr, :Window], :int
|
409
|
+
attach_function :XVendorRelease, [Display.ptr], :int
|
410
|
+
attach_function :XWarpPointer, [Display.ptr, :Window, :Window, :int, :int, :uint, :uint, :int, :int], :int
|
411
|
+
attach_function :XWidthMMOfScreen, [:pointer], :int
|
412
|
+
attach_function :XWidthOfScreen, [:pointer], :int
|
413
|
+
attach_function :XWindowEvent, [Display.ptr, :Window, :long, XEvent.ptr], :int
|
414
|
+
attach_function :XWriteBitmapFile, [Display.ptr, :string, :Pixmap, :uint, :uint, :int, :int], :int
|
415
|
+
attach_function :XSupportsLocale, [], :bool
|
416
|
+
attach_function :XSetLocaleModifiers, [:string], :string
|
417
|
+
attach_function :XOpenOM, [Display.ptr, :pointer, :string, :string], :pointer
|
418
|
+
attach_function :XCloseOM, [:pointer], :Status
|
419
|
+
attach_function :XDisplayOfOM, [:pointer], Display.ptr
|
420
|
+
attach_function :XLocaleOfOM, [:pointer], :string
|
421
|
+
attach_function :XDestroyOC, [:pointer], :void
|
422
|
+
attach_function :XOMOfOC, [:pointer], :pointer
|
423
|
+
attach_function :XCreateFontSet, [Display.ptr, :string, :pointer, :pointer, :pointer], :pointer
|
424
|
+
attach_function :XFreeFontSet, [Display.ptr, :pointer], :void
|
425
|
+
attach_function :XFontsOfFontSet, [:pointer, :pointer, :pointer], :int
|
426
|
+
attach_function :XBaseFontNameListOfFontSet, [:pointer], :string
|
427
|
+
attach_function :XLocaleOfFontSet, [:pointer], :string
|
428
|
+
attach_function :XContextDependentDrawing, [:pointer], :bool
|
429
|
+
attach_function :XDirectionalDependentDrawing, [:pointer], :bool
|
430
|
+
attach_function :XContextualDrawing, [:pointer], :bool
|
431
|
+
attach_function :XExtentsOfFontSet, [:pointer], :pointer
|
432
|
+
attach_function :XmbTextEscapement, [:pointer, :string, :int], :int
|
433
|
+
attach_function :XwcTextEscapement, [:pointer, :pointer, :int], :int
|
434
|
+
attach_function :Xutf8TextEscapement, [:pointer, :string, :int], :int
|
435
|
+
attach_function :XmbTextExtents, [:pointer, :string, :int, :pointer, :pointer], :int
|
436
|
+
attach_function :XwcTextExtents, [:pointer, :pointer, :int, :pointer, :pointer], :int
|
437
|
+
attach_function :Xutf8TextExtents, [:pointer, :string, :int, :pointer, :pointer], :int
|
438
|
+
attach_function :XmbTextPerCharExtents, [:pointer, :string, :int, :pointer, :pointer, :int, :pointer, :pointer, :pointer], :Status
|
439
|
+
attach_function :XwcTextPerCharExtents, [:pointer, :pointer, :int, :pointer, :pointer, :int, :pointer, :pointer, :pointer], :Status
|
440
|
+
attach_function :Xutf8TextPerCharExtents, [:pointer, :string, :int, :pointer, :pointer, :int, :pointer, :pointer, :pointer], :Status
|
441
|
+
attach_function :XmbDrawText, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :void
|
442
|
+
attach_function :XwcDrawText, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :void
|
443
|
+
attach_function :Xutf8DrawText, [Display.ptr, :Drawable, :GC, :int, :int, :pointer, :int], :void
|
444
|
+
attach_function :XmbDrawString, [Display.ptr, :Drawable, :pointer, :GC, :int, :int, :string, :int], :void
|
445
|
+
attach_function :XwcDrawString, [Display.ptr, :Drawable, :pointer, :GC, :int, :int, :pointer, :int], :void
|
446
|
+
attach_function :Xutf8DrawString, [Display.ptr, :Drawable, :pointer, :GC, :int, :int, :string, :int], :void
|
447
|
+
attach_function :XmbDrawImageString, [Display.ptr, :Drawable, :pointer, :GC, :int, :int, :string, :int], :void
|
448
|
+
attach_function :XwcDrawImageString, [Display.ptr, :Drawable, :pointer, :GC, :int, :int, :pointer, :int], :void
|
449
|
+
attach_function :Xutf8DrawImageString, [Display.ptr, :Drawable, :pointer, :GC, :int, :int, :string, :int], :void
|
450
|
+
attach_function :XOpenIM, [Display.ptr, :pointer, :string, :string], :pointer
|
451
|
+
attach_function :XCloseIM, [:pointer], :Status
|
452
|
+
attach_function :XDisplayOfIM, [:pointer], Display.ptr
|
453
|
+
attach_function :XLocaleOfIM, [:pointer], :string
|
454
|
+
attach_function :XDestroyIC, [:pointer], :void
|
455
|
+
attach_function :XSetICFocus, [:pointer], :void
|
456
|
+
attach_function :XUnsetICFocus, [:pointer], :void
|
457
|
+
attach_function :XwcResetIC, [:pointer], :pointer
|
458
|
+
attach_function :XmbResetIC, [:pointer], :string
|
459
|
+
attach_function :Xutf8ResetIC, [:pointer], :string
|
460
|
+
attach_function :XIMOfIC, [:pointer], :pointer
|
461
|
+
attach_function :XFilterEvent, [XEvent.ptr, :Window], :bool
|
462
|
+
attach_function :XmbLookupString, [:pointer, :pointer, :string, :int, :pointer, :pointer], :int
|
463
|
+
attach_function :XwcLookupString, [:pointer, :pointer, :pointer, :int, :pointer, :pointer], :int
|
464
|
+
attach_function :Xutf8LookupString, [:pointer, :pointer, :string, :int, :pointer, :pointer], :int
|
465
|
+
attach_function :XRegisterIMInstantiateCallback, [Display.ptr, :pointer, :string, :string, :XIDProc, :XPointer], :bool
|
466
|
+
attach_function :XUnregisterIMInstantiateCallback, [Display.ptr, :pointer, :string, :string, :XIDProc, :XPointer], :bool
|
467
|
+
attach_function :XInternalConnectionNumbers, [Display.ptr, :pointer, :pointer], :Status
|
468
|
+
attach_function :XProcessInternalConnection, [Display.ptr, :int], :void
|
469
|
+
attach_function :XAddConnectionWatch, [Display.ptr, :XConnectionWatchProc, :XPointer], :Status
|
470
|
+
attach_function :XRemoveConnectionWatch, [Display.ptr, :XConnectionWatchProc, :XPointer], :void
|
471
|
+
attach_function :XSetAuthorization, [:string, :int, :string, :int], :void
|
472
|
+
attach_function :_Xmbtowc, [:pointer, :string, :int], :int
|
473
|
+
attach_function :_Xwctomb, [:string, :pointer], :int
|
474
|
+
attach_function :XGetEventData, [Display.ptr, XGenericEventCookie.ptr], :bool
|
475
|
+
attach_function :XFreeEventData, [Display.ptr, XGenericEventCookie.ptr], :void
|
41
476
|
end
|
42
477
|
end
|