1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT

mod app_launch_context;
pub use self::app_launch_context::AppLaunchContext;

mod button_event;
pub use self::button_event::ButtonEvent;

mod cairo_context;
pub use self::cairo_context::CairoContext;

mod clipboard;
pub use self::clipboard::Clipboard;

mod content_deserializer;
pub use self::content_deserializer::ContentDeserializer;

mod content_provider;
pub use self::content_provider::ContentProvider;

mod content_serializer;
pub use self::content_serializer::ContentSerializer;

mod crossing_event;
pub use self::crossing_event::CrossingEvent;

mod cursor;
pub use self::cursor::Cursor;

mod dnd_event;
pub use self::dnd_event::DNDEvent;

mod delete_event;
pub use self::delete_event::DeleteEvent;

mod device;
pub use self::device::Device;

mod device_pad;
pub use self::device_pad::DevicePad;

mod device_tool;
pub use self::device_tool::DeviceTool;

mod display;
pub use self::display::Display;

mod display_manager;
pub use self::display_manager::DisplayManager;

#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
mod dmabuf_texture;
#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
pub use self::dmabuf_texture::DmabufTexture;

#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
mod dmabuf_texture_builder;
#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
pub use self::dmabuf_texture_builder::DmabufTextureBuilder;

mod drag;
pub use self::drag::Drag;

mod drag_surface;
pub use self::drag_surface::DragSurface;

mod draw_context;
pub use self::draw_context::DrawContext;

mod drop;
pub use self::drop::Drop;

mod event;
pub use self::event::Event;

mod focus_event;
pub use self::focus_event::FocusEvent;

mod frame_clock;
pub use self::frame_clock::FrameClock;

mod gl_context;
pub use self::gl_context::GLContext;

mod gl_texture;
pub use self::gl_texture::GLTexture;

#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
mod gl_texture_builder;
#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
pub use self::gl_texture_builder::GLTextureBuilder;

mod grab_broken_event;
pub use self::grab_broken_event::GrabBrokenEvent;

mod key_event;
pub use self::key_event::KeyEvent;

mod memory_texture;
pub use self::memory_texture::MemoryTexture;

mod monitor;
pub use self::monitor::Monitor;

mod motion_event;
pub use self::motion_event::MotionEvent;

mod pad_event;
pub use self::pad_event::PadEvent;

mod paintable;
pub use self::paintable::Paintable;

mod popup;
pub use self::popup::Popup;

mod proximity_event;
pub use self::proximity_event::ProximityEvent;

mod scroll_event;
pub use self::scroll_event::ScrollEvent;

mod seat;
pub use self::seat::Seat;

mod snapshot;
pub use self::snapshot::Snapshot;

mod surface;
pub use self::surface::Surface;

mod texture;
pub use self::texture::Texture;

mod toplevel;
pub use self::toplevel::Toplevel;

mod touch_event;
pub use self::touch_event::TouchEvent;

mod touchpad_event;
pub use self::touchpad_event::TouchpadEvent;

#[cfg_attr(feature = "v4_14", deprecated = "Since 4.14")]
mod vulkan_context;
#[cfg_attr(feature = "v4_14", deprecated = "Since 4.14")]
pub use self::vulkan_context::VulkanContext;

mod content_formats;
pub use self::content_formats::ContentFormats;

mod content_formats_builder;
pub use self::content_formats_builder::ContentFormatsBuilder;

#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
mod dmabuf_formats;
#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
pub use self::dmabuf_formats::DmabufFormats;

mod event_sequence;
pub use self::event_sequence::EventSequence;

#[cfg(feature = "v4_6")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))]
mod file_list;
#[cfg(feature = "v4_6")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))]
pub use self::file_list::FileList;

mod frame_timings;
pub use self::frame_timings::FrameTimings;

mod popup_layout;
pub use self::popup_layout::PopupLayout;

mod rgba;
pub use self::rgba::RGBA;

mod rectangle;
pub use self::rectangle::Rectangle;

#[cfg(feature = "v4_10")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))]
mod texture_downloader;
#[cfg(feature = "v4_10")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))]
pub use self::texture_downloader::TextureDownloader;

mod toplevel_layout;
pub use self::toplevel_layout::ToplevelLayout;

mod enums;
pub use self::enums::AxisUse;
pub use self::enums::CrossingMode;
pub use self::enums::DevicePadFeature;
pub use self::enums::DeviceToolType;
#[cfg(feature = "v4_14")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
pub use self::enums::DmabufError;
pub use self::enums::DragCancelReason;
pub use self::enums::EventType;
pub use self::enums::FullscreenMode;
pub use self::enums::GLError;
pub use self::enums::Gravity;
pub use self::enums::InputSource;
pub use self::enums::KeyMatch;
pub use self::enums::MemoryFormat;
pub use self::enums::NotifyType;
pub use self::enums::ScrollDirection;
#[cfg(feature = "v4_8")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))]
pub use self::enums::ScrollUnit;
pub use self::enums::SubpixelLayout;
pub use self::enums::SurfaceEdge;
#[cfg(feature = "v4_6")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))]
pub use self::enums::TextureError;
#[cfg(feature = "v4_4")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_4")))]
pub use self::enums::TitlebarGesture;
pub use self::enums::TouchpadGesturePhase;
pub use self::enums::VulkanError;

mod flags;
pub use self::flags::AnchorHints;
pub use self::flags::AxisFlags;
pub use self::flags::DragAction;
pub use self::flags::FrameClockPhase;
pub use self::flags::ModifierType;
pub use self::flags::PaintableFlags;
pub use self::flags::SeatCapabilities;
pub use self::flags::ToplevelState;
#[cfg(feature = "v4_6")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))]
pub use self::flags::GLAPI;

pub(crate) mod functions;

pub(crate) mod traits {
    pub use super::app_launch_context::GdkAppLaunchContextExt;
    pub use super::content_provider::ContentProviderExt;
    pub use super::device::DeviceExt;
    pub use super::device_pad::DevicePadExt;
    pub use super::display::DisplayExt;
    pub use super::drag::DragExt;
    pub use super::drag_surface::DragSurfaceExt;
    pub use super::draw_context::DrawContextExt;
    pub use super::gl_context::GLContextExt;
    pub use super::monitor::MonitorExt;
    pub use super::paintable::PaintableExt;
    pub use super::popup::PopupExt;
    pub use super::seat::SeatExt;
    pub use super::surface::SurfaceExt;
    pub use super::texture::TextureExt;
    pub use super::toplevel::ToplevelExt;
}
pub(crate) mod builders {
    pub use super::cursor::CursorBuilder;
}