Debian Codegraph @

gi-types/gdesktopenums-3.0.d.ts

raw symbols SCIP
1 /// <reference path="./gobject-2.0.d.ts" />
2
3 /**
4 * Type Definitions for Gjs (https://gjs.guide/)
5 *
6 * These type definitions are automatically generated, do not edit them by hand.
7 * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
8 *
9 * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
10 */
11
12 declare module 'gi://GDesktopEnums?version=3.0' {
13 // Module dependencies
14 import type GObject from 'gi://GObject?version=2.0';
15
16 export namespace GDesktopEnums {
17 /**
18 * GDesktopEnums-3.0
19 */
20
21 export namespace AccentColor {
22 export const $gtype: GObject.GType<AccentColor>;
23 }
24
25 enum AccentColor {
26 BLUE,
27 TEAL,
28 GREEN,
29 YELLOW,
30 ORANGE,
31 RED,
32 PINK,
33 PURPLE,
34 SLATE,
35 }
36
37 export namespace BackgroundShading {
38 export const $gtype: GObject.GType<BackgroundShading>;
39 }
40
41 enum BackgroundShading {
42 SOLID,
43 VERTICAL,
44 HORIZONTAL,
45 }
46
47 export namespace BackgroundStyle {
48 export const $gtype: GObject.GType<BackgroundStyle>;
49 }
50
51 enum BackgroundStyle {
52 NONE,
53 WALLPAPER,
54 CENTERED,
55 SCALED,
56 STRETCHED,
57 ZOOM,
58 SPANNED,
59 }
60
61 export namespace ClockFormat {
62 export const $gtype: GObject.GType<ClockFormat>;
63 }
64
65 enum ClockFormat {
66 '24H',
67 '12H',
68 }
69
70 export namespace ColorScheme {
71 export const $gtype: GObject.GType<ColorScheme>;
72 }
73
74 enum ColorScheme {
75 DEFAULT,
76 PREFER_DARK,
77 PREFER_LIGHT,
78 }
79
80 export namespace DeviceSendEvents {
81 export const $gtype: GObject.GType<DeviceSendEvents>;
82 }
83
84 enum DeviceSendEvents {
85 ENABLED,
86 DISABLED,
87 DISABLED_ON_EXTERNAL_MOUSE,
88 }
89
90 export namespace FocusMode {
91 export const $gtype: GObject.GType<FocusMode>;
92 }
93
94 enum FocusMode {
95 CLICK,
96 SLOPPY,
97 MOUSE,
98 }
99
100 export namespace FocusNewWindows {
101 export const $gtype: GObject.GType<FocusNewWindows>;
102 }
103
104 enum FocusNewWindows {
105 SMART,
106 STRICT,
107 }
108
109 export namespace FontAntialiasingMode {
110 export const $gtype: GObject.GType<FontAntialiasingMode>;
111 }
112
113 enum FontAntialiasingMode {
114 NONE,
115 GRAYSCALE,
116 RGBA,
117 }
118
119 export namespace FontHinting {
120 export const $gtype: GObject.GType<FontHinting>;
121 }
122
123 enum FontHinting {
124 NONE,
125 SLIGHT,
126 MEDIUM,
127 FULL,
128 }
129
130 export namespace FontRendering {
131 export const $gtype: GObject.GType<FontRendering>;
132 }
133
134 enum FontRendering {
135 AUTOMATIC,
136 MANUAL,
137 }
138
139 export namespace FontRgbaOrder {
140 export const $gtype: GObject.GType<FontRgbaOrder>;
141 }
142
143 enum FontRgbaOrder {
144 RGBA,
145 RGB,
146 BGR,
147 VRGB,
148 VBGR,
149 }
150
151 export namespace LocationAccuracyLevel {
152 export const $gtype: GObject.GType<LocationAccuracyLevel>;
153 }
154
155 enum LocationAccuracyLevel {
156 COUNTRY,
157 CITY,
158 NEIGHBORHOOD,
159 STREET,
160 EXACT,
161 }
162
163 export namespace MagnifierCaretTrackingMode {
164 export const $gtype: GObject.GType<MagnifierCaretTrackingMode>;
165 }
166
167 enum MagnifierCaretTrackingMode {
168 NONE,
169 CENTERED,
170 PROPORTIONAL,
171 PUSH,
172 }
173
174 export namespace MagnifierFocusTrackingMode {
175 export const $gtype: GObject.GType<MagnifierFocusTrackingMode>;
176 }
177
178 enum MagnifierFocusTrackingMode {
179 NONE,
180 CENTERED,
181 PROPORTIONAL,
182 PUSH,
183 }
184
185 export namespace MagnifierMouseTrackingMode {
186 export const $gtype: GObject.GType<MagnifierMouseTrackingMode>;
187 }
188
189 enum MagnifierMouseTrackingMode {
190 NONE,
191 CENTERED,
192 PROPORTIONAL,
193 PUSH,
194 }
195
196 export namespace MagnifierScreenPosition {
197 export const $gtype: GObject.GType<MagnifierScreenPosition>;
198 }
199
200 enum MagnifierScreenPosition {
201 NONE,
202 FULL_SCREEN,
203 TOP_HALF,
204 BOTTOM_HALF,
205 LEFT_HALF,
206 RIGHT_HALF,
207 }
208
209 export namespace MouseDwellDirection {
210 export const $gtype: GObject.GType<MouseDwellDirection>;
211 }
212
213 enum MouseDwellDirection {
214 LEFT,
215 RIGHT,
216 UP,
217 DOWN,
218 }
219
220 export namespace MouseDwellMode {
221 export const $gtype: GObject.GType<MouseDwellMode>;
222 }
223
224 enum MouseDwellMode {
225 WINDOW,
226 GESTURE,
227 }
228
229 export namespace PadButtonAction {
230 export const $gtype: GObject.GType<PadButtonAction>;
231 }
232
233 enum PadButtonAction {
234 NONE,
235 HELP,
236 SWITCH_MONITOR,
237 KEYBINDING,
238 }
239
240 export namespace PointerAccelProfile {
241 export const $gtype: GObject.GType<PointerAccelProfile>;
242 }
243
244 enum PointerAccelProfile {
245 DEFAULT,
246 FLAT,
247 ADAPTIVE,
248 }
249
250 export namespace PointingStickScrollMethod {
251 export const $gtype: GObject.GType<PointingStickScrollMethod>;
252 }
253
254 enum PointingStickScrollMethod {
255 DEFAULT,
256 NONE,
257 ON_BUTTON_DOWN,
258 }
259
260 export namespace ProxyMode {
261 export const $gtype: GObject.GType<ProxyMode>;
262 }
263
264 enum ProxyMode {
265 NONE,
266 MANUAL,
267 AUTO,
268 }
269
270 export namespace ScreensaverMode {
271 export const $gtype: GObject.GType<ScreensaverMode>;
272 }
273
274 enum ScreensaverMode {
275 BLANK_ONLY,
276 RANDOM,
277 SINGLE,
278 }
279
280 export namespace StylusButtonAction {
281 export const $gtype: GObject.GType<StylusButtonAction>;
282 }
283
284 enum StylusButtonAction {
285 DEFAULT,
286 MIDDLE,
287 RIGHT,
288 BACK,
289 FORWARD,
290 SWITCH_MONITOR,
291 KEYBINDING,
292 }
293
294 export namespace TabletMapping {
295 export const $gtype: GObject.GType<TabletMapping>;
296 }
297
298 enum TabletMapping {
299 ABSOLUTE,
300 RELATIVE,
301 }
302
303 export namespace TitlebarAction {
304 export const $gtype: GObject.GType<TitlebarAction>;
305 }
306
307 enum TitlebarAction {
308 TOGGLE_SHADE,
309 TOGGLE_MAXIMIZE,
310 TOGGLE_MAXIMIZE_HORIZONTALLY,
311 TOGGLE_MAXIMIZE_VERTICALLY,
312 MINIMIZE,
313 NONE,
314 LOWER,
315 MENU,
316 }
317
318 export namespace ToolbarIconSize {
319 export const $gtype: GObject.GType<ToolbarIconSize>;
320 }
321
322 enum ToolbarIconSize {
323 SMALL,
324 LARGE,
325 }
326
327 export namespace ToolbarStyle {
328 export const $gtype: GObject.GType<ToolbarStyle>;
329 }
330
331 enum ToolbarStyle {
332 BOTH,
333 BOTH_HORIZ,
334 ICONS,
335 TEXT,
336 }
337
338 export namespace TouchpadClickMethod {
339 export const $gtype: GObject.GType<TouchpadClickMethod>;
340 }
341
342 enum TouchpadClickMethod {
343 DEFAULT,
344 NONE,
345 AREAS,
346 FINGERS,
347 }
348
349 export namespace TouchpadHandedness {
350 export const $gtype: GObject.GType<TouchpadHandedness>;
351 }
352
353 enum TouchpadHandedness {
354 RIGHT,
355 LEFT,
356 MOUSE,
357 }
358
359 export namespace TouchpadTapButtonMap {
360 export const $gtype: GObject.GType<TouchpadTapButtonMap>;
361 }
362
363 enum TouchpadTapButtonMap {
364 DEFAULT,
365 LRM,
366 LMR,
367 }
368
369 export namespace UsbProtection {
370 export const $gtype: GObject.GType<UsbProtection>;
371 }
372
373 enum UsbProtection {
374 LOCKSCREEN,
375 ALWAYS,
376 }
377
378 export namespace VisualBellType {
379 export const $gtype: GObject.GType<VisualBellType>;
380 }
381
382 enum VisualBellType {
383 FULLSCREEN_FLASH,
384 FRAME_FLASH,
385 }
386 /**
387 * Name of the imported GIR library
388 * `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
389 */
390 const __name__: string;
391 /**
392 * Version of the imported GIR library
393 * `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
394 */
395 const __version__: string;
396 }
397
398 export default GDesktopEnums;
399 }
400
401 declare module 'gi://GDesktopEnums' {
402 import GDesktopEnums30 from 'gi://GDesktopEnums?version=3.0';
403 export default GDesktopEnums30;
404 }
405 // END