@girs/gdk-4.0 4.0.0-3.2.7 → 4.0.0-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-4.0-ambient.js +2 -0
- package/gdk-4.0-import.js +3 -0
- package/gdk-4.0.d.cts +23 -273
- package/gdk-4.0.d.ts +23 -273
- 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-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gdk-4.0.d.cts
CHANGED
|
@@ -4712,11 +4712,11 @@ export module Toplevel {
|
|
|
4712
4712
|
/**
|
|
4713
4713
|
* The fullscreen mode of the surface.
|
|
4714
4714
|
*/
|
|
4715
|
-
|
|
4715
|
+
fullscreenMode?: FullscreenMode | null
|
|
4716
4716
|
/**
|
|
4717
4717
|
* A list of textures to use as icon.
|
|
4718
4718
|
*/
|
|
4719
|
-
|
|
4719
|
+
iconList?: any | null
|
|
4720
4720
|
/**
|
|
4721
4721
|
* Whether the surface is modal.
|
|
4722
4722
|
*/
|
|
@@ -4727,30 +4727,11 @@ export module Toplevel {
|
|
|
4727
4727
|
* See [class`Gdk`.AppLaunchContext] for more information about
|
|
4728
4728
|
* startup feedback.
|
|
4729
4729
|
*/
|
|
4730
|
-
|
|
4730
|
+
startupId?: string | null
|
|
4731
4731
|
/**
|
|
4732
4732
|
* The title of the surface.
|
|
4733
4733
|
*/
|
|
4734
4734
|
title?: string | null
|
|
4735
|
-
/**
|
|
4736
|
-
* The transient parent of the surface.
|
|
4737
|
-
*/
|
|
4738
|
-
transient_for?: Surface | null
|
|
4739
|
-
/**
|
|
4740
|
-
* The fullscreen mode of the surface.
|
|
4741
|
-
*/
|
|
4742
|
-
fullscreenMode?: FullscreenMode | null
|
|
4743
|
-
/**
|
|
4744
|
-
* A list of textures to use as icon.
|
|
4745
|
-
*/
|
|
4746
|
-
iconList?: any | null
|
|
4747
|
-
/**
|
|
4748
|
-
* The startup ID of the surface.
|
|
4749
|
-
*
|
|
4750
|
-
* See [class`Gdk`.AppLaunchContext] for more information about
|
|
4751
|
-
* startup feedback.
|
|
4752
|
-
*/
|
|
4753
|
-
startupId?: string | null
|
|
4754
4735
|
/**
|
|
4755
4736
|
* The transient parent of the surface.
|
|
4756
4737
|
*/
|
|
@@ -4771,18 +4752,10 @@ export interface Toplevel extends Surface {
|
|
|
4771
4752
|
* Whether the window manager should allow to close the surface.
|
|
4772
4753
|
*/
|
|
4773
4754
|
deletable: boolean
|
|
4774
|
-
/**
|
|
4775
|
-
* The fullscreen mode of the surface.
|
|
4776
|
-
*/
|
|
4777
|
-
fullscreen_mode: FullscreenMode
|
|
4778
4755
|
/**
|
|
4779
4756
|
* The fullscreen mode of the surface.
|
|
4780
4757
|
*/
|
|
4781
4758
|
fullscreenMode: FullscreenMode
|
|
4782
|
-
/**
|
|
4783
|
-
* A list of textures to use as icon.
|
|
4784
|
-
*/
|
|
4785
|
-
icon_list: any
|
|
4786
4759
|
/**
|
|
4787
4760
|
* A list of textures to use as icon.
|
|
4788
4761
|
*/
|
|
@@ -4791,21 +4764,10 @@ export interface Toplevel extends Surface {
|
|
|
4791
4764
|
* Whether the surface is modal.
|
|
4792
4765
|
*/
|
|
4793
4766
|
modal: boolean
|
|
4794
|
-
/**
|
|
4795
|
-
* Whether the surface should inhibit keyboard shortcuts.
|
|
4796
|
-
*/
|
|
4797
|
-
readonly shortcuts_inhibited: boolean
|
|
4798
4767
|
/**
|
|
4799
4768
|
* Whether the surface should inhibit keyboard shortcuts.
|
|
4800
4769
|
*/
|
|
4801
4770
|
readonly shortcutsInhibited: boolean
|
|
4802
|
-
/**
|
|
4803
|
-
* The startup ID of the surface.
|
|
4804
|
-
*
|
|
4805
|
-
* See [class`Gdk`.AppLaunchContext] for more information about
|
|
4806
|
-
* startup feedback.
|
|
4807
|
-
*/
|
|
4808
|
-
startup_id: string | null
|
|
4809
4771
|
/**
|
|
4810
4772
|
* The startup ID of the surface.
|
|
4811
4773
|
*
|
|
@@ -4821,10 +4783,6 @@ export interface Toplevel extends Surface {
|
|
|
4821
4783
|
* The title of the surface.
|
|
4822
4784
|
*/
|
|
4823
4785
|
title: string | null
|
|
4824
|
-
/**
|
|
4825
|
-
* The transient parent of the surface.
|
|
4826
|
-
*/
|
|
4827
|
-
transient_for: Surface
|
|
4828
4786
|
/**
|
|
4829
4787
|
* The transient parent of the surface.
|
|
4830
4788
|
*/
|
|
@@ -5859,10 +5817,6 @@ export interface ContentProvider {
|
|
|
5859
5817
|
* The possible formats that the provider can provide its data in.
|
|
5860
5818
|
*/
|
|
5861
5819
|
readonly formats: ContentFormats
|
|
5862
|
-
/**
|
|
5863
|
-
* The subset of formats that clipboard managers should store this provider's data in.
|
|
5864
|
-
*/
|
|
5865
|
-
readonly storable_formats: ContentFormats
|
|
5866
5820
|
/**
|
|
5867
5821
|
* The subset of formats that clipboard managers should store this provider's data in.
|
|
5868
5822
|
*/
|
|
@@ -6271,11 +6225,11 @@ export module Cursor {
|
|
|
6271
6225
|
/**
|
|
6272
6226
|
* X position of the cursor hotspot in the cursor image.
|
|
6273
6227
|
*/
|
|
6274
|
-
|
|
6228
|
+
hotspotX?: number | null
|
|
6275
6229
|
/**
|
|
6276
6230
|
* Y position of the cursor hotspot in the cursor image.
|
|
6277
6231
|
*/
|
|
6278
|
-
|
|
6232
|
+
hotspotY?: number | null
|
|
6279
6233
|
/**
|
|
6280
6234
|
* Name of this this cursor.
|
|
6281
6235
|
*
|
|
@@ -6288,14 +6242,6 @@ export module Cursor {
|
|
|
6288
6242
|
* The texture will be %NULL if the cursor was created from a name.
|
|
6289
6243
|
*/
|
|
6290
6244
|
texture?: Texture | null
|
|
6291
|
-
/**
|
|
6292
|
-
* X position of the cursor hotspot in the cursor image.
|
|
6293
|
-
*/
|
|
6294
|
-
hotspotX?: number | null
|
|
6295
|
-
/**
|
|
6296
|
-
* Y position of the cursor hotspot in the cursor image.
|
|
6297
|
-
*/
|
|
6298
|
-
hotspotY?: number | null
|
|
6299
6245
|
}
|
|
6300
6246
|
|
|
6301
6247
|
}
|
|
@@ -6308,18 +6254,10 @@ export interface Cursor {
|
|
|
6308
6254
|
* Cursor to fall back to if this cursor cannot be displayed.
|
|
6309
6255
|
*/
|
|
6310
6256
|
readonly fallback: Cursor
|
|
6311
|
-
/**
|
|
6312
|
-
* X position of the cursor hotspot in the cursor image.
|
|
6313
|
-
*/
|
|
6314
|
-
readonly hotspot_x: number
|
|
6315
6257
|
/**
|
|
6316
6258
|
* X position of the cursor hotspot in the cursor image.
|
|
6317
6259
|
*/
|
|
6318
6260
|
readonly hotspotX: number
|
|
6319
|
-
/**
|
|
6320
|
-
* Y position of the cursor hotspot in the cursor image.
|
|
6321
|
-
*/
|
|
6322
|
-
readonly hotspot_y: number
|
|
6323
6261
|
/**
|
|
6324
6262
|
* Y position of the cursor hotspot in the cursor image.
|
|
6325
6263
|
*/
|
|
@@ -6561,7 +6499,7 @@ export module Device {
|
|
|
6561
6499
|
/**
|
|
6562
6500
|
* Whether the device is represented by a cursor on the screen.
|
|
6563
6501
|
*/
|
|
6564
|
-
|
|
6502
|
+
hasCursor?: boolean | null
|
|
6565
6503
|
/**
|
|
6566
6504
|
* The device name.
|
|
6567
6505
|
*/
|
|
@@ -6572,13 +6510,13 @@ export module Device {
|
|
|
6572
6510
|
* Will be 0 if the device is not a touch device or if the number
|
|
6573
6511
|
* of touches is unknown.
|
|
6574
6512
|
*/
|
|
6575
|
-
|
|
6513
|
+
numTouches?: number | null
|
|
6576
6514
|
/**
|
|
6577
6515
|
* Product ID of this device.
|
|
6578
6516
|
*
|
|
6579
6517
|
* See [method`Gdk`.Device.get_product_id].
|
|
6580
6518
|
*/
|
|
6581
|
-
|
|
6519
|
+
productId?: string | null
|
|
6582
6520
|
/**
|
|
6583
6521
|
* `GdkSeat` of this device.
|
|
6584
6522
|
*/
|
|
@@ -6587,29 +6525,6 @@ export module Device {
|
|
|
6587
6525
|
* Source type for the device.
|
|
6588
6526
|
*/
|
|
6589
6527
|
source?: InputSource | null
|
|
6590
|
-
/**
|
|
6591
|
-
* Vendor ID of this device.
|
|
6592
|
-
*
|
|
6593
|
-
* See [method`Gdk`.Device.get_vendor_id].
|
|
6594
|
-
*/
|
|
6595
|
-
vendor_id?: string | null
|
|
6596
|
-
/**
|
|
6597
|
-
* Whether the device is represented by a cursor on the screen.
|
|
6598
|
-
*/
|
|
6599
|
-
hasCursor?: boolean | null
|
|
6600
|
-
/**
|
|
6601
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6602
|
-
*
|
|
6603
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6604
|
-
* of touches is unknown.
|
|
6605
|
-
*/
|
|
6606
|
-
numTouches?: number | null
|
|
6607
|
-
/**
|
|
6608
|
-
* Product ID of this device.
|
|
6609
|
-
*
|
|
6610
|
-
* See [method`Gdk`.Device.get_product_id].
|
|
6611
|
-
*/
|
|
6612
|
-
productId?: string | null
|
|
6613
6528
|
/**
|
|
6614
6529
|
* Vendor ID of this device.
|
|
6615
6530
|
*
|
|
@@ -6624,12 +6539,6 @@ export interface Device {
|
|
|
6624
6539
|
|
|
6625
6540
|
// Own properties of Gdk-4.0.Gdk.Device
|
|
6626
6541
|
|
|
6627
|
-
/**
|
|
6628
|
-
* Whether Caps Lock is on.
|
|
6629
|
-
*
|
|
6630
|
-
* This is only relevant for keyboard devices.
|
|
6631
|
-
*/
|
|
6632
|
-
readonly caps_lock_state: boolean
|
|
6633
6542
|
/**
|
|
6634
6543
|
* Whether Caps Lock is on.
|
|
6635
6544
|
*
|
|
@@ -6646,42 +6555,22 @@ export interface Device {
|
|
|
6646
6555
|
* The `GdkDisplay` the `GdkDevice` pertains to.
|
|
6647
6556
|
*/
|
|
6648
6557
|
readonly display: Display
|
|
6649
|
-
/**
|
|
6650
|
-
* Whether the device has both right-to-left and left-to-right layouts.
|
|
6651
|
-
*
|
|
6652
|
-
* This is only relevant for keyboard devices.
|
|
6653
|
-
*/
|
|
6654
|
-
readonly has_bidi_layouts: boolean
|
|
6655
6558
|
/**
|
|
6656
6559
|
* Whether the device has both right-to-left and left-to-right layouts.
|
|
6657
6560
|
*
|
|
6658
6561
|
* This is only relevant for keyboard devices.
|
|
6659
6562
|
*/
|
|
6660
6563
|
readonly hasBidiLayouts: boolean
|
|
6661
|
-
/**
|
|
6662
|
-
* Whether the device is represented by a cursor on the screen.
|
|
6663
|
-
*/
|
|
6664
|
-
readonly has_cursor: boolean
|
|
6665
6564
|
/**
|
|
6666
6565
|
* Whether the device is represented by a cursor on the screen.
|
|
6667
6566
|
*/
|
|
6668
6567
|
readonly hasCursor: boolean
|
|
6669
|
-
/**
|
|
6670
|
-
* The current modifier state of the device.
|
|
6671
|
-
*
|
|
6672
|
-
* This is only relevant for keyboard devices.
|
|
6673
|
-
*/
|
|
6674
|
-
readonly modifier_state: ModifierType
|
|
6675
6568
|
/**
|
|
6676
6569
|
* The current modifier state of the device.
|
|
6677
6570
|
*
|
|
6678
6571
|
* This is only relevant for keyboard devices.
|
|
6679
6572
|
*/
|
|
6680
6573
|
readonly modifierState: ModifierType
|
|
6681
|
-
/**
|
|
6682
|
-
* Number of axes in the device.
|
|
6683
|
-
*/
|
|
6684
|
-
readonly n_axes: number
|
|
6685
6574
|
/**
|
|
6686
6575
|
* Number of axes in the device.
|
|
6687
6576
|
*/
|
|
@@ -6690,25 +6579,12 @@ export interface Device {
|
|
|
6690
6579
|
* The device name.
|
|
6691
6580
|
*/
|
|
6692
6581
|
readonly name: string | null
|
|
6693
|
-
/**
|
|
6694
|
-
* Whether Num Lock is on.
|
|
6695
|
-
*
|
|
6696
|
-
* This is only relevant for keyboard devices.
|
|
6697
|
-
*/
|
|
6698
|
-
readonly num_lock_state: boolean
|
|
6699
6582
|
/**
|
|
6700
6583
|
* Whether Num Lock is on.
|
|
6701
6584
|
*
|
|
6702
6585
|
* This is only relevant for keyboard devices.
|
|
6703
6586
|
*/
|
|
6704
6587
|
readonly numLockState: boolean
|
|
6705
|
-
/**
|
|
6706
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6707
|
-
*
|
|
6708
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6709
|
-
* of touches is unknown.
|
|
6710
|
-
*/
|
|
6711
|
-
readonly num_touches: number
|
|
6712
6588
|
/**
|
|
6713
6589
|
* The maximal number of concurrent touches on a touch device.
|
|
6714
6590
|
*
|
|
@@ -6716,24 +6592,12 @@ export interface Device {
|
|
|
6716
6592
|
* of touches is unknown.
|
|
6717
6593
|
*/
|
|
6718
6594
|
readonly numTouches: number
|
|
6719
|
-
/**
|
|
6720
|
-
* Product ID of this device.
|
|
6721
|
-
*
|
|
6722
|
-
* See [method`Gdk`.Device.get_product_id].
|
|
6723
|
-
*/
|
|
6724
|
-
readonly product_id: string | null
|
|
6725
6595
|
/**
|
|
6726
6596
|
* Product ID of this device.
|
|
6727
6597
|
*
|
|
6728
6598
|
* See [method`Gdk`.Device.get_product_id].
|
|
6729
6599
|
*/
|
|
6730
6600
|
readonly productId: string | null
|
|
6731
|
-
/**
|
|
6732
|
-
* Whether Scroll Lock is on.
|
|
6733
|
-
*
|
|
6734
|
-
* This is only relevant for keyboard devices.
|
|
6735
|
-
*/
|
|
6736
|
-
readonly scroll_lock_state: boolean
|
|
6737
6601
|
/**
|
|
6738
6602
|
* Whether Scroll Lock is on.
|
|
6739
6603
|
*
|
|
@@ -6752,12 +6616,6 @@ export interface Device {
|
|
|
6752
6616
|
* The `GdkDeviceTool` that is currently used with this device.
|
|
6753
6617
|
*/
|
|
6754
6618
|
readonly tool: DeviceTool
|
|
6755
|
-
/**
|
|
6756
|
-
* Vendor ID of this device.
|
|
6757
|
-
*
|
|
6758
|
-
* See [method`Gdk`.Device.get_vendor_id].
|
|
6759
|
-
*/
|
|
6760
|
-
readonly vendor_id: string | null
|
|
6761
6619
|
/**
|
|
6762
6620
|
* Vendor ID of this device.
|
|
6763
6621
|
*
|
|
@@ -6901,6 +6759,14 @@ export interface Device {
|
|
|
6901
6759
|
* @returns the vendor ID
|
|
6902
6760
|
*/
|
|
6903
6761
|
get_vendor_id(): string | null
|
|
6762
|
+
/**
|
|
6763
|
+
* Determines if layouts for both right-to-left and
|
|
6764
|
+
* left-to-right languages are in use on the keyboard.
|
|
6765
|
+
*
|
|
6766
|
+
* This is only relevant for keyboard devices.
|
|
6767
|
+
* @returns %TRUE if there are layouts with both directions, %FALSE otherwise
|
|
6768
|
+
*/
|
|
6769
|
+
has_bidi_layouts(): boolean
|
|
6904
6770
|
|
|
6905
6771
|
// Own signals of Gdk-4.0.Gdk.Device
|
|
6906
6772
|
|
|
@@ -7003,19 +6869,11 @@ export module DeviceTool {
|
|
|
7003
6869
|
/**
|
|
7004
6870
|
* The hardware ID of the tool.
|
|
7005
6871
|
*/
|
|
7006
|
-
|
|
6872
|
+
hardwareId?: number | null
|
|
7007
6873
|
/**
|
|
7008
6874
|
* The serial number of the tool.
|
|
7009
6875
|
*/
|
|
7010
6876
|
serial?: number | null
|
|
7011
|
-
/**
|
|
7012
|
-
* The type of the tool.
|
|
7013
|
-
*/
|
|
7014
|
-
tool_type?: DeviceToolType | null
|
|
7015
|
-
/**
|
|
7016
|
-
* The hardware ID of the tool.
|
|
7017
|
-
*/
|
|
7018
|
-
hardwareId?: number | null
|
|
7019
6877
|
/**
|
|
7020
6878
|
* The type of the tool.
|
|
7021
6879
|
*/
|
|
@@ -7032,10 +6890,6 @@ export interface DeviceTool {
|
|
|
7032
6890
|
* The axes of the tool.
|
|
7033
6891
|
*/
|
|
7034
6892
|
readonly axes: AxisFlags
|
|
7035
|
-
/**
|
|
7036
|
-
* The hardware ID of the tool.
|
|
7037
|
-
*/
|
|
7038
|
-
readonly hardware_id: number
|
|
7039
6893
|
/**
|
|
7040
6894
|
* The hardware ID of the tool.
|
|
7041
6895
|
*/
|
|
@@ -7044,10 +6898,6 @@ export interface DeviceTool {
|
|
|
7044
6898
|
* The serial number of the tool.
|
|
7045
6899
|
*/
|
|
7046
6900
|
readonly serial: number
|
|
7047
|
-
/**
|
|
7048
|
-
* The type of the tool.
|
|
7049
|
-
*/
|
|
7050
|
-
readonly tool_type: DeviceToolType
|
|
7051
6901
|
/**
|
|
7052
6902
|
* The type of the tool.
|
|
7053
6903
|
*/
|
|
@@ -7181,10 +7031,6 @@ export interface Display {
|
|
|
7181
7031
|
* %TRUE if the display properly composites the alpha channel.
|
|
7182
7032
|
*/
|
|
7183
7033
|
readonly composited: boolean
|
|
7184
|
-
/**
|
|
7185
|
-
* %TRUE if the display supports input shapes.
|
|
7186
|
-
*/
|
|
7187
|
-
readonly input_shapes: boolean
|
|
7188
7034
|
/**
|
|
7189
7035
|
* %TRUE if the display supports input shapes.
|
|
7190
7036
|
*/
|
|
@@ -7405,7 +7251,8 @@ export interface Display {
|
|
|
7405
7251
|
*/
|
|
7406
7252
|
prepare_gl(): boolean
|
|
7407
7253
|
/**
|
|
7408
|
-
*
|
|
7254
|
+
* Appends the given event onto the front of the event
|
|
7255
|
+
* queue for `display`.
|
|
7409
7256
|
* @param event a `GdkEvent`
|
|
7410
7257
|
*/
|
|
7411
7258
|
put_event(event: Event): void
|
|
@@ -7559,10 +7406,6 @@ export module DisplayManager {
|
|
|
7559
7406
|
|
|
7560
7407
|
// Own constructor properties of Gdk-4.0.Gdk.DisplayManager
|
|
7561
7408
|
|
|
7562
|
-
/**
|
|
7563
|
-
* The default display.
|
|
7564
|
-
*/
|
|
7565
|
-
default_display?: Display | null
|
|
7566
7409
|
/**
|
|
7567
7410
|
* The default display.
|
|
7568
7411
|
*/
|
|
@@ -7575,10 +7418,6 @@ export interface DisplayManager {
|
|
|
7575
7418
|
|
|
7576
7419
|
// Own properties of Gdk-4.0.Gdk.DisplayManager
|
|
7577
7420
|
|
|
7578
|
-
/**
|
|
7579
|
-
* The default display.
|
|
7580
|
-
*/
|
|
7581
|
-
default_display: Display
|
|
7582
7421
|
/**
|
|
7583
7422
|
* The default display.
|
|
7584
7423
|
*/
|
|
@@ -7747,15 +7586,11 @@ export module Drag {
|
|
|
7747
7586
|
/**
|
|
7748
7587
|
* The currently selected action of the drag.
|
|
7749
7588
|
*/
|
|
7750
|
-
|
|
7589
|
+
selectedAction?: DragAction | null
|
|
7751
7590
|
/**
|
|
7752
7591
|
* The surface where the drag originates.
|
|
7753
7592
|
*/
|
|
7754
7593
|
surface?: Surface | null
|
|
7755
|
-
/**
|
|
7756
|
-
* The currently selected action of the drag.
|
|
7757
|
-
*/
|
|
7758
|
-
selectedAction?: DragAction | null
|
|
7759
7594
|
}
|
|
7760
7595
|
|
|
7761
7596
|
}
|
|
@@ -7784,10 +7619,6 @@ export interface Drag {
|
|
|
7784
7619
|
* The possible formats that the drag can provide its data in.
|
|
7785
7620
|
*/
|
|
7786
7621
|
readonly formats: ContentFormats
|
|
7787
|
-
/**
|
|
7788
|
-
* The currently selected action of the drag.
|
|
7789
|
-
*/
|
|
7790
|
-
selected_action: DragAction
|
|
7791
7622
|
/**
|
|
7792
7623
|
* The currently selected action of the drag.
|
|
7793
7624
|
*/
|
|
@@ -8832,17 +8663,6 @@ export module GLContext {
|
|
|
8832
8663
|
|
|
8833
8664
|
// Own constructor properties of Gdk-4.0.Gdk.GLContext
|
|
8834
8665
|
|
|
8835
|
-
/**
|
|
8836
|
-
* The allowed APIs.
|
|
8837
|
-
*/
|
|
8838
|
-
allowed_apis?: GLAPI | null
|
|
8839
|
-
/**
|
|
8840
|
-
* Always %NULL
|
|
8841
|
-
*
|
|
8842
|
-
* As many contexts can share data now and no single shared context exists
|
|
8843
|
-
* anymore, this function has been deprecated and now always returns %NULL.
|
|
8844
|
-
*/
|
|
8845
|
-
shared_context?: GLContext | null
|
|
8846
8666
|
/**
|
|
8847
8667
|
* The allowed APIs.
|
|
8848
8668
|
*/
|
|
@@ -8862,10 +8682,6 @@ export interface GLContext {
|
|
|
8862
8682
|
|
|
8863
8683
|
// Own properties of Gdk-4.0.Gdk.GLContext
|
|
8864
8684
|
|
|
8865
|
-
/**
|
|
8866
|
-
* The allowed APIs.
|
|
8867
|
-
*/
|
|
8868
|
-
allowed_apis: GLAPI
|
|
8869
8685
|
/**
|
|
8870
8686
|
* The allowed APIs.
|
|
8871
8687
|
*/
|
|
@@ -8874,13 +8690,6 @@ export interface GLContext {
|
|
|
8874
8690
|
* The API currently in use.
|
|
8875
8691
|
*/
|
|
8876
8692
|
readonly api: GLAPI
|
|
8877
|
-
/**
|
|
8878
|
-
* Always %NULL
|
|
8879
|
-
*
|
|
8880
|
-
* As many contexts can share data now and no single shared context exists
|
|
8881
|
-
* anymore, this function has been deprecated and now always returns %NULL.
|
|
8882
|
-
*/
|
|
8883
|
-
readonly shared_context: GLContext
|
|
8884
8693
|
/**
|
|
8885
8694
|
* Always %NULL
|
|
8886
8695
|
*
|
|
@@ -9274,7 +9083,7 @@ export module GLTextureBuilder {
|
|
|
9274
9083
|
/**
|
|
9275
9084
|
* If the texture has a mipmap.
|
|
9276
9085
|
*/
|
|
9277
|
-
|
|
9086
|
+
hasMipmap?: boolean | null
|
|
9278
9087
|
/**
|
|
9279
9088
|
* The height of the texture.
|
|
9280
9089
|
*/
|
|
@@ -9292,27 +9101,15 @@ export module GLTextureBuilder {
|
|
|
9292
9101
|
/**
|
|
9293
9102
|
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9294
9103
|
*/
|
|
9295
|
-
|
|
9104
|
+
updateRegion?: cairo.Region | null
|
|
9296
9105
|
/**
|
|
9297
9106
|
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9298
9107
|
*/
|
|
9299
|
-
|
|
9108
|
+
updateTexture?: Texture | null
|
|
9300
9109
|
/**
|
|
9301
9110
|
* The width of the texture.
|
|
9302
9111
|
*/
|
|
9303
9112
|
width?: number | null
|
|
9304
|
-
/**
|
|
9305
|
-
* If the texture has a mipmap.
|
|
9306
|
-
*/
|
|
9307
|
-
hasMipmap?: boolean | null
|
|
9308
|
-
/**
|
|
9309
|
-
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9310
|
-
*/
|
|
9311
|
-
updateRegion?: cairo.Region | null
|
|
9312
|
-
/**
|
|
9313
|
-
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9314
|
-
*/
|
|
9315
|
-
updateTexture?: Texture | null
|
|
9316
9113
|
}
|
|
9317
9114
|
|
|
9318
9115
|
}
|
|
@@ -9329,10 +9126,6 @@ export interface GLTextureBuilder {
|
|
|
9329
9126
|
* The format when downloading the texture.
|
|
9330
9127
|
*/
|
|
9331
9128
|
format: MemoryFormat
|
|
9332
|
-
/**
|
|
9333
|
-
* If the texture has a mipmap.
|
|
9334
|
-
*/
|
|
9335
|
-
has_mipmap: boolean
|
|
9336
9129
|
/**
|
|
9337
9130
|
* If the texture has a mipmap.
|
|
9338
9131
|
*/
|
|
@@ -9351,18 +9144,10 @@ export interface GLTextureBuilder {
|
|
|
9351
9144
|
* If this is set, GTK will wait on it before using the texture.
|
|
9352
9145
|
*/
|
|
9353
9146
|
sync: any
|
|
9354
|
-
/**
|
|
9355
|
-
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9356
|
-
*/
|
|
9357
|
-
update_region: cairo.Region
|
|
9358
9147
|
/**
|
|
9359
9148
|
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9360
9149
|
*/
|
|
9361
9150
|
updateRegion: cairo.Region
|
|
9362
|
-
/**
|
|
9363
|
-
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9364
|
-
*/
|
|
9365
|
-
update_texture: Texture
|
|
9366
9151
|
/**
|
|
9367
9152
|
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9368
9153
|
*/
|
|
@@ -9822,10 +9607,6 @@ export interface Monitor {
|
|
|
9822
9607
|
* The geometry of the monitor.
|
|
9823
9608
|
*/
|
|
9824
9609
|
readonly geometry: Rectangle
|
|
9825
|
-
/**
|
|
9826
|
-
* The height of the monitor, in millimeters.
|
|
9827
|
-
*/
|
|
9828
|
-
readonly height_mm: number
|
|
9829
9610
|
/**
|
|
9830
9611
|
* The height of the monitor, in millimeters.
|
|
9831
9612
|
*/
|
|
@@ -9838,26 +9619,14 @@ export interface Monitor {
|
|
|
9838
9619
|
* The model name.
|
|
9839
9620
|
*/
|
|
9840
9621
|
readonly model: string | null
|
|
9841
|
-
/**
|
|
9842
|
-
* The refresh rate, in milli-Hertz.
|
|
9843
|
-
*/
|
|
9844
|
-
readonly refresh_rate: number
|
|
9845
9622
|
/**
|
|
9846
9623
|
* The refresh rate, in milli-Hertz.
|
|
9847
9624
|
*/
|
|
9848
9625
|
readonly refreshRate: number
|
|
9849
|
-
/**
|
|
9850
|
-
* The scale factor.
|
|
9851
|
-
*/
|
|
9852
|
-
readonly scale_factor: number
|
|
9853
9626
|
/**
|
|
9854
9627
|
* The scale factor.
|
|
9855
9628
|
*/
|
|
9856
9629
|
readonly scaleFactor: number
|
|
9857
|
-
/**
|
|
9858
|
-
* The subpixel layout.
|
|
9859
|
-
*/
|
|
9860
|
-
readonly subpixel_layout: SubpixelLayout
|
|
9861
9630
|
/**
|
|
9862
9631
|
* The subpixel layout.
|
|
9863
9632
|
*/
|
|
@@ -9866,10 +9635,6 @@ export interface Monitor {
|
|
|
9866
9635
|
* Whether the object is still valid.
|
|
9867
9636
|
*/
|
|
9868
9637
|
readonly valid: boolean
|
|
9869
|
-
/**
|
|
9870
|
-
* The width of the monitor, in millimeters.
|
|
9871
|
-
*/
|
|
9872
|
-
readonly width_mm: number
|
|
9873
9638
|
/**
|
|
9874
9639
|
* The width of the monitor, in millimeters.
|
|
9875
9640
|
*/
|
|
@@ -10384,10 +10149,6 @@ export module Surface {
|
|
|
10384
10149
|
* The `GdkDisplay` connection of the surface.
|
|
10385
10150
|
*/
|
|
10386
10151
|
display?: Display | null
|
|
10387
|
-
/**
|
|
10388
|
-
* The `GdkFrameClock` of the surface.
|
|
10389
|
-
*/
|
|
10390
|
-
frame_clock?: FrameClock | null
|
|
10391
10152
|
/**
|
|
10392
10153
|
* The `GdkFrameClock` of the surface.
|
|
10393
10154
|
*/
|
|
@@ -10408,10 +10169,6 @@ export interface Surface {
|
|
|
10408
10169
|
* The `GdkDisplay` connection of the surface.
|
|
10409
10170
|
*/
|
|
10410
10171
|
readonly display: Display
|
|
10411
|
-
/**
|
|
10412
|
-
* The `GdkFrameClock` of the surface.
|
|
10413
|
-
*/
|
|
10414
|
-
readonly frame_clock: FrameClock
|
|
10415
10172
|
/**
|
|
10416
10173
|
* The `GdkFrameClock` of the surface.
|
|
10417
10174
|
*/
|
|
@@ -10428,13 +10185,6 @@ export interface Surface {
|
|
|
10428
10185
|
* The scale of the surface.
|
|
10429
10186
|
*/
|
|
10430
10187
|
readonly scale: number
|
|
10431
|
-
/**
|
|
10432
|
-
* The scale factor of the surface.
|
|
10433
|
-
*
|
|
10434
|
-
* The scale factor is the next larger integer,
|
|
10435
|
-
* compared to [property`Gdk`.Surface:scale].
|
|
10436
|
-
*/
|
|
10437
|
-
readonly scale_factor: number
|
|
10438
10188
|
/**
|
|
10439
10189
|
* The scale factor of the surface.
|
|
10440
10190
|
*
|
package/gdk-4.0.d.ts
CHANGED
|
@@ -4714,11 +4714,11 @@ module Toplevel {
|
|
|
4714
4714
|
/**
|
|
4715
4715
|
* The fullscreen mode of the surface.
|
|
4716
4716
|
*/
|
|
4717
|
-
|
|
4717
|
+
fullscreenMode?: FullscreenMode | null
|
|
4718
4718
|
/**
|
|
4719
4719
|
* A list of textures to use as icon.
|
|
4720
4720
|
*/
|
|
4721
|
-
|
|
4721
|
+
iconList?: any | null
|
|
4722
4722
|
/**
|
|
4723
4723
|
* Whether the surface is modal.
|
|
4724
4724
|
*/
|
|
@@ -4729,30 +4729,11 @@ module Toplevel {
|
|
|
4729
4729
|
* See [class`Gdk`.AppLaunchContext] for more information about
|
|
4730
4730
|
* startup feedback.
|
|
4731
4731
|
*/
|
|
4732
|
-
|
|
4732
|
+
startupId?: string | null
|
|
4733
4733
|
/**
|
|
4734
4734
|
* The title of the surface.
|
|
4735
4735
|
*/
|
|
4736
4736
|
title?: string | null
|
|
4737
|
-
/**
|
|
4738
|
-
* The transient parent of the surface.
|
|
4739
|
-
*/
|
|
4740
|
-
transient_for?: Surface | null
|
|
4741
|
-
/**
|
|
4742
|
-
* The fullscreen mode of the surface.
|
|
4743
|
-
*/
|
|
4744
|
-
fullscreenMode?: FullscreenMode | null
|
|
4745
|
-
/**
|
|
4746
|
-
* A list of textures to use as icon.
|
|
4747
|
-
*/
|
|
4748
|
-
iconList?: any | null
|
|
4749
|
-
/**
|
|
4750
|
-
* The startup ID of the surface.
|
|
4751
|
-
*
|
|
4752
|
-
* See [class`Gdk`.AppLaunchContext] for more information about
|
|
4753
|
-
* startup feedback.
|
|
4754
|
-
*/
|
|
4755
|
-
startupId?: string | null
|
|
4756
4737
|
/**
|
|
4757
4738
|
* The transient parent of the surface.
|
|
4758
4739
|
*/
|
|
@@ -4773,18 +4754,10 @@ interface Toplevel extends Surface {
|
|
|
4773
4754
|
* Whether the window manager should allow to close the surface.
|
|
4774
4755
|
*/
|
|
4775
4756
|
deletable: boolean
|
|
4776
|
-
/**
|
|
4777
|
-
* The fullscreen mode of the surface.
|
|
4778
|
-
*/
|
|
4779
|
-
fullscreen_mode: FullscreenMode
|
|
4780
4757
|
/**
|
|
4781
4758
|
* The fullscreen mode of the surface.
|
|
4782
4759
|
*/
|
|
4783
4760
|
fullscreenMode: FullscreenMode
|
|
4784
|
-
/**
|
|
4785
|
-
* A list of textures to use as icon.
|
|
4786
|
-
*/
|
|
4787
|
-
icon_list: any
|
|
4788
4761
|
/**
|
|
4789
4762
|
* A list of textures to use as icon.
|
|
4790
4763
|
*/
|
|
@@ -4793,21 +4766,10 @@ interface Toplevel extends Surface {
|
|
|
4793
4766
|
* Whether the surface is modal.
|
|
4794
4767
|
*/
|
|
4795
4768
|
modal: boolean
|
|
4796
|
-
/**
|
|
4797
|
-
* Whether the surface should inhibit keyboard shortcuts.
|
|
4798
|
-
*/
|
|
4799
|
-
readonly shortcuts_inhibited: boolean
|
|
4800
4769
|
/**
|
|
4801
4770
|
* Whether the surface should inhibit keyboard shortcuts.
|
|
4802
4771
|
*/
|
|
4803
4772
|
readonly shortcutsInhibited: boolean
|
|
4804
|
-
/**
|
|
4805
|
-
* The startup ID of the surface.
|
|
4806
|
-
*
|
|
4807
|
-
* See [class`Gdk`.AppLaunchContext] for more information about
|
|
4808
|
-
* startup feedback.
|
|
4809
|
-
*/
|
|
4810
|
-
startup_id: string | null
|
|
4811
4773
|
/**
|
|
4812
4774
|
* The startup ID of the surface.
|
|
4813
4775
|
*
|
|
@@ -4823,10 +4785,6 @@ interface Toplevel extends Surface {
|
|
|
4823
4785
|
* The title of the surface.
|
|
4824
4786
|
*/
|
|
4825
4787
|
title: string | null
|
|
4826
|
-
/**
|
|
4827
|
-
* The transient parent of the surface.
|
|
4828
|
-
*/
|
|
4829
|
-
transient_for: Surface
|
|
4830
4788
|
/**
|
|
4831
4789
|
* The transient parent of the surface.
|
|
4832
4790
|
*/
|
|
@@ -5861,10 +5819,6 @@ interface ContentProvider {
|
|
|
5861
5819
|
* The possible formats that the provider can provide its data in.
|
|
5862
5820
|
*/
|
|
5863
5821
|
readonly formats: ContentFormats
|
|
5864
|
-
/**
|
|
5865
|
-
* The subset of formats that clipboard managers should store this provider's data in.
|
|
5866
|
-
*/
|
|
5867
|
-
readonly storable_formats: ContentFormats
|
|
5868
5822
|
/**
|
|
5869
5823
|
* The subset of formats that clipboard managers should store this provider's data in.
|
|
5870
5824
|
*/
|
|
@@ -6273,11 +6227,11 @@ module Cursor {
|
|
|
6273
6227
|
/**
|
|
6274
6228
|
* X position of the cursor hotspot in the cursor image.
|
|
6275
6229
|
*/
|
|
6276
|
-
|
|
6230
|
+
hotspotX?: number | null
|
|
6277
6231
|
/**
|
|
6278
6232
|
* Y position of the cursor hotspot in the cursor image.
|
|
6279
6233
|
*/
|
|
6280
|
-
|
|
6234
|
+
hotspotY?: number | null
|
|
6281
6235
|
/**
|
|
6282
6236
|
* Name of this this cursor.
|
|
6283
6237
|
*
|
|
@@ -6290,14 +6244,6 @@ module Cursor {
|
|
|
6290
6244
|
* The texture will be %NULL if the cursor was created from a name.
|
|
6291
6245
|
*/
|
|
6292
6246
|
texture?: Texture | null
|
|
6293
|
-
/**
|
|
6294
|
-
* X position of the cursor hotspot in the cursor image.
|
|
6295
|
-
*/
|
|
6296
|
-
hotspotX?: number | null
|
|
6297
|
-
/**
|
|
6298
|
-
* Y position of the cursor hotspot in the cursor image.
|
|
6299
|
-
*/
|
|
6300
|
-
hotspotY?: number | null
|
|
6301
6247
|
}
|
|
6302
6248
|
|
|
6303
6249
|
}
|
|
@@ -6310,18 +6256,10 @@ interface Cursor {
|
|
|
6310
6256
|
* Cursor to fall back to if this cursor cannot be displayed.
|
|
6311
6257
|
*/
|
|
6312
6258
|
readonly fallback: Cursor
|
|
6313
|
-
/**
|
|
6314
|
-
* X position of the cursor hotspot in the cursor image.
|
|
6315
|
-
*/
|
|
6316
|
-
readonly hotspot_x: number
|
|
6317
6259
|
/**
|
|
6318
6260
|
* X position of the cursor hotspot in the cursor image.
|
|
6319
6261
|
*/
|
|
6320
6262
|
readonly hotspotX: number
|
|
6321
|
-
/**
|
|
6322
|
-
* Y position of the cursor hotspot in the cursor image.
|
|
6323
|
-
*/
|
|
6324
|
-
readonly hotspot_y: number
|
|
6325
6263
|
/**
|
|
6326
6264
|
* Y position of the cursor hotspot in the cursor image.
|
|
6327
6265
|
*/
|
|
@@ -6563,7 +6501,7 @@ module Device {
|
|
|
6563
6501
|
/**
|
|
6564
6502
|
* Whether the device is represented by a cursor on the screen.
|
|
6565
6503
|
*/
|
|
6566
|
-
|
|
6504
|
+
hasCursor?: boolean | null
|
|
6567
6505
|
/**
|
|
6568
6506
|
* The device name.
|
|
6569
6507
|
*/
|
|
@@ -6574,13 +6512,13 @@ module Device {
|
|
|
6574
6512
|
* Will be 0 if the device is not a touch device or if the number
|
|
6575
6513
|
* of touches is unknown.
|
|
6576
6514
|
*/
|
|
6577
|
-
|
|
6515
|
+
numTouches?: number | null
|
|
6578
6516
|
/**
|
|
6579
6517
|
* Product ID of this device.
|
|
6580
6518
|
*
|
|
6581
6519
|
* See [method`Gdk`.Device.get_product_id].
|
|
6582
6520
|
*/
|
|
6583
|
-
|
|
6521
|
+
productId?: string | null
|
|
6584
6522
|
/**
|
|
6585
6523
|
* `GdkSeat` of this device.
|
|
6586
6524
|
*/
|
|
@@ -6589,29 +6527,6 @@ module Device {
|
|
|
6589
6527
|
* Source type for the device.
|
|
6590
6528
|
*/
|
|
6591
6529
|
source?: InputSource | null
|
|
6592
|
-
/**
|
|
6593
|
-
* Vendor ID of this device.
|
|
6594
|
-
*
|
|
6595
|
-
* See [method`Gdk`.Device.get_vendor_id].
|
|
6596
|
-
*/
|
|
6597
|
-
vendor_id?: string | null
|
|
6598
|
-
/**
|
|
6599
|
-
* Whether the device is represented by a cursor on the screen.
|
|
6600
|
-
*/
|
|
6601
|
-
hasCursor?: boolean | null
|
|
6602
|
-
/**
|
|
6603
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6604
|
-
*
|
|
6605
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6606
|
-
* of touches is unknown.
|
|
6607
|
-
*/
|
|
6608
|
-
numTouches?: number | null
|
|
6609
|
-
/**
|
|
6610
|
-
* Product ID of this device.
|
|
6611
|
-
*
|
|
6612
|
-
* See [method`Gdk`.Device.get_product_id].
|
|
6613
|
-
*/
|
|
6614
|
-
productId?: string | null
|
|
6615
6530
|
/**
|
|
6616
6531
|
* Vendor ID of this device.
|
|
6617
6532
|
*
|
|
@@ -6626,12 +6541,6 @@ interface Device {
|
|
|
6626
6541
|
|
|
6627
6542
|
// Own properties of Gdk-4.0.Gdk.Device
|
|
6628
6543
|
|
|
6629
|
-
/**
|
|
6630
|
-
* Whether Caps Lock is on.
|
|
6631
|
-
*
|
|
6632
|
-
* This is only relevant for keyboard devices.
|
|
6633
|
-
*/
|
|
6634
|
-
readonly caps_lock_state: boolean
|
|
6635
6544
|
/**
|
|
6636
6545
|
* Whether Caps Lock is on.
|
|
6637
6546
|
*
|
|
@@ -6648,42 +6557,22 @@ interface Device {
|
|
|
6648
6557
|
* The `GdkDisplay` the `GdkDevice` pertains to.
|
|
6649
6558
|
*/
|
|
6650
6559
|
readonly display: Display
|
|
6651
|
-
/**
|
|
6652
|
-
* Whether the device has both right-to-left and left-to-right layouts.
|
|
6653
|
-
*
|
|
6654
|
-
* This is only relevant for keyboard devices.
|
|
6655
|
-
*/
|
|
6656
|
-
readonly has_bidi_layouts: boolean
|
|
6657
6560
|
/**
|
|
6658
6561
|
* Whether the device has both right-to-left and left-to-right layouts.
|
|
6659
6562
|
*
|
|
6660
6563
|
* This is only relevant for keyboard devices.
|
|
6661
6564
|
*/
|
|
6662
6565
|
readonly hasBidiLayouts: boolean
|
|
6663
|
-
/**
|
|
6664
|
-
* Whether the device is represented by a cursor on the screen.
|
|
6665
|
-
*/
|
|
6666
|
-
readonly has_cursor: boolean
|
|
6667
6566
|
/**
|
|
6668
6567
|
* Whether the device is represented by a cursor on the screen.
|
|
6669
6568
|
*/
|
|
6670
6569
|
readonly hasCursor: boolean
|
|
6671
|
-
/**
|
|
6672
|
-
* The current modifier state of the device.
|
|
6673
|
-
*
|
|
6674
|
-
* This is only relevant for keyboard devices.
|
|
6675
|
-
*/
|
|
6676
|
-
readonly modifier_state: ModifierType
|
|
6677
6570
|
/**
|
|
6678
6571
|
* The current modifier state of the device.
|
|
6679
6572
|
*
|
|
6680
6573
|
* This is only relevant for keyboard devices.
|
|
6681
6574
|
*/
|
|
6682
6575
|
readonly modifierState: ModifierType
|
|
6683
|
-
/**
|
|
6684
|
-
* Number of axes in the device.
|
|
6685
|
-
*/
|
|
6686
|
-
readonly n_axes: number
|
|
6687
6576
|
/**
|
|
6688
6577
|
* Number of axes in the device.
|
|
6689
6578
|
*/
|
|
@@ -6692,25 +6581,12 @@ interface Device {
|
|
|
6692
6581
|
* The device name.
|
|
6693
6582
|
*/
|
|
6694
6583
|
readonly name: string | null
|
|
6695
|
-
/**
|
|
6696
|
-
* Whether Num Lock is on.
|
|
6697
|
-
*
|
|
6698
|
-
* This is only relevant for keyboard devices.
|
|
6699
|
-
*/
|
|
6700
|
-
readonly num_lock_state: boolean
|
|
6701
6584
|
/**
|
|
6702
6585
|
* Whether Num Lock is on.
|
|
6703
6586
|
*
|
|
6704
6587
|
* This is only relevant for keyboard devices.
|
|
6705
6588
|
*/
|
|
6706
6589
|
readonly numLockState: boolean
|
|
6707
|
-
/**
|
|
6708
|
-
* The maximal number of concurrent touches on a touch device.
|
|
6709
|
-
*
|
|
6710
|
-
* Will be 0 if the device is not a touch device or if the number
|
|
6711
|
-
* of touches is unknown.
|
|
6712
|
-
*/
|
|
6713
|
-
readonly num_touches: number
|
|
6714
6590
|
/**
|
|
6715
6591
|
* The maximal number of concurrent touches on a touch device.
|
|
6716
6592
|
*
|
|
@@ -6718,24 +6594,12 @@ interface Device {
|
|
|
6718
6594
|
* of touches is unknown.
|
|
6719
6595
|
*/
|
|
6720
6596
|
readonly numTouches: number
|
|
6721
|
-
/**
|
|
6722
|
-
* Product ID of this device.
|
|
6723
|
-
*
|
|
6724
|
-
* See [method`Gdk`.Device.get_product_id].
|
|
6725
|
-
*/
|
|
6726
|
-
readonly product_id: string | null
|
|
6727
6597
|
/**
|
|
6728
6598
|
* Product ID of this device.
|
|
6729
6599
|
*
|
|
6730
6600
|
* See [method`Gdk`.Device.get_product_id].
|
|
6731
6601
|
*/
|
|
6732
6602
|
readonly productId: string | null
|
|
6733
|
-
/**
|
|
6734
|
-
* Whether Scroll Lock is on.
|
|
6735
|
-
*
|
|
6736
|
-
* This is only relevant for keyboard devices.
|
|
6737
|
-
*/
|
|
6738
|
-
readonly scroll_lock_state: boolean
|
|
6739
6603
|
/**
|
|
6740
6604
|
* Whether Scroll Lock is on.
|
|
6741
6605
|
*
|
|
@@ -6754,12 +6618,6 @@ interface Device {
|
|
|
6754
6618
|
* The `GdkDeviceTool` that is currently used with this device.
|
|
6755
6619
|
*/
|
|
6756
6620
|
readonly tool: DeviceTool
|
|
6757
|
-
/**
|
|
6758
|
-
* Vendor ID of this device.
|
|
6759
|
-
*
|
|
6760
|
-
* See [method`Gdk`.Device.get_vendor_id].
|
|
6761
|
-
*/
|
|
6762
|
-
readonly vendor_id: string | null
|
|
6763
6621
|
/**
|
|
6764
6622
|
* Vendor ID of this device.
|
|
6765
6623
|
*
|
|
@@ -6903,6 +6761,14 @@ interface Device {
|
|
|
6903
6761
|
* @returns the vendor ID
|
|
6904
6762
|
*/
|
|
6905
6763
|
get_vendor_id(): string | null
|
|
6764
|
+
/**
|
|
6765
|
+
* Determines if layouts for both right-to-left and
|
|
6766
|
+
* left-to-right languages are in use on the keyboard.
|
|
6767
|
+
*
|
|
6768
|
+
* This is only relevant for keyboard devices.
|
|
6769
|
+
* @returns %TRUE if there are layouts with both directions, %FALSE otherwise
|
|
6770
|
+
*/
|
|
6771
|
+
has_bidi_layouts(): boolean
|
|
6906
6772
|
|
|
6907
6773
|
// Own signals of Gdk-4.0.Gdk.Device
|
|
6908
6774
|
|
|
@@ -7005,19 +6871,11 @@ module DeviceTool {
|
|
|
7005
6871
|
/**
|
|
7006
6872
|
* The hardware ID of the tool.
|
|
7007
6873
|
*/
|
|
7008
|
-
|
|
6874
|
+
hardwareId?: number | null
|
|
7009
6875
|
/**
|
|
7010
6876
|
* The serial number of the tool.
|
|
7011
6877
|
*/
|
|
7012
6878
|
serial?: number | null
|
|
7013
|
-
/**
|
|
7014
|
-
* The type of the tool.
|
|
7015
|
-
*/
|
|
7016
|
-
tool_type?: DeviceToolType | null
|
|
7017
|
-
/**
|
|
7018
|
-
* The hardware ID of the tool.
|
|
7019
|
-
*/
|
|
7020
|
-
hardwareId?: number | null
|
|
7021
6879
|
/**
|
|
7022
6880
|
* The type of the tool.
|
|
7023
6881
|
*/
|
|
@@ -7034,10 +6892,6 @@ interface DeviceTool {
|
|
|
7034
6892
|
* The axes of the tool.
|
|
7035
6893
|
*/
|
|
7036
6894
|
readonly axes: AxisFlags
|
|
7037
|
-
/**
|
|
7038
|
-
* The hardware ID of the tool.
|
|
7039
|
-
*/
|
|
7040
|
-
readonly hardware_id: number
|
|
7041
6895
|
/**
|
|
7042
6896
|
* The hardware ID of the tool.
|
|
7043
6897
|
*/
|
|
@@ -7046,10 +6900,6 @@ interface DeviceTool {
|
|
|
7046
6900
|
* The serial number of the tool.
|
|
7047
6901
|
*/
|
|
7048
6902
|
readonly serial: number
|
|
7049
|
-
/**
|
|
7050
|
-
* The type of the tool.
|
|
7051
|
-
*/
|
|
7052
|
-
readonly tool_type: DeviceToolType
|
|
7053
6903
|
/**
|
|
7054
6904
|
* The type of the tool.
|
|
7055
6905
|
*/
|
|
@@ -7183,10 +7033,6 @@ interface Display {
|
|
|
7183
7033
|
* %TRUE if the display properly composites the alpha channel.
|
|
7184
7034
|
*/
|
|
7185
7035
|
readonly composited: boolean
|
|
7186
|
-
/**
|
|
7187
|
-
* %TRUE if the display supports input shapes.
|
|
7188
|
-
*/
|
|
7189
|
-
readonly input_shapes: boolean
|
|
7190
7036
|
/**
|
|
7191
7037
|
* %TRUE if the display supports input shapes.
|
|
7192
7038
|
*/
|
|
@@ -7407,7 +7253,8 @@ interface Display {
|
|
|
7407
7253
|
*/
|
|
7408
7254
|
prepare_gl(): boolean
|
|
7409
7255
|
/**
|
|
7410
|
-
*
|
|
7256
|
+
* Appends the given event onto the front of the event
|
|
7257
|
+
* queue for `display`.
|
|
7411
7258
|
* @param event a `GdkEvent`
|
|
7412
7259
|
*/
|
|
7413
7260
|
put_event(event: Event): void
|
|
@@ -7561,10 +7408,6 @@ module DisplayManager {
|
|
|
7561
7408
|
|
|
7562
7409
|
// Own constructor properties of Gdk-4.0.Gdk.DisplayManager
|
|
7563
7410
|
|
|
7564
|
-
/**
|
|
7565
|
-
* The default display.
|
|
7566
|
-
*/
|
|
7567
|
-
default_display?: Display | null
|
|
7568
7411
|
/**
|
|
7569
7412
|
* The default display.
|
|
7570
7413
|
*/
|
|
@@ -7577,10 +7420,6 @@ interface DisplayManager {
|
|
|
7577
7420
|
|
|
7578
7421
|
// Own properties of Gdk-4.0.Gdk.DisplayManager
|
|
7579
7422
|
|
|
7580
|
-
/**
|
|
7581
|
-
* The default display.
|
|
7582
|
-
*/
|
|
7583
|
-
default_display: Display
|
|
7584
7423
|
/**
|
|
7585
7424
|
* The default display.
|
|
7586
7425
|
*/
|
|
@@ -7749,15 +7588,11 @@ module Drag {
|
|
|
7749
7588
|
/**
|
|
7750
7589
|
* The currently selected action of the drag.
|
|
7751
7590
|
*/
|
|
7752
|
-
|
|
7591
|
+
selectedAction?: DragAction | null
|
|
7753
7592
|
/**
|
|
7754
7593
|
* The surface where the drag originates.
|
|
7755
7594
|
*/
|
|
7756
7595
|
surface?: Surface | null
|
|
7757
|
-
/**
|
|
7758
|
-
* The currently selected action of the drag.
|
|
7759
|
-
*/
|
|
7760
|
-
selectedAction?: DragAction | null
|
|
7761
7596
|
}
|
|
7762
7597
|
|
|
7763
7598
|
}
|
|
@@ -7786,10 +7621,6 @@ interface Drag {
|
|
|
7786
7621
|
* The possible formats that the drag can provide its data in.
|
|
7787
7622
|
*/
|
|
7788
7623
|
readonly formats: ContentFormats
|
|
7789
|
-
/**
|
|
7790
|
-
* The currently selected action of the drag.
|
|
7791
|
-
*/
|
|
7792
|
-
selected_action: DragAction
|
|
7793
7624
|
/**
|
|
7794
7625
|
* The currently selected action of the drag.
|
|
7795
7626
|
*/
|
|
@@ -8834,17 +8665,6 @@ module GLContext {
|
|
|
8834
8665
|
|
|
8835
8666
|
// Own constructor properties of Gdk-4.0.Gdk.GLContext
|
|
8836
8667
|
|
|
8837
|
-
/**
|
|
8838
|
-
* The allowed APIs.
|
|
8839
|
-
*/
|
|
8840
|
-
allowed_apis?: GLAPI | null
|
|
8841
|
-
/**
|
|
8842
|
-
* Always %NULL
|
|
8843
|
-
*
|
|
8844
|
-
* As many contexts can share data now and no single shared context exists
|
|
8845
|
-
* anymore, this function has been deprecated and now always returns %NULL.
|
|
8846
|
-
*/
|
|
8847
|
-
shared_context?: GLContext | null
|
|
8848
8668
|
/**
|
|
8849
8669
|
* The allowed APIs.
|
|
8850
8670
|
*/
|
|
@@ -8864,10 +8684,6 @@ interface GLContext {
|
|
|
8864
8684
|
|
|
8865
8685
|
// Own properties of Gdk-4.0.Gdk.GLContext
|
|
8866
8686
|
|
|
8867
|
-
/**
|
|
8868
|
-
* The allowed APIs.
|
|
8869
|
-
*/
|
|
8870
|
-
allowed_apis: GLAPI
|
|
8871
8687
|
/**
|
|
8872
8688
|
* The allowed APIs.
|
|
8873
8689
|
*/
|
|
@@ -8876,13 +8692,6 @@ interface GLContext {
|
|
|
8876
8692
|
* The API currently in use.
|
|
8877
8693
|
*/
|
|
8878
8694
|
readonly api: GLAPI
|
|
8879
|
-
/**
|
|
8880
|
-
* Always %NULL
|
|
8881
|
-
*
|
|
8882
|
-
* As many contexts can share data now and no single shared context exists
|
|
8883
|
-
* anymore, this function has been deprecated and now always returns %NULL.
|
|
8884
|
-
*/
|
|
8885
|
-
readonly shared_context: GLContext
|
|
8886
8695
|
/**
|
|
8887
8696
|
* Always %NULL
|
|
8888
8697
|
*
|
|
@@ -9276,7 +9085,7 @@ module GLTextureBuilder {
|
|
|
9276
9085
|
/**
|
|
9277
9086
|
* If the texture has a mipmap.
|
|
9278
9087
|
*/
|
|
9279
|
-
|
|
9088
|
+
hasMipmap?: boolean | null
|
|
9280
9089
|
/**
|
|
9281
9090
|
* The height of the texture.
|
|
9282
9091
|
*/
|
|
@@ -9294,27 +9103,15 @@ module GLTextureBuilder {
|
|
|
9294
9103
|
/**
|
|
9295
9104
|
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9296
9105
|
*/
|
|
9297
|
-
|
|
9106
|
+
updateRegion?: cairo.Region | null
|
|
9298
9107
|
/**
|
|
9299
9108
|
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9300
9109
|
*/
|
|
9301
|
-
|
|
9110
|
+
updateTexture?: Texture | null
|
|
9302
9111
|
/**
|
|
9303
9112
|
* The width of the texture.
|
|
9304
9113
|
*/
|
|
9305
9114
|
width?: number | null
|
|
9306
|
-
/**
|
|
9307
|
-
* If the texture has a mipmap.
|
|
9308
|
-
*/
|
|
9309
|
-
hasMipmap?: boolean | null
|
|
9310
|
-
/**
|
|
9311
|
-
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9312
|
-
*/
|
|
9313
|
-
updateRegion?: cairo.Region | null
|
|
9314
|
-
/**
|
|
9315
|
-
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9316
|
-
*/
|
|
9317
|
-
updateTexture?: Texture | null
|
|
9318
9115
|
}
|
|
9319
9116
|
|
|
9320
9117
|
}
|
|
@@ -9331,10 +9128,6 @@ interface GLTextureBuilder {
|
|
|
9331
9128
|
* The format when downloading the texture.
|
|
9332
9129
|
*/
|
|
9333
9130
|
format: MemoryFormat
|
|
9334
|
-
/**
|
|
9335
|
-
* If the texture has a mipmap.
|
|
9336
|
-
*/
|
|
9337
|
-
has_mipmap: boolean
|
|
9338
9131
|
/**
|
|
9339
9132
|
* If the texture has a mipmap.
|
|
9340
9133
|
*/
|
|
@@ -9353,18 +9146,10 @@ interface GLTextureBuilder {
|
|
|
9353
9146
|
* If this is set, GTK will wait on it before using the texture.
|
|
9354
9147
|
*/
|
|
9355
9148
|
sync: any
|
|
9356
|
-
/**
|
|
9357
|
-
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9358
|
-
*/
|
|
9359
|
-
update_region: cairo.Region
|
|
9360
9149
|
/**
|
|
9361
9150
|
* The update region for [property`Gdk`.GLTextureBuilder:update-texture].
|
|
9362
9151
|
*/
|
|
9363
9152
|
updateRegion: cairo.Region
|
|
9364
|
-
/**
|
|
9365
|
-
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9366
|
-
*/
|
|
9367
|
-
update_texture: Texture
|
|
9368
9153
|
/**
|
|
9369
9154
|
* The texture [property`Gdk`.GLTextureBuilder:update-region] is an update for.
|
|
9370
9155
|
*/
|
|
@@ -9824,10 +9609,6 @@ interface Monitor {
|
|
|
9824
9609
|
* The geometry of the monitor.
|
|
9825
9610
|
*/
|
|
9826
9611
|
readonly geometry: Rectangle
|
|
9827
|
-
/**
|
|
9828
|
-
* The height of the monitor, in millimeters.
|
|
9829
|
-
*/
|
|
9830
|
-
readonly height_mm: number
|
|
9831
9612
|
/**
|
|
9832
9613
|
* The height of the monitor, in millimeters.
|
|
9833
9614
|
*/
|
|
@@ -9840,26 +9621,14 @@ interface Monitor {
|
|
|
9840
9621
|
* The model name.
|
|
9841
9622
|
*/
|
|
9842
9623
|
readonly model: string | null
|
|
9843
|
-
/**
|
|
9844
|
-
* The refresh rate, in milli-Hertz.
|
|
9845
|
-
*/
|
|
9846
|
-
readonly refresh_rate: number
|
|
9847
9624
|
/**
|
|
9848
9625
|
* The refresh rate, in milli-Hertz.
|
|
9849
9626
|
*/
|
|
9850
9627
|
readonly refreshRate: number
|
|
9851
|
-
/**
|
|
9852
|
-
* The scale factor.
|
|
9853
|
-
*/
|
|
9854
|
-
readonly scale_factor: number
|
|
9855
9628
|
/**
|
|
9856
9629
|
* The scale factor.
|
|
9857
9630
|
*/
|
|
9858
9631
|
readonly scaleFactor: number
|
|
9859
|
-
/**
|
|
9860
|
-
* The subpixel layout.
|
|
9861
|
-
*/
|
|
9862
|
-
readonly subpixel_layout: SubpixelLayout
|
|
9863
9632
|
/**
|
|
9864
9633
|
* The subpixel layout.
|
|
9865
9634
|
*/
|
|
@@ -9868,10 +9637,6 @@ interface Monitor {
|
|
|
9868
9637
|
* Whether the object is still valid.
|
|
9869
9638
|
*/
|
|
9870
9639
|
readonly valid: boolean
|
|
9871
|
-
/**
|
|
9872
|
-
* The width of the monitor, in millimeters.
|
|
9873
|
-
*/
|
|
9874
|
-
readonly width_mm: number
|
|
9875
9640
|
/**
|
|
9876
9641
|
* The width of the monitor, in millimeters.
|
|
9877
9642
|
*/
|
|
@@ -10386,10 +10151,6 @@ module Surface {
|
|
|
10386
10151
|
* The `GdkDisplay` connection of the surface.
|
|
10387
10152
|
*/
|
|
10388
10153
|
display?: Display | null
|
|
10389
|
-
/**
|
|
10390
|
-
* The `GdkFrameClock` of the surface.
|
|
10391
|
-
*/
|
|
10392
|
-
frame_clock?: FrameClock | null
|
|
10393
10154
|
/**
|
|
10394
10155
|
* The `GdkFrameClock` of the surface.
|
|
10395
10156
|
*/
|
|
@@ -10410,10 +10171,6 @@ interface Surface {
|
|
|
10410
10171
|
* The `GdkDisplay` connection of the surface.
|
|
10411
10172
|
*/
|
|
10412
10173
|
readonly display: Display
|
|
10413
|
-
/**
|
|
10414
|
-
* The `GdkFrameClock` of the surface.
|
|
10415
|
-
*/
|
|
10416
|
-
readonly frame_clock: FrameClock
|
|
10417
10174
|
/**
|
|
10418
10175
|
* The `GdkFrameClock` of the surface.
|
|
10419
10176
|
*/
|
|
@@ -10430,13 +10187,6 @@ interface Surface {
|
|
|
10430
10187
|
* The scale of the surface.
|
|
10431
10188
|
*/
|
|
10432
10189
|
readonly scale: number
|
|
10433
|
-
/**
|
|
10434
|
-
* The scale factor of the surface.
|
|
10435
|
-
*
|
|
10436
|
-
* The scale factor is the next larger integer,
|
|
10437
|
-
* compared to [property`Gdk`.Surface:scale].
|
|
10438
|
-
*/
|
|
10439
|
-
readonly scale_factor: number
|
|
10440
10190
|
/**
|
|
10441
10191
|
* The scale factor of the surface.
|
|
10442
10192
|
*
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gdk-4.0",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gdk-4.0.js",
|
|
7
7
|
"main": "gdk-4.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./gdk-4.0-ambient.d.ts",
|
|
11
|
+
"default": "./gdk-4.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./gdk-4.0-import.d.ts",
|
|
15
|
+
"default": "./gdk-4.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./gdk-4.0.d.ts",
|
|
@@ -25,17 +31,17 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gdk-4.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.
|
|
38
|
-
"@girs/pangocairo-1.0": "^1.0.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",
|
|
44
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.2.8"
|
|
39
45
|
},
|
|
40
46
|
"devDependencies": {
|
|
41
47
|
"typescript": "*"
|
|
@@ -52,7 +58,7 @@
|
|
|
52
58
|
"license": "MIT",
|
|
53
59
|
"repository": {
|
|
54
60
|
"type": "git",
|
|
55
|
-
"url": "git+https://github.com/gjsify/
|
|
61
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
56
62
|
},
|
|
57
63
|
"bugs": {
|
|
58
64
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|