@gtkx/react 0.1.17 → 0.1.19
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/dist/codegen/jsx-generator.js +7 -4
- package/dist/factory.d.ts +2 -1
- package/dist/factory.js +2 -2
- package/dist/generated/jsx.d.ts +219 -216
- package/dist/generated/jsx.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/node.d.ts +4 -4
- package/dist/node.js +9 -11
- package/dist/nodes/dropdown.d.ts +2 -2
- package/dist/nodes/dropdown.js +4 -4
- package/dist/nodes/grid.d.ts +1 -1
- package/dist/nodes/grid.js +2 -2
- package/dist/nodes/list.d.ts +3 -3
- package/dist/nodes/list.js +6 -6
- package/dist/nodes/slot.d.ts +2 -1
- package/dist/nodes/slot.js +2 -2
- package/dist/nodes/widget.d.ts +3 -3
- package/dist/nodes/widget.js +6 -8
- package/dist/portal.d.ts +0 -1
- package/dist/portal.js +2 -2
- package/dist/reconciler.d.ts +14 -13
- package/dist/reconciler.js +29 -26
- package/dist/render.js +7 -7
- package/package.json +8 -5
package/dist/generated/jsx.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "react";
|
|
1
2
|
import type { ReactNode, Ref } from "react";
|
|
2
3
|
import type * as Gdk from "@gtkx/ffi/gdk";
|
|
3
4
|
import type * as Gio from "@gtkx/ffi/gio";
|
|
@@ -9,7 +10,7 @@ export interface WidgetProps {
|
|
|
9
10
|
canTarget?: boolean;
|
|
10
11
|
cssClasses?: string[];
|
|
11
12
|
cssName?: string;
|
|
12
|
-
cursor?:
|
|
13
|
+
cursor?: number;
|
|
13
14
|
focusOnClick?: boolean;
|
|
14
15
|
focusable?: boolean;
|
|
15
16
|
halign?: Gtk.Align;
|
|
@@ -62,7 +63,7 @@ export interface WindowProps extends WidgetProps {
|
|
|
62
63
|
defaultWidth?: number;
|
|
63
64
|
deletable?: boolean;
|
|
64
65
|
destroyWithParent?: boolean;
|
|
65
|
-
display?:
|
|
66
|
+
display?: number;
|
|
66
67
|
focusVisible?: boolean;
|
|
67
68
|
fullscreened?: boolean;
|
|
68
69
|
gravity?: Gtk.WindowGravity;
|
|
@@ -92,7 +93,7 @@ export interface AboutDialogProps extends WindowProps {
|
|
|
92
93
|
documenters?: string[];
|
|
93
94
|
license?: string;
|
|
94
95
|
licenseType?: Gtk.License;
|
|
95
|
-
logo?:
|
|
96
|
+
logo?: number;
|
|
96
97
|
logoIconName?: string;
|
|
97
98
|
programName?: string;
|
|
98
99
|
systemInformation?: string;
|
|
@@ -120,7 +121,7 @@ export interface AppChooserButtonProps extends WidgetProps {
|
|
|
120
121
|
ref?: Ref<Gtk.AppChooserButton>;
|
|
121
122
|
}
|
|
122
123
|
export interface AppChooserDialogProps extends DialogProps {
|
|
123
|
-
gfile:
|
|
124
|
+
gfile: number;
|
|
124
125
|
heading?: string;
|
|
125
126
|
contentType?: string;
|
|
126
127
|
ref?: Ref<Gtk.AppChooserDialog>;
|
|
@@ -149,7 +150,7 @@ export interface AspectFrameProps extends WidgetProps {
|
|
|
149
150
|
ref?: Ref<Gtk.AspectFrame>;
|
|
150
151
|
}
|
|
151
152
|
export interface AssistantProps extends WindowProps {
|
|
152
|
-
pages?:
|
|
153
|
+
pages?: number;
|
|
153
154
|
useHeaderBar?: number;
|
|
154
155
|
onApply?: (self: Gtk.Assistant) => void;
|
|
155
156
|
onCancel?: (self: Gtk.Assistant) => void;
|
|
@@ -173,13 +174,13 @@ export interface ButtonProps extends WidgetProps {
|
|
|
173
174
|
label?: string;
|
|
174
175
|
useUnderline?: boolean;
|
|
175
176
|
actionName?: string;
|
|
176
|
-
actionTarget?:
|
|
177
|
+
actionTarget?: number;
|
|
177
178
|
onActivate?: (self: Gtk.Button) => void;
|
|
178
179
|
onClicked?: (self: Gtk.Button) => void;
|
|
179
180
|
ref?: Ref<Gtk.Button>;
|
|
180
181
|
}
|
|
181
182
|
export interface CalendarProps extends WidgetProps {
|
|
182
|
-
date?:
|
|
183
|
+
date?: number;
|
|
183
184
|
day?: number;
|
|
184
185
|
month?: number;
|
|
185
186
|
showDayNames?: boolean;
|
|
@@ -214,7 +215,7 @@ export interface CheckButtonProps extends WidgetProps {
|
|
|
214
215
|
label?: string;
|
|
215
216
|
useUnderline?: boolean;
|
|
216
217
|
actionName?: string;
|
|
217
|
-
actionTarget?:
|
|
218
|
+
actionTarget?: number;
|
|
218
219
|
onActivate?: (self: Gtk.CheckButton) => void;
|
|
219
220
|
onToggled?: (self: Gtk.CheckButton) => void;
|
|
220
221
|
ref?: Ref<Gtk.CheckButton>;
|
|
@@ -223,7 +224,7 @@ export interface ColorButtonProps extends WidgetProps {
|
|
|
223
224
|
modal?: boolean;
|
|
224
225
|
showEditor?: boolean;
|
|
225
226
|
title?: string;
|
|
226
|
-
rgba?:
|
|
227
|
+
rgba?: number;
|
|
227
228
|
useAlpha?: boolean;
|
|
228
229
|
onActivate?: (self: Gtk.ColorButton) => void;
|
|
229
230
|
onColorSet?: (self: Gtk.ColorButton) => void;
|
|
@@ -232,26 +233,26 @@ export interface ColorButtonProps extends WidgetProps {
|
|
|
232
233
|
}
|
|
233
234
|
export interface ColorChooserDialogProps extends DialogProps {
|
|
234
235
|
showEditor?: boolean;
|
|
235
|
-
rgba?:
|
|
236
|
+
rgba?: number;
|
|
236
237
|
useAlpha?: boolean;
|
|
237
238
|
onColorActivated?: (self: Gtk.ColorChooserDialog, color: Gdk.RGBA) => void;
|
|
238
239
|
ref?: Ref<Gtk.ColorChooserDialog>;
|
|
239
240
|
}
|
|
240
241
|
export interface ColorChooserWidgetProps extends WidgetProps {
|
|
241
242
|
showEditor?: boolean;
|
|
242
|
-
rgba?:
|
|
243
|
+
rgba?: number;
|
|
243
244
|
useAlpha?: boolean;
|
|
244
245
|
onColorActivated?: (self: Gtk.ColorChooserWidget, color: Gdk.RGBA) => void;
|
|
245
246
|
ref?: Ref<Gtk.ColorChooserWidget>;
|
|
246
247
|
}
|
|
247
248
|
export interface ColorDialogButtonProps extends WidgetProps {
|
|
248
249
|
dialog?: Gtk.ColorDialog;
|
|
249
|
-
rgba?:
|
|
250
|
+
rgba?: number;
|
|
250
251
|
onActivate?: (self: Gtk.ColorDialogButton) => void;
|
|
251
252
|
ref?: Ref<Gtk.ColorDialogButton>;
|
|
252
253
|
}
|
|
253
254
|
export interface ColumnViewProps extends WidgetProps {
|
|
254
|
-
columns?:
|
|
255
|
+
columns?: number;
|
|
255
256
|
enableRubberband?: boolean;
|
|
256
257
|
headerFactory?: Gtk.ListItemFactory;
|
|
257
258
|
model?: Gtk.SelectionModel;
|
|
@@ -316,10 +317,10 @@ export interface DropDownProps extends WidgetProps {
|
|
|
316
317
|
factory?: Gtk.ListItemFactory;
|
|
317
318
|
headerFactory?: Gtk.ListItemFactory;
|
|
318
319
|
listFactory?: Gtk.ListItemFactory;
|
|
319
|
-
model?:
|
|
320
|
+
model?: number;
|
|
320
321
|
searchMatchMode?: Gtk.StringFilterMatchMode;
|
|
321
322
|
selected?: number;
|
|
322
|
-
selectedItem?:
|
|
323
|
+
selectedItem?: number;
|
|
323
324
|
showArrow?: boolean;
|
|
324
325
|
onActivate?: (self: Gtk.DropDown) => void;
|
|
325
326
|
itemLabel?: (item: any) => string;
|
|
@@ -347,11 +348,11 @@ export interface EmojiChooserProps extends PopoverProps {
|
|
|
347
348
|
}
|
|
348
349
|
export interface EntryProps extends WidgetProps {
|
|
349
350
|
activatesDefault?: boolean;
|
|
350
|
-
attributes?:
|
|
351
|
+
attributes?: number;
|
|
351
352
|
buffer?: Gtk.EntryBuffer;
|
|
352
353
|
completion?: Gtk.EntryCompletion;
|
|
353
354
|
enableEmojiCompletion?: boolean;
|
|
354
|
-
extraMenu?:
|
|
355
|
+
extraMenu?: number;
|
|
355
356
|
hasFrame?: boolean;
|
|
356
357
|
imModule?: string;
|
|
357
358
|
inputHints?: Gtk.InputHints;
|
|
@@ -364,9 +365,9 @@ export interface EntryProps extends WidgetProps {
|
|
|
364
365
|
overwriteMode?: boolean;
|
|
365
366
|
placeholderText?: string;
|
|
366
367
|
primaryIconActivatable?: boolean;
|
|
367
|
-
primaryIconGicon?:
|
|
368
|
+
primaryIconGicon?: number;
|
|
368
369
|
primaryIconName?: string;
|
|
369
|
-
primaryIconPaintable?:
|
|
370
|
+
primaryIconPaintable?: number;
|
|
370
371
|
primaryIconSensitive?: boolean;
|
|
371
372
|
primaryIconStorageType?: Gtk.ImageType;
|
|
372
373
|
primaryIconTooltipMarkup?: string;
|
|
@@ -375,15 +376,15 @@ export interface EntryProps extends WidgetProps {
|
|
|
375
376
|
progressPulseStep?: number;
|
|
376
377
|
scrollOffset?: number;
|
|
377
378
|
secondaryIconActivatable?: boolean;
|
|
378
|
-
secondaryIconGicon?:
|
|
379
|
+
secondaryIconGicon?: number;
|
|
379
380
|
secondaryIconName?: string;
|
|
380
|
-
secondaryIconPaintable?:
|
|
381
|
+
secondaryIconPaintable?: number;
|
|
381
382
|
secondaryIconSensitive?: boolean;
|
|
382
383
|
secondaryIconStorageType?: Gtk.ImageType;
|
|
383
384
|
secondaryIconTooltipMarkup?: string;
|
|
384
385
|
secondaryIconTooltipText?: string;
|
|
385
386
|
showEmojiIcon?: boolean;
|
|
386
|
-
tabs?:
|
|
387
|
+
tabs?: number;
|
|
387
388
|
textLength?: number;
|
|
388
389
|
truncateMultiline?: boolean;
|
|
389
390
|
visibility?: boolean;
|
|
@@ -419,9 +420,9 @@ export interface FileChooserDialogProps extends DialogProps {
|
|
|
419
420
|
action?: Gtk.FileChooserAction;
|
|
420
421
|
createFolders?: boolean;
|
|
421
422
|
filter?: Gtk.FileFilter;
|
|
422
|
-
filters?:
|
|
423
|
+
filters?: number;
|
|
423
424
|
selectMultiple?: boolean;
|
|
424
|
-
shortcutFolders?:
|
|
425
|
+
shortcutFolders?: number;
|
|
425
426
|
ref?: Ref<Gtk.FileChooserDialog>;
|
|
426
427
|
}
|
|
427
428
|
export interface FileChooserWidgetProps extends WidgetProps {
|
|
@@ -431,9 +432,9 @@ export interface FileChooserWidgetProps extends WidgetProps {
|
|
|
431
432
|
action: Gtk.FileChooserAction;
|
|
432
433
|
createFolders?: boolean;
|
|
433
434
|
filter?: Gtk.FileFilter;
|
|
434
|
-
filters?:
|
|
435
|
+
filters?: number;
|
|
435
436
|
selectMultiple?: boolean;
|
|
436
|
-
shortcutFolders?:
|
|
437
|
+
shortcutFolders?: number;
|
|
437
438
|
onDesktopFolder?: (self: Gtk.FileChooserWidget) => void;
|
|
438
439
|
onDownFolder?: (self: Gtk.FileChooserWidget) => void;
|
|
439
440
|
onHomeFolder?: (self: Gtk.FileChooserWidget) => void;
|
|
@@ -480,7 +481,7 @@ export interface FontButtonProps extends WidgetProps {
|
|
|
480
481
|
useFont?: boolean;
|
|
481
482
|
useSize?: boolean;
|
|
482
483
|
font?: string;
|
|
483
|
-
fontDesc?:
|
|
484
|
+
fontDesc?: number;
|
|
484
485
|
fontFeatures?: string;
|
|
485
486
|
language?: string;
|
|
486
487
|
level?: Gtk.FontChooserLevel;
|
|
@@ -493,7 +494,7 @@ export interface FontButtonProps extends WidgetProps {
|
|
|
493
494
|
}
|
|
494
495
|
export interface FontChooserDialogProps extends DialogProps {
|
|
495
496
|
font?: string;
|
|
496
|
-
fontDesc?:
|
|
497
|
+
fontDesc?: number;
|
|
497
498
|
fontFeatures?: string;
|
|
498
499
|
language?: string;
|
|
499
500
|
level?: Gtk.FontChooserLevel;
|
|
@@ -503,9 +504,9 @@ export interface FontChooserDialogProps extends DialogProps {
|
|
|
503
504
|
ref?: Ref<Gtk.FontChooserDialog>;
|
|
504
505
|
}
|
|
505
506
|
export interface FontChooserWidgetProps extends WidgetProps {
|
|
506
|
-
tweakAction?:
|
|
507
|
+
tweakAction?: number;
|
|
507
508
|
font?: string;
|
|
508
|
-
fontDesc?:
|
|
509
|
+
fontDesc?: number;
|
|
509
510
|
fontFeatures?: string;
|
|
510
511
|
language?: string;
|
|
511
512
|
level?: Gtk.FontChooserLevel;
|
|
@@ -516,9 +517,9 @@ export interface FontChooserWidgetProps extends WidgetProps {
|
|
|
516
517
|
}
|
|
517
518
|
export interface FontDialogButtonProps extends WidgetProps {
|
|
518
519
|
dialog?: Gtk.FontDialog;
|
|
519
|
-
fontDesc?:
|
|
520
|
+
fontDesc?: number;
|
|
520
521
|
fontFeatures?: string;
|
|
521
|
-
language?:
|
|
522
|
+
language?: number;
|
|
522
523
|
level?: Gtk.FontLevel;
|
|
523
524
|
useFont?: boolean;
|
|
524
525
|
useSize?: boolean;
|
|
@@ -531,14 +532,14 @@ export interface FrameProps extends WidgetProps {
|
|
|
531
532
|
ref?: Ref<Gtk.Frame>;
|
|
532
533
|
}
|
|
533
534
|
export interface GLAreaProps extends WidgetProps {
|
|
534
|
-
allowedApis?:
|
|
535
|
-
api?:
|
|
535
|
+
allowedApis?: number;
|
|
536
|
+
api?: number;
|
|
536
537
|
autoRender?: boolean;
|
|
537
|
-
context?:
|
|
538
|
+
context?: number;
|
|
538
539
|
hasDepthBuffer?: boolean;
|
|
539
540
|
hasStencilBuffer?: boolean;
|
|
540
541
|
useEs?: boolean;
|
|
541
|
-
onCreateContext?: (self: Gtk.GLArea) =>
|
|
542
|
+
onCreateContext?: (self: Gtk.GLArea) => number;
|
|
542
543
|
onRender?: (self: Gtk.GLArea, context: Gdk.GLContext) => boolean;
|
|
543
544
|
onResize?: (self: Gtk.GLArea, width: number, height: number) => void;
|
|
544
545
|
ref?: Ref<Gtk.GLArea>;
|
|
@@ -609,10 +610,10 @@ export interface IconViewProps extends WidgetProps {
|
|
|
609
610
|
}
|
|
610
611
|
export interface ImageProps extends WidgetProps {
|
|
611
612
|
file?: string;
|
|
612
|
-
gicon?:
|
|
613
|
+
gicon?: number;
|
|
613
614
|
iconName?: string;
|
|
614
615
|
iconSize?: Gtk.IconSize;
|
|
615
|
-
paintable?:
|
|
616
|
+
paintable?: number;
|
|
616
617
|
pixelSize?: number;
|
|
617
618
|
resource?: string;
|
|
618
619
|
storageType?: Gtk.ImageType;
|
|
@@ -628,7 +629,7 @@ export interface InfoBarProps extends WidgetProps {
|
|
|
628
629
|
ref?: Ref<Gtk.InfoBar>;
|
|
629
630
|
}
|
|
630
631
|
export interface InscriptionProps extends WidgetProps {
|
|
631
|
-
attributes?:
|
|
632
|
+
attributes?: number;
|
|
632
633
|
markup?: string;
|
|
633
634
|
minChars?: number;
|
|
634
635
|
minLines?: number;
|
|
@@ -636,15 +637,15 @@ export interface InscriptionProps extends WidgetProps {
|
|
|
636
637
|
natLines?: number;
|
|
637
638
|
text?: string;
|
|
638
639
|
textOverflow?: Gtk.InscriptionOverflow;
|
|
639
|
-
wrapMode?:
|
|
640
|
+
wrapMode?: number;
|
|
640
641
|
xalign?: number;
|
|
641
642
|
yalign?: number;
|
|
642
643
|
ref?: Ref<Gtk.Inscription>;
|
|
643
644
|
}
|
|
644
645
|
export interface LabelProps extends WidgetProps {
|
|
645
|
-
attributes?:
|
|
646
|
-
ellipsize?:
|
|
647
|
-
extraMenu?:
|
|
646
|
+
attributes?: number;
|
|
647
|
+
ellipsize?: number;
|
|
648
|
+
extraMenu?: number;
|
|
648
649
|
justify?: Gtk.Justification;
|
|
649
650
|
label?: string;
|
|
650
651
|
lines?: number;
|
|
@@ -653,12 +654,12 @@ export interface LabelProps extends WidgetProps {
|
|
|
653
654
|
naturalWrapMode?: Gtk.NaturalWrapMode;
|
|
654
655
|
selectable?: boolean;
|
|
655
656
|
singleLineMode?: boolean;
|
|
656
|
-
tabs?:
|
|
657
|
+
tabs?: number;
|
|
657
658
|
useMarkup?: boolean;
|
|
658
659
|
useUnderline?: boolean;
|
|
659
660
|
widthChars?: number;
|
|
660
661
|
wrap?: boolean;
|
|
661
|
-
wrapMode?:
|
|
662
|
+
wrapMode?: number;
|
|
662
663
|
xalign?: number;
|
|
663
664
|
yalign?: number;
|
|
664
665
|
onActivateCurrentLink?: (self: Gtk.Label) => void;
|
|
@@ -711,7 +712,7 @@ export interface ListBoxRowProps extends WidgetProps {
|
|
|
711
712
|
activatable?: boolean;
|
|
712
713
|
selectable?: boolean;
|
|
713
714
|
actionName?: string;
|
|
714
|
-
actionTarget?:
|
|
715
|
+
actionTarget?: number;
|
|
715
716
|
onActivate?: (self: Gtk.ListBoxRow) => void;
|
|
716
717
|
ref?: Ref<Gtk.ListBoxRow>;
|
|
717
718
|
}
|
|
@@ -728,7 +729,7 @@ export interface ListViewProps extends ListBaseProps {
|
|
|
728
729
|
ref?: Ref<Gtk.ListView>;
|
|
729
730
|
}
|
|
730
731
|
export interface LockButtonProps extends ButtonProps {
|
|
731
|
-
permission?:
|
|
732
|
+
permission?: number;
|
|
732
733
|
textLock?: string;
|
|
733
734
|
textUnlock?: string;
|
|
734
735
|
tooltipLock?: string;
|
|
@@ -748,7 +749,7 @@ export interface MenuButtonProps extends WidgetProps {
|
|
|
748
749
|
hasFrame?: boolean;
|
|
749
750
|
iconName?: string;
|
|
750
751
|
label?: string;
|
|
751
|
-
menuModel?:
|
|
752
|
+
menuModel?: number;
|
|
752
753
|
primary?: boolean;
|
|
753
754
|
useUnderline?: boolean;
|
|
754
755
|
onActivate?: (self: Gtk.MenuButton) => void;
|
|
@@ -768,7 +769,7 @@ export interface NotebookProps extends WidgetProps {
|
|
|
768
769
|
enablePopup?: boolean;
|
|
769
770
|
groupName?: string;
|
|
770
771
|
page?: number;
|
|
771
|
-
pages?:
|
|
772
|
+
pages?: number;
|
|
772
773
|
scrollable?: boolean;
|
|
773
774
|
showBorder?: boolean;
|
|
774
775
|
showTabs?: boolean;
|
|
@@ -813,7 +814,7 @@ export interface PanedProps extends WidgetProps {
|
|
|
813
814
|
}
|
|
814
815
|
export interface PasswordEntryProps extends WidgetProps {
|
|
815
816
|
activatesDefault?: boolean;
|
|
816
|
-
extraMenu?:
|
|
817
|
+
extraMenu?: number;
|
|
817
818
|
placeholderText?: string;
|
|
818
819
|
showPeekIcon?: boolean;
|
|
819
820
|
cursorPosition?: number;
|
|
@@ -834,9 +835,9 @@ export interface PictureProps extends WidgetProps {
|
|
|
834
835
|
alternativeText?: string;
|
|
835
836
|
canShrink?: boolean;
|
|
836
837
|
contentFit?: Gtk.ContentFit;
|
|
837
|
-
file?:
|
|
838
|
+
file?: number;
|
|
838
839
|
keepAspectRatio?: boolean;
|
|
839
|
-
paintable?:
|
|
840
|
+
paintable?: number;
|
|
840
841
|
ref?: Ref<Gtk.Picture>;
|
|
841
842
|
}
|
|
842
843
|
export interface PopoverProps extends WidgetProps {
|
|
@@ -844,7 +845,7 @@ export interface PopoverProps extends WidgetProps {
|
|
|
844
845
|
cascadePopdown?: boolean;
|
|
845
846
|
hasArrow?: boolean;
|
|
846
847
|
mnemonicsVisible?: boolean;
|
|
847
|
-
pointingTo?:
|
|
848
|
+
pointingTo?: number;
|
|
848
849
|
position?: Gtk.PositionType;
|
|
849
850
|
onActivateDefault?: (self: Gtk.Popover) => void;
|
|
850
851
|
onClosed?: (self: Gtk.Popover) => void;
|
|
@@ -852,12 +853,12 @@ export interface PopoverProps extends WidgetProps {
|
|
|
852
853
|
}
|
|
853
854
|
export interface PopoverMenuProps extends PopoverProps {
|
|
854
855
|
flags?: Gtk.PopoverMenuFlags;
|
|
855
|
-
menuModel?:
|
|
856
|
+
menuModel?: number;
|
|
856
857
|
visibleSubmenu?: string;
|
|
857
858
|
ref?: Ref<Gtk.PopoverMenu>;
|
|
858
859
|
}
|
|
859
860
|
export interface PopoverMenuBarProps extends WidgetProps {
|
|
860
|
-
menuModel?:
|
|
861
|
+
menuModel?: number;
|
|
861
862
|
ref?: Ref<Gtk.PopoverMenuBar>;
|
|
862
863
|
}
|
|
863
864
|
export interface PrintUnixDialogProps extends DialogProps {
|
|
@@ -872,7 +873,7 @@ export interface PrintUnixDialogProps extends DialogProps {
|
|
|
872
873
|
ref?: Ref<Gtk.PrintUnixDialog>;
|
|
873
874
|
}
|
|
874
875
|
export interface ProgressBarProps extends WidgetProps {
|
|
875
|
-
ellipsize?:
|
|
876
|
+
ellipsize?: number;
|
|
876
877
|
fraction?: number;
|
|
877
878
|
inverted?: boolean;
|
|
878
879
|
pulseStep?: number;
|
|
@@ -1008,7 +1009,7 @@ export interface ShortcutsShortcutProps extends WidgetProps {
|
|
|
1008
1009
|
accelerator?: string;
|
|
1009
1010
|
actionName?: string;
|
|
1010
1011
|
direction?: Gtk.TextDirection;
|
|
1011
|
-
icon?:
|
|
1012
|
+
icon?: number;
|
|
1012
1013
|
iconSet?: boolean;
|
|
1013
1014
|
shortcutType?: Gtk.ShortcutType;
|
|
1014
1015
|
subtitle?: string;
|
|
@@ -1088,17 +1089,17 @@ export interface SwitchProps extends WidgetProps {
|
|
|
1088
1089
|
active?: boolean;
|
|
1089
1090
|
state?: boolean;
|
|
1090
1091
|
actionName?: string;
|
|
1091
|
-
actionTarget?:
|
|
1092
|
+
actionTarget?: number;
|
|
1092
1093
|
onActivate?: (self: Gtk.Switch) => void;
|
|
1093
1094
|
onStateSet?: (self: Gtk.Switch, state: boolean) => boolean;
|
|
1094
1095
|
ref?: Ref<Gtk.Switch>;
|
|
1095
1096
|
}
|
|
1096
1097
|
export interface TextProps extends WidgetProps {
|
|
1097
1098
|
activatesDefault?: boolean;
|
|
1098
|
-
attributes?:
|
|
1099
|
+
attributes?: number;
|
|
1099
1100
|
buffer?: Gtk.EntryBuffer;
|
|
1100
1101
|
enableEmojiCompletion?: boolean;
|
|
1101
|
-
extraMenu?:
|
|
1102
|
+
extraMenu?: number;
|
|
1102
1103
|
imModule?: string;
|
|
1103
1104
|
inputHints?: Gtk.InputHints;
|
|
1104
1105
|
inputPurpose?: Gtk.InputPurpose;
|
|
@@ -1109,7 +1110,7 @@ export interface TextProps extends WidgetProps {
|
|
|
1109
1110
|
placeholderText?: string;
|
|
1110
1111
|
propagateTextWidth?: boolean;
|
|
1111
1112
|
scrollOffset?: number;
|
|
1112
|
-
tabs?:
|
|
1113
|
+
tabs?: number;
|
|
1113
1114
|
truncateMultiline?: boolean;
|
|
1114
1115
|
visibility?: boolean;
|
|
1115
1116
|
cursorPosition?: number;
|
|
@@ -1142,7 +1143,7 @@ export interface TextViewProps extends WidgetProps {
|
|
|
1142
1143
|
buffer?: Gtk.TextBuffer;
|
|
1143
1144
|
cursorVisible?: boolean;
|
|
1144
1145
|
editable?: boolean;
|
|
1145
|
-
extraMenu?:
|
|
1146
|
+
extraMenu?: number;
|
|
1146
1147
|
imModule?: string;
|
|
1147
1148
|
indent?: number;
|
|
1148
1149
|
inputHints?: Gtk.InputHints;
|
|
@@ -1155,7 +1156,7 @@ export interface TextViewProps extends WidgetProps {
|
|
|
1155
1156
|
pixelsBelowLines?: number;
|
|
1156
1157
|
pixelsInsideWrap?: number;
|
|
1157
1158
|
rightMargin?: number;
|
|
1158
|
-
tabs?:
|
|
1159
|
+
tabs?: number;
|
|
1159
1160
|
topMargin?: number;
|
|
1160
1161
|
wrapMode?: Gtk.WrapMode;
|
|
1161
1162
|
hadjustment?: Gtk.Adjustment;
|
|
@@ -1188,7 +1189,7 @@ export interface TreeExpanderProps extends WidgetProps {
|
|
|
1188
1189
|
hideExpander?: boolean;
|
|
1189
1190
|
indentForDepth?: boolean;
|
|
1190
1191
|
indentForIcon?: boolean;
|
|
1191
|
-
item?:
|
|
1192
|
+
item?: number;
|
|
1192
1193
|
listRow?: Gtk.TreeListRow;
|
|
1193
1194
|
ref?: Ref<Gtk.TreeExpander>;
|
|
1194
1195
|
}
|
|
@@ -1233,7 +1234,7 @@ export interface TreeViewProps extends WidgetProps {
|
|
|
1233
1234
|
}
|
|
1234
1235
|
export interface VideoProps extends WidgetProps {
|
|
1235
1236
|
autoplay?: boolean;
|
|
1236
|
-
file?:
|
|
1237
|
+
file?: number;
|
|
1237
1238
|
graphicsOffload?: Gtk.GraphicsOffloadEnabled;
|
|
1238
1239
|
loop?: boolean;
|
|
1239
1240
|
mediaStream?: Gtk.MediaStream;
|
|
@@ -1441,157 +1442,159 @@ export declare const Viewport: "Viewport";
|
|
|
1441
1442
|
export declare const VolumeButton: "VolumeButton";
|
|
1442
1443
|
export declare const WindowControls: "WindowControls";
|
|
1443
1444
|
export declare const WindowHandle: "WindowHandle";
|
|
1444
|
-
declare
|
|
1445
|
-
namespace
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1445
|
+
declare global {
|
|
1446
|
+
namespace React {
|
|
1447
|
+
namespace JSX {
|
|
1448
|
+
interface IntrinsicElements {
|
|
1449
|
+
"Window.Root": WindowProps;
|
|
1450
|
+
"Window.Child": SlotProps;
|
|
1451
|
+
"Window.DefaultWidget": SlotProps;
|
|
1452
|
+
"Window.FocusWidget": SlotProps;
|
|
1453
|
+
"Window.Titlebar": SlotProps;
|
|
1454
|
+
"Window.TransientFor": SlotProps;
|
|
1455
|
+
AboutDialog: AboutDialogProps;
|
|
1456
|
+
ActionBar: ActionBarProps;
|
|
1457
|
+
AppChooserButton: AppChooserButtonProps;
|
|
1458
|
+
AppChooserDialog: AppChooserDialogProps;
|
|
1459
|
+
AppChooserWidget: AppChooserWidgetProps;
|
|
1460
|
+
ApplicationWindow: ApplicationWindowProps;
|
|
1461
|
+
AspectFrame: AspectFrameProps;
|
|
1462
|
+
"AspectFrame.Child": SlotProps;
|
|
1463
|
+
Assistant: AssistantProps;
|
|
1464
|
+
Box: BoxProps;
|
|
1465
|
+
Button: ButtonProps;
|
|
1466
|
+
"Button.Child": SlotProps;
|
|
1467
|
+
Calendar: CalendarProps;
|
|
1468
|
+
CellView: CellViewProps;
|
|
1469
|
+
"CenterBox.Root": CenterBoxProps;
|
|
1470
|
+
"CenterBox.CenterWidget": SlotProps;
|
|
1471
|
+
"CenterBox.EndWidget": SlotProps;
|
|
1472
|
+
"CenterBox.StartWidget": SlotProps;
|
|
1473
|
+
"CheckButton.Root": CheckButtonProps;
|
|
1474
|
+
"CheckButton.Child": SlotProps;
|
|
1475
|
+
"CheckButton.Group": SlotProps;
|
|
1476
|
+
ColorButton: ColorButtonProps;
|
|
1477
|
+
ColorChooserDialog: ColorChooserDialogProps;
|
|
1478
|
+
ColorChooserWidget: ColorChooserWidgetProps;
|
|
1479
|
+
ColorDialogButton: ColorDialogButtonProps;
|
|
1480
|
+
"ColumnView.Root": ColumnViewProps;
|
|
1481
|
+
"ColumnView.Item": ListItemProps;
|
|
1482
|
+
ComboBox: ComboBoxProps;
|
|
1483
|
+
"ComboBox.Child": SlotProps;
|
|
1484
|
+
ComboBoxText: ComboBoxTextProps;
|
|
1485
|
+
Dialog: DialogProps;
|
|
1486
|
+
DragIcon: DragIconProps;
|
|
1487
|
+
"DragIcon.Child": SlotProps;
|
|
1488
|
+
DrawingArea: DrawingAreaProps;
|
|
1489
|
+
"DropDown.Root": DropDownProps;
|
|
1490
|
+
"DropDown.Item": ListItemProps;
|
|
1491
|
+
EditableLabel: EditableLabelProps;
|
|
1492
|
+
EmojiChooser: EmojiChooserProps;
|
|
1493
|
+
Entry: EntryProps;
|
|
1494
|
+
"Expander.Root": ExpanderProps;
|
|
1495
|
+
"Expander.Child": SlotProps;
|
|
1496
|
+
"Expander.LabelWidget": SlotProps;
|
|
1497
|
+
FileChooserDialog: FileChooserDialogProps;
|
|
1498
|
+
FileChooserWidget: FileChooserWidgetProps;
|
|
1499
|
+
Fixed: FixedProps;
|
|
1500
|
+
FlowBox: FlowBoxProps;
|
|
1501
|
+
FlowBoxChild: FlowBoxChildProps;
|
|
1502
|
+
"FlowBoxChild.Child": SlotProps;
|
|
1503
|
+
FontButton: FontButtonProps;
|
|
1504
|
+
FontChooserDialog: FontChooserDialogProps;
|
|
1505
|
+
FontChooserWidget: FontChooserWidgetProps;
|
|
1506
|
+
FontDialogButton: FontDialogButtonProps;
|
|
1507
|
+
"Frame.Root": FrameProps;
|
|
1508
|
+
"Frame.Child": SlotProps;
|
|
1509
|
+
"Frame.LabelWidget": SlotProps;
|
|
1510
|
+
GLArea: GLAreaProps;
|
|
1511
|
+
GraphicsOffload: GraphicsOffloadProps;
|
|
1512
|
+
"GraphicsOffload.Child": SlotProps;
|
|
1513
|
+
"Grid.Root": GridProps;
|
|
1514
|
+
"Grid.Child": GridChildProps;
|
|
1515
|
+
"GridView.Root": GridViewProps;
|
|
1516
|
+
"GridView.Item": ListItemProps;
|
|
1517
|
+
"HeaderBar.Root": HeaderBarProps;
|
|
1518
|
+
"HeaderBar.TitleWidget": SlotProps;
|
|
1519
|
+
IconView: IconViewProps;
|
|
1520
|
+
Image: ImageProps;
|
|
1521
|
+
InfoBar: InfoBarProps;
|
|
1522
|
+
Inscription: InscriptionProps;
|
|
1523
|
+
"Label.Root": LabelProps;
|
|
1524
|
+
"Label.MnemonicWidget": SlotProps;
|
|
1525
|
+
LevelBar: LevelBarProps;
|
|
1526
|
+
LinkButton: LinkButtonProps;
|
|
1527
|
+
ListBase: ListBaseProps;
|
|
1528
|
+
ListBox: ListBoxProps;
|
|
1529
|
+
ListBoxRow: ListBoxRowProps;
|
|
1530
|
+
"ListBoxRow.Child": SlotProps;
|
|
1531
|
+
"ListView.Root": ListViewProps;
|
|
1532
|
+
"ListView.Item": ListItemProps;
|
|
1533
|
+
LockButton: LockButtonProps;
|
|
1534
|
+
MediaControls: MediaControlsProps;
|
|
1535
|
+
"MenuButton.Root": MenuButtonProps;
|
|
1536
|
+
"MenuButton.Child": SlotProps;
|
|
1537
|
+
"MenuButton.Popover": SlotProps;
|
|
1538
|
+
MessageDialog: MessageDialogProps;
|
|
1539
|
+
Notebook: NotebookProps;
|
|
1540
|
+
Overlay: OverlayProps;
|
|
1541
|
+
"Overlay.Child": SlotProps;
|
|
1542
|
+
PageSetupUnixDialog: PageSetupUnixDialogProps;
|
|
1543
|
+
"Paned.Root": PanedProps;
|
|
1544
|
+
"Paned.EndChild": SlotProps;
|
|
1545
|
+
"Paned.StartChild": SlotProps;
|
|
1546
|
+
PasswordEntry: PasswordEntryProps;
|
|
1547
|
+
Picture: PictureProps;
|
|
1548
|
+
"Popover.Root": PopoverProps;
|
|
1549
|
+
"Popover.Child": SlotProps;
|
|
1550
|
+
"Popover.DefaultWidget": SlotProps;
|
|
1551
|
+
PopoverMenu: PopoverMenuProps;
|
|
1552
|
+
PopoverMenuBar: PopoverMenuBarProps;
|
|
1553
|
+
PrintUnixDialog: PrintUnixDialogProps;
|
|
1554
|
+
ProgressBar: ProgressBarProps;
|
|
1555
|
+
Range: RangeProps;
|
|
1556
|
+
Revealer: RevealerProps;
|
|
1557
|
+
"Revealer.Child": SlotProps;
|
|
1558
|
+
Scale: ScaleProps;
|
|
1559
|
+
ScaleButton: ScaleButtonProps;
|
|
1560
|
+
Scrollbar: ScrollbarProps;
|
|
1561
|
+
ScrolledWindow: ScrolledWindowProps;
|
|
1562
|
+
"ScrolledWindow.Child": SlotProps;
|
|
1563
|
+
"SearchBar.Root": SearchBarProps;
|
|
1564
|
+
"SearchBar.Child": SlotProps;
|
|
1565
|
+
"SearchBar.KeyCaptureWidget": SlotProps;
|
|
1566
|
+
SearchEntry: SearchEntryProps;
|
|
1567
|
+
Separator: SeparatorProps;
|
|
1568
|
+
ShortcutLabel: ShortcutLabelProps;
|
|
1569
|
+
ShortcutsGroup: ShortcutsGroupProps;
|
|
1570
|
+
ShortcutsSection: ShortcutsSectionProps;
|
|
1571
|
+
ShortcutsShortcut: ShortcutsShortcutProps;
|
|
1572
|
+
ShortcutsWindow: ShortcutsWindowProps;
|
|
1573
|
+
SpinButton: SpinButtonProps;
|
|
1574
|
+
Spinner: SpinnerProps;
|
|
1575
|
+
"Stack.Root": StackProps;
|
|
1576
|
+
"Stack.VisibleChild": SlotProps;
|
|
1577
|
+
"StackSidebar.Root": StackSidebarProps;
|
|
1578
|
+
"StackSidebar.Stack": SlotProps;
|
|
1579
|
+
"StackSwitcher.Root": StackSwitcherProps;
|
|
1580
|
+
"StackSwitcher.Stack": SlotProps;
|
|
1581
|
+
Statusbar: StatusbarProps;
|
|
1582
|
+
Switch: SwitchProps;
|
|
1583
|
+
Text: TextProps;
|
|
1584
|
+
TextView: TextViewProps;
|
|
1585
|
+
"ToggleButton.Root": ToggleButtonProps;
|
|
1586
|
+
"ToggleButton.Group": SlotProps;
|
|
1587
|
+
TreeExpander: TreeExpanderProps;
|
|
1588
|
+
"TreeExpander.Child": SlotProps;
|
|
1589
|
+
TreeView: TreeViewProps;
|
|
1590
|
+
Video: VideoProps;
|
|
1591
|
+
Viewport: ViewportProps;
|
|
1592
|
+
"Viewport.Child": SlotProps;
|
|
1593
|
+
VolumeButton: VolumeButtonProps;
|
|
1594
|
+
WindowControls: WindowControlsProps;
|
|
1595
|
+
WindowHandle: WindowHandleProps;
|
|
1596
|
+
"WindowHandle.Child": SlotProps;
|
|
1597
|
+
}
|
|
1595
1598
|
}
|
|
1596
1599
|
}
|
|
1597
1600
|
}
|