@girs/gdk-3.0 3.24.38-3.2.7 → 3.24.39-3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gdk-3.0-ambient.js +2 -0
- package/gdk-3.0-import.js +3 -0
- package/gdk-3.0.d.cts +10 -98
- package/gdk-3.0.d.ts +10 -98
- package/package.json +21 -15
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.
|
|
8
|
+
GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.39 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
An intermediate layer which isolates GTK+ from the details of the windowing system.
|
|
11
11
|
|
package/gdk-3.0.d.cts
CHANGED
|
@@ -6192,9 +6192,8 @@ export module Cursor {
|
|
|
6192
6192
|
|
|
6193
6193
|
// Own constructor properties of Gdk-3.0.Gdk.Cursor
|
|
6194
6194
|
|
|
6195
|
-
cursor_type?: CursorType | null
|
|
6196
|
-
display?: Display | null
|
|
6197
6195
|
cursorType?: CursorType | null
|
|
6196
|
+
display?: Display | null
|
|
6198
6197
|
}
|
|
6199
6198
|
|
|
6200
6199
|
}
|
|
@@ -6203,7 +6202,6 @@ export interface Cursor {
|
|
|
6203
6202
|
|
|
6204
6203
|
// Own properties of Gdk-3.0.Gdk.Cursor
|
|
6205
6204
|
|
|
6206
|
-
readonly cursor_type: CursorType
|
|
6207
6205
|
readonly cursorType: CursorType
|
|
6208
6206
|
readonly display: Display
|
|
6209
6207
|
|
|
@@ -6444,7 +6442,7 @@ export module Device {
|
|
|
6444
6442
|
/**
|
|
6445
6443
|
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6446
6444
|
*/
|
|
6447
|
-
|
|
6445
|
+
deviceManager?: DeviceManager | null
|
|
6448
6446
|
/**
|
|
6449
6447
|
* The #GdkDisplay the #GdkDevice pertains to.
|
|
6450
6448
|
*/
|
|
@@ -6453,12 +6451,12 @@ export module Device {
|
|
|
6453
6451
|
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6454
6452
|
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6455
6453
|
*/
|
|
6456
|
-
|
|
6457
|
-
|
|
6454
|
+
hasCursor?: boolean | null
|
|
6455
|
+
inputMode?: InputMode | null
|
|
6458
6456
|
/**
|
|
6459
6457
|
* Source type for the device.
|
|
6460
6458
|
*/
|
|
6461
|
-
|
|
6459
|
+
inputSource?: InputSource | null
|
|
6462
6460
|
/**
|
|
6463
6461
|
* The device name.
|
|
6464
6462
|
*/
|
|
@@ -6468,11 +6466,11 @@ export module Device {
|
|
|
6468
6466
|
* Will be 0 if the device is not a touch device or if the number
|
|
6469
6467
|
* of touches is unknown.
|
|
6470
6468
|
*/
|
|
6471
|
-
|
|
6469
|
+
numTouches?: number | null
|
|
6472
6470
|
/**
|
|
6473
6471
|
* Product ID of this device, see gdk_device_get_product_id().
|
|
6474
6472
|
*/
|
|
6475
|
-
|
|
6473
|
+
productId?: string | null
|
|
6476
6474
|
/**
|
|
6477
6475
|
* #GdkSeat of this device.
|
|
6478
6476
|
*/
|
|
@@ -6481,34 +6479,6 @@ export module Device {
|
|
|
6481
6479
|
* Device role in the device manager.
|
|
6482
6480
|
*/
|
|
6483
6481
|
type?: DeviceType | null
|
|
6484
|
-
/**
|
|
6485
|
-
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6486
|
-
*/
|
|
6487
|
-
vendor_id?: string | null
|
|
6488
|
-
/**
|
|
6489
|
-
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6490
|
-
*/
|
|
6491
|
-
deviceManager?: DeviceManager | null
|
|
6492
|
-
/**
|
|
6493
|
-
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6494
|
-
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6495
|
-
*/
|
|
6496
|
-
hasCursor?: boolean | null
|
|
6497
|
-
inputMode?: InputMode | null
|
|
6498
|
-
/**
|
|
6499
|
-
* Source type for the device.
|
|
6500
|
-
*/
|
|
6501
|
-
inputSource?: InputSource | null
|
|
6502
|
-
/**
|
|
6503
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6504
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6505
|
-
* of touches is unknown.
|
|
6506
|
-
*/
|
|
6507
|
-
numTouches?: number | null
|
|
6508
|
-
/**
|
|
6509
|
-
* Product ID of this device, see gdk_device_get_product_id().
|
|
6510
|
-
*/
|
|
6511
|
-
productId?: string | null
|
|
6512
6482
|
/**
|
|
6513
6483
|
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6514
6484
|
*/
|
|
@@ -6521,11 +6491,6 @@ export interface Device {
|
|
|
6521
6491
|
|
|
6522
6492
|
// Own properties of Gdk-3.0.Gdk.Device
|
|
6523
6493
|
|
|
6524
|
-
/**
|
|
6525
|
-
* Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER
|
|
6526
|
-
* always come in keyboard/pointer pairs. Other device types will have a %NULL associated device.
|
|
6527
|
-
*/
|
|
6528
|
-
readonly associated_device: Device
|
|
6529
6494
|
/**
|
|
6530
6495
|
* Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER
|
|
6531
6496
|
* always come in keyboard/pointer pairs. Other device types will have a %NULL associated device.
|
|
@@ -6535,10 +6500,6 @@ export interface Device {
|
|
|
6535
6500
|
* The axes currently available for this device.
|
|
6536
6501
|
*/
|
|
6537
6502
|
readonly axes: AxisFlags
|
|
6538
|
-
/**
|
|
6539
|
-
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6540
|
-
*/
|
|
6541
|
-
readonly device_manager: DeviceManager
|
|
6542
6503
|
/**
|
|
6543
6504
|
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6544
6505
|
*/
|
|
@@ -6547,30 +6508,16 @@ export interface Device {
|
|
|
6547
6508
|
* The #GdkDisplay the #GdkDevice pertains to.
|
|
6548
6509
|
*/
|
|
6549
6510
|
readonly display: Display
|
|
6550
|
-
/**
|
|
6551
|
-
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6552
|
-
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6553
|
-
*/
|
|
6554
|
-
readonly has_cursor: boolean
|
|
6555
6511
|
/**
|
|
6556
6512
|
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6557
6513
|
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6558
6514
|
*/
|
|
6559
6515
|
readonly hasCursor: boolean
|
|
6560
|
-
input_mode: InputMode
|
|
6561
6516
|
inputMode: InputMode
|
|
6562
|
-
/**
|
|
6563
|
-
* Source type for the device.
|
|
6564
|
-
*/
|
|
6565
|
-
readonly input_source: InputSource
|
|
6566
6517
|
/**
|
|
6567
6518
|
* Source type for the device.
|
|
6568
6519
|
*/
|
|
6569
6520
|
readonly inputSource: InputSource
|
|
6570
|
-
/**
|
|
6571
|
-
* Number of axes in the device.
|
|
6572
|
-
*/
|
|
6573
|
-
readonly n_axes: number
|
|
6574
6521
|
/**
|
|
6575
6522
|
* Number of axes in the device.
|
|
6576
6523
|
*/
|
|
@@ -6579,22 +6526,12 @@ export interface Device {
|
|
|
6579
6526
|
* The device name.
|
|
6580
6527
|
*/
|
|
6581
6528
|
readonly name: string | null
|
|
6582
|
-
/**
|
|
6583
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6584
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6585
|
-
* of touches is unknown.
|
|
6586
|
-
*/
|
|
6587
|
-
readonly num_touches: number
|
|
6588
6529
|
/**
|
|
6589
6530
|
* The maximal number of concurrent touches on a touch device.
|
|
6590
6531
|
* Will be 0 if the device is not a touch device or if the number
|
|
6591
6532
|
* of touches is unknown.
|
|
6592
6533
|
*/
|
|
6593
6534
|
readonly numTouches: number
|
|
6594
|
-
/**
|
|
6595
|
-
* Product ID of this device, see gdk_device_get_product_id().
|
|
6596
|
-
*/
|
|
6597
|
-
readonly product_id: string | null
|
|
6598
6535
|
/**
|
|
6599
6536
|
* Product ID of this device, see gdk_device_get_product_id().
|
|
6600
6537
|
*/
|
|
@@ -6608,10 +6545,6 @@ export interface Device {
|
|
|
6608
6545
|
* Device role in the device manager.
|
|
6609
6546
|
*/
|
|
6610
6547
|
readonly type: DeviceType
|
|
6611
|
-
/**
|
|
6612
|
-
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6613
|
-
*/
|
|
6614
|
-
readonly vendor_id: string | null
|
|
6615
6548
|
/**
|
|
6616
6549
|
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6617
6550
|
*/
|
|
@@ -7195,10 +7128,8 @@ export module DeviceTool {
|
|
|
7195
7128
|
// Own constructor properties of Gdk-3.0.Gdk.DeviceTool
|
|
7196
7129
|
|
|
7197
7130
|
axes?: AxisFlags | null
|
|
7198
|
-
hardware_id?: number | null
|
|
7199
|
-
serial?: number | null
|
|
7200
|
-
tool_type?: DeviceToolType | null
|
|
7201
7131
|
hardwareId?: number | null
|
|
7132
|
+
serial?: number | null
|
|
7202
7133
|
toolType?: DeviceToolType | null
|
|
7203
7134
|
}
|
|
7204
7135
|
|
|
@@ -7209,10 +7140,8 @@ export interface DeviceTool {
|
|
|
7209
7140
|
// Own properties of Gdk-3.0.Gdk.DeviceTool
|
|
7210
7141
|
|
|
7211
7142
|
readonly axes: AxisFlags
|
|
7212
|
-
readonly hardware_id: number
|
|
7213
7143
|
readonly hardwareId: number
|
|
7214
7144
|
readonly serial: number
|
|
7215
|
-
readonly tool_type: DeviceToolType
|
|
7216
7145
|
readonly toolType: DeviceToolType
|
|
7217
7146
|
|
|
7218
7147
|
// Owm methods of Gdk-3.0.Gdk.DeviceTool
|
|
@@ -7750,7 +7679,6 @@ export module DisplayManager {
|
|
|
7750
7679
|
|
|
7751
7680
|
// Own constructor properties of Gdk-3.0.Gdk.DisplayManager
|
|
7752
7681
|
|
|
7753
|
-
default_display?: Display | null
|
|
7754
7682
|
defaultDisplay?: Display | null
|
|
7755
7683
|
}
|
|
7756
7684
|
|
|
@@ -7760,7 +7688,6 @@ export interface DisplayManager {
|
|
|
7760
7688
|
|
|
7761
7689
|
// Own properties of Gdk-3.0.Gdk.DisplayManager
|
|
7762
7690
|
|
|
7763
|
-
default_display: Display
|
|
7764
7691
|
defaultDisplay: Display
|
|
7765
7692
|
|
|
7766
7693
|
// Owm methods of Gdk-3.0.Gdk.DisplayManager
|
|
@@ -8379,15 +8306,11 @@ export module GLContext {
|
|
|
8379
8306
|
/**
|
|
8380
8307
|
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8381
8308
|
*/
|
|
8382
|
-
|
|
8309
|
+
sharedContext?: GLContext | null
|
|
8383
8310
|
/**
|
|
8384
8311
|
* The #GdkWindow the gl context is bound to.
|
|
8385
8312
|
*/
|
|
8386
8313
|
window?: Window | null
|
|
8387
|
-
/**
|
|
8388
|
-
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8389
|
-
*/
|
|
8390
|
-
sharedContext?: GLContext | null
|
|
8391
8314
|
}
|
|
8392
8315
|
|
|
8393
8316
|
}
|
|
@@ -8400,10 +8323,6 @@ export interface GLContext {
|
|
|
8400
8323
|
* The #GdkDisplay used to create the #GdkGLContext.
|
|
8401
8324
|
*/
|
|
8402
8325
|
readonly display: Display
|
|
8403
|
-
/**
|
|
8404
|
-
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8405
|
-
*/
|
|
8406
|
-
readonly shared_context: GLContext
|
|
8407
8326
|
/**
|
|
8408
8327
|
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8409
8328
|
*/
|
|
@@ -8921,17 +8840,12 @@ export interface Monitor {
|
|
|
8921
8840
|
|
|
8922
8841
|
readonly display: Display
|
|
8923
8842
|
readonly geometry: Rectangle
|
|
8924
|
-
readonly height_mm: number
|
|
8925
8843
|
readonly heightMm: number
|
|
8926
8844
|
readonly manufacturer: string | null
|
|
8927
8845
|
readonly model: string | null
|
|
8928
|
-
readonly refresh_rate: number
|
|
8929
8846
|
readonly refreshRate: number
|
|
8930
|
-
readonly scale_factor: number
|
|
8931
8847
|
readonly scaleFactor: number
|
|
8932
|
-
readonly subpixel_layout: SubpixelLayout
|
|
8933
8848
|
readonly subpixelLayout: SubpixelLayout
|
|
8934
|
-
readonly width_mm: number
|
|
8935
8849
|
readonly widthMm: number
|
|
8936
8850
|
readonly workarea: Rectangle
|
|
8937
8851
|
|
|
@@ -9120,9 +9034,8 @@ export module Screen {
|
|
|
9120
9034
|
|
|
9121
9035
|
// Own constructor properties of Gdk-3.0.Gdk.Screen
|
|
9122
9036
|
|
|
9123
|
-
font_options?: any | null
|
|
9124
|
-
resolution?: number | null
|
|
9125
9037
|
fontOptions?: any | null
|
|
9038
|
+
resolution?: number | null
|
|
9126
9039
|
}
|
|
9127
9040
|
|
|
9128
9041
|
}
|
|
@@ -9131,7 +9044,6 @@ export interface Screen {
|
|
|
9131
9044
|
|
|
9132
9045
|
// Own properties of Gdk-3.0.Gdk.Screen
|
|
9133
9046
|
|
|
9134
|
-
font_options: any
|
|
9135
9047
|
fontOptions: any
|
|
9136
9048
|
resolution: number
|
|
9137
9049
|
|
package/gdk-3.0.d.ts
CHANGED
|
@@ -6194,9 +6194,8 @@ module Cursor {
|
|
|
6194
6194
|
|
|
6195
6195
|
// Own constructor properties of Gdk-3.0.Gdk.Cursor
|
|
6196
6196
|
|
|
6197
|
-
cursor_type?: CursorType | null
|
|
6198
|
-
display?: Display | null
|
|
6199
6197
|
cursorType?: CursorType | null
|
|
6198
|
+
display?: Display | null
|
|
6200
6199
|
}
|
|
6201
6200
|
|
|
6202
6201
|
}
|
|
@@ -6205,7 +6204,6 @@ interface Cursor {
|
|
|
6205
6204
|
|
|
6206
6205
|
// Own properties of Gdk-3.0.Gdk.Cursor
|
|
6207
6206
|
|
|
6208
|
-
readonly cursor_type: CursorType
|
|
6209
6207
|
readonly cursorType: CursorType
|
|
6210
6208
|
readonly display: Display
|
|
6211
6209
|
|
|
@@ -6446,7 +6444,7 @@ module Device {
|
|
|
6446
6444
|
/**
|
|
6447
6445
|
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6448
6446
|
*/
|
|
6449
|
-
|
|
6447
|
+
deviceManager?: DeviceManager | null
|
|
6450
6448
|
/**
|
|
6451
6449
|
* The #GdkDisplay the #GdkDevice pertains to.
|
|
6452
6450
|
*/
|
|
@@ -6455,12 +6453,12 @@ module Device {
|
|
|
6455
6453
|
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6456
6454
|
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6457
6455
|
*/
|
|
6458
|
-
|
|
6459
|
-
|
|
6456
|
+
hasCursor?: boolean | null
|
|
6457
|
+
inputMode?: InputMode | null
|
|
6460
6458
|
/**
|
|
6461
6459
|
* Source type for the device.
|
|
6462
6460
|
*/
|
|
6463
|
-
|
|
6461
|
+
inputSource?: InputSource | null
|
|
6464
6462
|
/**
|
|
6465
6463
|
* The device name.
|
|
6466
6464
|
*/
|
|
@@ -6470,11 +6468,11 @@ module Device {
|
|
|
6470
6468
|
* Will be 0 if the device is not a touch device or if the number
|
|
6471
6469
|
* of touches is unknown.
|
|
6472
6470
|
*/
|
|
6473
|
-
|
|
6471
|
+
numTouches?: number | null
|
|
6474
6472
|
/**
|
|
6475
6473
|
* Product ID of this device, see gdk_device_get_product_id().
|
|
6476
6474
|
*/
|
|
6477
|
-
|
|
6475
|
+
productId?: string | null
|
|
6478
6476
|
/**
|
|
6479
6477
|
* #GdkSeat of this device.
|
|
6480
6478
|
*/
|
|
@@ -6483,34 +6481,6 @@ module Device {
|
|
|
6483
6481
|
* Device role in the device manager.
|
|
6484
6482
|
*/
|
|
6485
6483
|
type?: DeviceType | null
|
|
6486
|
-
/**
|
|
6487
|
-
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6488
|
-
*/
|
|
6489
|
-
vendor_id?: string | null
|
|
6490
|
-
/**
|
|
6491
|
-
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6492
|
-
*/
|
|
6493
|
-
deviceManager?: DeviceManager | null
|
|
6494
|
-
/**
|
|
6495
|
-
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6496
|
-
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6497
|
-
*/
|
|
6498
|
-
hasCursor?: boolean | null
|
|
6499
|
-
inputMode?: InputMode | null
|
|
6500
|
-
/**
|
|
6501
|
-
* Source type for the device.
|
|
6502
|
-
*/
|
|
6503
|
-
inputSource?: InputSource | null
|
|
6504
|
-
/**
|
|
6505
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6506
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6507
|
-
* of touches is unknown.
|
|
6508
|
-
*/
|
|
6509
|
-
numTouches?: number | null
|
|
6510
|
-
/**
|
|
6511
|
-
* Product ID of this device, see gdk_device_get_product_id().
|
|
6512
|
-
*/
|
|
6513
|
-
productId?: string | null
|
|
6514
6484
|
/**
|
|
6515
6485
|
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6516
6486
|
*/
|
|
@@ -6523,11 +6493,6 @@ interface Device {
|
|
|
6523
6493
|
|
|
6524
6494
|
// Own properties of Gdk-3.0.Gdk.Device
|
|
6525
6495
|
|
|
6526
|
-
/**
|
|
6527
|
-
* Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER
|
|
6528
|
-
* always come in keyboard/pointer pairs. Other device types will have a %NULL associated device.
|
|
6529
|
-
*/
|
|
6530
|
-
readonly associated_device: Device
|
|
6531
6496
|
/**
|
|
6532
6497
|
* Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER
|
|
6533
6498
|
* always come in keyboard/pointer pairs. Other device types will have a %NULL associated device.
|
|
@@ -6537,10 +6502,6 @@ interface Device {
|
|
|
6537
6502
|
* The axes currently available for this device.
|
|
6538
6503
|
*/
|
|
6539
6504
|
readonly axes: AxisFlags
|
|
6540
|
-
/**
|
|
6541
|
-
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6542
|
-
*/
|
|
6543
|
-
readonly device_manager: DeviceManager
|
|
6544
6505
|
/**
|
|
6545
6506
|
* The #GdkDeviceManager the #GdkDevice pertains to.
|
|
6546
6507
|
*/
|
|
@@ -6549,30 +6510,16 @@ interface Device {
|
|
|
6549
6510
|
* The #GdkDisplay the #GdkDevice pertains to.
|
|
6550
6511
|
*/
|
|
6551
6512
|
readonly display: Display
|
|
6552
|
-
/**
|
|
6553
|
-
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6554
|
-
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6555
|
-
*/
|
|
6556
|
-
readonly has_cursor: boolean
|
|
6557
6513
|
/**
|
|
6558
6514
|
* Whether the device is represented by a cursor on the screen. Devices of type
|
|
6559
6515
|
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
|
6560
6516
|
*/
|
|
6561
6517
|
readonly hasCursor: boolean
|
|
6562
|
-
input_mode: InputMode
|
|
6563
6518
|
inputMode: InputMode
|
|
6564
|
-
/**
|
|
6565
|
-
* Source type for the device.
|
|
6566
|
-
*/
|
|
6567
|
-
readonly input_source: InputSource
|
|
6568
6519
|
/**
|
|
6569
6520
|
* Source type for the device.
|
|
6570
6521
|
*/
|
|
6571
6522
|
readonly inputSource: InputSource
|
|
6572
|
-
/**
|
|
6573
|
-
* Number of axes in the device.
|
|
6574
|
-
*/
|
|
6575
|
-
readonly n_axes: number
|
|
6576
6523
|
/**
|
|
6577
6524
|
* Number of axes in the device.
|
|
6578
6525
|
*/
|
|
@@ -6581,22 +6528,12 @@ interface Device {
|
|
|
6581
6528
|
* The device name.
|
|
6582
6529
|
*/
|
|
6583
6530
|
readonly name: string | null
|
|
6584
|
-
/**
|
|
6585
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6586
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6587
|
-
* of touches is unknown.
|
|
6588
|
-
*/
|
|
6589
|
-
readonly num_touches: number
|
|
6590
6531
|
/**
|
|
6591
6532
|
* The maximal number of concurrent touches on a touch device.
|
|
6592
6533
|
* Will be 0 if the device is not a touch device or if the number
|
|
6593
6534
|
* of touches is unknown.
|
|
6594
6535
|
*/
|
|
6595
6536
|
readonly numTouches: number
|
|
6596
|
-
/**
|
|
6597
|
-
* Product ID of this device, see gdk_device_get_product_id().
|
|
6598
|
-
*/
|
|
6599
|
-
readonly product_id: string | null
|
|
6600
6537
|
/**
|
|
6601
6538
|
* Product ID of this device, see gdk_device_get_product_id().
|
|
6602
6539
|
*/
|
|
@@ -6610,10 +6547,6 @@ interface Device {
|
|
|
6610
6547
|
* Device role in the device manager.
|
|
6611
6548
|
*/
|
|
6612
6549
|
readonly type: DeviceType
|
|
6613
|
-
/**
|
|
6614
|
-
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6615
|
-
*/
|
|
6616
|
-
readonly vendor_id: string | null
|
|
6617
6550
|
/**
|
|
6618
6551
|
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
|
6619
6552
|
*/
|
|
@@ -7197,10 +7130,8 @@ module DeviceTool {
|
|
|
7197
7130
|
// Own constructor properties of Gdk-3.0.Gdk.DeviceTool
|
|
7198
7131
|
|
|
7199
7132
|
axes?: AxisFlags | null
|
|
7200
|
-
hardware_id?: number | null
|
|
7201
|
-
serial?: number | null
|
|
7202
|
-
tool_type?: DeviceToolType | null
|
|
7203
7133
|
hardwareId?: number | null
|
|
7134
|
+
serial?: number | null
|
|
7204
7135
|
toolType?: DeviceToolType | null
|
|
7205
7136
|
}
|
|
7206
7137
|
|
|
@@ -7211,10 +7142,8 @@ interface DeviceTool {
|
|
|
7211
7142
|
// Own properties of Gdk-3.0.Gdk.DeviceTool
|
|
7212
7143
|
|
|
7213
7144
|
readonly axes: AxisFlags
|
|
7214
|
-
readonly hardware_id: number
|
|
7215
7145
|
readonly hardwareId: number
|
|
7216
7146
|
readonly serial: number
|
|
7217
|
-
readonly tool_type: DeviceToolType
|
|
7218
7147
|
readonly toolType: DeviceToolType
|
|
7219
7148
|
|
|
7220
7149
|
// Owm methods of Gdk-3.0.Gdk.DeviceTool
|
|
@@ -7752,7 +7681,6 @@ module DisplayManager {
|
|
|
7752
7681
|
|
|
7753
7682
|
// Own constructor properties of Gdk-3.0.Gdk.DisplayManager
|
|
7754
7683
|
|
|
7755
|
-
default_display?: Display | null
|
|
7756
7684
|
defaultDisplay?: Display | null
|
|
7757
7685
|
}
|
|
7758
7686
|
|
|
@@ -7762,7 +7690,6 @@ interface DisplayManager {
|
|
|
7762
7690
|
|
|
7763
7691
|
// Own properties of Gdk-3.0.Gdk.DisplayManager
|
|
7764
7692
|
|
|
7765
|
-
default_display: Display
|
|
7766
7693
|
defaultDisplay: Display
|
|
7767
7694
|
|
|
7768
7695
|
// Owm methods of Gdk-3.0.Gdk.DisplayManager
|
|
@@ -8381,15 +8308,11 @@ module GLContext {
|
|
|
8381
8308
|
/**
|
|
8382
8309
|
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8383
8310
|
*/
|
|
8384
|
-
|
|
8311
|
+
sharedContext?: GLContext | null
|
|
8385
8312
|
/**
|
|
8386
8313
|
* The #GdkWindow the gl context is bound to.
|
|
8387
8314
|
*/
|
|
8388
8315
|
window?: Window | null
|
|
8389
|
-
/**
|
|
8390
|
-
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8391
|
-
*/
|
|
8392
|
-
sharedContext?: GLContext | null
|
|
8393
8316
|
}
|
|
8394
8317
|
|
|
8395
8318
|
}
|
|
@@ -8402,10 +8325,6 @@ interface GLContext {
|
|
|
8402
8325
|
* The #GdkDisplay used to create the #GdkGLContext.
|
|
8403
8326
|
*/
|
|
8404
8327
|
readonly display: Display
|
|
8405
|
-
/**
|
|
8406
|
-
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8407
|
-
*/
|
|
8408
|
-
readonly shared_context: GLContext
|
|
8409
8328
|
/**
|
|
8410
8329
|
* The #GdkGLContext that this context is sharing data with, or %NULL
|
|
8411
8330
|
*/
|
|
@@ -8923,17 +8842,12 @@ interface Monitor {
|
|
|
8923
8842
|
|
|
8924
8843
|
readonly display: Display
|
|
8925
8844
|
readonly geometry: Rectangle
|
|
8926
|
-
readonly height_mm: number
|
|
8927
8845
|
readonly heightMm: number
|
|
8928
8846
|
readonly manufacturer: string | null
|
|
8929
8847
|
readonly model: string | null
|
|
8930
|
-
readonly refresh_rate: number
|
|
8931
8848
|
readonly refreshRate: number
|
|
8932
|
-
readonly scale_factor: number
|
|
8933
8849
|
readonly scaleFactor: number
|
|
8934
|
-
readonly subpixel_layout: SubpixelLayout
|
|
8935
8850
|
readonly subpixelLayout: SubpixelLayout
|
|
8936
|
-
readonly width_mm: number
|
|
8937
8851
|
readonly widthMm: number
|
|
8938
8852
|
readonly workarea: Rectangle
|
|
8939
8853
|
|
|
@@ -9122,9 +9036,8 @@ module Screen {
|
|
|
9122
9036
|
|
|
9123
9037
|
// Own constructor properties of Gdk-3.0.Gdk.Screen
|
|
9124
9038
|
|
|
9125
|
-
font_options?: any | null
|
|
9126
|
-
resolution?: number | null
|
|
9127
9039
|
fontOptions?: any | null
|
|
9040
|
+
resolution?: number | null
|
|
9128
9041
|
}
|
|
9129
9042
|
|
|
9130
9043
|
}
|
|
@@ -9133,7 +9046,6 @@ interface Screen {
|
|
|
9133
9046
|
|
|
9134
9047
|
// Own properties of Gdk-3.0.Gdk.Screen
|
|
9135
9048
|
|
|
9136
|
-
font_options: any
|
|
9137
9049
|
fontOptions: any
|
|
9138
9050
|
resolution: number
|
|
9139
9051
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gdk-3.0",
|
|
3
|
-
"version": "3.24.
|
|
4
|
-
"description": "GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.
|
|
3
|
+
"version": "3.24.39-3.2.8",
|
|
4
|
+
"description": "GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.39",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gdk-3.0.js",
|
|
7
7
|
"main": "gdk-3.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./gdk-3.0-ambient.d.ts",
|
|
11
|
+
"default": "./gdk-3.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./gdk-3.0-import.d.ts",
|
|
15
|
+
"default": "./gdk-3.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./gdk-3.0.d.ts",
|
|
@@ -25,16 +31,16 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gdk-3.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
29
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
30
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gio-2.0": "^2.
|
|
32
|
-
"@girs/gjs": "^3.2.
|
|
33
|
-
"@girs/glib-2.0": "^2.
|
|
34
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
35
|
-
"@girs/gobject-2.0": "^2.
|
|
36
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
37
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
34
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
35
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
36
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
37
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
38
|
+
"@girs/gjs": "^3.2.8",
|
|
39
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
40
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
41
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
42
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
43
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8"
|
|
38
44
|
},
|
|
39
45
|
"devDependencies": {
|
|
40
46
|
"typescript": "*"
|
|
@@ -51,7 +57,7 @@
|
|
|
51
57
|
"license": "MIT",
|
|
52
58
|
"repository": {
|
|
53
59
|
"type": "git",
|
|
54
|
-
"url": "git+https://github.com/gjsify/
|
|
60
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
55
61
|
},
|
|
56
62
|
"bugs": {
|
|
57
63
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|