@gtkx/react 0.9.4 → 0.10.0
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 +55 -67
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +8 -8
- package/dist/factory.d.ts +3 -5
- package/dist/factory.js +18 -71
- package/dist/fiber-root.d.ts +1 -1
- package/dist/fiber-root.js +1 -2
- package/dist/generated/internal.d.ts +3 -6
- package/dist/generated/internal.js +10386 -13577
- package/dist/generated/jsx.d.ts +914 -808
- package/dist/generated/jsx.js +123 -358
- package/dist/generated/registry.d.ts +4 -0
- package/dist/generated/registry.js +13 -0
- package/dist/host-config.d.ts +7 -4
- package/dist/host-config.js +53 -18
- package/dist/index.d.ts +2 -22
- package/dist/index.js +2 -40
- package/dist/jsx.d.ts +719 -0
- package/dist/jsx.js +392 -0
- package/dist/node.d.ts +15 -32
- package/dist/node.js +20 -240
- package/dist/nodes/action-row-child.d.ts +21 -0
- package/dist/nodes/action-row-child.js +69 -0
- package/dist/nodes/action-row.js +33 -0
- package/dist/nodes/application.d.ts +1 -0
- package/dist/nodes/application.js +38 -0
- package/dist/nodes/autowrapped.d.ts +1 -0
- package/dist/nodes/autowrapped.js +109 -0
- package/dist/nodes/column-view-column.d.ts +16 -0
- package/dist/nodes/column-view-column.js +54 -0
- package/dist/nodes/column-view.d.ts +0 -59
- package/dist/nodes/column-view.js +107 -226
- package/dist/nodes/fixed-child.d.ts +1 -0
- package/dist/nodes/fixed-child.js +45 -0
- package/dist/nodes/grid-child.d.ts +1 -0
- package/dist/nodes/grid-child.js +54 -0
- package/dist/nodes/index.d.ts +34 -0
- package/dist/nodes/index.js +34 -0
- package/dist/nodes/internal/list-item-renderer.d.ts +18 -0
- package/dist/nodes/internal/list-item-renderer.js +67 -0
- package/dist/nodes/internal/list-store.d.ts +16 -0
- package/dist/nodes/internal/list-store.js +69 -0
- package/dist/nodes/internal/predicates.d.ts +26 -0
- package/dist/nodes/internal/predicates.js +36 -0
- package/dist/nodes/internal/signal-store.d.ts +9 -0
- package/dist/nodes/internal/signal-store.js +54 -0
- package/dist/nodes/internal/simple-list-store.d.ts +14 -0
- package/dist/nodes/internal/simple-list-store.js +60 -0
- package/dist/nodes/internal/tree-list-item-renderer.d.ts +18 -0
- package/dist/nodes/internal/tree-list-item-renderer.js +90 -0
- package/dist/nodes/internal/tree-store.d.ts +28 -0
- package/dist/nodes/internal/tree-store.js +153 -0
- package/dist/nodes/internal/utils.d.ts +3 -0
- package/dist/nodes/internal/utils.js +20 -0
- package/dist/nodes/list-item.d.ts +12 -0
- package/dist/nodes/list-item.js +24 -0
- package/dist/nodes/list-view.d.ts +0 -22
- package/dist/nodes/list-view.js +45 -38
- package/dist/nodes/menu.d.ts +6 -106
- package/dist/nodes/menu.js +16 -268
- package/dist/nodes/models/list.d.ts +24 -0
- package/dist/nodes/models/list.js +102 -0
- package/dist/nodes/models/menu.d.ts +45 -0
- package/dist/nodes/models/menu.js +265 -0
- package/dist/nodes/models/tree-list.d.ts +28 -0
- package/dist/nodes/models/tree-list.js +141 -0
- package/dist/nodes/navigation-page.d.ts +21 -0
- package/dist/nodes/navigation-page.js +95 -0
- package/dist/nodes/navigation-view.d.ts +1 -0
- package/dist/nodes/navigation-view.js +29 -0
- package/dist/nodes/notebook-page-tab.d.ts +15 -0
- package/dist/nodes/notebook-page-tab.js +42 -0
- package/dist/nodes/notebook-page.d.ts +23 -0
- package/dist/nodes/notebook-page.js +106 -0
- package/dist/nodes/notebook.d.ts +0 -32
- package/dist/nodes/notebook.js +20 -113
- package/dist/nodes/overlay-child.d.ts +1 -0
- package/dist/nodes/overlay-child.js +30 -0
- package/dist/nodes/pack-child.d.ts +21 -0
- package/dist/nodes/pack-child.js +68 -0
- package/dist/nodes/pack.d.ts +1 -0
- package/dist/nodes/pack.js +33 -0
- package/dist/nodes/popover-menu.d.ts +1 -0
- package/dist/nodes/popover-menu.js +58 -0
- package/dist/nodes/simple-list-item.d.ts +9 -0
- package/dist/nodes/simple-list-item.js +9 -0
- package/dist/nodes/simple-list-view.d.ts +1 -0
- package/dist/nodes/simple-list-view.js +75 -0
- package/dist/nodes/slot.d.ts +18 -10
- package/dist/nodes/slot.js +83 -51
- package/dist/nodes/stack-page.d.ts +1 -0
- package/dist/nodes/stack-page.js +80 -0
- package/dist/nodes/stack.d.ts +1 -22
- package/dist/nodes/stack.js +21 -60
- package/dist/nodes/toast-overlay.d.ts +1 -0
- package/dist/nodes/toast-overlay.js +35 -0
- package/dist/nodes/toast.d.ts +17 -0
- package/dist/nodes/toast.js +77 -0
- package/dist/nodes/toolbar-child.d.ts +9 -0
- package/dist/nodes/toolbar-child.js +33 -0
- package/dist/nodes/toolbar.d.ts +1 -0
- package/dist/nodes/toolbar.js +42 -0
- package/dist/nodes/tree-list-item.d.ts +20 -0
- package/dist/nodes/tree-list-item.js +102 -0
- package/dist/nodes/tree-list-view.d.ts +1 -0
- package/dist/nodes/tree-list-view.js +57 -0
- package/dist/nodes/virtual.d.ts +13 -0
- package/dist/nodes/virtual.js +21 -0
- package/dist/nodes/widget.d.ts +17 -3
- package/dist/nodes/widget.js +258 -2
- package/dist/nodes/window.d.ts +1 -12
- package/dist/nodes/window.js +66 -27
- package/dist/portal.d.ts +18 -13
- package/dist/portal.js +17 -14
- package/dist/reconciler.d.ts +0 -4
- package/dist/reconciler.js +1 -9
- package/dist/registry.d.ts +8 -0
- package/dist/registry.js +5 -0
- package/dist/render.d.ts +108 -12
- package/dist/render.js +140 -16
- package/dist/scheduler.d.ts +4 -0
- package/dist/scheduler.js +10 -0
- package/dist/types.d.ts +3 -136
- package/package.json +6 -6
- package/dist/batch.d.ts +0 -5
- package/dist/batch.js +0 -31
- package/dist/codegen/jsx-generator.d.ts +0 -56
- package/dist/codegen/jsx-generator.js +0 -959
- package/dist/containers.d.ts +0 -58
- package/dist/nodes/about-dialog.d.ts +0 -8
- package/dist/nodes/about-dialog.js +0 -16
- package/dist/nodes/action-bar.d.ts +0 -5
- package/dist/nodes/action-bar.js +0 -6
- package/dist/nodes/combo-row.d.ts +0 -5
- package/dist/nodes/combo-row.js +0 -6
- package/dist/nodes/drop-down.d.ts +0 -9
- package/dist/nodes/drop-down.js +0 -12
- package/dist/nodes/flow-box.d.ts +0 -10
- package/dist/nodes/flow-box.js +0 -41
- package/dist/nodes/grid.d.ts +0 -30
- package/dist/nodes/grid.js +0 -84
- package/dist/nodes/header-bar.d.ts +0 -43
- package/dist/nodes/header-bar.js +0 -116
- package/dist/nodes/indexed-child-container.d.ts +0 -16
- package/dist/nodes/indexed-child-container.js +0 -22
- package/dist/nodes/list-box.d.ts +0 -10
- package/dist/nodes/list-box.js +0 -48
- package/dist/nodes/list-item-factory.d.ts +0 -19
- package/dist/nodes/list-item-factory.js +0 -58
- package/dist/nodes/overlay.d.ts +0 -11
- package/dist/nodes/overlay.js +0 -50
- package/dist/nodes/paged-stack.d.ts +0 -31
- package/dist/nodes/paged-stack.js +0 -95
- package/dist/nodes/root.d.ts +0 -8
- package/dist/nodes/root.js +0 -13
- package/dist/nodes/selectable-list.d.ts +0 -45
- package/dist/nodes/selectable-list.js +0 -260
- package/dist/nodes/stack-page-props.d.ts +0 -11
- package/dist/nodes/stack-page-props.js +0 -23
- package/dist/nodes/string-list-container.d.ts +0 -34
- package/dist/nodes/string-list-container.js +0 -118
- package/dist/nodes/string-list-item.d.ts +0 -19
- package/dist/nodes/string-list-item.js +0 -50
- package/dist/nodes/string-list-store.d.ts +0 -13
- package/dist/nodes/string-list-store.js +0 -44
- package/dist/nodes/text-view.d.ts +0 -8
- package/dist/nodes/text-view.js +0 -16
- package/dist/nodes/toggle-button.d.ts +0 -14
- package/dist/nodes/toggle-button.js +0 -39
- package/dist/nodes/toolbar-view.d.ts +0 -14
- package/dist/nodes/toolbar-view.js +0 -78
- package/dist/nodes/view-stack.d.ts +0 -9
- package/dist/nodes/view-stack.js +0 -28
- package/dist/nodes/virtual-item.d.ts +0 -19
- package/dist/nodes/virtual-item.js +0 -48
- package/dist/nodes/virtual-slot.d.ts +0 -25
- package/dist/nodes/virtual-slot.js +0 -57
- package/dist/predicates.d.ts +0 -29
- package/dist/predicates.js +0 -37
- package/dist/props.d.ts +0 -7
- package/dist/props.js +0 -12
- /package/dist/{containers.js → nodes/action-row.d.ts} +0 -0
package/dist/generated/jsx.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "react";
|
|
2
1
|
import type { ReactNode, Ref } from "react";
|
|
3
2
|
import type * as Adw from "@gtkx/ffi/adw";
|
|
4
3
|
import type * as GLib from "@gtkx/ffi/glib";
|
|
@@ -12,8 +11,6 @@ import type * as Pango from "@gtkx/ffi/pango";
|
|
|
12
11
|
import type * as Vte from "@gtkx/ffi/vte";
|
|
13
12
|
import type * as WebKit from "@gtkx/ffi/webkit";
|
|
14
13
|
import type * as cairo from "@gtkx/ffi/cairo";
|
|
15
|
-
import type { ColumnViewColumnProps, ColumnViewRootProps, GridChildProps, ListItemProps, ListViewRenderProps, MenuItemProps, MenuRootProps, MenuSectionProps, MenuSubmenuProps, NotebookPageProps, SlotProps, StackPageProps, StackRootProps, StringListItemProps } from "../types.js";
|
|
16
|
-
export { ColumnViewColumnProps, ColumnViewRootProps, GridChildProps, ListItemProps, ListViewRenderProps, MenuItemProps, MenuRootProps, MenuSectionProps, MenuSubmenuProps, NotebookPageProps, SlotProps, StackPageProps, StackRootProps, StringListItemProps, };
|
|
17
14
|
/**
|
|
18
15
|
* The base class for all widgets.
|
|
19
16
|
*
|
|
@@ -683,26 +680,17 @@ export interface WidgetProps {
|
|
|
683
680
|
* or the widget has been unmapped (that is, it is going to be hidden).
|
|
684
681
|
*/
|
|
685
682
|
onUnrealize?: (self: Gtk.Widget) => void;
|
|
686
|
-
children?: ReactNode;
|
|
687
683
|
}
|
|
688
|
-
/** Props for the {@link
|
|
689
|
-
export interface
|
|
690
|
-
/**
|
|
691
|
-
|
|
692
|
-
*
|
|
693
|
-
* The application will be kept alive for at least as long as it
|
|
694
|
-
* has any windows associated with it (see g_application_hold()
|
|
695
|
-
* for a way to keep it alive without windows).
|
|
696
|
-
*
|
|
697
|
-
* Normally, the connection between the application and the window
|
|
698
|
-
* will remain until the window is destroyed, but you can explicitly
|
|
699
|
-
* remove it by setting the this property to `NULL`.
|
|
700
|
-
*/
|
|
701
|
-
application?: Gtk.Application;
|
|
684
|
+
/** Props for the {@link GtkWindow} widget. */
|
|
685
|
+
export interface GtkWindowProps extends WidgetProps {
|
|
686
|
+
/** The child widget. */
|
|
687
|
+
child?: Gtk.Widget;
|
|
702
688
|
/** Whether the window should have a frame (also known as *decorations*). */
|
|
703
689
|
decorated?: boolean;
|
|
704
690
|
/** The default height of the window. */
|
|
705
691
|
defaultHeight?: number;
|
|
692
|
+
/** The default widget. */
|
|
693
|
+
defaultWidget?: Gtk.Widget;
|
|
706
694
|
/** The default width of the window. */
|
|
707
695
|
defaultWidth?: number;
|
|
708
696
|
/** Whether the window frame should have a close button. */
|
|
@@ -718,6 +706,8 @@ export interface WindowProps extends WidgetProps {
|
|
|
718
706
|
* and should not be set by applications.
|
|
719
707
|
*/
|
|
720
708
|
focusVisible?: boolean;
|
|
709
|
+
/** The focus widget. */
|
|
710
|
+
focusWidget?: Gtk.Widget;
|
|
721
711
|
/**
|
|
722
712
|
* Whether the window is fullscreen.
|
|
723
713
|
*
|
|
@@ -786,6 +776,10 @@ export interface WindowProps extends WidgetProps {
|
|
|
786
776
|
suspended?: boolean;
|
|
787
777
|
/** The title of the window. */
|
|
788
778
|
title?: string;
|
|
779
|
+
/** The titlebar widget. */
|
|
780
|
+
titlebar?: Gtk.Widget;
|
|
781
|
+
/** The transient parent of the window. */
|
|
782
|
+
transientFor?: Gtk.Window;
|
|
789
783
|
/**
|
|
790
784
|
* Emitted when the user activates the default widget.
|
|
791
785
|
*
|
|
@@ -824,10 +818,11 @@ export interface WindowProps extends WidgetProps {
|
|
|
824
818
|
* are associated with the window changes.
|
|
825
819
|
*/
|
|
826
820
|
onKeysChanged?: (self: Gtk.Window) => void;
|
|
821
|
+
children?: ReactNode;
|
|
827
822
|
ref?: Ref<Gtk.Window>;
|
|
828
823
|
}
|
|
829
|
-
/** Props for the {@link
|
|
830
|
-
export interface
|
|
824
|
+
/** Props for the {@link GtkAboutDialog} widget. */
|
|
825
|
+
export interface GtkAboutDialogProps extends GtkWindowProps {
|
|
831
826
|
/**
|
|
832
827
|
* The people who contributed artwork to the program.
|
|
833
828
|
*
|
|
@@ -954,16 +949,18 @@ export interface AboutDialogProps extends WindowProps {
|
|
|
954
949
|
* which is to call {@link FileLauncher.launch}.
|
|
955
950
|
*/
|
|
956
951
|
onActivateLink?: (self: Gtk.AboutDialog, uri: string) => boolean;
|
|
952
|
+
children?: ReactNode;
|
|
957
953
|
ref?: Ref<Gtk.AboutDialog>;
|
|
958
954
|
}
|
|
959
|
-
/** Props for the {@link
|
|
960
|
-
export interface
|
|
955
|
+
/** Props for the {@link GtkActionBar} widget. */
|
|
956
|
+
export interface GtkActionBarProps extends WidgetProps {
|
|
961
957
|
/** Controls whether the action bar shows its contents. */
|
|
962
958
|
revealed?: boolean;
|
|
959
|
+
children?: ReactNode;
|
|
963
960
|
ref?: Ref<Gtk.ActionBar>;
|
|
964
961
|
}
|
|
965
|
-
/** Props for the {@link
|
|
966
|
-
export interface
|
|
962
|
+
/** Props for the {@link GtkAppChooserButton} widget. */
|
|
963
|
+
export interface GtkAppChooserButtonProps extends WidgetProps {
|
|
967
964
|
/**
|
|
968
965
|
* The text to show at the top of the dialog that can be
|
|
969
966
|
* opened from the button.
|
|
@@ -1007,8 +1004,8 @@ export interface AppChooserButtonProps extends WidgetProps {
|
|
|
1007
1004
|
onCustomItemActivated?: (self: Gtk.AppChooserButton, itemName: string) => void;
|
|
1008
1005
|
ref?: Ref<Gtk.AppChooserButton>;
|
|
1009
1006
|
}
|
|
1010
|
-
/** Props for the {@link
|
|
1011
|
-
export interface
|
|
1007
|
+
/** Props for the {@link GtkAppChooserDialog} widget. */
|
|
1008
|
+
export interface GtkAppChooserDialogProps extends GtkDialogProps {
|
|
1012
1009
|
/**
|
|
1013
1010
|
* The GFile used by the `GtkAppChooserDialog`.
|
|
1014
1011
|
*
|
|
@@ -1028,10 +1025,11 @@ export interface AppChooserDialogProps extends DialogProps {
|
|
|
1028
1025
|
* See `GContentType` for more information about content types.
|
|
1029
1026
|
*/
|
|
1030
1027
|
contentType?: string;
|
|
1028
|
+
children?: ReactNode;
|
|
1031
1029
|
ref?: Ref<Gtk.AppChooserDialog>;
|
|
1032
1030
|
}
|
|
1033
|
-
/** Props for the {@link
|
|
1034
|
-
export interface
|
|
1031
|
+
/** Props for the {@link GtkAppChooserWidget} widget. */
|
|
1032
|
+
export interface GtkAppChooserWidgetProps extends WidgetProps {
|
|
1035
1033
|
/**
|
|
1036
1034
|
* The text that appears in the widget when there are no applications
|
|
1037
1035
|
* for the given content type.
|
|
@@ -1090,8 +1088,8 @@ export interface AppChooserWidgetProps extends WidgetProps {
|
|
|
1090
1088
|
onApplicationSelected?: (self: Gtk.AppChooserWidget, application: Gio.AppInfo) => void;
|
|
1091
1089
|
ref?: Ref<Gtk.AppChooserWidget>;
|
|
1092
1090
|
}
|
|
1093
|
-
/** Props for the {@link
|
|
1094
|
-
export interface
|
|
1091
|
+
/** Props for the {@link GtkApplicationWindow} widget. */
|
|
1092
|
+
export interface GtkApplicationWindowProps extends GtkWindowProps {
|
|
1095
1093
|
/**
|
|
1096
1094
|
* If this property is true, the window will display a menubar
|
|
1097
1095
|
* unless it is shown by the desktop shell.
|
|
@@ -1102,10 +1100,13 @@ export interface ApplicationWindowProps extends WindowProps {
|
|
|
1102
1100
|
* of whether the desktop shell is showing it or not.
|
|
1103
1101
|
*/
|
|
1104
1102
|
showMenubar?: boolean;
|
|
1103
|
+
children?: ReactNode;
|
|
1105
1104
|
ref?: Ref<Gtk.ApplicationWindow>;
|
|
1106
1105
|
}
|
|
1107
|
-
/** Props for the {@link
|
|
1108
|
-
export interface
|
|
1106
|
+
/** Props for the {@link GtkAspectFrame} widget. */
|
|
1107
|
+
export interface GtkAspectFrameProps extends WidgetProps {
|
|
1108
|
+
/** The child widget. */
|
|
1109
|
+
child?: Gtk.Widget;
|
|
1109
1110
|
/** Whether the `GtkAspectFrame` should use the aspect ratio of its child. */
|
|
1110
1111
|
obeyChild: boolean;
|
|
1111
1112
|
/**
|
|
@@ -1119,10 +1120,11 @@ export interface AspectFrameProps extends WidgetProps {
|
|
|
1119
1120
|
xalign: number;
|
|
1120
1121
|
/** The vertical alignment of the child. */
|
|
1121
1122
|
yalign: number;
|
|
1123
|
+
children?: ReactNode;
|
|
1122
1124
|
ref?: Ref<Gtk.AspectFrame>;
|
|
1123
1125
|
}
|
|
1124
|
-
/** Props for the {@link
|
|
1125
|
-
export interface
|
|
1126
|
+
/** Props for the {@link GtkAssistant} widget. */
|
|
1127
|
+
export interface GtkAssistantProps extends GtkWindowProps {
|
|
1126
1128
|
/** `GListModel` containing the pages. */
|
|
1127
1129
|
pages?: Gio.ListModel;
|
|
1128
1130
|
/**
|
|
@@ -1165,10 +1167,11 @@ export interface AssistantProps extends WindowProps {
|
|
|
1165
1167
|
* necessary before showing `page`.
|
|
1166
1168
|
*/
|
|
1167
1169
|
onPrepare?: (self: Gtk.Assistant, page: Gtk.Widget) => void;
|
|
1170
|
+
children?: ReactNode;
|
|
1168
1171
|
ref?: Ref<Gtk.Assistant>;
|
|
1169
1172
|
}
|
|
1170
|
-
/** Props for the {@link
|
|
1171
|
-
export interface
|
|
1173
|
+
/** Props for the {@link GtkBox} widget. */
|
|
1174
|
+
export interface GtkBoxProps extends WidgetProps {
|
|
1172
1175
|
/**
|
|
1173
1176
|
* The position of the child that determines the baseline.
|
|
1174
1177
|
*
|
|
@@ -1183,10 +1186,11 @@ export interface BoxProps extends WidgetProps {
|
|
|
1183
1186
|
spacing: number;
|
|
1184
1187
|
/** The orientation of the orientable. */
|
|
1185
1188
|
orientation: Gtk.Orientation;
|
|
1189
|
+
children?: ReactNode;
|
|
1186
1190
|
ref?: Ref<Gtk.Box>;
|
|
1187
1191
|
}
|
|
1188
|
-
/** Props for the {@link
|
|
1189
|
-
export interface
|
|
1192
|
+
/** Props for the {@link GtkButton} widget. */
|
|
1193
|
+
export interface GtkButtonProps extends WidgetProps {
|
|
1190
1194
|
/**
|
|
1191
1195
|
* Whether the size of the button can be made smaller than the natural
|
|
1192
1196
|
* size of its contents.
|
|
@@ -1197,6 +1201,8 @@ export interface ButtonProps extends WidgetProps {
|
|
|
1197
1201
|
* property has no effect.
|
|
1198
1202
|
*/
|
|
1199
1203
|
canShrink?: boolean;
|
|
1204
|
+
/** The child widget. */
|
|
1205
|
+
child?: Gtk.Widget;
|
|
1200
1206
|
/** Whether the button has a frame. */
|
|
1201
1207
|
hasFrame?: boolean;
|
|
1202
1208
|
/** The name of the icon used to automatically populate the button. */
|
|
@@ -1224,10 +1230,11 @@ export interface ButtonProps extends WidgetProps {
|
|
|
1224
1230
|
onActivate?: (self: Gtk.Button) => void;
|
|
1225
1231
|
/** Emitted when the button has been activated (pressed and released). */
|
|
1226
1232
|
onClicked?: (self: Gtk.Button) => void;
|
|
1233
|
+
children?: ReactNode;
|
|
1227
1234
|
ref?: Ref<Gtk.Button>;
|
|
1228
1235
|
}
|
|
1229
|
-
/** Props for the {@link
|
|
1230
|
-
export interface
|
|
1236
|
+
/** Props for the {@link GtkCalendar} widget. */
|
|
1237
|
+
export interface GtkCalendarProps extends WidgetProps {
|
|
1231
1238
|
/**
|
|
1232
1239
|
* The selected date.
|
|
1233
1240
|
*
|
|
@@ -1266,8 +1273,8 @@ export interface CalendarProps extends WidgetProps {
|
|
|
1266
1273
|
onPrevYear?: (self: Gtk.Calendar) => void;
|
|
1267
1274
|
ref?: Ref<Gtk.Calendar>;
|
|
1268
1275
|
}
|
|
1269
|
-
/** Props for the {@link
|
|
1270
|
-
export interface
|
|
1276
|
+
/** Props for the {@link GtkCellView} widget. */
|
|
1277
|
+
export interface GtkCellViewProps extends WidgetProps {
|
|
1271
1278
|
/**
|
|
1272
1279
|
* The `GtkCellArea` rendering cells
|
|
1273
1280
|
*
|
|
@@ -1319,10 +1326,20 @@ export interface CellViewProps extends WidgetProps {
|
|
|
1319
1326
|
orientation?: Gtk.Orientation;
|
|
1320
1327
|
ref?: Ref<Gtk.CellView>;
|
|
1321
1328
|
}
|
|
1322
|
-
/** Props for the {@link
|
|
1323
|
-
export interface
|
|
1329
|
+
/** Props for the {@link GtkCenterBox} widget. */
|
|
1330
|
+
export interface GtkCenterBoxProps extends WidgetProps {
|
|
1324
1331
|
/** The position of the baseline aligned widget if extra space is available. */
|
|
1325
1332
|
baselinePosition?: Gtk.BaselinePosition;
|
|
1333
|
+
/** The widget that is placed at the center position. */
|
|
1334
|
+
centerWidget?: Gtk.Widget;
|
|
1335
|
+
/**
|
|
1336
|
+
* The widget that is placed at the end position.
|
|
1337
|
+
*
|
|
1338
|
+
* In vertical orientation, the end position is at the bottom.
|
|
1339
|
+
* In horizontal orientation, the end position is at the trailing
|
|
1340
|
+
* edge with respect to the text direction.
|
|
1341
|
+
*/
|
|
1342
|
+
endWidget?: Gtk.Widget;
|
|
1326
1343
|
/**
|
|
1327
1344
|
* Whether to shrink the center widget after other children.
|
|
1328
1345
|
*
|
|
@@ -1334,12 +1351,21 @@ export interface CenterBoxProps extends WidgetProps {
|
|
|
1334
1351
|
* center widget starts shrinking instead.
|
|
1335
1352
|
*/
|
|
1336
1353
|
shrinkCenterLast?: boolean;
|
|
1354
|
+
/**
|
|
1355
|
+
* The widget that is placed at the start position.
|
|
1356
|
+
*
|
|
1357
|
+
* In vertical orientation, the start position is at the top.
|
|
1358
|
+
* In horizontal orientation, the start position is at the leading
|
|
1359
|
+
* edge with respect to the text direction.
|
|
1360
|
+
*/
|
|
1361
|
+
startWidget?: Gtk.Widget;
|
|
1337
1362
|
/** The orientation of the orientable. */
|
|
1338
1363
|
orientation?: Gtk.Orientation;
|
|
1364
|
+
children?: ReactNode;
|
|
1339
1365
|
ref?: Ref<Gtk.CenterBox>;
|
|
1340
1366
|
}
|
|
1341
|
-
/** Props for the {@link
|
|
1342
|
-
export interface
|
|
1367
|
+
/** Props for the {@link GtkCheckButton} widget. */
|
|
1368
|
+
export interface GtkCheckButtonProps extends WidgetProps {
|
|
1343
1369
|
/**
|
|
1344
1370
|
* If the check button is active.
|
|
1345
1371
|
*
|
|
@@ -1347,6 +1373,10 @@ export interface CheckButtonProps extends WidgetProps {
|
|
|
1347
1373
|
* the check button and the indicator CSS node.
|
|
1348
1374
|
*/
|
|
1349
1375
|
active?: boolean;
|
|
1376
|
+
/** The child widget. */
|
|
1377
|
+
child?: Gtk.Widget;
|
|
1378
|
+
/** The check button whose group this widget belongs to. */
|
|
1379
|
+
group?: Gtk.CheckButton;
|
|
1350
1380
|
/**
|
|
1351
1381
|
* If the check button is in an “in between” state.
|
|
1352
1382
|
*
|
|
@@ -1383,10 +1413,11 @@ export interface CheckButtonProps extends WidgetProps {
|
|
|
1383
1413
|
* property changes.
|
|
1384
1414
|
*/
|
|
1385
1415
|
onToggled?: (self: Gtk.CheckButton) => void;
|
|
1416
|
+
children?: ReactNode;
|
|
1386
1417
|
ref?: Ref<Gtk.CheckButton>;
|
|
1387
1418
|
}
|
|
1388
|
-
/** Props for the {@link
|
|
1389
|
-
export interface
|
|
1419
|
+
/** Props for the {@link GtkColorButton} widget. */
|
|
1420
|
+
export interface GtkColorButtonProps extends WidgetProps {
|
|
1390
1421
|
/** Whether the color chooser dialog should be modal. */
|
|
1391
1422
|
modal?: boolean;
|
|
1392
1423
|
/**
|
|
@@ -1445,8 +1476,8 @@ export interface ColorButtonProps extends WidgetProps {
|
|
|
1445
1476
|
onColorActivated?: (self: Gtk.ColorButton, color: Gdk.RGBA) => void;
|
|
1446
1477
|
ref?: Ref<Gtk.ColorButton>;
|
|
1447
1478
|
}
|
|
1448
|
-
/** Props for the {@link
|
|
1449
|
-
export interface
|
|
1479
|
+
/** Props for the {@link GtkColorChooserDialog} widget. */
|
|
1480
|
+
export interface GtkColorChooserDialogProps extends GtkDialogProps {
|
|
1450
1481
|
/**
|
|
1451
1482
|
* Whether the color chooser dialog is showing the single-color editor.
|
|
1452
1483
|
*
|
|
@@ -1479,10 +1510,11 @@ export interface ColorChooserDialogProps extends DialogProps {
|
|
|
1479
1510
|
* Space, Shift+Space, Return or Enter.
|
|
1480
1511
|
*/
|
|
1481
1512
|
onColorActivated?: (self: Gtk.ColorChooserDialog, color: Gdk.RGBA) => void;
|
|
1513
|
+
children?: ReactNode;
|
|
1482
1514
|
ref?: Ref<Gtk.ColorChooserDialog>;
|
|
1483
1515
|
}
|
|
1484
|
-
/** Props for the {@link
|
|
1485
|
-
export interface
|
|
1516
|
+
/** Props for the {@link GtkColorChooserWidget} widget. */
|
|
1517
|
+
export interface GtkColorChooserWidgetProps extends WidgetProps {
|
|
1486
1518
|
/**
|
|
1487
1519
|
* %TRUE when the color chooser is showing the single-color editor.
|
|
1488
1520
|
*
|
|
@@ -1517,8 +1549,8 @@ export interface ColorChooserWidgetProps extends WidgetProps {
|
|
|
1517
1549
|
onColorActivated?: (self: Gtk.ColorChooserWidget, color: Gdk.RGBA) => void;
|
|
1518
1550
|
ref?: Ref<Gtk.ColorChooserWidget>;
|
|
1519
1551
|
}
|
|
1520
|
-
/** Props for the {@link
|
|
1521
|
-
export interface
|
|
1552
|
+
/** Props for the {@link GtkColorDialogButton} widget. */
|
|
1553
|
+
export interface GtkColorDialogButtonProps extends WidgetProps {
|
|
1522
1554
|
/**
|
|
1523
1555
|
* The `GtkColorDialog` that contains parameters for
|
|
1524
1556
|
* the color chooser dialog.
|
|
@@ -1544,8 +1576,8 @@ export interface ColorDialogButtonProps extends WidgetProps {
|
|
|
1544
1576
|
onActivate?: (self: Gtk.ColorDialogButton) => void;
|
|
1545
1577
|
ref?: Ref<Gtk.ColorDialogButton>;
|
|
1546
1578
|
}
|
|
1547
|
-
/** Props for the {@link
|
|
1548
|
-
export interface
|
|
1579
|
+
/** Props for the {@link GtkColumnView} widget. */
|
|
1580
|
+
export interface GtkColumnViewProps extends WidgetProps {
|
|
1549
1581
|
/** The list of columns. */
|
|
1550
1582
|
columns?: Gio.ListModel;
|
|
1551
1583
|
/** Allow rubberband selection. */
|
|
@@ -1556,8 +1588,6 @@ export interface ColumnViewProps extends WidgetProps {
|
|
|
1556
1588
|
* The factory must be for configuring {@link ListHeader} objects.
|
|
1557
1589
|
*/
|
|
1558
1590
|
headerFactory?: Gtk.ListItemFactory;
|
|
1559
|
-
/** Model for the items displayed. */
|
|
1560
|
-
model?: Gtk.SelectionModel;
|
|
1561
1591
|
/** Whether columns are reorderable. */
|
|
1562
1592
|
reorderable?: boolean;
|
|
1563
1593
|
/**
|
|
@@ -1607,10 +1637,17 @@ export interface ColumnViewProps extends WidgetProps {
|
|
|
1607
1637
|
onSelectionChanged?: (ids: string[]) => void;
|
|
1608
1638
|
/** Selection mode: SINGLE (default) or MULTIPLE */
|
|
1609
1639
|
selectionMode?: import("@gtkx/ffi/gtk").SelectionMode;
|
|
1640
|
+
/** ID of the currently sorted column, or null if unsorted */
|
|
1641
|
+
sortColumn?: string | null;
|
|
1642
|
+
/** The current sort direction */
|
|
1643
|
+
sortOrder?: import("@gtkx/ffi/gtk").SortType;
|
|
1644
|
+
/** Called when a column header is clicked to change sort */
|
|
1645
|
+
onSortChange?: (column: string | null, order: import("@gtkx/ffi/gtk").SortType) => void;
|
|
1646
|
+
children?: ReactNode;
|
|
1610
1647
|
ref?: Ref<Gtk.ColumnView>;
|
|
1611
1648
|
}
|
|
1612
|
-
/** Props for the {@link
|
|
1613
|
-
export interface
|
|
1649
|
+
/** Props for the {@link GtkComboBox} widget. */
|
|
1650
|
+
export interface GtkComboBoxProps extends WidgetProps {
|
|
1614
1651
|
/**
|
|
1615
1652
|
* The item which is currently active.
|
|
1616
1653
|
*
|
|
@@ -1627,6 +1664,8 @@ export interface ComboBoxProps extends WidgetProps {
|
|
|
1627
1664
|
* the model is empty.
|
|
1628
1665
|
*/
|
|
1629
1666
|
buttonSensitivity?: Gtk.SensitivityType;
|
|
1667
|
+
/** The child widget. */
|
|
1668
|
+
child?: Gtk.Widget;
|
|
1630
1669
|
/**
|
|
1631
1670
|
* The model column to associate with strings from the entry.
|
|
1632
1671
|
*
|
|
@@ -1759,14 +1798,16 @@ export interface ComboBoxProps extends WidgetProps {
|
|
|
1759
1798
|
* for emitting `GtkCellEditable::remove-widget`.
|
|
1760
1799
|
*/
|
|
1761
1800
|
onRemoveWidget?: (self: Gtk.ComboBox) => void;
|
|
1801
|
+
children?: ReactNode;
|
|
1762
1802
|
ref?: Ref<Gtk.ComboBox>;
|
|
1763
1803
|
}
|
|
1764
|
-
/** Props for the {@link
|
|
1765
|
-
export interface
|
|
1804
|
+
/** Props for the {@link GtkComboBoxText} widget. */
|
|
1805
|
+
export interface GtkComboBoxTextProps extends GtkComboBoxProps {
|
|
1806
|
+
children?: ReactNode;
|
|
1766
1807
|
ref?: Ref<Gtk.ComboBoxText>;
|
|
1767
1808
|
}
|
|
1768
|
-
/** Props for the {@link
|
|
1769
|
-
export interface
|
|
1809
|
+
/** Props for the {@link GtkDialog} widget. */
|
|
1810
|
+
export interface GtkDialogProps extends GtkWindowProps {
|
|
1770
1811
|
/**
|
|
1771
1812
|
* %TRUE if the dialog uses a headerbar for action buttons
|
|
1772
1813
|
* instead of the action-area.
|
|
@@ -1805,14 +1846,18 @@ export interface DialogProps extends WindowProps {
|
|
|
1805
1846
|
* Otherwise, it depends on which action widget was clicked.
|
|
1806
1847
|
*/
|
|
1807
1848
|
onResponse?: (self: Gtk.Dialog, responseId: number) => void;
|
|
1849
|
+
children?: ReactNode;
|
|
1808
1850
|
ref?: Ref<Gtk.Dialog>;
|
|
1809
1851
|
}
|
|
1810
|
-
/** Props for the {@link
|
|
1811
|
-
export interface
|
|
1852
|
+
/** Props for the {@link GtkDragIcon} widget. */
|
|
1853
|
+
export interface GtkDragIconProps extends WidgetProps {
|
|
1854
|
+
/** The widget to display as drag icon. */
|
|
1855
|
+
child?: Gtk.Widget;
|
|
1856
|
+
children?: ReactNode;
|
|
1812
1857
|
ref?: Ref<Gtk.DragIcon>;
|
|
1813
1858
|
}
|
|
1814
|
-
/** Props for the {@link
|
|
1815
|
-
export interface
|
|
1859
|
+
/** Props for the {@link GtkDrawingArea} widget. */
|
|
1860
|
+
export interface GtkDrawingAreaProps extends WidgetProps {
|
|
1816
1861
|
/** The content height. */
|
|
1817
1862
|
contentHeight?: number;
|
|
1818
1863
|
/** The content width. */
|
|
@@ -1827,8 +1872,8 @@ export interface DrawingAreaProps extends WidgetProps {
|
|
|
1827
1872
|
onResize?: (self: Gtk.DrawingArea, width: number, height: number) => void;
|
|
1828
1873
|
ref?: Ref<Gtk.DrawingArea>;
|
|
1829
1874
|
}
|
|
1830
|
-
/** Props for the {@link
|
|
1831
|
-
export interface
|
|
1875
|
+
/** Props for the {@link GtkDropDown} widget. */
|
|
1876
|
+
export interface GtkDropDownProps extends WidgetProps {
|
|
1832
1877
|
/**
|
|
1833
1878
|
* Whether to show a search entry in the popup.
|
|
1834
1879
|
*
|
|
@@ -1855,8 +1900,6 @@ export interface DropDownProps extends WidgetProps {
|
|
|
1855
1900
|
* If this is not set, {@link DropDown.factory} is used.
|
|
1856
1901
|
*/
|
|
1857
1902
|
listFactory?: Gtk.ListItemFactory;
|
|
1858
|
-
/** Model for the displayed items. */
|
|
1859
|
-
model?: Gio.ListModel;
|
|
1860
1903
|
/** The match mode for the search filter. */
|
|
1861
1904
|
searchMatchMode?: Gtk.StringFilterMatchMode;
|
|
1862
1905
|
/**
|
|
@@ -1881,10 +1924,11 @@ export interface DropDownProps extends WidgetProps {
|
|
|
1881
1924
|
selectedId?: string;
|
|
1882
1925
|
/** Called when selection changes with the selected item's ID */
|
|
1883
1926
|
onSelectionChanged?: (id: string) => void;
|
|
1927
|
+
children?: ReactNode;
|
|
1884
1928
|
ref?: Ref<Gtk.DropDown>;
|
|
1885
1929
|
}
|
|
1886
|
-
/** Props for the {@link
|
|
1887
|
-
export interface
|
|
1930
|
+
/** Props for the {@link GtkEditableLabel} widget. */
|
|
1931
|
+
export interface GtkEditableLabelProps extends WidgetProps {
|
|
1888
1932
|
/** This property is %TRUE while the widget is in edit mode. */
|
|
1889
1933
|
editing?: boolean;
|
|
1890
1934
|
/** The current position of the insertion cursor in chars. */
|
|
@@ -1941,14 +1985,15 @@ export interface EditableLabelProps extends WidgetProps {
|
|
|
1941
1985
|
onInsertText?: (self: Gtk.EditableLabel, text: string, length: number, position: Ref<number>) => void;
|
|
1942
1986
|
ref?: Ref<Gtk.EditableLabel>;
|
|
1943
1987
|
}
|
|
1944
|
-
/** Props for the {@link
|
|
1945
|
-
export interface
|
|
1988
|
+
/** Props for the {@link GtkEmojiChooser} widget. */
|
|
1989
|
+
export interface GtkEmojiChooserProps extends GtkPopoverProps {
|
|
1946
1990
|
/** Emitted when the user selects an Emoji. */
|
|
1947
1991
|
onEmojiPicked?: (self: Gtk.EmojiChooser, text: string) => void;
|
|
1992
|
+
children?: ReactNode;
|
|
1948
1993
|
ref?: Ref<Gtk.EmojiChooser>;
|
|
1949
1994
|
}
|
|
1950
|
-
/** Props for the {@link
|
|
1951
|
-
export interface
|
|
1995
|
+
/** Props for the {@link GtkEntry} widget. */
|
|
1996
|
+
export interface GtkEntryProps extends WidgetProps {
|
|
1952
1997
|
/** Whether to activate the default widget when Enter is pressed. */
|
|
1953
1998
|
activatesDefault?: boolean;
|
|
1954
1999
|
/**
|
|
@@ -2252,12 +2297,16 @@ export interface EntryProps extends WidgetProps {
|
|
|
2252
2297
|
onInsertText?: (self: Gtk.Entry, text: string, length: number, position: Ref<number>) => void;
|
|
2253
2298
|
ref?: Ref<Gtk.Entry>;
|
|
2254
2299
|
}
|
|
2255
|
-
/** Props for the {@link
|
|
2256
|
-
export interface
|
|
2300
|
+
/** Props for the {@link GtkExpander} widget. */
|
|
2301
|
+
export interface GtkExpanderProps extends WidgetProps {
|
|
2302
|
+
/** The child widget. */
|
|
2303
|
+
child?: Gtk.Widget;
|
|
2257
2304
|
/** Whether the expander has been opened to reveal the child. */
|
|
2258
2305
|
expanded?: boolean;
|
|
2259
2306
|
/** The text of the expanders label. */
|
|
2260
2307
|
label?: string;
|
|
2308
|
+
/** A widget to display instead of the usual expander label. */
|
|
2309
|
+
labelWidget?: Gtk.Widget;
|
|
2261
2310
|
/**
|
|
2262
2311
|
* When this property is %TRUE, the expander will resize the toplevel
|
|
2263
2312
|
* widget containing the expander upon expanding and collapsing.
|
|
@@ -2269,10 +2318,11 @@ export interface ExpanderProps extends WidgetProps {
|
|
|
2269
2318
|
useUnderline?: boolean;
|
|
2270
2319
|
/** Activates the `GtkExpander`. */
|
|
2271
2320
|
onActivate?: (self: Gtk.Expander) => void;
|
|
2321
|
+
children?: ReactNode;
|
|
2272
2322
|
ref?: Ref<Gtk.Expander>;
|
|
2273
2323
|
}
|
|
2274
|
-
/** Props for the {@link
|
|
2275
|
-
export interface
|
|
2324
|
+
/** Props for the {@link GtkFileChooserDialog} widget. */
|
|
2325
|
+
export interface GtkFileChooserDialogProps extends GtkDialogProps {
|
|
2276
2326
|
/** The type of operation that the file chooser is performing. */
|
|
2277
2327
|
action?: Gtk.FileChooserAction;
|
|
2278
2328
|
/**
|
|
@@ -2300,10 +2350,11 @@ export interface FileChooserDialogProps extends DialogProps {
|
|
|
2300
2350
|
* or may not be updated for later changes.
|
|
2301
2351
|
*/
|
|
2302
2352
|
shortcutFolders?: Gio.ListModel;
|
|
2353
|
+
children?: ReactNode;
|
|
2303
2354
|
ref?: Ref<Gtk.FileChooserDialog>;
|
|
2304
2355
|
}
|
|
2305
|
-
/** Props for the {@link
|
|
2306
|
-
export interface
|
|
2356
|
+
/** Props for the {@link GtkFileChooserWidget} widget. */
|
|
2357
|
+
export interface GtkFileChooserWidgetProps extends WidgetProps {
|
|
2307
2358
|
/** Whether search mode is enabled. */
|
|
2308
2359
|
searchMode?: boolean;
|
|
2309
2360
|
/** Whether to show the time. */
|
|
@@ -2483,12 +2534,13 @@ export interface FileChooserWidgetProps extends WidgetProps {
|
|
|
2483
2534
|
onUpFolder?: (self: Gtk.FileChooserWidget) => void;
|
|
2484
2535
|
ref?: Ref<Gtk.FileChooserWidget>;
|
|
2485
2536
|
}
|
|
2486
|
-
/** Props for the {@link
|
|
2487
|
-
export interface
|
|
2537
|
+
/** Props for the {@link GtkFixed} widget. */
|
|
2538
|
+
export interface GtkFixedProps extends WidgetProps {
|
|
2539
|
+
children?: ReactNode;
|
|
2488
2540
|
ref?: Ref<Gtk.Fixed>;
|
|
2489
2541
|
}
|
|
2490
|
-
/** Props for the {@link
|
|
2491
|
-
export interface
|
|
2542
|
+
/** Props for the {@link GtkFlowBox} widget. */
|
|
2543
|
+
export interface GtkFlowBoxProps extends WidgetProps {
|
|
2492
2544
|
/** Whether to accept unpaired release events. */
|
|
2493
2545
|
acceptUnpairedRelease?: boolean;
|
|
2494
2546
|
/**
|
|
@@ -2584,10 +2636,13 @@ export interface FlowBoxProps extends WidgetProps {
|
|
|
2584
2636
|
* The default bindings for this signal is `Ctrl`-`Shift`-`a`.
|
|
2585
2637
|
*/
|
|
2586
2638
|
onUnselectAll?: (self: Gtk.FlowBox) => void;
|
|
2639
|
+
children?: ReactNode;
|
|
2587
2640
|
ref?: Ref<Gtk.FlowBox>;
|
|
2588
2641
|
}
|
|
2589
|
-
/** Props for the {@link
|
|
2590
|
-
export interface
|
|
2642
|
+
/** Props for the {@link GtkFlowBoxChild} widget. */
|
|
2643
|
+
export interface GtkFlowBoxChildProps extends WidgetProps {
|
|
2644
|
+
/** The child widget. */
|
|
2645
|
+
child?: Gtk.Widget;
|
|
2591
2646
|
/**
|
|
2592
2647
|
* Emitted when the user activates a child widget in a `GtkFlowBox`.
|
|
2593
2648
|
*
|
|
@@ -2600,10 +2655,11 @@ export interface FlowBoxChildProps extends WidgetProps {
|
|
|
2600
2655
|
* The default bindings are `Space` and `Enter`.
|
|
2601
2656
|
*/
|
|
2602
2657
|
onActivate?: (self: Gtk.FlowBoxChild) => void;
|
|
2658
|
+
children?: ReactNode;
|
|
2603
2659
|
ref?: Ref<Gtk.FlowBoxChild>;
|
|
2604
2660
|
}
|
|
2605
|
-
/** Props for the {@link
|
|
2606
|
-
export interface
|
|
2661
|
+
/** Props for the {@link GtkFontButton} widget. */
|
|
2662
|
+
export interface GtkFontButtonProps extends WidgetProps {
|
|
2607
2663
|
/** Whether the font chooser dialog should be modal. */
|
|
2608
2664
|
modal?: boolean;
|
|
2609
2665
|
/** The title of the font chooser dialog. */
|
|
@@ -2659,8 +2715,8 @@ export interface FontButtonProps extends WidgetProps {
|
|
|
2659
2715
|
onFontActivated?: (self: Gtk.FontButton, fontname: string) => void;
|
|
2660
2716
|
ref?: Ref<Gtk.FontButton>;
|
|
2661
2717
|
}
|
|
2662
|
-
/** Props for the {@link
|
|
2663
|
-
export interface
|
|
2718
|
+
/** Props for the {@link GtkFontChooserDialog} widget. */
|
|
2719
|
+
export interface GtkFontChooserDialogProps extends GtkDialogProps {
|
|
2664
2720
|
/** The font description as a string, e.g. "Sans Italic 12". */
|
|
2665
2721
|
font?: string;
|
|
2666
2722
|
/** The font description as a `PangoFontDescription`. */
|
|
@@ -2688,10 +2744,11 @@ export interface FontChooserDialogProps extends DialogProps {
|
|
|
2688
2744
|
* Space, Shift+Space, Return or Enter.
|
|
2689
2745
|
*/
|
|
2690
2746
|
onFontActivated?: (self: Gtk.FontChooserDialog, fontname: string) => void;
|
|
2747
|
+
children?: ReactNode;
|
|
2691
2748
|
ref?: Ref<Gtk.FontChooserDialog>;
|
|
2692
2749
|
}
|
|
2693
|
-
/** Props for the {@link
|
|
2694
|
-
export interface
|
|
2750
|
+
/** Props for the {@link GtkFontChooserWidget} widget. */
|
|
2751
|
+
export interface GtkFontChooserWidgetProps extends WidgetProps {
|
|
2695
2752
|
/**
|
|
2696
2753
|
* A toggle action that can be used to switch to the tweak page
|
|
2697
2754
|
* of the font chooser widget, which lets the user tweak the
|
|
@@ -2730,8 +2787,8 @@ export interface FontChooserWidgetProps extends WidgetProps {
|
|
|
2730
2787
|
onFontActivated?: (self: Gtk.FontChooserWidget, fontname: string) => void;
|
|
2731
2788
|
ref?: Ref<Gtk.FontChooserWidget>;
|
|
2732
2789
|
}
|
|
2733
|
-
/** Props for the {@link
|
|
2734
|
-
export interface
|
|
2790
|
+
/** Props for the {@link GtkFontDialogButton} widget. */
|
|
2791
|
+
export interface GtkFontDialogButtonProps extends WidgetProps {
|
|
2735
2792
|
/**
|
|
2736
2793
|
* The `GtkFontDialog` that contains parameters for
|
|
2737
2794
|
* the font chooser dialog.
|
|
@@ -2783,16 +2840,21 @@ export interface FontDialogButtonProps extends WidgetProps {
|
|
|
2783
2840
|
onActivate?: (self: Gtk.FontDialogButton) => void;
|
|
2784
2841
|
ref?: Ref<Gtk.FontDialogButton>;
|
|
2785
2842
|
}
|
|
2786
|
-
/** Props for the {@link
|
|
2787
|
-
export interface
|
|
2843
|
+
/** Props for the {@link GtkFrame} widget. */
|
|
2844
|
+
export interface GtkFrameProps extends WidgetProps {
|
|
2845
|
+
/** The child widget. */
|
|
2846
|
+
child?: Gtk.Widget;
|
|
2788
2847
|
/** Text of the frame's label. */
|
|
2789
2848
|
label?: string;
|
|
2849
|
+
/** Widget to display in place of the usual frame label. */
|
|
2850
|
+
labelWidget?: Gtk.Widget;
|
|
2790
2851
|
/** The horizontal alignment of the label. */
|
|
2791
2852
|
labelXalign?: number;
|
|
2853
|
+
children?: ReactNode;
|
|
2792
2854
|
ref?: Ref<Gtk.Frame>;
|
|
2793
2855
|
}
|
|
2794
|
-
/** Props for the {@link
|
|
2795
|
-
export interface
|
|
2856
|
+
/** Props for the {@link GtkGLArea} widget. */
|
|
2857
|
+
export interface GtkGLAreaProps extends WidgetProps {
|
|
2796
2858
|
/** The allowed APIs. */
|
|
2797
2859
|
allowedApis?: Gdk.GLAPI;
|
|
2798
2860
|
/** The API currently in use. */
|
|
@@ -2872,16 +2934,19 @@ export interface GLAreaProps extends WidgetProps {
|
|
|
2872
2934
|
onResize?: (self: Gtk.GLArea, width: number, height: number) => void;
|
|
2873
2935
|
ref?: Ref<Gtk.GLArea>;
|
|
2874
2936
|
}
|
|
2875
|
-
/** Props for the {@link
|
|
2876
|
-
export interface
|
|
2937
|
+
/** Props for the {@link GtkGraphicsOffload} widget. */
|
|
2938
|
+
export interface GtkGraphicsOffloadProps extends WidgetProps {
|
|
2877
2939
|
/** Whether to draw a black background. */
|
|
2878
2940
|
blackBackground?: boolean;
|
|
2941
|
+
/** The child widget. */
|
|
2942
|
+
child?: Gtk.Widget;
|
|
2879
2943
|
/** Whether graphics offload is enabled. */
|
|
2880
2944
|
enabled?: Gtk.GraphicsOffloadEnabled;
|
|
2945
|
+
children?: ReactNode;
|
|
2881
2946
|
ref?: Ref<Gtk.GraphicsOffload>;
|
|
2882
2947
|
}
|
|
2883
|
-
/** Props for the {@link
|
|
2884
|
-
export interface
|
|
2948
|
+
/** Props for the {@link GtkGrid} widget. */
|
|
2949
|
+
export interface GtkGridProps extends WidgetProps {
|
|
2885
2950
|
/** The row to align to the baseline when valign is using baseline alignment. */
|
|
2886
2951
|
baselineRow?: number;
|
|
2887
2952
|
/** If %TRUE, the columns are all the same width. */
|
|
@@ -2894,18 +2959,13 @@ export interface GridProps extends WidgetProps {
|
|
|
2894
2959
|
rowSpacing?: number;
|
|
2895
2960
|
/** The orientation of the orientable. */
|
|
2896
2961
|
orientation?: Gtk.Orientation;
|
|
2962
|
+
children?: ReactNode;
|
|
2897
2963
|
ref?: Ref<Gtk.Grid>;
|
|
2898
2964
|
}
|
|
2899
|
-
/** Props for the {@link
|
|
2900
|
-
export interface
|
|
2965
|
+
/** Props for the {@link GtkGridView} widget. */
|
|
2966
|
+
export interface GtkGridViewProps extends GtkListBaseProps {
|
|
2901
2967
|
/** Allow rubberband selection. */
|
|
2902
2968
|
enableRubberband?: boolean;
|
|
2903
|
-
/**
|
|
2904
|
-
* Factory for populating list items.
|
|
2905
|
-
*
|
|
2906
|
-
* The factory must be for configuring {@link ListItem} objects.
|
|
2907
|
-
*/
|
|
2908
|
-
factory?: Gtk.ListItemFactory;
|
|
2909
2969
|
/**
|
|
2910
2970
|
* Maximum number of columns per row.
|
|
2911
2971
|
*
|
|
@@ -2915,8 +2975,6 @@ export interface GridViewProps extends ListBaseProps {
|
|
|
2915
2975
|
maxColumns?: number;
|
|
2916
2976
|
/** Minimum number of columns per row. */
|
|
2917
2977
|
minColumns?: number;
|
|
2918
|
-
/** Model for the items displayed. */
|
|
2919
|
-
model?: Gtk.SelectionModel;
|
|
2920
2978
|
/** Activate rows on single click and select them on hover. */
|
|
2921
2979
|
singleClickActivate?: boolean;
|
|
2922
2980
|
/** Behavior of the `Tab` key */
|
|
@@ -2940,11 +2998,12 @@ export interface GridViewProps extends ListBaseProps {
|
|
|
2940
2998
|
* Render function for list items.
|
|
2941
2999
|
* Called with null during setup (for loading state) and with the actual item during bind.
|
|
2942
3000
|
*/
|
|
2943
|
-
renderItem: (item:
|
|
3001
|
+
renderItem: (item: any) => import("react").ReactNode;
|
|
3002
|
+
children?: ReactNode;
|
|
2944
3003
|
ref?: Ref<Gtk.GridView>;
|
|
2945
3004
|
}
|
|
2946
|
-
/** Props for the {@link
|
|
2947
|
-
export interface
|
|
3005
|
+
/** Props for the {@link GtkHeaderBar} widget. */
|
|
3006
|
+
export interface GtkHeaderBarProps extends WidgetProps {
|
|
2948
3007
|
/**
|
|
2949
3008
|
* The decoration layout for buttons.
|
|
2950
3009
|
*
|
|
@@ -2961,6 +3020,8 @@ export interface HeaderBarProps extends WidgetProps {
|
|
|
2961
3020
|
* be shown if the window can't be closed).
|
|
2962
3021
|
*/
|
|
2963
3022
|
showTitleButtons?: boolean;
|
|
3023
|
+
/** The title widget to display. */
|
|
3024
|
+
titleWidget?: Gtk.Widget;
|
|
2964
3025
|
/**
|
|
2965
3026
|
* Whether to show platform native close/minimize/maximize buttons.
|
|
2966
3027
|
*
|
|
@@ -2972,10 +3033,11 @@ export interface HeaderBarProps extends WidgetProps {
|
|
|
2972
3033
|
* See also Using GTK on Apple macOS.
|
|
2973
3034
|
*/
|
|
2974
3035
|
useNativeControls?: boolean;
|
|
3036
|
+
children?: ReactNode;
|
|
2975
3037
|
ref?: Ref<Gtk.HeaderBar>;
|
|
2976
3038
|
}
|
|
2977
|
-
/** Props for the {@link
|
|
2978
|
-
export interface
|
|
3039
|
+
/** Props for the {@link GtkIconView} widget. */
|
|
3040
|
+
export interface GtkIconViewProps extends WidgetProps {
|
|
2979
3041
|
/**
|
|
2980
3042
|
* The activate-on-single-click property specifies whether the "item-activated" signal
|
|
2981
3043
|
* will be emitted after a single click.
|
|
@@ -3179,8 +3241,8 @@ export interface IconViewProps extends WidgetProps {
|
|
|
3179
3241
|
onUnselectAll?: (self: Gtk.IconView) => void;
|
|
3180
3242
|
ref?: Ref<Gtk.IconView>;
|
|
3181
3243
|
}
|
|
3182
|
-
/** Props for the {@link
|
|
3183
|
-
export interface
|
|
3244
|
+
/** Props for the {@link GtkImage} widget. */
|
|
3245
|
+
export interface GtkImageProps extends WidgetProps {
|
|
3184
3246
|
/** A path to the file to display. */
|
|
3185
3247
|
file?: string;
|
|
3186
3248
|
/**
|
|
@@ -3222,8 +3284,8 @@ export interface ImageProps extends WidgetProps {
|
|
|
3222
3284
|
useFallback?: boolean;
|
|
3223
3285
|
ref?: Ref<Gtk.Image>;
|
|
3224
3286
|
}
|
|
3225
|
-
/** Props for the {@link
|
|
3226
|
-
export interface
|
|
3287
|
+
/** Props for the {@link GtkInfoBar} widget. */
|
|
3288
|
+
export interface GtkInfoBarProps extends WidgetProps {
|
|
3227
3289
|
/**
|
|
3228
3290
|
* The type of the message.
|
|
3229
3291
|
*
|
|
@@ -3250,10 +3312,11 @@ export interface InfoBarProps extends WidgetProps {
|
|
|
3250
3312
|
* on which action widget was clicked.
|
|
3251
3313
|
*/
|
|
3252
3314
|
onResponse?: (self: Gtk.InfoBar, responseId: number) => void;
|
|
3315
|
+
children?: ReactNode;
|
|
3253
3316
|
ref?: Ref<Gtk.InfoBar>;
|
|
3254
3317
|
}
|
|
3255
|
-
/** Props for the {@link
|
|
3256
|
-
export interface
|
|
3318
|
+
/** Props for the {@link GtkInscription} widget. */
|
|
3319
|
+
export interface GtkInscriptionProps extends WidgetProps {
|
|
3257
3320
|
/** A list of style attributes to apply to the text of the inscription. */
|
|
3258
3321
|
attributes?: Pango.AttrList;
|
|
3259
3322
|
/**
|
|
@@ -3341,8 +3404,8 @@ export interface InscriptionProps extends WidgetProps {
|
|
|
3341
3404
|
yalign?: number;
|
|
3342
3405
|
ref?: Ref<Gtk.Inscription>;
|
|
3343
3406
|
}
|
|
3344
|
-
/** Props for the {@link
|
|
3345
|
-
export interface
|
|
3407
|
+
/** Props for the {@link GtkLabel} widget. */
|
|
3408
|
+
export interface GtkLabelProps extends WidgetProps {
|
|
3346
3409
|
/** A list of style attributes to apply to the text of the label. */
|
|
3347
3410
|
attributes?: Pango.AttrList;
|
|
3348
3411
|
/**
|
|
@@ -3534,10 +3597,11 @@ export interface LabelProps extends WidgetProps {
|
|
|
3534
3597
|
* - `Home` and `End` move to the ends of the buffer
|
|
3535
3598
|
*/
|
|
3536
3599
|
onMoveCursor?: (self: Gtk.Label, step: Gtk.MovementStep, count: number, extendSelection: boolean) => void;
|
|
3600
|
+
children?: ReactNode;
|
|
3537
3601
|
ref?: Ref<Gtk.Label>;
|
|
3538
3602
|
}
|
|
3539
|
-
/** Props for the {@link
|
|
3540
|
-
export interface
|
|
3603
|
+
/** Props for the {@link GtkLevelBar} widget. */
|
|
3604
|
+
export interface GtkLevelBarProps extends WidgetProps {
|
|
3541
3605
|
/**
|
|
3542
3606
|
* Whether the `GtkLeveBar` is inverted.
|
|
3543
3607
|
*
|
|
@@ -3579,8 +3643,8 @@ export interface LevelBarProps extends WidgetProps {
|
|
|
3579
3643
|
onOffsetChanged?: (self: Gtk.LevelBar, name: string) => void;
|
|
3580
3644
|
ref?: Ref<Gtk.LevelBar>;
|
|
3581
3645
|
}
|
|
3582
|
-
/** Props for the {@link
|
|
3583
|
-
export interface
|
|
3646
|
+
/** Props for the {@link GtkLinkButton} widget. */
|
|
3647
|
+
export interface GtkLinkButtonProps extends GtkButtonProps {
|
|
3584
3648
|
/** The URI bound to this button. */
|
|
3585
3649
|
uri: string;
|
|
3586
3650
|
/**
|
|
@@ -3600,10 +3664,11 @@ export interface LinkButtonProps extends ButtonProps {
|
|
|
3600
3664
|
* by returning %TRUE from your handler.
|
|
3601
3665
|
*/
|
|
3602
3666
|
onActivateLink?: (self: Gtk.LinkButton) => boolean;
|
|
3667
|
+
children?: ReactNode;
|
|
3603
3668
|
ref?: Ref<Gtk.LinkButton>;
|
|
3604
3669
|
}
|
|
3605
|
-
/** Props for the {@link
|
|
3606
|
-
export interface
|
|
3670
|
+
/** Props for the {@link GtkListBase} widget. */
|
|
3671
|
+
export interface GtkListBaseProps extends WidgetProps {
|
|
3607
3672
|
/**
|
|
3608
3673
|
* The orientation of the list. See GtkOrientable:orientation
|
|
3609
3674
|
* for details.
|
|
@@ -3627,8 +3692,8 @@ export interface ListBaseProps extends WidgetProps {
|
|
|
3627
3692
|
vscrollPolicy?: Gtk.ScrollablePolicy;
|
|
3628
3693
|
ref?: Ref<Gtk.ListBase>;
|
|
3629
3694
|
}
|
|
3630
|
-
/** Props for the {@link
|
|
3631
|
-
export interface
|
|
3695
|
+
/** Props for the {@link GtkListBox} widget. */
|
|
3696
|
+
export interface GtkListBoxProps extends WidgetProps {
|
|
3632
3697
|
/** Whether to accept unpaired release events. */
|
|
3633
3698
|
acceptUnpairedRelease?: boolean;
|
|
3634
3699
|
/**
|
|
@@ -3696,15 +3761,18 @@ export interface ListBoxProps extends WidgetProps {
|
|
|
3696
3761
|
* `Ctrl`-`Shift`-`a`.
|
|
3697
3762
|
*/
|
|
3698
3763
|
onUnselectAll?: (self: Gtk.ListBox) => void;
|
|
3764
|
+
children?: ReactNode;
|
|
3699
3765
|
ref?: Ref<Gtk.ListBox>;
|
|
3700
3766
|
}
|
|
3701
|
-
/** Props for the {@link
|
|
3702
|
-
export interface
|
|
3767
|
+
/** Props for the {@link GtkListBoxRow} widget. */
|
|
3768
|
+
export interface GtkListBoxRowProps extends WidgetProps {
|
|
3703
3769
|
/**
|
|
3704
3770
|
* Determines whether the ::row-activated
|
|
3705
3771
|
* signal will be emitted for this row.
|
|
3706
3772
|
*/
|
|
3707
3773
|
activatable?: boolean;
|
|
3774
|
+
/** The child widget. */
|
|
3775
|
+
child?: Gtk.Widget;
|
|
3708
3776
|
/** Determines whether this row can be selected. */
|
|
3709
3777
|
selectable?: boolean;
|
|
3710
3778
|
/** The name of the action with which this widget should be associated. */
|
|
@@ -3719,26 +3787,19 @@ export interface ListBoxRowProps extends WidgetProps {
|
|
|
3719
3787
|
* `GtkListBox`.
|
|
3720
3788
|
*/
|
|
3721
3789
|
onActivate?: (self: Gtk.ListBoxRow) => void;
|
|
3790
|
+
children?: ReactNode;
|
|
3722
3791
|
ref?: Ref<Gtk.ListBoxRow>;
|
|
3723
3792
|
}
|
|
3724
|
-
/** Props for the {@link
|
|
3725
|
-
export interface
|
|
3793
|
+
/** Props for the {@link GtkListView} widget. */
|
|
3794
|
+
export interface GtkListViewProps extends GtkListBaseProps {
|
|
3726
3795
|
/** Allow rubberband selection. */
|
|
3727
3796
|
enableRubberband?: boolean;
|
|
3728
|
-
/**
|
|
3729
|
-
* Factory for populating list items.
|
|
3730
|
-
*
|
|
3731
|
-
* The factory must be for configuring {@link ListItem} objects.
|
|
3732
|
-
*/
|
|
3733
|
-
factory?: Gtk.ListItemFactory;
|
|
3734
3797
|
/**
|
|
3735
3798
|
* Factory for creating header widgets.
|
|
3736
3799
|
*
|
|
3737
3800
|
* The factory must be for configuring {@link ListHeader} objects.
|
|
3738
3801
|
*/
|
|
3739
3802
|
headerFactory?: Gtk.ListItemFactory;
|
|
3740
|
-
/** Model for the items displayed. */
|
|
3741
|
-
model?: Gtk.SelectionModel;
|
|
3742
3803
|
/** Show separators between rows. */
|
|
3743
3804
|
showSeparators?: boolean;
|
|
3744
3805
|
/** Activate rows on single click and select them on hover. */
|
|
@@ -3766,11 +3827,12 @@ export interface ListViewProps extends ListBaseProps {
|
|
|
3766
3827
|
* Render function for list items.
|
|
3767
3828
|
* Called with null during setup (for loading state) and with the actual item during bind.
|
|
3768
3829
|
*/
|
|
3769
|
-
renderItem: (item:
|
|
3830
|
+
renderItem: (item: any) => import("react").ReactNode;
|
|
3831
|
+
children?: ReactNode;
|
|
3770
3832
|
ref?: Ref<Gtk.ListView>;
|
|
3771
3833
|
}
|
|
3772
|
-
/** Props for the {@link
|
|
3773
|
-
export interface
|
|
3834
|
+
/** Props for the {@link GtkLockButton} widget. */
|
|
3835
|
+
export interface GtkLockButtonProps extends GtkButtonProps {
|
|
3774
3836
|
/** The `GPermission object controlling this button. */
|
|
3775
3837
|
permission?: Gio.Permission;
|
|
3776
3838
|
/** The text to display when prompting the user to lock. */
|
|
@@ -3783,16 +3845,17 @@ export interface LockButtonProps extends ButtonProps {
|
|
|
3783
3845
|
tooltipNotAuthorized?: string;
|
|
3784
3846
|
/** The tooltip to display when prompting the user to unlock. */
|
|
3785
3847
|
tooltipUnlock?: string;
|
|
3848
|
+
children?: ReactNode;
|
|
3786
3849
|
ref?: Ref<Gtk.LockButton>;
|
|
3787
3850
|
}
|
|
3788
|
-
/** Props for the {@link
|
|
3789
|
-
export interface
|
|
3851
|
+
/** Props for the {@link GtkMediaControls} widget. */
|
|
3852
|
+
export interface GtkMediaControlsProps extends WidgetProps {
|
|
3790
3853
|
/** The media-stream managed by this object or %NULL if none. */
|
|
3791
3854
|
mediaStream?: Gtk.MediaStream;
|
|
3792
3855
|
ref?: Ref<Gtk.MediaControls>;
|
|
3793
3856
|
}
|
|
3794
|
-
/** Props for the {@link
|
|
3795
|
-
export interface
|
|
3857
|
+
/** Props for the {@link GtkMenuButton} widget. */
|
|
3858
|
+
export interface GtkMenuButtonProps extends WidgetProps {
|
|
3796
3859
|
/** Whether the menu button is active. */
|
|
3797
3860
|
active?: boolean;
|
|
3798
3861
|
/** Whether to show a dropdown arrow even when using an icon or a custom child. */
|
|
@@ -3802,6 +3865,8 @@ export interface MenuButtonProps extends WidgetProps {
|
|
|
3802
3865
|
* size of its contents.
|
|
3803
3866
|
*/
|
|
3804
3867
|
canShrink?: boolean;
|
|
3868
|
+
/** The child widget. */
|
|
3869
|
+
child?: Gtk.Widget;
|
|
3805
3870
|
/**
|
|
3806
3871
|
* The `GtkArrowType` representing the direction in which the
|
|
3807
3872
|
* menu or popover will be popped out.
|
|
@@ -3820,6 +3885,8 @@ export interface MenuButtonProps extends WidgetProps {
|
|
|
3820
3885
|
* with the {@link MenuButton.popover} property.
|
|
3821
3886
|
*/
|
|
3822
3887
|
menuModel?: Gio.MenuModel;
|
|
3888
|
+
/** The `GtkPopover` that will be popped up when the button is clicked. */
|
|
3889
|
+
popover?: Gtk.Popover;
|
|
3823
3890
|
/**
|
|
3824
3891
|
* Whether the menu button acts as a primary menu.
|
|
3825
3892
|
*
|
|
@@ -3835,10 +3902,11 @@ export interface MenuButtonProps extends WidgetProps {
|
|
|
3835
3902
|
* emitting it causes the button to pop up its menu.
|
|
3836
3903
|
*/
|
|
3837
3904
|
onActivate?: (self: Gtk.MenuButton) => void;
|
|
3905
|
+
children?: ReactNode;
|
|
3838
3906
|
ref?: Ref<Gtk.MenuButton>;
|
|
3839
3907
|
}
|
|
3840
|
-
/** Props for the {@link
|
|
3841
|
-
export interface
|
|
3908
|
+
/** Props for the {@link GtkMessageDialog} widget. */
|
|
3909
|
+
export interface GtkMessageDialogProps extends GtkDialogProps {
|
|
3842
3910
|
/** Set of buttons to display on the dialog. */
|
|
3843
3911
|
buttons?: Gtk.ButtonsType;
|
|
3844
3912
|
/**
|
|
@@ -3870,10 +3938,11 @@ export interface MessageDialogProps extends DialogProps {
|
|
|
3870
3938
|
* See {@link Pangoparse_markup}.
|
|
3871
3939
|
*/
|
|
3872
3940
|
useMarkup?: boolean;
|
|
3941
|
+
children?: ReactNode;
|
|
3873
3942
|
ref?: Ref<Gtk.MessageDialog>;
|
|
3874
3943
|
}
|
|
3875
|
-
/** Props for the {@link
|
|
3876
|
-
export interface
|
|
3944
|
+
/** Props for the {@link GtkNotebook} widget. */
|
|
3945
|
+
export interface GtkNotebookProps extends WidgetProps {
|
|
3877
3946
|
/**
|
|
3878
3947
|
* If %TRUE, pressing the right mouse button on the notebook shows a page switching menu.
|
|
3879
3948
|
*/
|
|
@@ -3957,10 +4026,13 @@ export interface NotebookProps extends WidgetProps {
|
|
|
3957
4026
|
onSelectPage?: (self: Gtk.Notebook, moveFocus: boolean) => boolean;
|
|
3958
4027
|
/** Emitted when the user or a function changes the current page. */
|
|
3959
4028
|
onSwitchPage?: (self: Gtk.Notebook, page: Gtk.Widget, pageNum: number) => void;
|
|
4029
|
+
children?: ReactNode;
|
|
3960
4030
|
ref?: Ref<Gtk.Notebook>;
|
|
3961
4031
|
}
|
|
3962
|
-
/** Props for the {@link
|
|
3963
|
-
export interface
|
|
4032
|
+
/** Props for the {@link GtkOverlay} widget. */
|
|
4033
|
+
export interface GtkOverlayProps extends WidgetProps {
|
|
4034
|
+
/** The main child widget. */
|
|
4035
|
+
child?: Gtk.Widget;
|
|
3964
4036
|
/**
|
|
3965
4037
|
* Emitted to determine the position and size of any overlay
|
|
3966
4038
|
* child widgets.
|
|
@@ -3978,14 +4050,18 @@ export interface OverlayProps extends WidgetProps {
|
|
|
3978
4050
|
* to its contents.
|
|
3979
4051
|
*/
|
|
3980
4052
|
onGetChildPosition?: (self: Gtk.Overlay, widget: Gtk.Widget, allocation: Gdk.Rectangle) => boolean;
|
|
4053
|
+
children?: ReactNode;
|
|
3981
4054
|
ref?: Ref<Gtk.Overlay>;
|
|
3982
4055
|
}
|
|
3983
|
-
/** Props for the {@link
|
|
3984
|
-
export interface
|
|
4056
|
+
/** Props for the {@link GtkPageSetupUnixDialog} widget. */
|
|
4057
|
+
export interface GtkPageSetupUnixDialogProps extends GtkDialogProps {
|
|
4058
|
+
children?: ReactNode;
|
|
3985
4059
|
ref?: Ref<Gtk.PageSetupUnixDialog>;
|
|
3986
4060
|
}
|
|
3987
|
-
/** Props for the {@link
|
|
3988
|
-
export interface
|
|
4061
|
+
/** Props for the {@link GtkPaned} widget. */
|
|
4062
|
+
export interface GtkPanedProps extends WidgetProps {
|
|
4063
|
+
/** The second child. */
|
|
4064
|
+
endChild?: Gtk.Widget;
|
|
3989
4065
|
/**
|
|
3990
4066
|
* The largest possible value for the {@link Paned.position}
|
|
3991
4067
|
* property.
|
|
@@ -4026,6 +4102,8 @@ export interface PanedProps extends WidgetProps {
|
|
|
4026
4102
|
* than its requisition.
|
|
4027
4103
|
*/
|
|
4028
4104
|
shrinkStartChild?: boolean;
|
|
4105
|
+
/** The first child. */
|
|
4106
|
+
startChild?: Gtk.Widget;
|
|
4029
4107
|
/**
|
|
4030
4108
|
* Whether the `GtkPaned` should provide a stronger visual separation.
|
|
4031
4109
|
*
|
|
@@ -4096,10 +4174,11 @@ export interface PanedProps extends WidgetProps {
|
|
|
4096
4174
|
* The default binding is `Tab`.
|
|
4097
4175
|
*/
|
|
4098
4176
|
onToggleHandleFocus?: (self: Gtk.Paned) => boolean;
|
|
4177
|
+
children?: ReactNode;
|
|
4099
4178
|
ref?: Ref<Gtk.Paned>;
|
|
4100
4179
|
}
|
|
4101
|
-
/** Props for the {@link
|
|
4102
|
-
export interface
|
|
4180
|
+
/** Props for the {@link GtkPasswordEntry} widget. */
|
|
4181
|
+
export interface GtkPasswordEntryProps extends WidgetProps {
|
|
4103
4182
|
/** Whether to activate the default widget when Enter is pressed. */
|
|
4104
4183
|
activatesDefault?: boolean;
|
|
4105
4184
|
/**
|
|
@@ -4174,8 +4253,8 @@ export interface PasswordEntryProps extends WidgetProps {
|
|
|
4174
4253
|
onInsertText?: (self: Gtk.PasswordEntry, text: string, length: number, position: Ref<number>) => void;
|
|
4175
4254
|
ref?: Ref<Gtk.PasswordEntry>;
|
|
4176
4255
|
}
|
|
4177
|
-
/** Props for the {@link
|
|
4178
|
-
export interface
|
|
4256
|
+
/** Props for the {@link GtkPicture} widget. */
|
|
4257
|
+
export interface GtkPictureProps extends WidgetProps {
|
|
4179
4258
|
/** The alternative textual description for the picture. */
|
|
4180
4259
|
alternativeText?: string;
|
|
4181
4260
|
/** If the `GtkPicture` can be made smaller than the natural size of its contents. */
|
|
@@ -4193,8 +4272,8 @@ export interface PictureProps extends WidgetProps {
|
|
|
4193
4272
|
paintable?: Gdk.Paintable;
|
|
4194
4273
|
ref?: Ref<Gtk.Picture>;
|
|
4195
4274
|
}
|
|
4196
|
-
/** Props for the {@link
|
|
4197
|
-
export interface
|
|
4275
|
+
/** Props for the {@link GtkPopover} widget. */
|
|
4276
|
+
export interface GtkPopoverProps extends WidgetProps {
|
|
4198
4277
|
/** Whether to dismiss the popover on outside clicks. */
|
|
4199
4278
|
autohide?: boolean;
|
|
4200
4279
|
/**
|
|
@@ -4203,6 +4282,10 @@ export interface PopoverProps extends WidgetProps {
|
|
|
4203
4282
|
* This is used to implement the expected behavior of submenus.
|
|
4204
4283
|
*/
|
|
4205
4284
|
cascadePopdown?: boolean;
|
|
4285
|
+
/** The child widget. */
|
|
4286
|
+
child?: Gtk.Widget;
|
|
4287
|
+
/** The default widget inside the popover. */
|
|
4288
|
+
defaultWidget?: Gtk.Widget;
|
|
4206
4289
|
/** Whether to draw an arrow. */
|
|
4207
4290
|
hasArrow?: boolean;
|
|
4208
4291
|
/** Whether mnemonics are currently visible in this popover. */
|
|
@@ -4221,10 +4304,11 @@ export interface PopoverProps extends WidgetProps {
|
|
|
4221
4304
|
onActivateDefault?: (self: Gtk.Popover) => void;
|
|
4222
4305
|
/** Emitted when the popover is closed. */
|
|
4223
4306
|
onClosed?: (self: Gtk.Popover) => void;
|
|
4307
|
+
children?: ReactNode;
|
|
4224
4308
|
ref?: Ref<Gtk.Popover>;
|
|
4225
4309
|
}
|
|
4226
|
-
/** Props for the {@link
|
|
4227
|
-
export interface
|
|
4310
|
+
/** Props for the {@link GtkPopoverMenu} widget. */
|
|
4311
|
+
export interface GtkPopoverMenuProps extends GtkPopoverProps {
|
|
4228
4312
|
/**
|
|
4229
4313
|
* The flags that `popover` uses to create/display a menu from its model.
|
|
4230
4314
|
*
|
|
@@ -4236,20 +4320,22 @@ export interface PopoverMenuProps extends PopoverProps {
|
|
|
4236
4320
|
menuModel?: Gio.MenuModel;
|
|
4237
4321
|
/** The name of the visible submenu. */
|
|
4238
4322
|
visibleSubmenu?: string;
|
|
4323
|
+
children?: ReactNode;
|
|
4239
4324
|
ref?: Ref<Gtk.PopoverMenu>;
|
|
4240
4325
|
}
|
|
4241
|
-
/** Props for the {@link
|
|
4242
|
-
export interface
|
|
4326
|
+
/** Props for the {@link GtkPopoverMenuBar} widget. */
|
|
4327
|
+
export interface GtkPopoverMenuBarProps extends WidgetProps {
|
|
4243
4328
|
/**
|
|
4244
4329
|
* The `GMenuModel` from which the menu bar is created.
|
|
4245
4330
|
*
|
|
4246
4331
|
* The model should only contain submenus as toplevel elements.
|
|
4247
4332
|
*/
|
|
4248
4333
|
menuModel?: Gio.MenuModel;
|
|
4334
|
+
children?: ReactNode;
|
|
4249
4335
|
ref?: Ref<Gtk.PopoverMenuBar>;
|
|
4250
4336
|
}
|
|
4251
|
-
/** Props for the {@link
|
|
4252
|
-
export interface
|
|
4337
|
+
/** Props for the {@link GtkPrintUnixDialog} widget. */
|
|
4338
|
+
export interface GtkPrintUnixDialogProps extends GtkDialogProps {
|
|
4253
4339
|
/** The current page in the document. */
|
|
4254
4340
|
currentPage?: number;
|
|
4255
4341
|
/** %TRUE if the page setup controls are embedded. */
|
|
@@ -4266,10 +4352,11 @@ export interface PrintUnixDialogProps extends DialogProps {
|
|
|
4266
4352
|
selectedPrinter?: Gtk.Printer;
|
|
4267
4353
|
/** Whether the dialog supports selection. */
|
|
4268
4354
|
supportSelection?: boolean;
|
|
4355
|
+
children?: ReactNode;
|
|
4269
4356
|
ref?: Ref<Gtk.PrintUnixDialog>;
|
|
4270
4357
|
}
|
|
4271
|
-
/** Props for the {@link
|
|
4272
|
-
export interface
|
|
4358
|
+
/** Props for the {@link GtkProgressBar} widget. */
|
|
4359
|
+
export interface GtkProgressBarProps extends WidgetProps {
|
|
4273
4360
|
/**
|
|
4274
4361
|
* The preferred place to ellipsize the string.
|
|
4275
4362
|
*
|
|
@@ -4307,8 +4394,8 @@ export interface ProgressBarProps extends WidgetProps {
|
|
|
4307
4394
|
orientation?: Gtk.Orientation;
|
|
4308
4395
|
ref?: Ref<Gtk.ProgressBar>;
|
|
4309
4396
|
}
|
|
4310
|
-
/** Props for the {@link
|
|
4311
|
-
export interface
|
|
4397
|
+
/** Props for the {@link GtkRange} widget. */
|
|
4398
|
+
export interface GtkRangeProps extends WidgetProps {
|
|
4312
4399
|
/** The adjustment that is controlled by the range. */
|
|
4313
4400
|
adjustment?: Gtk.Adjustment;
|
|
4314
4401
|
/** The fill level (e.g. prebuffering of a network stream). */
|
|
@@ -4364,8 +4451,10 @@ export interface RangeProps extends WidgetProps {
|
|
|
4364
4451
|
onValueChanged?: (self: Gtk.Range) => void;
|
|
4365
4452
|
ref?: Ref<Gtk.Range>;
|
|
4366
4453
|
}
|
|
4367
|
-
/** Props for the {@link
|
|
4368
|
-
export interface
|
|
4454
|
+
/** Props for the {@link GtkRevealer} widget. */
|
|
4455
|
+
export interface GtkRevealerProps extends WidgetProps {
|
|
4456
|
+
/** The child widget. */
|
|
4457
|
+
child?: Gtk.Widget;
|
|
4369
4458
|
/** Whether the child is revealed and the animation target reached. */
|
|
4370
4459
|
childRevealed?: boolean;
|
|
4371
4460
|
/** Whether the revealer should reveal the child. */
|
|
@@ -4374,10 +4463,11 @@ export interface RevealerProps extends WidgetProps {
|
|
|
4374
4463
|
transitionDuration?: number;
|
|
4375
4464
|
/** The type of animation used to transition. */
|
|
4376
4465
|
transitionType?: Gtk.RevealerTransitionType;
|
|
4466
|
+
children?: ReactNode;
|
|
4377
4467
|
ref?: Ref<Gtk.Revealer>;
|
|
4378
4468
|
}
|
|
4379
|
-
/** Props for the {@link
|
|
4380
|
-
export interface
|
|
4469
|
+
/** Props for the {@link GtkScale} widget. */
|
|
4470
|
+
export interface GtkScaleProps extends GtkRangeProps {
|
|
4381
4471
|
/** The number of decimal places that are displayed in the value. */
|
|
4382
4472
|
digits?: number;
|
|
4383
4473
|
/** Whether the current value is displayed as a string next to the slider. */
|
|
@@ -4389,8 +4479,8 @@ export interface ScaleProps extends RangeProps {
|
|
|
4389
4479
|
orientation: Gtk.Orientation;
|
|
4390
4480
|
ref?: Ref<Gtk.Scale>;
|
|
4391
4481
|
}
|
|
4392
|
-
/** Props for the {@link
|
|
4393
|
-
export interface
|
|
4482
|
+
/** Props for the {@link GtkScaleButton} widget. */
|
|
4483
|
+
export interface GtkScaleButtonProps extends WidgetProps {
|
|
4394
4484
|
/** If the scale button should be pressed in. */
|
|
4395
4485
|
active?: boolean;
|
|
4396
4486
|
/** The `GtkAdjustment` that is used as the model. */
|
|
@@ -4441,16 +4531,24 @@ export interface ScaleButtonProps extends WidgetProps {
|
|
|
4441
4531
|
onValueChanged?: (self: Gtk.ScaleButton, value: number) => void;
|
|
4442
4532
|
ref?: Ref<Gtk.ScaleButton>;
|
|
4443
4533
|
}
|
|
4444
|
-
/** Props for the {@link
|
|
4445
|
-
export interface
|
|
4534
|
+
/** Props for the {@link GtkScrollbar} widget. */
|
|
4535
|
+
export interface GtkScrollbarProps extends WidgetProps {
|
|
4446
4536
|
/** The `GtkAdjustment` controlled by this scrollbar. */
|
|
4447
4537
|
adjustment?: Gtk.Adjustment;
|
|
4448
4538
|
/** The orientation of the orientable. */
|
|
4449
4539
|
orientation: Gtk.Orientation;
|
|
4450
4540
|
ref?: Ref<Gtk.Scrollbar>;
|
|
4451
4541
|
}
|
|
4452
|
-
/** Props for the {@link
|
|
4453
|
-
export interface
|
|
4542
|
+
/** Props for the {@link GtkScrolledWindow} widget. */
|
|
4543
|
+
export interface GtkScrolledWindowProps extends WidgetProps {
|
|
4544
|
+
/**
|
|
4545
|
+
* The child widget.
|
|
4546
|
+
*
|
|
4547
|
+
* When setting this property, if the child widget does not implement
|
|
4548
|
+
* {@link Scrollable}, the scrolled window will add the child to
|
|
4549
|
+
* a {@link Viewport} and then set the viewport as the child.
|
|
4550
|
+
*/
|
|
4551
|
+
child?: Gtk.Widget;
|
|
4454
4552
|
/** The `GtkAdjustment` for the horizontal position. */
|
|
4455
4553
|
hadjustment?: Gtk.Adjustment;
|
|
4456
4554
|
/** Whether to draw a frame around the contents. */
|
|
@@ -4558,18 +4656,24 @@ export interface ScrolledWindowProps extends WidgetProps {
|
|
|
4558
4656
|
* signal that the scrolled window’s child may listen to and scroll itself.
|
|
4559
4657
|
*/
|
|
4560
4658
|
onScrollChild?: (self: Gtk.ScrolledWindow, scroll: Gtk.ScrollType, horizontal: boolean) => boolean;
|
|
4659
|
+
children?: ReactNode;
|
|
4561
4660
|
ref?: Ref<Gtk.ScrolledWindow>;
|
|
4562
4661
|
}
|
|
4563
|
-
/** Props for the {@link
|
|
4564
|
-
export interface
|
|
4662
|
+
/** Props for the {@link GtkSearchBar} widget. */
|
|
4663
|
+
export interface GtkSearchBarProps extends WidgetProps {
|
|
4664
|
+
/** The child widget. */
|
|
4665
|
+
child?: Gtk.Widget;
|
|
4666
|
+
/** The key capture widget. */
|
|
4667
|
+
keyCaptureWidget?: Gtk.Widget;
|
|
4565
4668
|
/** Whether the search mode is on and the search bar shown. */
|
|
4566
4669
|
searchModeEnabled?: boolean;
|
|
4567
4670
|
/** Whether to show the close button in the search bar. */
|
|
4568
4671
|
showCloseButton?: boolean;
|
|
4672
|
+
children?: ReactNode;
|
|
4569
4673
|
ref?: Ref<Gtk.SearchBar>;
|
|
4570
4674
|
}
|
|
4571
|
-
/** Props for the {@link
|
|
4572
|
-
export interface
|
|
4675
|
+
/** Props for the {@link GtkSearchEntry} widget. */
|
|
4676
|
+
export interface GtkSearchEntryProps extends WidgetProps {
|
|
4573
4677
|
/** Whether to activate the default widget when Enter is pressed. */
|
|
4574
4678
|
activatesDefault?: boolean;
|
|
4575
4679
|
/**
|
|
@@ -4696,14 +4800,14 @@ export interface SearchEntryProps extends WidgetProps {
|
|
|
4696
4800
|
onInsertText?: (self: Gtk.SearchEntry, text: string, length: number, position: Ref<number>) => void;
|
|
4697
4801
|
ref?: Ref<Gtk.SearchEntry>;
|
|
4698
4802
|
}
|
|
4699
|
-
/** Props for the {@link
|
|
4700
|
-
export interface
|
|
4803
|
+
/** Props for the {@link GtkSeparator} widget. */
|
|
4804
|
+
export interface GtkSeparatorProps extends WidgetProps {
|
|
4701
4805
|
/** The orientation of the orientable. */
|
|
4702
4806
|
orientation: Gtk.Orientation;
|
|
4703
4807
|
ref?: Ref<Gtk.Separator>;
|
|
4704
4808
|
}
|
|
4705
|
-
/** Props for the {@link
|
|
4706
|
-
export interface
|
|
4809
|
+
/** Props for the {@link GtkShortcutLabel} widget. */
|
|
4810
|
+
export interface GtkShortcutLabelProps extends WidgetProps {
|
|
4707
4811
|
/**
|
|
4708
4812
|
* The accelerator that `self` displays.
|
|
4709
4813
|
*
|
|
@@ -4715,8 +4819,8 @@ export interface ShortcutLabelProps extends WidgetProps {
|
|
|
4715
4819
|
disabledText?: string;
|
|
4716
4820
|
ref?: Ref<Gtk.ShortcutLabel>;
|
|
4717
4821
|
}
|
|
4718
|
-
/** Props for the {@link
|
|
4719
|
-
export interface
|
|
4822
|
+
/** Props for the {@link GtkShortcutsGroup} widget. */
|
|
4823
|
+
export interface GtkShortcutsGroupProps extends GtkBoxProps {
|
|
4720
4824
|
/**
|
|
4721
4825
|
* The size group for the accelerator portion of shortcuts in this group.
|
|
4722
4826
|
*
|
|
@@ -4746,10 +4850,11 @@ export interface ShortcutsGroupProps extends BoxProps {
|
|
|
4746
4850
|
* Set this to %NULL to make the group always visible.
|
|
4747
4851
|
*/
|
|
4748
4852
|
view?: string;
|
|
4853
|
+
children?: ReactNode;
|
|
4749
4854
|
ref?: Ref<Gtk.ShortcutsGroup>;
|
|
4750
4855
|
}
|
|
4751
|
-
/** Props for the {@link
|
|
4752
|
-
export interface
|
|
4856
|
+
/** Props for the {@link GtkShortcutsSection} widget. */
|
|
4857
|
+
export interface GtkShortcutsSectionProps extends GtkBoxProps {
|
|
4753
4858
|
/**
|
|
4754
4859
|
* The maximum number of lines to allow per column.
|
|
4755
4860
|
*
|
|
@@ -4792,10 +4897,11 @@ export interface ShortcutsSectionProps extends BoxProps {
|
|
|
4792
4897
|
* `Ctrl`+`PgDn`, `PgDn`.
|
|
4793
4898
|
*/
|
|
4794
4899
|
onChangeCurrentPage?: (self: Gtk.ShortcutsSection, offset: number) => boolean;
|
|
4900
|
+
children?: ReactNode;
|
|
4795
4901
|
ref?: Ref<Gtk.ShortcutsSection>;
|
|
4796
4902
|
}
|
|
4797
|
-
/** Props for the {@link
|
|
4798
|
-
export interface
|
|
4903
|
+
/** Props for the {@link GtkShortcutsShortcut} widget. */
|
|
4904
|
+
export interface GtkShortcutsShortcutProps extends WidgetProps {
|
|
4799
4905
|
/**
|
|
4800
4906
|
* The size group for the accelerator portion of this shortcut.
|
|
4801
4907
|
*
|
|
@@ -4886,8 +4992,8 @@ export interface ShortcutsShortcutProps extends WidgetProps {
|
|
|
4886
4992
|
titleSizeGroup?: Gtk.SizeGroup;
|
|
4887
4993
|
ref?: Ref<Gtk.ShortcutsShortcut>;
|
|
4888
4994
|
}
|
|
4889
|
-
/** Props for the {@link
|
|
4890
|
-
export interface
|
|
4995
|
+
/** Props for the {@link GtkShortcutsWindow} widget. */
|
|
4996
|
+
export interface GtkShortcutsWindowProps extends GtkWindowProps {
|
|
4891
4997
|
/**
|
|
4892
4998
|
* The name of the section to show.
|
|
4893
4999
|
*
|
|
@@ -4921,10 +5027,11 @@ export interface ShortcutsWindowProps extends WindowProps {
|
|
|
4921
5027
|
* The default binding for this signal is `Control`+`F`.
|
|
4922
5028
|
*/
|
|
4923
5029
|
onSearch?: (self: Gtk.ShortcutsWindow) => void;
|
|
5030
|
+
children?: ReactNode;
|
|
4924
5031
|
ref?: Ref<Gtk.ShortcutsWindow>;
|
|
4925
5032
|
}
|
|
4926
|
-
/** Props for the {@link
|
|
4927
|
-
export interface
|
|
5033
|
+
/** Props for the {@link GtkSpinButton} widget. */
|
|
5034
|
+
export interface GtkSpinButtonProps extends WidgetProps {
|
|
4928
5035
|
/**
|
|
4929
5036
|
* Whether to activate the default widget when the spin button is activated.
|
|
4930
5037
|
*
|
|
@@ -5105,14 +5212,14 @@ export interface SpinButtonProps extends WidgetProps {
|
|
|
5105
5212
|
onInsertText?: (self: Gtk.SpinButton, text: string, length: number, position: Ref<number>) => void;
|
|
5106
5213
|
ref?: Ref<Gtk.SpinButton>;
|
|
5107
5214
|
}
|
|
5108
|
-
/** Props for the {@link
|
|
5109
|
-
export interface
|
|
5215
|
+
/** Props for the {@link GtkSpinner} widget. */
|
|
5216
|
+
export interface GtkSpinnerProps extends WidgetProps {
|
|
5110
5217
|
/** Whether the spinner is spinning */
|
|
5111
5218
|
spinning?: boolean;
|
|
5112
5219
|
ref?: Ref<Gtk.Spinner>;
|
|
5113
5220
|
}
|
|
5114
|
-
/** Props for the {@link
|
|
5115
|
-
export interface
|
|
5221
|
+
/** Props for the {@link GtkStack} widget. */
|
|
5222
|
+
export interface GtkStackProps extends WidgetProps {
|
|
5116
5223
|
/** %TRUE if the stack allocates the same width for all children. */
|
|
5117
5224
|
hhomogeneous?: boolean;
|
|
5118
5225
|
/** Whether or not the size should smoothly change during the transition. */
|
|
@@ -5127,30 +5234,40 @@ export interface StackProps extends WidgetProps {
|
|
|
5127
5234
|
transitionType?: Gtk.StackTransitionType;
|
|
5128
5235
|
/** %TRUE if the stack allocates the same height for all children. */
|
|
5129
5236
|
vhomogeneous?: boolean;
|
|
5237
|
+
/** The widget currently visible in the stack. */
|
|
5238
|
+
visibleChild?: Gtk.Widget;
|
|
5130
5239
|
/** The name of the widget currently visible in the stack. */
|
|
5131
5240
|
visibleChildName?: string;
|
|
5241
|
+
children?: ReactNode;
|
|
5132
5242
|
ref?: Ref<Gtk.Stack>;
|
|
5133
5243
|
}
|
|
5134
|
-
/** Props for the {@link
|
|
5135
|
-
export interface
|
|
5244
|
+
/** Props for the {@link GtkStackSidebar} widget. */
|
|
5245
|
+
export interface GtkStackSidebarProps extends WidgetProps {
|
|
5246
|
+
/** The stack. */
|
|
5247
|
+
stack?: Gtk.Stack;
|
|
5248
|
+
children?: ReactNode;
|
|
5136
5249
|
ref?: Ref<Gtk.StackSidebar>;
|
|
5137
5250
|
}
|
|
5138
|
-
/** Props for the {@link
|
|
5139
|
-
export interface
|
|
5251
|
+
/** Props for the {@link GtkStackSwitcher} widget. */
|
|
5252
|
+
export interface GtkStackSwitcherProps extends WidgetProps {
|
|
5253
|
+
/** The stack. */
|
|
5254
|
+
stack?: Gtk.Stack;
|
|
5140
5255
|
/** The orientation of the orientable. */
|
|
5141
5256
|
orientation?: Gtk.Orientation;
|
|
5257
|
+
children?: ReactNode;
|
|
5142
5258
|
ref?: Ref<Gtk.StackSwitcher>;
|
|
5143
5259
|
}
|
|
5144
|
-
/** Props for the {@link
|
|
5145
|
-
export interface
|
|
5260
|
+
/** Props for the {@link GtkStatusbar} widget. */
|
|
5261
|
+
export interface GtkStatusbarProps extends WidgetProps {
|
|
5146
5262
|
/** Emitted whenever a new message is popped off a statusbar's stack. */
|
|
5147
5263
|
onTextPopped?: (self: Gtk.Statusbar, contextId: number, text: string) => void;
|
|
5148
5264
|
/** Emitted whenever a new message gets pushed onto a statusbar's stack. */
|
|
5149
5265
|
onTextPushed?: (self: Gtk.Statusbar, contextId: number, text: string) => void;
|
|
5266
|
+
children?: ReactNode;
|
|
5150
5267
|
ref?: Ref<Gtk.Statusbar>;
|
|
5151
5268
|
}
|
|
5152
|
-
/** Props for the {@link
|
|
5153
|
-
export interface
|
|
5269
|
+
/** Props for the {@link GtkSwitch} widget. */
|
|
5270
|
+
export interface GtkSwitchProps extends WidgetProps {
|
|
5154
5271
|
/** Whether the `GtkSwitch` widget is in its on or off state. */
|
|
5155
5272
|
active?: boolean;
|
|
5156
5273
|
/**
|
|
@@ -5190,8 +5307,8 @@ export interface SwitchProps extends WidgetProps {
|
|
|
5190
5307
|
onStateSet?: (self: Gtk.Switch, state: boolean) => boolean;
|
|
5191
5308
|
ref?: Ref<Gtk.Switch>;
|
|
5192
5309
|
}
|
|
5193
|
-
/** Props for the {@link
|
|
5194
|
-
export interface
|
|
5310
|
+
/** Props for the {@link GtkText} widget. */
|
|
5311
|
+
export interface GtkTextProps extends WidgetProps {
|
|
5195
5312
|
/** Whether to activate the default widget when `Enter` is pressed. */
|
|
5196
5313
|
activatesDefault?: boolean;
|
|
5197
5314
|
/**
|
|
@@ -5433,8 +5550,8 @@ export interface TextProps extends WidgetProps {
|
|
|
5433
5550
|
onInsertText?: (self: Gtk.Text, text: string, length: number, position: Ref<number>) => void;
|
|
5434
5551
|
ref?: Ref<Gtk.Text>;
|
|
5435
5552
|
}
|
|
5436
|
-
/** Props for the {@link
|
|
5437
|
-
export interface
|
|
5553
|
+
/** Props for the {@link GtkTextView} widget. */
|
|
5554
|
+
export interface GtkTextViewProps extends WidgetProps {
|
|
5438
5555
|
/** Whether Tab will result in a tab character being entered. */
|
|
5439
5556
|
acceptsTab?: boolean;
|
|
5440
5557
|
/**
|
|
@@ -5714,18 +5831,24 @@ export interface TextViewProps extends WidgetProps {
|
|
|
5714
5831
|
* The default binding for this signal is `Insert`.
|
|
5715
5832
|
*/
|
|
5716
5833
|
onToggleOverwrite?: (self: Gtk.TextView) => void;
|
|
5834
|
+
children?: ReactNode;
|
|
5717
5835
|
ref?: Ref<Gtk.TextView>;
|
|
5718
5836
|
}
|
|
5719
|
-
/** Props for the {@link
|
|
5720
|
-
export interface
|
|
5837
|
+
/** Props for the {@link GtkToggleButton} widget. */
|
|
5838
|
+
export interface GtkToggleButtonProps extends GtkButtonProps {
|
|
5721
5839
|
/** If the toggle button should be pressed in. */
|
|
5722
5840
|
active?: boolean;
|
|
5841
|
+
/** The toggle button whose group this widget belongs to. */
|
|
5842
|
+
group?: Gtk.ToggleButton;
|
|
5723
5843
|
/** Emitted whenever the `GtkToggleButton`'s state is changed. */
|
|
5724
5844
|
onToggled?: (self: Gtk.ToggleButton) => void;
|
|
5845
|
+
children?: ReactNode;
|
|
5725
5846
|
ref?: Ref<Gtk.ToggleButton>;
|
|
5726
5847
|
}
|
|
5727
|
-
/** Props for the {@link
|
|
5728
|
-
export interface
|
|
5848
|
+
/** Props for the {@link GtkTreeExpander} widget. */
|
|
5849
|
+
export interface GtkTreeExpanderProps extends WidgetProps {
|
|
5850
|
+
/** The child widget with the actual contents. */
|
|
5851
|
+
child?: Gtk.Widget;
|
|
5729
5852
|
/**
|
|
5730
5853
|
* Whether the expander icon should be hidden in a GtkTreeListRow.
|
|
5731
5854
|
* Note that this property simply hides the icon. The actions and keybinding
|
|
@@ -5745,10 +5868,11 @@ export interface TreeExpanderProps extends WidgetProps {
|
|
|
5745
5868
|
item?: GObject.GObject;
|
|
5746
5869
|
/** The list row to track for expander state. */
|
|
5747
5870
|
listRow?: Gtk.TreeListRow;
|
|
5871
|
+
children?: ReactNode;
|
|
5748
5872
|
ref?: Ref<Gtk.TreeExpander>;
|
|
5749
5873
|
}
|
|
5750
|
-
/** Props for the {@link
|
|
5751
|
-
export interface
|
|
5874
|
+
/** Props for the {@link GtkTreeView} widget. */
|
|
5875
|
+
export interface GtkTreeViewProps extends WidgetProps {
|
|
5752
5876
|
/**
|
|
5753
5877
|
* The activate-on-single-click property specifies whether the "row-activated" signal
|
|
5754
5878
|
* will be emitted after a single click.
|
|
@@ -5868,8 +5992,8 @@ export interface TreeViewProps extends WidgetProps {
|
|
|
5868
5992
|
onUnselectAll?: (self: Gtk.TreeView) => boolean;
|
|
5869
5993
|
ref?: Ref<Gtk.TreeView>;
|
|
5870
5994
|
}
|
|
5871
|
-
/** Props for the {@link
|
|
5872
|
-
export interface
|
|
5995
|
+
/** Props for the {@link GtkVideo} widget. */
|
|
5996
|
+
export interface GtkVideoProps extends WidgetProps {
|
|
5873
5997
|
/** If the video should automatically begin playing. */
|
|
5874
5998
|
autoplay?: boolean;
|
|
5875
5999
|
/** The file played by this video if the video is playing a file. */
|
|
@@ -5882,8 +6006,10 @@ export interface VideoProps extends WidgetProps {
|
|
|
5882
6006
|
mediaStream?: Gtk.MediaStream;
|
|
5883
6007
|
ref?: Ref<Gtk.Video>;
|
|
5884
6008
|
}
|
|
5885
|
-
/** Props for the {@link
|
|
5886
|
-
export interface
|
|
6009
|
+
/** Props for the {@link GtkViewport} widget. */
|
|
6010
|
+
export interface GtkViewportProps extends WidgetProps {
|
|
6011
|
+
/** The child widget. */
|
|
6012
|
+
child?: Gtk.Widget;
|
|
5887
6013
|
/**
|
|
5888
6014
|
* Whether to scroll when the focus changes.
|
|
5889
6015
|
*
|
|
@@ -5908,10 +6034,11 @@ export interface ViewportProps extends WidgetProps {
|
|
|
5908
6034
|
vadjustment?: Gtk.Adjustment;
|
|
5909
6035
|
/** Determines when vertical scrolling should start. */
|
|
5910
6036
|
vscrollPolicy?: Gtk.ScrollablePolicy;
|
|
6037
|
+
children?: ReactNode;
|
|
5911
6038
|
ref?: Ref<Gtk.Viewport>;
|
|
5912
6039
|
}
|
|
5913
|
-
/** Props for the {@link
|
|
5914
|
-
export interface
|
|
6040
|
+
/** Props for the {@link GtkVolumeButton} widget. */
|
|
6041
|
+
export interface GtkVolumeButtonProps extends GtkScaleButtonProps {
|
|
5915
6042
|
/**
|
|
5916
6043
|
* Whether to use symbolic icons as the icons.
|
|
5917
6044
|
*
|
|
@@ -5921,8 +6048,8 @@ export interface VolumeButtonProps extends ScaleButtonProps {
|
|
|
5921
6048
|
useSymbolic?: boolean;
|
|
5922
6049
|
ref?: Ref<Gtk.VolumeButton>;
|
|
5923
6050
|
}
|
|
5924
|
-
/** Props for the {@link
|
|
5925
|
-
export interface
|
|
6051
|
+
/** Props for the {@link GtkWindowControls} widget. */
|
|
6052
|
+
export interface GtkWindowControlsProps extends WidgetProps {
|
|
5926
6053
|
/**
|
|
5927
6054
|
* The decoration layout for window buttons.
|
|
5928
6055
|
*
|
|
@@ -5951,12 +6078,15 @@ export interface WindowControlsProps extends WidgetProps {
|
|
|
5951
6078
|
useNativeControls?: boolean;
|
|
5952
6079
|
ref?: Ref<Gtk.WindowControls>;
|
|
5953
6080
|
}
|
|
5954
|
-
/** Props for the {@link
|
|
5955
|
-
export interface
|
|
6081
|
+
/** Props for the {@link GtkWindowHandle} widget. */
|
|
6082
|
+
export interface GtkWindowHandleProps extends WidgetProps {
|
|
6083
|
+
/** The child widget. */
|
|
6084
|
+
child?: Gtk.Widget;
|
|
6085
|
+
children?: ReactNode;
|
|
5956
6086
|
ref?: Ref<Gtk.WindowHandle>;
|
|
5957
6087
|
}
|
|
5958
6088
|
/** Props for the {@link AdwWindow} widget. */
|
|
5959
|
-
export interface AdwWindowProps extends
|
|
6089
|
+
export interface AdwWindowProps extends GtkWindowProps {
|
|
5960
6090
|
/**
|
|
5961
6091
|
* Whether adaptive preview is currently open.
|
|
5962
6092
|
*
|
|
@@ -5969,6 +6099,12 @@ export interface AdwWindowProps extends WidgetProps {
|
|
|
5969
6099
|
* Most applications should not use this property.
|
|
5970
6100
|
*/
|
|
5971
6101
|
adaptivePreview?: boolean;
|
|
6102
|
+
/**
|
|
6103
|
+
* The content widget.
|
|
6104
|
+
*
|
|
6105
|
+
* This property should always be used instead of {@link Window.child}.
|
|
6106
|
+
*/
|
|
6107
|
+
content?: Gtk.Widget;
|
|
5972
6108
|
/** The current breakpoint. */
|
|
5973
6109
|
currentBreakpoint?: Adw.Breakpoint;
|
|
5974
6110
|
/** The open dialogs. */
|
|
@@ -5981,6 +6117,7 @@ export interface AdwWindowProps extends WidgetProps {
|
|
|
5981
6117
|
* The accessible role cannot be changed once set.
|
|
5982
6118
|
*/
|
|
5983
6119
|
accessibleRole?: Gtk.AccessibleRole;
|
|
6120
|
+
children?: ReactNode;
|
|
5984
6121
|
ref?: Ref<Adw.Window>;
|
|
5985
6122
|
}
|
|
5986
6123
|
/** Props for the {@link AdwAboutDialog} widget. */
|
|
@@ -6272,10 +6409,11 @@ export interface AdwAboutDialogProps extends AdwDialogProps {
|
|
|
6272
6409
|
* to call {@link show_uri}.
|
|
6273
6410
|
*/
|
|
6274
6411
|
onActivateLink?: (self: Adw.AboutDialog, uri: string) => boolean;
|
|
6412
|
+
children?: ReactNode;
|
|
6275
6413
|
ref?: Ref<Adw.AboutDialog>;
|
|
6276
6414
|
}
|
|
6277
6415
|
/** Props for the {@link AdwAboutWindow} widget. */
|
|
6278
|
-
export interface AdwAboutWindowProps extends
|
|
6416
|
+
export interface AdwAboutWindowProps extends AdwWindowProps {
|
|
6279
6417
|
/**
|
|
6280
6418
|
* The name of the application icon.
|
|
6281
6419
|
*
|
|
@@ -6563,10 +6701,23 @@ export interface AdwAboutWindowProps extends WindowProps {
|
|
|
6563
6701
|
* to call {@link show_uri}.
|
|
6564
6702
|
*/
|
|
6565
6703
|
onActivateLink?: (self: Adw.AboutWindow, uri: string) => boolean;
|
|
6704
|
+
children?: ReactNode;
|
|
6566
6705
|
ref?: Ref<Adw.AboutWindow>;
|
|
6567
6706
|
}
|
|
6568
6707
|
/** Props for the {@link AdwActionRow} widget. */
|
|
6569
6708
|
export interface AdwActionRowProps extends AdwPreferencesRowProps {
|
|
6709
|
+
/**
|
|
6710
|
+
* The widget to activate when the row is activated.
|
|
6711
|
+
*
|
|
6712
|
+
* The row can be activated either by clicking on it, calling
|
|
6713
|
+
* {@link ActionRowactivate}, or via mnemonics in the title.
|
|
6714
|
+
* See the {@link AdwPreferencesRow.use-underline} property to enable
|
|
6715
|
+
* mnemonics.
|
|
6716
|
+
*
|
|
6717
|
+
* The target widget will be activated by emitting the
|
|
6718
|
+
* {@link Widget.:mnemonic-activate} signal on it.
|
|
6719
|
+
*/
|
|
6720
|
+
activatableWidget?: Gtk.Widget;
|
|
6570
6721
|
/** The icon name for this row. */
|
|
6571
6722
|
iconName?: string;
|
|
6572
6723
|
/**
|
|
@@ -6607,6 +6758,7 @@ export interface AdwActionRowProps extends AdwPreferencesRowProps {
|
|
|
6607
6758
|
actionTarget?: GLib.Variant;
|
|
6608
6759
|
/** This signal is emitted after the row has been activated. */
|
|
6609
6760
|
onActivated?: (self: Adw.ActionRow) => void;
|
|
6761
|
+
children?: ReactNode;
|
|
6610
6762
|
ref?: Ref<Adw.ActionRow>;
|
|
6611
6763
|
}
|
|
6612
6764
|
/** Props for the {@link AdwAlertDialog} widget. */
|
|
@@ -6642,6 +6794,12 @@ export interface AdwAlertDialogProps extends AdwDialogProps {
|
|
|
6642
6794
|
* See {@link AdwDialog.default-widget}.
|
|
6643
6795
|
*/
|
|
6644
6796
|
defaultResponse?: string;
|
|
6797
|
+
/**
|
|
6798
|
+
* The child widget.
|
|
6799
|
+
*
|
|
6800
|
+
* Displayed below the heading and body.
|
|
6801
|
+
*/
|
|
6802
|
+
extraChild?: Gtk.Widget;
|
|
6645
6803
|
/** The heading of the dialog. */
|
|
6646
6804
|
heading?: string;
|
|
6647
6805
|
/**
|
|
@@ -6674,10 +6832,11 @@ export interface AdwAlertDialogProps extends AdwDialogProps {
|
|
|
6674
6832
|
* {@link AdwAlertDialog.close-response}.
|
|
6675
6833
|
*/
|
|
6676
6834
|
onResponse?: (self: Adw.AlertDialog, response: string) => void;
|
|
6835
|
+
children?: ReactNode;
|
|
6677
6836
|
ref?: Ref<Adw.AlertDialog>;
|
|
6678
6837
|
}
|
|
6679
6838
|
/** Props for the {@link AdwApplicationWindow} widget. */
|
|
6680
|
-
export interface AdwApplicationWindowProps extends
|
|
6839
|
+
export interface AdwApplicationWindowProps extends GtkApplicationWindowProps {
|
|
6681
6840
|
/**
|
|
6682
6841
|
* Whether adaptive preview is currently open.
|
|
6683
6842
|
*
|
|
@@ -6690,6 +6849,12 @@ export interface AdwApplicationWindowProps extends WindowProps {
|
|
|
6690
6849
|
* Most applications should not use this property.
|
|
6691
6850
|
*/
|
|
6692
6851
|
adaptivePreview?: boolean;
|
|
6852
|
+
/**
|
|
6853
|
+
* The content widget.
|
|
6854
|
+
*
|
|
6855
|
+
* This property should always be used instead of {@link Window.child}.
|
|
6856
|
+
*/
|
|
6857
|
+
content?: Gtk.Widget;
|
|
6693
6858
|
/** The current breakpoint. */
|
|
6694
6859
|
currentBreakpoint?: Adw.Breakpoint;
|
|
6695
6860
|
/** The open dialogs. */
|
|
@@ -6702,6 +6867,7 @@ export interface AdwApplicationWindowProps extends WindowProps {
|
|
|
6702
6867
|
* The accessible role cannot be changed once set.
|
|
6703
6868
|
*/
|
|
6704
6869
|
accessibleRole?: Gtk.AccessibleRole;
|
|
6870
|
+
children?: ReactNode;
|
|
6705
6871
|
ref?: Ref<Adw.ApplicationWindow>;
|
|
6706
6872
|
}
|
|
6707
6873
|
/** Props for the {@link AdwAvatar} widget. */
|
|
@@ -6795,12 +6961,15 @@ export interface AdwBannerProps extends WidgetProps {
|
|
|
6795
6961
|
}
|
|
6796
6962
|
/** Props for the {@link AdwBin} widget. */
|
|
6797
6963
|
export interface AdwBinProps extends WidgetProps {
|
|
6964
|
+
/** The child widget of the `AdwBin`. */
|
|
6965
|
+
child?: Gtk.Widget;
|
|
6798
6966
|
/**
|
|
6799
6967
|
* The accessible role of the given `GtkAccessible` implementation.
|
|
6800
6968
|
*
|
|
6801
6969
|
* The accessible role cannot be changed once set.
|
|
6802
6970
|
*/
|
|
6803
6971
|
accessibleRole?: Gtk.AccessibleRole;
|
|
6972
|
+
children?: ReactNode;
|
|
6804
6973
|
ref?: Ref<Adw.Bin>;
|
|
6805
6974
|
}
|
|
6806
6975
|
/** Props for the {@link AdwBottomSheet} widget. */
|
|
@@ -6814,6 +6983,16 @@ export interface AdwBottomSheetProps extends WidgetProps {
|
|
|
6814
6983
|
* Only used when {@link AdwBottomSheet.full-width} is set to `FALSE`.
|
|
6815
6984
|
*/
|
|
6816
6985
|
align?: number;
|
|
6986
|
+
/**
|
|
6987
|
+
* The bottom bar widget.
|
|
6988
|
+
*
|
|
6989
|
+
* Shown when {@link AdwBottomSheet.open} is `FALSE`. When open, morphs into
|
|
6990
|
+
* the {@link AdwBottomSheet.sheet}.
|
|
6991
|
+
*
|
|
6992
|
+
* Bottom bar can be temporarily hidden using the
|
|
6993
|
+
* {@link AdwBottomSheet.reveal-bottom-bar} property.
|
|
6994
|
+
*/
|
|
6995
|
+
bottomBar?: Gtk.Widget;
|
|
6817
6996
|
/**
|
|
6818
6997
|
* The current bottom bar height.
|
|
6819
6998
|
*
|
|
@@ -6840,6 +7019,12 @@ export interface AdwBottomSheetProps extends WidgetProps {
|
|
|
6840
7019
|
* Bottom sheet can still be opened using {@link AdwBottomSheet.open}.
|
|
6841
7020
|
*/
|
|
6842
7021
|
canOpen?: boolean;
|
|
7022
|
+
/**
|
|
7023
|
+
* The content widget.
|
|
7024
|
+
*
|
|
7025
|
+
* It's always shown, and the bottom sheet is overlaid over it.
|
|
7026
|
+
*/
|
|
7027
|
+
content?: Gtk.Widget;
|
|
6843
7028
|
/**
|
|
6844
7029
|
* Whether the bottom sheet takes the full width.
|
|
6845
7030
|
*
|
|
@@ -6867,6 +7052,12 @@ export interface AdwBottomSheetProps extends WidgetProps {
|
|
|
6867
7052
|
* {@link AdwBottomSheet.bottom-bar-height}.
|
|
6868
7053
|
*/
|
|
6869
7054
|
revealBottomBar?: boolean;
|
|
7055
|
+
/**
|
|
7056
|
+
* The bottom sheet widget.
|
|
7057
|
+
*
|
|
7058
|
+
* Only shown when {@link AdwBottomSheet.open} is `TRUE`.
|
|
7059
|
+
*/
|
|
7060
|
+
sheet?: Gtk.Widget;
|
|
6870
7061
|
/**
|
|
6871
7062
|
* The current bottom sheet height.
|
|
6872
7063
|
*
|
|
@@ -6896,10 +7087,13 @@ export interface AdwBottomSheetProps extends WidgetProps {
|
|
|
6896
7087
|
* {@link AdwDialog.can-close} is set to `FALSE`.
|
|
6897
7088
|
*/
|
|
6898
7089
|
onCloseAttempt?: (self: Adw.BottomSheet) => void;
|
|
7090
|
+
children?: ReactNode;
|
|
6899
7091
|
ref?: Ref<Adw.BottomSheet>;
|
|
6900
7092
|
}
|
|
6901
7093
|
/** Props for the {@link AdwBreakpointBin} widget. */
|
|
6902
7094
|
export interface AdwBreakpointBinProps extends WidgetProps {
|
|
7095
|
+
/** The child widget. */
|
|
7096
|
+
child?: Gtk.Widget;
|
|
6903
7097
|
/** The current breakpoint. */
|
|
6904
7098
|
currentBreakpoint?: Adw.Breakpoint;
|
|
6905
7099
|
/**
|
|
@@ -6908,6 +7102,7 @@ export interface AdwBreakpointBinProps extends WidgetProps {
|
|
|
6908
7102
|
* The accessible role cannot be changed once set.
|
|
6909
7103
|
*/
|
|
6910
7104
|
accessibleRole?: Gtk.AccessibleRole;
|
|
7105
|
+
children?: ReactNode;
|
|
6911
7106
|
ref?: Ref<Adw.BreakpointBin>;
|
|
6912
7107
|
}
|
|
6913
7108
|
/** Props for the {@link AdwButtonContent} widget. */
|
|
@@ -6962,6 +7157,7 @@ export interface AdwButtonRowProps extends AdwPreferencesRowProps {
|
|
|
6962
7157
|
actionTarget?: GLib.Variant;
|
|
6963
7158
|
/** This signal is emitted after the row has been activated. */
|
|
6964
7159
|
onActivated?: (self: Adw.ButtonRow) => void;
|
|
7160
|
+
children?: ReactNode;
|
|
6965
7161
|
ref?: Ref<Adw.ButtonRow>;
|
|
6966
7162
|
}
|
|
6967
7163
|
/** Props for the {@link AdwCarousel} widget. */
|
|
@@ -7035,6 +7231,7 @@ export interface AdwCarouselProps extends WidgetProps {
|
|
|
7035
7231
|
* An empty carousel is indicated by `(int)index == -1`.
|
|
7036
7232
|
*/
|
|
7037
7233
|
onPageChanged?: (self: Adw.Carousel, index: number) => void;
|
|
7234
|
+
children?: ReactNode;
|
|
7038
7235
|
ref?: Ref<Adw.Carousel>;
|
|
7039
7236
|
}
|
|
7040
7237
|
/** Props for the {@link AdwCarouselIndicatorDots} widget. */
|
|
@@ -7067,6 +7264,8 @@ export interface AdwCarouselIndicatorLinesProps extends WidgetProps {
|
|
|
7067
7264
|
}
|
|
7068
7265
|
/** Props for the {@link AdwClamp} widget. */
|
|
7069
7266
|
export interface AdwClampProps extends WidgetProps {
|
|
7267
|
+
/** The child widget of the `AdwClamp`. */
|
|
7268
|
+
child?: Gtk.Widget;
|
|
7070
7269
|
/**
|
|
7071
7270
|
* The maximum size allocated to the child.
|
|
7072
7271
|
*
|
|
@@ -7104,10 +7303,13 @@ export interface AdwClampProps extends WidgetProps {
|
|
|
7104
7303
|
accessibleRole?: Gtk.AccessibleRole;
|
|
7105
7304
|
/** The orientation of the orientable. */
|
|
7106
7305
|
orientation?: Gtk.Orientation;
|
|
7306
|
+
children?: ReactNode;
|
|
7107
7307
|
ref?: Ref<Adw.Clamp>;
|
|
7108
7308
|
}
|
|
7109
7309
|
/** Props for the {@link AdwClampScrollable} widget. */
|
|
7110
7310
|
export interface AdwClampScrollableProps extends WidgetProps {
|
|
7311
|
+
/** The child widget of the `AdwClampScrollable`. */
|
|
7312
|
+
child?: Gtk.Widget;
|
|
7111
7313
|
/**
|
|
7112
7314
|
* The maximum size allocated to the child.
|
|
7113
7315
|
*
|
|
@@ -7161,6 +7363,7 @@ export interface AdwClampScrollableProps extends WidgetProps {
|
|
|
7161
7363
|
vadjustment?: Gtk.Adjustment;
|
|
7162
7364
|
/** Determines when vertical scrolling should start. */
|
|
7163
7365
|
vscrollPolicy?: Gtk.ScrollablePolicy;
|
|
7366
|
+
children?: ReactNode;
|
|
7164
7367
|
ref?: Ref<Adw.ClampScrollable>;
|
|
7165
7368
|
}
|
|
7166
7369
|
/** Props for the {@link AdwComboRow} widget. */
|
|
@@ -7199,8 +7402,6 @@ export interface AdwComboRowProps extends AdwActionRowProps {
|
|
|
7199
7402
|
* If this is not set, {@link AdwComboRow.factory} is used.
|
|
7200
7403
|
*/
|
|
7201
7404
|
listFactory?: Gtk.ListItemFactory;
|
|
7202
|
-
/** The model that provides the displayed items. */
|
|
7203
|
-
model?: Gio.ListModel;
|
|
7204
7405
|
/** The match mode for the search filter. */
|
|
7205
7406
|
searchMatchMode?: Gtk.StringFilterMatchMode;
|
|
7206
7407
|
/**
|
|
@@ -7234,6 +7435,7 @@ export interface AdwComboRowProps extends AdwActionRowProps {
|
|
|
7234
7435
|
actionName?: string;
|
|
7235
7436
|
/** The target value of the actionable widget's action. */
|
|
7236
7437
|
actionTarget?: GLib.Variant;
|
|
7438
|
+
children?: ReactNode;
|
|
7237
7439
|
ref?: Ref<Adw.ComboRow>;
|
|
7238
7440
|
}
|
|
7239
7441
|
/** Props for the {@link AdwDialog} widget. */
|
|
@@ -7247,6 +7449,8 @@ export interface AdwDialogProps extends WidgetProps {
|
|
|
7247
7449
|
* {@link Dialogforce_close} still works.
|
|
7248
7450
|
*/
|
|
7249
7451
|
canClose?: boolean;
|
|
7452
|
+
/** The child widget of the `AdwDialog`. */
|
|
7453
|
+
child?: Gtk.Widget;
|
|
7250
7454
|
/**
|
|
7251
7455
|
* The height of the dialog's contents.
|
|
7252
7456
|
*
|
|
@@ -7265,6 +7469,14 @@ export interface AdwDialogProps extends WidgetProps {
|
|
|
7265
7469
|
contentWidth?: number;
|
|
7266
7470
|
/** The current breakpoint. */
|
|
7267
7471
|
currentBreakpoint?: Adw.Breakpoint;
|
|
7472
|
+
/**
|
|
7473
|
+
* The default widget.
|
|
7474
|
+
*
|
|
7475
|
+
* It's activated when the user presses Enter.
|
|
7476
|
+
*/
|
|
7477
|
+
defaultWidget?: Gtk.Widget;
|
|
7478
|
+
/** The focus widget. */
|
|
7479
|
+
focusWidget?: Gtk.Widget;
|
|
7268
7480
|
/**
|
|
7269
7481
|
* Whether to size content automatically.
|
|
7270
7482
|
*
|
|
@@ -7305,6 +7517,7 @@ export interface AdwDialogProps extends WidgetProps {
|
|
|
7305
7517
|
onCloseAttempt?: (self: Adw.Dialog) => void;
|
|
7306
7518
|
/** Emitted when the dialog is successfully closed. */
|
|
7307
7519
|
onClosed?: (self: Adw.Dialog) => void;
|
|
7520
|
+
children?: ReactNode;
|
|
7308
7521
|
ref?: Ref<Adw.Dialog>;
|
|
7309
7522
|
}
|
|
7310
7523
|
/** Props for the {@link AdwEntryRow} widget. */
|
|
@@ -7424,6 +7637,7 @@ export interface AdwEntryRowProps extends AdwPreferencesRowProps {
|
|
|
7424
7637
|
* to modify the inserted text, or prevent it from being inserted entirely.
|
|
7425
7638
|
*/
|
|
7426
7639
|
onInsertText?: (self: Adw.EntryRow, text: string, length: number, position: Ref<number>) => void;
|
|
7640
|
+
children?: ReactNode;
|
|
7427
7641
|
ref?: Ref<Adw.EntryRow>;
|
|
7428
7642
|
}
|
|
7429
7643
|
/** Props for the {@link AdwExpanderRow} widget. */
|
|
@@ -7466,10 +7680,23 @@ export interface AdwExpanderRowProps extends AdwPreferencesRowProps {
|
|
|
7466
7680
|
actionName?: string;
|
|
7467
7681
|
/** The target value of the actionable widget's action. */
|
|
7468
7682
|
actionTarget?: GLib.Variant;
|
|
7683
|
+
children?: ReactNode;
|
|
7469
7684
|
ref?: Ref<Adw.ExpanderRow>;
|
|
7470
7685
|
}
|
|
7471
7686
|
/** Props for the {@link AdwFlap} widget. */
|
|
7472
7687
|
export interface AdwFlapProps extends WidgetProps {
|
|
7688
|
+
/**
|
|
7689
|
+
* The content widget.
|
|
7690
|
+
*
|
|
7691
|
+
* It's always displayed when unfolded, and partially visible when folded.
|
|
7692
|
+
*/
|
|
7693
|
+
content?: Gtk.Widget;
|
|
7694
|
+
/**
|
|
7695
|
+
* The flap widget.
|
|
7696
|
+
*
|
|
7697
|
+
* It's only visible when {@link AdwFlap.reveal-progress} is greater than 0.
|
|
7698
|
+
*/
|
|
7699
|
+
flap?: Gtk.Widget;
|
|
7473
7700
|
/**
|
|
7474
7701
|
* The flap position.
|
|
7475
7702
|
*
|
|
@@ -7534,6 +7761,14 @@ export interface AdwFlapProps extends WidgetProps {
|
|
|
7534
7761
|
* See {@link AdwFlap.reveal-flap}.
|
|
7535
7762
|
*/
|
|
7536
7763
|
revealProgress?: number;
|
|
7764
|
+
/**
|
|
7765
|
+
* The separator widget.
|
|
7766
|
+
*
|
|
7767
|
+
* It's displayed between content and flap when there's no shadow to display.
|
|
7768
|
+
* When exactly it's visible depends on the {@link AdwFlap.transition-type}
|
|
7769
|
+
* value.
|
|
7770
|
+
*/
|
|
7771
|
+
separator?: Gtk.Widget;
|
|
7537
7772
|
/**
|
|
7538
7773
|
* Whether the flap can be closed with a swipe gesture.
|
|
7539
7774
|
*
|
|
@@ -7565,6 +7800,7 @@ export interface AdwFlapProps extends WidgetProps {
|
|
|
7565
7800
|
accessibleRole?: Gtk.AccessibleRole;
|
|
7566
7801
|
/** The orientation of the orientable. */
|
|
7567
7802
|
orientation?: Gtk.Orientation;
|
|
7803
|
+
children?: ReactNode;
|
|
7568
7804
|
ref?: Ref<Adw.Flap>;
|
|
7569
7805
|
}
|
|
7570
7806
|
/** Props for the {@link AdwHeaderBar} widget. */
|
|
@@ -7617,12 +7853,32 @@ export interface AdwHeaderBarProps extends WidgetProps {
|
|
|
7617
7853
|
showStartTitleButtons?: boolean;
|
|
7618
7854
|
/** Whether the title widget should be shown. */
|
|
7619
7855
|
showTitle?: boolean;
|
|
7856
|
+
/**
|
|
7857
|
+
* The title widget to display.
|
|
7858
|
+
*
|
|
7859
|
+
* When set to `NULL`, the header bar will display the title of the window it
|
|
7860
|
+
* is contained in.
|
|
7861
|
+
*
|
|
7862
|
+
* To use a different title, use {@link AdwWindowTitle}:
|
|
7863
|
+
*
|
|
7864
|
+
* ```xml
|
|
7865
|
+
* <object class="AdwHeaderBar">
|
|
7866
|
+
* <property name="title-widget">
|
|
7867
|
+
* <object class="AdwWindowTitle">
|
|
7868
|
+
* <property name="title" translatable="yes">Title</property>
|
|
7869
|
+
* </object>
|
|
7870
|
+
* </property>
|
|
7871
|
+
* </object>
|
|
7872
|
+
* ```
|
|
7873
|
+
*/
|
|
7874
|
+
titleWidget?: Gtk.Widget;
|
|
7620
7875
|
/**
|
|
7621
7876
|
* The accessible role of the given `GtkAccessible` implementation.
|
|
7622
7877
|
*
|
|
7623
7878
|
* The accessible role cannot be changed once set.
|
|
7624
7879
|
*/
|
|
7625
7880
|
accessibleRole?: Gtk.AccessibleRole;
|
|
7881
|
+
children?: ReactNode;
|
|
7626
7882
|
ref?: Ref<Adw.HeaderBar>;
|
|
7627
7883
|
}
|
|
7628
7884
|
/** Props for the {@link AdwInlineViewSwitcher} widget. */
|
|
@@ -7773,6 +8029,15 @@ export interface AdwLeafletProps extends WidgetProps {
|
|
|
7773
8029
|
* to become current.
|
|
7774
8030
|
*/
|
|
7775
8031
|
transitionType?: Adw.LeafletTransitionType;
|
|
8032
|
+
/**
|
|
8033
|
+
* The widget currently visible when the leaflet is folded.
|
|
8034
|
+
*
|
|
8035
|
+
* The transition is determined by {@link AdwLeaflet.transition-type} and
|
|
8036
|
+
* {@link AdwLeaflet.child-transition-params}. The transition can be cancelled
|
|
8037
|
+
* by the user, in which case visible child will change back to the previously
|
|
8038
|
+
* visible child.
|
|
8039
|
+
*/
|
|
8040
|
+
visibleChild?: Gtk.Widget;
|
|
7776
8041
|
/**
|
|
7777
8042
|
* The name of the widget currently visible when the leaflet is folded.
|
|
7778
8043
|
*
|
|
@@ -7787,10 +8052,11 @@ export interface AdwLeafletProps extends WidgetProps {
|
|
|
7787
8052
|
accessibleRole?: Gtk.AccessibleRole;
|
|
7788
8053
|
/** The orientation of the orientable. */
|
|
7789
8054
|
orientation?: Gtk.Orientation;
|
|
8055
|
+
children?: ReactNode;
|
|
7790
8056
|
ref?: Ref<Adw.Leaflet>;
|
|
7791
8057
|
}
|
|
7792
8058
|
/** Props for the {@link AdwMessageDialog} widget. */
|
|
7793
|
-
export interface AdwMessageDialogProps extends
|
|
8059
|
+
export interface AdwMessageDialogProps extends GtkWindowProps {
|
|
7794
8060
|
/** The body text of the dialog. */
|
|
7795
8061
|
body?: string;
|
|
7796
8062
|
/**
|
|
@@ -7822,6 +8088,12 @@ export interface AdwMessageDialogProps extends WindowProps {
|
|
|
7822
8088
|
* See {@link Window.default-widget}.
|
|
7823
8089
|
*/
|
|
7824
8090
|
defaultResponse?: string;
|
|
8091
|
+
/**
|
|
8092
|
+
* The child widget.
|
|
8093
|
+
*
|
|
8094
|
+
* Displayed below the heading and body.
|
|
8095
|
+
*/
|
|
8096
|
+
extraChild?: Gtk.Widget;
|
|
7825
8097
|
/** The heading of the dialog. */
|
|
7826
8098
|
heading?: string;
|
|
7827
8099
|
/**
|
|
@@ -7847,6 +8119,7 @@ export interface AdwMessageDialogProps extends WindowProps {
|
|
|
7847
8119
|
* {@link AdwMessageDialog.close-response}.
|
|
7848
8120
|
*/
|
|
7849
8121
|
onResponse?: (self: Adw.MessageDialog, response: string) => void;
|
|
8122
|
+
children?: ReactNode;
|
|
7850
8123
|
ref?: Ref<Adw.MessageDialog>;
|
|
7851
8124
|
}
|
|
7852
8125
|
/** Props for the {@link AdwMultiLayoutView} widget. */
|
|
@@ -7865,6 +8138,7 @@ export interface AdwMultiLayoutViewProps extends WidgetProps {
|
|
|
7865
8138
|
* The accessible role cannot be changed once set.
|
|
7866
8139
|
*/
|
|
7867
8140
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8141
|
+
children?: ReactNode;
|
|
7868
8142
|
ref?: Ref<Adw.MultiLayoutView>;
|
|
7869
8143
|
}
|
|
7870
8144
|
/** Props for the {@link AdwNavigationPage} widget. */
|
|
@@ -7940,6 +8214,7 @@ export interface AdwNavigationPageProps extends WidgetProps {
|
|
|
7940
8214
|
* {@link AdwNavigationPage.:hiding}.
|
|
7941
8215
|
*/
|
|
7942
8216
|
onShown?: (self: Adw.NavigationPage) => void;
|
|
8217
|
+
children?: ReactNode;
|
|
7943
8218
|
ref?: Ref<Adw.NavigationPage>;
|
|
7944
8219
|
}
|
|
7945
8220
|
/** Props for the {@link AdwNavigationSplitView} widget. */
|
|
@@ -8023,6 +8298,7 @@ export interface AdwNavigationSplitViewProps extends WidgetProps {
|
|
|
8023
8298
|
* The accessible role cannot be changed once set.
|
|
8024
8299
|
*/
|
|
8025
8300
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8301
|
+
children?: ReactNode;
|
|
8026
8302
|
ref?: Ref<Adw.NavigationSplitView>;
|
|
8027
8303
|
}
|
|
8028
8304
|
/** Props for the {@link AdwNavigationView} widget. */
|
|
@@ -8114,6 +8390,7 @@ export interface AdwNavigationViewProps extends WidgetProps {
|
|
|
8114
8390
|
* See {@link NavigationViewreplace}.
|
|
8115
8391
|
*/
|
|
8116
8392
|
onReplaced?: (self: Adw.NavigationView) => void;
|
|
8393
|
+
children?: ReactNode;
|
|
8117
8394
|
ref?: Ref<Adw.NavigationView>;
|
|
8118
8395
|
}
|
|
8119
8396
|
/** Props for the {@link AdwOverlaySplitView} widget. */
|
|
@@ -8125,6 +8402,8 @@ export interface AdwOverlaySplitViewProps extends WidgetProps {
|
|
|
8125
8402
|
* content widget, otherwise they are displayed side by side.
|
|
8126
8403
|
*/
|
|
8127
8404
|
collapsed?: boolean;
|
|
8405
|
+
/** The content widget. */
|
|
8406
|
+
content?: Gtk.Widget;
|
|
8128
8407
|
/**
|
|
8129
8408
|
* Whether the sidebar can be closed with a swipe gesture.
|
|
8130
8409
|
*
|
|
@@ -8167,6 +8446,8 @@ export interface AdwOverlaySplitViewProps extends WidgetProps {
|
|
|
8167
8446
|
pinSidebar?: boolean;
|
|
8168
8447
|
/** Whether the sidebar widget is shown. */
|
|
8169
8448
|
showSidebar?: boolean;
|
|
8449
|
+
/** The sidebar widget. */
|
|
8450
|
+
sidebar?: Gtk.Widget;
|
|
8170
8451
|
/**
|
|
8171
8452
|
* The sidebar position.
|
|
8172
8453
|
*
|
|
@@ -8198,6 +8479,7 @@ export interface AdwOverlaySplitViewProps extends WidgetProps {
|
|
|
8198
8479
|
* The accessible role cannot be changed once set.
|
|
8199
8480
|
*/
|
|
8200
8481
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8482
|
+
children?: ReactNode;
|
|
8201
8483
|
ref?: Ref<Adw.OverlaySplitView>;
|
|
8202
8484
|
}
|
|
8203
8485
|
/** Props for the {@link AdwPasswordEntryRow} widget. */
|
|
@@ -8264,12 +8546,15 @@ export interface AdwPasswordEntryRowProps extends AdwEntryRowProps {
|
|
|
8264
8546
|
* to modify the inserted text, or prevent it from being inserted entirely.
|
|
8265
8547
|
*/
|
|
8266
8548
|
onInsertText?: (self: Adw.PasswordEntryRow, text: string, length: number, position: Ref<number>) => void;
|
|
8549
|
+
children?: ReactNode;
|
|
8267
8550
|
ref?: Ref<Adw.PasswordEntryRow>;
|
|
8268
8551
|
}
|
|
8269
8552
|
/** Props for the {@link AdwPreferencesDialog} widget. */
|
|
8270
8553
|
export interface AdwPreferencesDialogProps extends AdwDialogProps {
|
|
8271
8554
|
/** Whether search is enabled. */
|
|
8272
8555
|
searchEnabled?: boolean;
|
|
8556
|
+
/** The currently visible page. */
|
|
8557
|
+
visiblePage?: Gtk.Widget;
|
|
8273
8558
|
/**
|
|
8274
8559
|
* The name of the currently visible page.
|
|
8275
8560
|
*
|
|
@@ -8282,12 +8567,22 @@ export interface AdwPreferencesDialogProps extends AdwDialogProps {
|
|
|
8282
8567
|
* The accessible role cannot be changed once set.
|
|
8283
8568
|
*/
|
|
8284
8569
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8570
|
+
children?: ReactNode;
|
|
8285
8571
|
ref?: Ref<Adw.PreferencesDialog>;
|
|
8286
8572
|
}
|
|
8287
8573
|
/** Props for the {@link AdwPreferencesGroup} widget. */
|
|
8288
8574
|
export interface AdwPreferencesGroupProps extends WidgetProps {
|
|
8289
8575
|
/** The description for this group of preferences. */
|
|
8290
8576
|
description?: string;
|
|
8577
|
+
/**
|
|
8578
|
+
* The header suffix widget.
|
|
8579
|
+
*
|
|
8580
|
+
* Displayed above the list, next to the title and description.
|
|
8581
|
+
*
|
|
8582
|
+
* Suffixes are commonly used to show a button or a spinner for the whole
|
|
8583
|
+
* group.
|
|
8584
|
+
*/
|
|
8585
|
+
headerSuffix?: Gtk.Widget;
|
|
8291
8586
|
/**
|
|
8292
8587
|
* Whether to separate rows.
|
|
8293
8588
|
*
|
|
@@ -8304,6 +8599,7 @@ export interface AdwPreferencesGroupProps extends WidgetProps {
|
|
|
8304
8599
|
* The accessible role cannot be changed once set.
|
|
8305
8600
|
*/
|
|
8306
8601
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8602
|
+
children?: ReactNode;
|
|
8307
8603
|
ref?: Ref<Adw.PreferencesGroup>;
|
|
8308
8604
|
}
|
|
8309
8605
|
/** Props for the {@link AdwPreferencesPage} widget. */
|
|
@@ -8326,10 +8622,11 @@ export interface AdwPreferencesPageProps extends WidgetProps {
|
|
|
8326
8622
|
* The accessible role cannot be changed once set.
|
|
8327
8623
|
*/
|
|
8328
8624
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8625
|
+
children?: ReactNode;
|
|
8329
8626
|
ref?: Ref<Adw.PreferencesPage>;
|
|
8330
8627
|
}
|
|
8331
8628
|
/** Props for the {@link AdwPreferencesRow} widget. */
|
|
8332
|
-
export interface AdwPreferencesRowProps extends
|
|
8629
|
+
export interface AdwPreferencesRowProps extends GtkListBoxRowProps {
|
|
8333
8630
|
/**
|
|
8334
8631
|
* The title of the preference represented by this row.
|
|
8335
8632
|
*
|
|
@@ -8363,10 +8660,11 @@ export interface AdwPreferencesRowProps extends ListBoxRowProps {
|
|
|
8363
8660
|
actionName?: string;
|
|
8364
8661
|
/** The target value of the actionable widget's action. */
|
|
8365
8662
|
actionTarget?: GLib.Variant;
|
|
8663
|
+
children?: ReactNode;
|
|
8366
8664
|
ref?: Ref<Adw.PreferencesRow>;
|
|
8367
8665
|
}
|
|
8368
8666
|
/** Props for the {@link AdwPreferencesWindow} widget. */
|
|
8369
|
-
export interface AdwPreferencesWindowProps extends
|
|
8667
|
+
export interface AdwPreferencesWindowProps extends AdwWindowProps {
|
|
8370
8668
|
/**
|
|
8371
8669
|
* Whether gestures and shortcuts for closing subpages are enabled.
|
|
8372
8670
|
*
|
|
@@ -8387,6 +8685,8 @@ export interface AdwPreferencesWindowProps extends WindowProps {
|
|
|
8387
8685
|
canNavigateBack?: boolean;
|
|
8388
8686
|
/** Whether search is enabled. */
|
|
8389
8687
|
searchEnabled?: boolean;
|
|
8688
|
+
/** The currently visible page. */
|
|
8689
|
+
visiblePage?: Gtk.Widget;
|
|
8390
8690
|
/**
|
|
8391
8691
|
* The name of the currently visible page.
|
|
8392
8692
|
*
|
|
@@ -8399,6 +8699,7 @@ export interface AdwPreferencesWindowProps extends WindowProps {
|
|
|
8399
8699
|
* The accessible role cannot be changed once set.
|
|
8400
8700
|
*/
|
|
8401
8701
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8702
|
+
children?: ReactNode;
|
|
8402
8703
|
ref?: Ref<Adw.PreferencesWindow>;
|
|
8403
8704
|
}
|
|
8404
8705
|
/** Props for the {@link AdwShortcutLabel} widget. */
|
|
@@ -8423,6 +8724,7 @@ export interface AdwShortcutsDialogProps extends AdwDialogProps {
|
|
|
8423
8724
|
* The accessible role cannot be changed once set.
|
|
8424
8725
|
*/
|
|
8425
8726
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8727
|
+
children?: ReactNode;
|
|
8426
8728
|
ref?: Ref<Adw.ShortcutsDialog>;
|
|
8427
8729
|
}
|
|
8428
8730
|
/** Props for the {@link AdwSpinner} widget. */
|
|
@@ -8542,6 +8844,7 @@ export interface AdwSpinRowProps extends AdwActionRowProps {
|
|
|
8542
8844
|
* to modify the inserted text, or prevent it from being inserted entirely.
|
|
8543
8845
|
*/
|
|
8544
8846
|
onInsertText?: (self: Adw.SpinRow, text: string, length: number, position: Ref<number>) => void;
|
|
8847
|
+
children?: ReactNode;
|
|
8545
8848
|
ref?: Ref<Adw.SpinRow>;
|
|
8546
8849
|
}
|
|
8547
8850
|
/** Props for the {@link AdwSplitButton} widget. */
|
|
@@ -8555,6 +8858,13 @@ export interface AdwSplitButtonProps extends WidgetProps {
|
|
|
8555
8858
|
* {@link MenuButton.can-shrink}.
|
|
8556
8859
|
*/
|
|
8557
8860
|
canShrink?: boolean;
|
|
8861
|
+
/**
|
|
8862
|
+
* The child widget.
|
|
8863
|
+
*
|
|
8864
|
+
* Setting the child widget will set {@link AdwSplitButton.label} and
|
|
8865
|
+
* {@link AdwSplitButton.icon-name} to `NULL`.
|
|
8866
|
+
*/
|
|
8867
|
+
child?: Gtk.Widget;
|
|
8558
8868
|
/**
|
|
8559
8869
|
* The direction in which the popup will be popped up.
|
|
8560
8870
|
*
|
|
@@ -8599,6 +8909,15 @@ export interface AdwSplitButtonProps extends WidgetProps {
|
|
|
8599
8909
|
* from the button, and the property is set to `NULL`.
|
|
8600
8910
|
*/
|
|
8601
8911
|
menuModel?: Gio.MenuModel;
|
|
8912
|
+
/**
|
|
8913
|
+
* The `GtkPopover` that will be popped up when the dropdown is clicked.
|
|
8914
|
+
*
|
|
8915
|
+
* If the popover is `NULL`, the dropdown is disabled.
|
|
8916
|
+
*
|
|
8917
|
+
* If {@link AdwSplitButton.menu-model} is set, the menu model is dissociated
|
|
8918
|
+
* from the button, and the property is set to `NULL`.
|
|
8919
|
+
*/
|
|
8920
|
+
popover?: Gtk.Popover;
|
|
8602
8921
|
/**
|
|
8603
8922
|
* Whether an underline in the text indicates a mnemonic.
|
|
8604
8923
|
*
|
|
@@ -8624,6 +8943,7 @@ export interface AdwSplitButtonProps extends WidgetProps {
|
|
|
8624
8943
|
onActivate?: (self: Adw.SplitButton) => void;
|
|
8625
8944
|
/** Emitted when the button has been activated (pressed and released). */
|
|
8626
8945
|
onClicked?: (self: Adw.SplitButton) => void;
|
|
8946
|
+
children?: ReactNode;
|
|
8627
8947
|
ref?: Ref<Adw.SplitButton>;
|
|
8628
8948
|
}
|
|
8629
8949
|
/** Props for the {@link AdwSqueezer} widget. */
|
|
@@ -8715,10 +9035,13 @@ export interface AdwSqueezerProps extends WidgetProps {
|
|
|
8715
9035
|
accessibleRole?: Gtk.AccessibleRole;
|
|
8716
9036
|
/** The orientation of the orientable. */
|
|
8717
9037
|
orientation?: Gtk.Orientation;
|
|
9038
|
+
children?: ReactNode;
|
|
8718
9039
|
ref?: Ref<Adw.Squeezer>;
|
|
8719
9040
|
}
|
|
8720
9041
|
/** Props for the {@link AdwStatusPage} widget. */
|
|
8721
9042
|
export interface AdwStatusPageProps extends WidgetProps {
|
|
9043
|
+
/** The child widget. */
|
|
9044
|
+
child?: Gtk.Widget;
|
|
8722
9045
|
/** The description markup to be displayed below the title. */
|
|
8723
9046
|
description?: string;
|
|
8724
9047
|
/**
|
|
@@ -8745,6 +9068,7 @@ export interface AdwStatusPageProps extends WidgetProps {
|
|
|
8745
9068
|
* The accessible role cannot be changed once set.
|
|
8746
9069
|
*/
|
|
8747
9070
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9071
|
+
children?: ReactNode;
|
|
8748
9072
|
ref?: Ref<Adw.StatusPage>;
|
|
8749
9073
|
}
|
|
8750
9074
|
/** Props for the {@link AdwSwitchRow} widget. */
|
|
@@ -8761,6 +9085,7 @@ export interface AdwSwitchRowProps extends AdwActionRowProps {
|
|
|
8761
9085
|
actionName?: string;
|
|
8762
9086
|
/** The target value of the actionable widget's action. */
|
|
8763
9087
|
actionTarget?: GLib.Variant;
|
|
9088
|
+
children?: ReactNode;
|
|
8764
9089
|
ref?: Ref<Adw.SwitchRow>;
|
|
8765
9090
|
}
|
|
8766
9091
|
/** Props for the {@link AdwTabBar} widget. */
|
|
@@ -8774,6 +9099,8 @@ export interface AdwTabBarProps extends WidgetProps {
|
|
|
8774
9099
|
* See {@link AdwTabBar.tabs-revealed}.
|
|
8775
9100
|
*/
|
|
8776
9101
|
autohide?: boolean;
|
|
9102
|
+
/** The widget shown after the tabs. */
|
|
9103
|
+
endActionWidget?: Gtk.Widget;
|
|
8777
9104
|
/**
|
|
8778
9105
|
* Whether tabs expand to full width.
|
|
8779
9106
|
*
|
|
@@ -8809,6 +9136,8 @@ export interface AdwTabBarProps extends WidgetProps {
|
|
|
8809
9136
|
* If `TRUE`, all tabs cannot be displayed at once and require scrolling.
|
|
8810
9137
|
*/
|
|
8811
9138
|
isOverflowing?: boolean;
|
|
9139
|
+
/** The widget shown before the tabs. */
|
|
9140
|
+
startActionWidget?: Gtk.Widget;
|
|
8812
9141
|
/**
|
|
8813
9142
|
* Whether the tabs are currently revealed.
|
|
8814
9143
|
*
|
|
@@ -8844,6 +9173,7 @@ export interface AdwTabBarProps extends WidgetProps {
|
|
|
8844
9173
|
* See {@link DropTarget.value}.
|
|
8845
9174
|
*/
|
|
8846
9175
|
onExtraDragValue?: (self: Adw.TabBar, page: Adw.TabPage, value: GObject.Value) => Gdk.DragAction;
|
|
9176
|
+
children?: ReactNode;
|
|
8847
9177
|
ref?: Ref<Adw.TabBar>;
|
|
8848
9178
|
}
|
|
8849
9179
|
/** Props for the {@link AdwTabButton} widget. */
|
|
@@ -8873,6 +9203,8 @@ export interface AdwTabButtonProps extends WidgetProps {
|
|
|
8873
9203
|
}
|
|
8874
9204
|
/** Props for the {@link AdwTabOverview} widget. */
|
|
8875
9205
|
export interface AdwTabOverviewProps extends WidgetProps {
|
|
9206
|
+
/** The child widget. */
|
|
9207
|
+
child?: Gtk.Widget;
|
|
8876
9208
|
/**
|
|
8877
9209
|
* Whether to enable new tab button.
|
|
8878
9210
|
*
|
|
@@ -8983,6 +9315,7 @@ export interface AdwTabOverviewProps extends WidgetProps {
|
|
|
8983
9315
|
* See {@link DropTarget.value}.
|
|
8984
9316
|
*/
|
|
8985
9317
|
onExtraDragValue?: (self: Adw.TabOverview, page: Adw.TabPage, value: GObject.Value) => Gdk.DragAction;
|
|
9318
|
+
children?: ReactNode;
|
|
8986
9319
|
ref?: Ref<Adw.TabOverview>;
|
|
8987
9320
|
}
|
|
8988
9321
|
/** Props for the {@link AdwTabView} widget. */
|
|
@@ -9134,16 +9467,20 @@ export interface AdwTabViewProps extends WidgetProps {
|
|
|
9134
9467
|
* disable actions not applicable to `page`.
|
|
9135
9468
|
*/
|
|
9136
9469
|
onSetupMenu?: (self: Adw.TabView, page: Adw.TabPage) => void;
|
|
9470
|
+
children?: ReactNode;
|
|
9137
9471
|
ref?: Ref<Adw.TabView>;
|
|
9138
9472
|
}
|
|
9139
9473
|
/** Props for the {@link AdwToastOverlay} widget. */
|
|
9140
9474
|
export interface AdwToastOverlayProps extends WidgetProps {
|
|
9475
|
+
/** The child widget. */
|
|
9476
|
+
child?: Gtk.Widget;
|
|
9141
9477
|
/**
|
|
9142
9478
|
* The accessible role of the given `GtkAccessible` implementation.
|
|
9143
9479
|
*
|
|
9144
9480
|
* The accessible role cannot be changed once set.
|
|
9145
9481
|
*/
|
|
9146
9482
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9483
|
+
children?: ReactNode;
|
|
9147
9484
|
ref?: Ref<Adw.ToastOverlay>;
|
|
9148
9485
|
}
|
|
9149
9486
|
/** Props for the {@link AdwToggleGroup} widget. */
|
|
@@ -9195,6 +9532,7 @@ export interface AdwToggleGroupProps extends WidgetProps {
|
|
|
9195
9532
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9196
9533
|
/** The orientation of the orientable. */
|
|
9197
9534
|
orientation?: Gtk.Orientation;
|
|
9535
|
+
children?: ReactNode;
|
|
9198
9536
|
ref?: Ref<Adw.ToggleGroup>;
|
|
9199
9537
|
}
|
|
9200
9538
|
/** Props for the {@link AdwToolbarView} widget. */
|
|
@@ -9235,6 +9573,8 @@ export interface AdwToolbarViewProps extends WidgetProps {
|
|
|
9235
9573
|
* See also {@link AdwToolbarView.top-bar-style}.
|
|
9236
9574
|
*/
|
|
9237
9575
|
bottomBarStyle?: Adw.ToolbarStyle;
|
|
9576
|
+
/** The content widget. */
|
|
9577
|
+
content?: Gtk.Widget;
|
|
9238
9578
|
/**
|
|
9239
9579
|
* Whether the content widget can extend behind bottom bars.
|
|
9240
9580
|
*
|
|
@@ -9320,6 +9660,7 @@ export interface AdwToolbarViewProps extends WidgetProps {
|
|
|
9320
9660
|
* The accessible role cannot be changed once set.
|
|
9321
9661
|
*/
|
|
9322
9662
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9663
|
+
children?: ReactNode;
|
|
9323
9664
|
ref?: Ref<Adw.ToolbarView>;
|
|
9324
9665
|
}
|
|
9325
9666
|
/** Props for the {@link AdwViewStack} widget. */
|
|
@@ -9374,6 +9715,8 @@ export interface AdwViewStackProps extends WidgetProps {
|
|
|
9374
9715
|
* visible.
|
|
9375
9716
|
*/
|
|
9376
9717
|
vhomogeneous?: boolean;
|
|
9718
|
+
/** The widget currently visible in the stack. */
|
|
9719
|
+
visibleChild?: Gtk.Widget;
|
|
9377
9720
|
/**
|
|
9378
9721
|
* The name of the widget currently visible in the stack.
|
|
9379
9722
|
*
|
|
@@ -9386,6 +9729,7 @@ export interface AdwViewStackProps extends WidgetProps {
|
|
|
9386
9729
|
* The accessible role cannot be changed once set.
|
|
9387
9730
|
*/
|
|
9388
9731
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9732
|
+
children?: ReactNode;
|
|
9389
9733
|
ref?: Ref<Adw.ViewStack>;
|
|
9390
9734
|
}
|
|
9391
9735
|
/** Props for the {@link AdwViewSwitcher} widget. */
|
|
@@ -9599,6 +9943,7 @@ export interface AdwWrapBoxProps extends WidgetProps {
|
|
|
9599
9943
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9600
9944
|
/** The orientation of the orientable. */
|
|
9601
9945
|
orientation?: Gtk.Orientation;
|
|
9946
|
+
children?: ReactNode;
|
|
9602
9947
|
ref?: Ref<Adw.WrapBox>;
|
|
9603
9948
|
}
|
|
9604
9949
|
/** Props for the {@link GtkSourceCompletionCell} widget. */
|
|
@@ -9607,12 +9952,14 @@ export interface GtkSourceCompletionCellProps extends WidgetProps {
|
|
|
9607
9952
|
markup?: string;
|
|
9608
9953
|
paintable?: Gdk.Paintable;
|
|
9609
9954
|
text?: string;
|
|
9955
|
+
widget?: Gtk.Widget;
|
|
9610
9956
|
/**
|
|
9611
9957
|
* The accessible role of the given `GtkAccessible` implementation.
|
|
9612
9958
|
*
|
|
9613
9959
|
* The accessible role cannot be changed once set.
|
|
9614
9960
|
*/
|
|
9615
9961
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9962
|
+
children?: ReactNode;
|
|
9616
9963
|
ref?: Ref<GtkSource.CompletionCell>;
|
|
9617
9964
|
}
|
|
9618
9965
|
/** Props for the {@link GtkSourceGutter} widget. */
|
|
@@ -9627,6 +9974,7 @@ export interface GtkSourceGutterProps extends WidgetProps {
|
|
|
9627
9974
|
* The accessible role cannot be changed once set.
|
|
9628
9975
|
*/
|
|
9629
9976
|
accessibleRole?: Gtk.AccessibleRole;
|
|
9977
|
+
children?: ReactNode;
|
|
9630
9978
|
ref?: Ref<GtkSource.Gutter>;
|
|
9631
9979
|
}
|
|
9632
9980
|
/** Props for the {@link GtkSourceGutterRenderer} widget. */
|
|
@@ -9711,6 +10059,7 @@ export interface GtkSourceHoverDisplayProps extends WidgetProps {
|
|
|
9711
10059
|
* The accessible role cannot be changed once set.
|
|
9712
10060
|
*/
|
|
9713
10061
|
accessibleRole?: Gtk.AccessibleRole;
|
|
10062
|
+
children?: ReactNode;
|
|
9714
10063
|
ref?: Ref<GtkSource.HoverDisplay>;
|
|
9715
10064
|
}
|
|
9716
10065
|
/** Props for the {@link GtkSourceMap} widget. */
|
|
@@ -9739,10 +10088,11 @@ export interface GtkSourceMapProps extends GtkSourceViewProps {
|
|
|
9739
10088
|
vadjustment?: Gtk.Adjustment;
|
|
9740
10089
|
/** Determines when vertical scrolling should start. */
|
|
9741
10090
|
vscrollPolicy?: Gtk.ScrollablePolicy;
|
|
10091
|
+
children?: ReactNode;
|
|
9742
10092
|
ref?: Ref<GtkSource.Map>;
|
|
9743
10093
|
}
|
|
9744
10094
|
/** Props for the {@link GtkSourceStyleSchemeChooserButton} widget. */
|
|
9745
|
-
export interface GtkSourceStyleSchemeChooserButtonProps extends
|
|
10095
|
+
export interface GtkSourceStyleSchemeChooserButtonProps extends GtkButtonProps {
|
|
9746
10096
|
/**
|
|
9747
10097
|
* The accessible role of the given `GtkAccessible` implementation.
|
|
9748
10098
|
*
|
|
@@ -9759,6 +10109,7 @@ export interface GtkSourceStyleSchemeChooserButtonProps extends ButtonProps {
|
|
|
9759
10109
|
* The property can be set to change the current selection programmatically.
|
|
9760
10110
|
*/
|
|
9761
10111
|
styleScheme?: GtkSource.StyleScheme;
|
|
10112
|
+
children?: ReactNode;
|
|
9762
10113
|
ref?: Ref<GtkSource.StyleSchemeChooserButton>;
|
|
9763
10114
|
}
|
|
9764
10115
|
/** Props for the {@link GtkSourceStyleSchemeChooserWidget} widget. */
|
|
@@ -9795,7 +10146,7 @@ export interface GtkSourceStyleSchemePreviewProps extends WidgetProps {
|
|
|
9795
10146
|
ref?: Ref<GtkSource.StyleSchemePreview>;
|
|
9796
10147
|
}
|
|
9797
10148
|
/** Props for the {@link GtkSourceView} widget. */
|
|
9798
|
-
export interface GtkSourceViewProps extends
|
|
10149
|
+
export interface GtkSourceViewProps extends GtkTextViewProps {
|
|
9799
10150
|
/** The {@link GtkSourceAnnotations} object associated with the view. */
|
|
9800
10151
|
annotations?: GtkSource.Annotations;
|
|
9801
10152
|
autoIndent?: boolean;
|
|
@@ -9920,6 +10271,7 @@ export interface GtkSourceViewProps extends TextViewProps {
|
|
|
9920
10271
|
* home/end.
|
|
9921
10272
|
*/
|
|
9922
10273
|
onSmartHomeEnd?: (self: GtkSource.View, iter: Gtk.TextIter, count: number) => void;
|
|
10274
|
+
children?: ReactNode;
|
|
9923
10275
|
ref?: Ref<GtkSource.View>;
|
|
9924
10276
|
}
|
|
9925
10277
|
/** Props for the {@link VteTerminal} widget. */
|
|
@@ -9967,6 +10319,12 @@ export interface VteTerminalProps extends WidgetProps {
|
|
|
9967
10319
|
* via escape sequence or with vte_terminal_reset().
|
|
9968
10320
|
*/
|
|
9969
10321
|
cjkAmbiguousWidth?: number;
|
|
10322
|
+
/**
|
|
10323
|
+
* The menu used for context menus. Note that context menu model set with the
|
|
10324
|
+
* #VteTerminal::context-menu-model property or vte_terminal_set_context_menu_model()
|
|
10325
|
+
* takes precedence over this.
|
|
10326
|
+
*/
|
|
10327
|
+
contextMenu?: Gtk.Popover;
|
|
9970
10328
|
/**
|
|
9971
10329
|
* The menu model used for context menus. If non-%NULL, the context menu is
|
|
9972
10330
|
* generated from this model, and overrides a context menu set with the
|
|
@@ -10272,6 +10630,7 @@ export interface VteTerminalProps extends WidgetProps {
|
|
|
10272
10630
|
onTermpropsChanged?: (self: Vte.Terminal, props: number[], nProps: number) => boolean;
|
|
10273
10631
|
/** Emitted when the #VteTerminal:window-title property is modified. */
|
|
10274
10632
|
onWindowTitleChanged?: (self: Vte.Terminal) => void;
|
|
10633
|
+
children?: ReactNode;
|
|
10275
10634
|
ref?: Ref<Vte.Terminal>;
|
|
10276
10635
|
}
|
|
10277
10636
|
/** Props for the {@link WebKitWebView} widget. */
|
|
@@ -10899,6 +11258,64 @@ export interface WebKitWebViewBaseProps extends WidgetProps {
|
|
|
10899
11258
|
accessibleRole?: Gtk.AccessibleRole;
|
|
10900
11259
|
ref?: Ref<WebKit.WebViewBase>;
|
|
10901
11260
|
}
|
|
11261
|
+
/** Type mapping widgets to their valid slot names. Used for type-safe Slot components. */
|
|
11262
|
+
export type WidgetSlotNames = {
|
|
11263
|
+
GtkWindow: "child" | "defaultWidget" | "focusWidget" | "titlebar" | "transientFor";
|
|
11264
|
+
GtkAspectFrame: "child";
|
|
11265
|
+
GtkButton: "child";
|
|
11266
|
+
GtkCenterBox: "centerWidget" | "endWidget" | "startWidget";
|
|
11267
|
+
GtkCheckButton: "child" | "group";
|
|
11268
|
+
GtkComboBox: "child";
|
|
11269
|
+
GtkDragIcon: "child";
|
|
11270
|
+
GtkExpander: "child" | "labelWidget";
|
|
11271
|
+
GtkFlowBoxChild: "child";
|
|
11272
|
+
GtkFrame: "child" | "labelWidget";
|
|
11273
|
+
GtkGraphicsOffload: "child";
|
|
11274
|
+
GtkHeaderBar: "titleWidget";
|
|
11275
|
+
GtkLabel: "mnemonicWidget";
|
|
11276
|
+
GtkListBoxRow: "child";
|
|
11277
|
+
GtkMenuButton: "child" | "popover";
|
|
11278
|
+
GtkOverlay: "child";
|
|
11279
|
+
GtkPaned: "endChild" | "startChild";
|
|
11280
|
+
GtkPopover: "child" | "defaultWidget";
|
|
11281
|
+
GtkRevealer: "child";
|
|
11282
|
+
GtkScrolledWindow: "child";
|
|
11283
|
+
GtkSearchBar: "child" | "keyCaptureWidget";
|
|
11284
|
+
GtkStack: "visibleChild";
|
|
11285
|
+
GtkStackSidebar: "stack";
|
|
11286
|
+
GtkStackSwitcher: "stack";
|
|
11287
|
+
GtkToggleButton: "group";
|
|
11288
|
+
GtkTreeExpander: "child";
|
|
11289
|
+
GtkViewport: "child";
|
|
11290
|
+
GtkWindowHandle: "child";
|
|
11291
|
+
AdwWindow: "content";
|
|
11292
|
+
AdwActionRow: "activatableWidget";
|
|
11293
|
+
AdwAlertDialog: "extraChild";
|
|
11294
|
+
AdwApplicationWindow: "content";
|
|
11295
|
+
AdwBin: "child";
|
|
11296
|
+
AdwBottomSheet: "bottomBar" | "content" | "sheet";
|
|
11297
|
+
AdwBreakpointBin: "child";
|
|
11298
|
+
AdwClamp: "child";
|
|
11299
|
+
AdwClampScrollable: "child";
|
|
11300
|
+
AdwDialog: "child" | "defaultWidget" | "focusWidget";
|
|
11301
|
+
AdwFlap: "content" | "flap" | "separator";
|
|
11302
|
+
AdwHeaderBar: "titleWidget";
|
|
11303
|
+
AdwLeaflet: "visibleChild";
|
|
11304
|
+
AdwMessageDialog: "extraChild";
|
|
11305
|
+
AdwOverlaySplitView: "content" | "sidebar";
|
|
11306
|
+
AdwPreferencesDialog: "visiblePage";
|
|
11307
|
+
AdwPreferencesGroup: "headerSuffix";
|
|
11308
|
+
AdwPreferencesWindow: "visiblePage";
|
|
11309
|
+
AdwSplitButton: "child" | "popover";
|
|
11310
|
+
AdwStatusPage: "child";
|
|
11311
|
+
AdwTabBar: "endActionWidget" | "startActionWidget";
|
|
11312
|
+
AdwTabOverview: "child";
|
|
11313
|
+
AdwToastOverlay: "child";
|
|
11314
|
+
AdwToolbarView: "content";
|
|
11315
|
+
AdwViewStack: "visibleChild";
|
|
11316
|
+
GtkSourceCompletionCell: "widget";
|
|
11317
|
+
VteTerminal: "contextMenu";
|
|
11318
|
+
};
|
|
10902
11319
|
/**
|
|
10903
11320
|
* The base class for all widgets.
|
|
10904
11321
|
*
|
|
@@ -11293,7 +11710,7 @@ export interface WebKitWebViewBaseProps extends WidgetProps {
|
|
|
11293
11710
|
* }
|
|
11294
11711
|
* ```
|
|
11295
11712
|
*/
|
|
11296
|
-
export declare const
|
|
11713
|
+
export declare const GtkWidget: "GtkWidget";
|
|
11297
11714
|
/**
|
|
11298
11715
|
* A toplevel window which can contain other widgets.
|
|
11299
11716
|
*
|
|
@@ -11367,14 +11784,7 @@ export declare const Widget: "Widget";
|
|
|
11367
11784
|
*
|
|
11368
11785
|
* From GTK 4.12 to 4.18, it used the {@link AccessibleRole.application} role.
|
|
11369
11786
|
*/
|
|
11370
|
-
export declare const
|
|
11371
|
-
Root: "Window.Root";
|
|
11372
|
-
Child: "Window.Child";
|
|
11373
|
-
DefaultWidget: "Window.DefaultWidget";
|
|
11374
|
-
FocusWidget: "Window.FocusWidget";
|
|
11375
|
-
Titlebar: "Window.Titlebar";
|
|
11376
|
-
TransientFor: "Window.TransientFor";
|
|
11377
|
-
};
|
|
11787
|
+
export declare const GtkWindow: "GtkWindow";
|
|
11378
11788
|
/**
|
|
11379
11789
|
* Displays information about a program.
|
|
11380
11790
|
*
|
|
@@ -11429,7 +11839,7 @@ export declare const Window: {
|
|
|
11429
11839
|
* `GtkAboutDialog` has a single CSS node with the name `window` and style
|
|
11430
11840
|
* class `.aboutdialog`.
|
|
11431
11841
|
*/
|
|
11432
|
-
export declare const
|
|
11842
|
+
export declare const GtkAboutDialog: "GtkAboutDialog";
|
|
11433
11843
|
/**
|
|
11434
11844
|
* Presents contextual actions.
|
|
11435
11845
|
*
|
|
@@ -11470,7 +11880,7 @@ export declare const AboutDialog: "AboutDialog";
|
|
|
11470
11880
|
*
|
|
11471
11881
|
* Each of the boxes contains children packed for that side.
|
|
11472
11882
|
*/
|
|
11473
|
-
export declare const
|
|
11883
|
+
export declare const GtkActionBar: "GtkActionBar";
|
|
11474
11884
|
/**
|
|
11475
11885
|
* The `GtkAppChooserButton` lets the user select an application.
|
|
11476
11886
|
*
|
|
@@ -11500,7 +11910,7 @@ export declare const ActionBar: "ActionBar";
|
|
|
11500
11910
|
*
|
|
11501
11911
|
* `GtkAppChooserButton` has a single CSS node with the name “appchooserbutton”.
|
|
11502
11912
|
*/
|
|
11503
|
-
export declare const
|
|
11913
|
+
export declare const GtkAppChooserButton: "GtkAppChooserButton";
|
|
11504
11914
|
/**
|
|
11505
11915
|
* `GtkAppChooserDialog` shows a `GtkAppChooserWidget` inside a `GtkDialog`.
|
|
11506
11916
|
*
|
|
@@ -11520,7 +11930,7 @@ export declare const AppChooserButton: "AppChooserButton";
|
|
|
11520
11930
|
* `GtkAppChooserDialog` has a single CSS node with the name `window` and style
|
|
11521
11931
|
* class `.appchooser`.
|
|
11522
11932
|
*/
|
|
11523
|
-
export declare const
|
|
11933
|
+
export declare const GtkAppChooserDialog: "GtkAppChooserDialog";
|
|
11524
11934
|
/**
|
|
11525
11935
|
* `GtkAppChooserWidget` is a widget for selecting applications.
|
|
11526
11936
|
*
|
|
@@ -11546,7 +11956,7 @@ export declare const AppChooserDialog: "AppChooserDialog";
|
|
|
11546
11956
|
*
|
|
11547
11957
|
* `GtkAppChooserWidget` has a single CSS node with name appchooser.
|
|
11548
11958
|
*/
|
|
11549
|
-
export declare const
|
|
11959
|
+
export declare const GtkAppChooserWidget: "GtkAppChooserWidget";
|
|
11550
11960
|
/**
|
|
11551
11961
|
* A `GtkWindow` subclass that integrates with `GtkApplication`.
|
|
11552
11962
|
*
|
|
@@ -11618,7 +12028,7 @@ export declare const AppChooserWidget: "AppChooserWidget";
|
|
|
11618
12028
|
* GtkWidget *window = gtk_application_window_new (app);
|
|
11619
12029
|
* ```
|
|
11620
12030
|
*/
|
|
11621
|
-
export declare const
|
|
12031
|
+
export declare const GtkApplicationWindow: "GtkApplicationWindow";
|
|
11622
12032
|
/**
|
|
11623
12033
|
* Preserves the aspect ratio of its child.
|
|
11624
12034
|
*
|
|
@@ -11635,7 +12045,7 @@ export declare const ApplicationWindow: "ApplicationWindow";
|
|
|
11635
12045
|
*
|
|
11636
12046
|
* Starting from GTK 4.12, `GtkAspectFrame` uses the {@link AccessibleRole.generic} role.
|
|
11637
12047
|
*/
|
|
11638
|
-
export declare const
|
|
12048
|
+
export declare const GtkAspectFrame: "GtkAspectFrame";
|
|
11639
12049
|
/**
|
|
11640
12050
|
* `GtkAssistant` is used to represent a complex as a series of steps.
|
|
11641
12051
|
*
|
|
@@ -11674,7 +12084,7 @@ export declare const AspectFrame: "AspectFrame";
|
|
|
11674
12084
|
* `GtkAssistant` has a single CSS node with the name window and style
|
|
11675
12085
|
* class .assistant.
|
|
11676
12086
|
*/
|
|
11677
|
-
export declare const
|
|
12087
|
+
export declare const GtkAssistant: "GtkAssistant";
|
|
11678
12088
|
/**
|
|
11679
12089
|
* Arranges child widgets into a single row or column.
|
|
11680
12090
|
*
|
|
@@ -11711,7 +12121,7 @@ export declare const Assistant: "Assistant";
|
|
|
11711
12121
|
*
|
|
11712
12122
|
* Starting from GTK 4.12, `GtkBox` uses the {@link AccessibleRole.generic} role.
|
|
11713
12123
|
*/
|
|
11714
|
-
export declare const
|
|
12124
|
+
export declare const GtkBox: "GtkBox";
|
|
11715
12125
|
/**
|
|
11716
12126
|
* Calls a callback function when the button is clicked.
|
|
11717
12127
|
*
|
|
@@ -11749,7 +12159,7 @@ export declare const Box: "Box";
|
|
|
11749
12159
|
*
|
|
11750
12160
|
* `GtkButton` uses the {@link AccessibleRole.button} role.
|
|
11751
12161
|
*/
|
|
11752
|
-
export declare const
|
|
12162
|
+
export declare const GtkButton: "GtkButton";
|
|
11753
12163
|
/**
|
|
11754
12164
|
* Displays a Gregorian calendar, one month at a time.
|
|
11755
12165
|
*
|
|
@@ -11805,7 +12215,7 @@ export declare const Button: "Button";
|
|
|
11805
12215
|
*
|
|
11806
12216
|
* Marked day labels get the :selected state assigned.
|
|
11807
12217
|
*/
|
|
11808
|
-
export declare const
|
|
12218
|
+
export declare const GtkCalendar: "GtkCalendar";
|
|
11809
12219
|
/**
|
|
11810
12220
|
* A widget displaying a single row of a GtkTreeModel
|
|
11811
12221
|
*
|
|
@@ -11827,7 +12237,7 @@ export declare const Calendar: "Calendar";
|
|
|
11827
12237
|
*
|
|
11828
12238
|
* GtkCellView has a single CSS node with name cellview.
|
|
11829
12239
|
*/
|
|
11830
|
-
export declare const
|
|
12240
|
+
export declare const GtkCellView: "GtkCellView";
|
|
11831
12241
|
/**
|
|
11832
12242
|
* Arranges three children in a row, keeping the middle child
|
|
11833
12243
|
* centered as well as possible.
|
|
@@ -11865,12 +12275,7 @@ export declare const CellView: "CellView";
|
|
|
11865
12275
|
* Starting from GTK 4.12, `GtkCenterBox` uses the {@link AccessibleRole.generic}
|
|
11866
12276
|
* role.
|
|
11867
12277
|
*/
|
|
11868
|
-
export declare const
|
|
11869
|
-
Root: "CenterBox.Root";
|
|
11870
|
-
CenterWidget: "CenterBox.CenterWidget";
|
|
11871
|
-
EndWidget: "CenterBox.EndWidget";
|
|
11872
|
-
StartWidget: "CenterBox.StartWidget";
|
|
11873
|
-
};
|
|
12278
|
+
export declare const GtkCenterBox: "GtkCenterBox";
|
|
11874
12279
|
/**
|
|
11875
12280
|
* Places a label next to an indicator.
|
|
11876
12281
|
*
|
|
@@ -11936,11 +12341,7 @@ export declare const CenterBox: {
|
|
|
11936
12341
|
*
|
|
11937
12342
|
* `GtkCheckButton` uses the {@link AccessibleRole.checkbox} role.
|
|
11938
12343
|
*/
|
|
11939
|
-
export declare const
|
|
11940
|
-
Root: "CheckButton.Root";
|
|
11941
|
-
Child: "CheckButton.Child";
|
|
11942
|
-
Group: "CheckButton.Group";
|
|
11943
|
-
};
|
|
12344
|
+
export declare const GtkCheckButton: "GtkCheckButton";
|
|
11944
12345
|
/**
|
|
11945
12346
|
* The `GtkColorButton` allows to open a color chooser dialog to change
|
|
11946
12347
|
* the color.
|
|
@@ -11961,7 +12362,7 @@ export declare const CheckButton: {
|
|
|
11961
12362
|
* contains a button node. To differentiate it from a plain `GtkButton`,
|
|
11962
12363
|
* it gets the .color style class.
|
|
11963
12364
|
*/
|
|
11964
|
-
export declare const
|
|
12365
|
+
export declare const GtkColorButton: "GtkColorButton";
|
|
11965
12366
|
/**
|
|
11966
12367
|
* A dialog for choosing a color.
|
|
11967
12368
|
*
|
|
@@ -11983,7 +12384,7 @@ export declare const ColorButton: "ColorButton";
|
|
|
11983
12384
|
* `GtkColorChooserDialog` has a single CSS node with the name `window` and style
|
|
11984
12385
|
* class `.colorchooser`.
|
|
11985
12386
|
*/
|
|
11986
|
-
export declare const
|
|
12387
|
+
export declare const GtkColorChooserDialog: "GtkColorChooserDialog";
|
|
11987
12388
|
/**
|
|
11988
12389
|
* The `GtkColorChooserWidget` widget lets the user select a color.
|
|
11989
12390
|
*
|
|
@@ -12018,7 +12419,7 @@ export declare const ColorChooserDialog: "ColorChooserDialog";
|
|
|
12018
12419
|
*
|
|
12019
12420
|
* `GtkColorChooserWidget` has a single CSS node with name colorchooser.
|
|
12020
12421
|
*/
|
|
12021
|
-
export declare const
|
|
12422
|
+
export declare const GtkColorChooserWidget: "GtkColorChooserWidget";
|
|
12022
12423
|
/**
|
|
12023
12424
|
* Opens a color chooser dialog to select a color.
|
|
12024
12425
|
*
|
|
@@ -12038,24 +12439,7 @@ export declare const ColorChooserWidget: "ColorChooserWidget";
|
|
|
12038
12439
|
* contains a button node. To differentiate it from a plain `GtkButton`,
|
|
12039
12440
|
* it gets the .color style class.
|
|
12040
12441
|
*/
|
|
12041
|
-
export declare const
|
|
12042
|
-
/**
|
|
12043
|
-
* Props for the ColumnView.Root component with column sorting UI indicators.
|
|
12044
|
-
* @typeParam C - The union type of column IDs for type-safe sorting indicators.
|
|
12045
|
-
*/
|
|
12046
|
-
interface ColumnViewRootPropsExtended<C extends string = string> extends ColumnViewProps, ColumnViewRootProps<C> {
|
|
12047
|
-
}
|
|
12048
|
-
declare function ColumnViewRoot<C extends string = string>(props: ColumnViewRootPropsExtended<C>): import("react").ReactElement;
|
|
12049
|
-
/**
|
|
12050
|
-
* Props for ColumnView.Column with type-safe cell rendering.
|
|
12051
|
-
* @typeParam T - The type of items passed to the renderCell function.
|
|
12052
|
-
*/
|
|
12053
|
-
interface ColumnViewGenericColumnProps<T> extends Omit<ColumnViewColumnProps, "renderCell"> {
|
|
12054
|
-
/** Render function for column cells. Called with null during setup (for loading state). */
|
|
12055
|
-
renderCell: (item: T | null) => import("react").ReactElement;
|
|
12056
|
-
}
|
|
12057
|
-
declare function ColumnViewColumn<T>(props: ColumnViewGenericColumnProps<T>): import("react").ReactElement;
|
|
12058
|
-
declare function ColumnViewItem<T>(props: ListItemProps<T>): import("react").ReactElement;
|
|
12442
|
+
export declare const GtkColorDialogButton: "GtkColorDialogButton";
|
|
12059
12443
|
/**
|
|
12060
12444
|
* Presents a large dynamic list of items using multiple columns with headers.
|
|
12061
12445
|
*
|
|
@@ -12122,11 +12506,7 @@ declare function ColumnViewItem<T>(props: ListItemProps<T>): import("react").Rea
|
|
|
12122
12506
|
* are using the {@link AccessibleRole.row} role, and individual cells are using
|
|
12123
12507
|
* the {@link AccessibleRole.grid_cell} role
|
|
12124
12508
|
*/
|
|
12125
|
-
export declare const
|
|
12126
|
-
Root: typeof ColumnViewRoot;
|
|
12127
|
-
Column: typeof ColumnViewColumn;
|
|
12128
|
-
Item: typeof ColumnViewItem;
|
|
12129
|
-
};
|
|
12509
|
+
export declare const GtkColumnView: "GtkColumnView";
|
|
12130
12510
|
/**
|
|
12131
12511
|
* A `GtkComboBox` is a widget that allows the user to choose from a list of
|
|
12132
12512
|
* valid choices.
|
|
@@ -12189,7 +12569,7 @@ export declare const ColumnView: {
|
|
|
12189
12569
|
*
|
|
12190
12570
|
* `GtkComboBox` uses the {@link AccessibleRole.combo_box} role.
|
|
12191
12571
|
*/
|
|
12192
|
-
export declare const
|
|
12572
|
+
export declare const GtkComboBox: "GtkComboBox";
|
|
12193
12573
|
/**
|
|
12194
12574
|
* A `GtkComboBoxText` is a simple variant of `GtkComboBox` for text-only
|
|
12195
12575
|
* use cases.
|
|
@@ -12247,7 +12627,7 @@ export declare const ComboBox: "ComboBox";
|
|
|
12247
12627
|
* the style class .combo to the main CSS nodes of its entry and button
|
|
12248
12628
|
* children, and the .linked class to the node of its internal box.
|
|
12249
12629
|
*/
|
|
12250
|
-
export declare const
|
|
12630
|
+
export declare const GtkComboBoxText: "GtkComboBoxText";
|
|
12251
12631
|
/**
|
|
12252
12632
|
* Dialogs are a convenient way to prompt the user for a small amount
|
|
12253
12633
|
* of input.
|
|
@@ -12371,7 +12751,7 @@ export declare const ComboBoxText: "ComboBoxText";
|
|
|
12371
12751
|
*
|
|
12372
12752
|
* `GtkDialog` uses the %GTK_ACCESSIBLE_ROLE_DIALOG role.
|
|
12373
12753
|
*/
|
|
12374
|
-
export declare const
|
|
12754
|
+
export declare const GtkDialog: "GtkDialog";
|
|
12375
12755
|
/**
|
|
12376
12756
|
* A `GtkRoot` implementation for drag icons.
|
|
12377
12757
|
*
|
|
@@ -12385,7 +12765,7 @@ export declare const Dialog: "Dialog";
|
|
|
12385
12765
|
*
|
|
12386
12766
|
* Keep in mind that drag icons do not allow user input.
|
|
12387
12767
|
*/
|
|
12388
|
-
export declare const
|
|
12768
|
+
export declare const GtkDragIcon: "GtkDragIcon";
|
|
12389
12769
|
/**
|
|
12390
12770
|
* Allows drawing with cairo.
|
|
12391
12771
|
*
|
|
@@ -12466,9 +12846,7 @@ export declare const DragIcon: "DragIcon";
|
|
|
12466
12846
|
* If you need more complex control over your widget, you should consider
|
|
12467
12847
|
* creating your own `GtkWidget` subclass.
|
|
12468
12848
|
*/
|
|
12469
|
-
export declare const
|
|
12470
|
-
declare function DropDownRoot(props: DropDownProps): import("react").ReactElement;
|
|
12471
|
-
declare function DropDownItem(props: StringListItemProps): import("react").ReactElement;
|
|
12849
|
+
export declare const GtkDrawingArea: "GtkDrawingArea";
|
|
12472
12850
|
/**
|
|
12473
12851
|
* Allows the user to choose an item from a list of options.
|
|
12474
12852
|
*
|
|
@@ -12526,10 +12904,7 @@ declare function DropDownItem(props: StringListItemProps): import("react").React
|
|
|
12526
12904
|
*
|
|
12527
12905
|
* `GtkDropDown` uses the {@link AccessibleRole.combo_box} role.
|
|
12528
12906
|
*/
|
|
12529
|
-
export declare const
|
|
12530
|
-
Root: typeof DropDownRoot;
|
|
12531
|
-
Item: typeof DropDownItem;
|
|
12532
|
-
};
|
|
12907
|
+
export declare const GtkDropDown: "GtkDropDown";
|
|
12533
12908
|
/**
|
|
12534
12909
|
* Allows users to edit the displayed text by switching to an “edit mode”.
|
|
12535
12910
|
*
|
|
@@ -12573,7 +12948,7 @@ export declare const DropDown: {
|
|
|
12573
12948
|
* For all the subnodes added to the text node in various situations,
|
|
12574
12949
|
* see {@link Text}.
|
|
12575
12950
|
*/
|
|
12576
|
-
export declare const
|
|
12951
|
+
export declare const GtkEditableLabel: "GtkEditableLabel";
|
|
12577
12952
|
/**
|
|
12578
12953
|
* Used by text widgets to let users insert Emoji characters.
|
|
12579
12954
|
*
|
|
@@ -12616,7 +12991,7 @@ export declare const EditableLabel: "EditableLabel";
|
|
|
12616
12991
|
* consists of buttons with the .emoji-section style class and gets the
|
|
12617
12992
|
* .emoji-toolbar style class itself.
|
|
12618
12993
|
*/
|
|
12619
|
-
export declare const
|
|
12994
|
+
export declare const GtkEmojiChooser: "GtkEmojiChooser";
|
|
12620
12995
|
/**
|
|
12621
12996
|
* A single-line text entry widget.
|
|
12622
12997
|
*
|
|
@@ -12706,7 +13081,7 @@ export declare const EmojiChooser: "EmojiChooser";
|
|
|
12706
13081
|
*
|
|
12707
13082
|
* `GtkEntry` uses the {@link AccessibleRole.text_box} role.
|
|
12708
13083
|
*/
|
|
12709
|
-
export declare const
|
|
13084
|
+
export declare const GtkEntry: "GtkEntry";
|
|
12710
13085
|
/**
|
|
12711
13086
|
* Allows the user to reveal or conceal a child widget.
|
|
12712
13087
|
*
|
|
@@ -12795,11 +13170,7 @@ export declare const Entry: "Entry";
|
|
|
12795
13170
|
*
|
|
12796
13171
|
* `GtkExpander` uses the {@link AccessibleRole.button} role.
|
|
12797
13172
|
*/
|
|
12798
|
-
export declare const
|
|
12799
|
-
Root: "Expander.Root";
|
|
12800
|
-
Child: "Expander.Child";
|
|
12801
|
-
LabelWidget: "Expander.LabelWidget";
|
|
12802
|
-
};
|
|
13173
|
+
export declare const GtkExpander: "GtkExpander";
|
|
12803
13174
|
/**
|
|
12804
13175
|
* `GtkFileChooserDialog` is a dialog suitable for use with
|
|
12805
13176
|
* “File Open” or “File Save” commands.
|
|
@@ -12974,7 +13345,7 @@ export declare const Expander: {
|
|
|
12974
13345
|
* `GtkFileChooserDialog` has a single CSS node with the name `window` and style
|
|
12975
13346
|
* class `.filechooser`.
|
|
12976
13347
|
*/
|
|
12977
|
-
export declare const
|
|
13348
|
+
export declare const GtkFileChooserDialog: "GtkFileChooserDialog";
|
|
12978
13349
|
/**
|
|
12979
13350
|
* `GtkFileChooserWidget` is a widget for choosing files.
|
|
12980
13351
|
*
|
|
@@ -13007,7 +13378,7 @@ export declare const FileChooserDialog: "FileChooserDialog";
|
|
|
13007
13378
|
*
|
|
13008
13379
|
* `GtkFileChooserWidget` has a single CSS node with name filechooser.
|
|
13009
13380
|
*/
|
|
13010
|
-
export declare const
|
|
13381
|
+
export declare const GtkFileChooserWidget: "GtkFileChooserWidget";
|
|
13011
13382
|
/**
|
|
13012
13383
|
* Places its child widgets at fixed positions and with fixed sizes.
|
|
13013
13384
|
*
|
|
@@ -13047,7 +13418,7 @@ export declare const FileChooserWidget: "FileChooserWidget";
|
|
|
13047
13418
|
* and prefer the simplicity of `GtkFixed`, by all means use the
|
|
13048
13419
|
* widget. But you should be aware of the tradeoffs.
|
|
13049
13420
|
*/
|
|
13050
|
-
export declare const
|
|
13421
|
+
export declare const GtkFixed: "GtkFixed";
|
|
13051
13422
|
/**
|
|
13052
13423
|
* Puts child widgets in a reflowing grid.
|
|
13053
13424
|
*
|
|
@@ -13107,14 +13478,14 @@ export declare const Fixed: "Fixed";
|
|
|
13107
13478
|
* `GtkFlowBox` uses the {@link AccessibleRole.grid} role, and `GtkFlowBoxChild`
|
|
13108
13479
|
* uses the {@link AccessibleRole.grid_cell} role.
|
|
13109
13480
|
*/
|
|
13110
|
-
export declare const
|
|
13481
|
+
export declare const GtkFlowBox: "GtkFlowBox";
|
|
13111
13482
|
/**
|
|
13112
13483
|
* The kind of widget that can be added to a `GtkFlowBox`.
|
|
13113
13484
|
*
|
|
13114
13485
|
* {@link FlowBox} will automatically wrap its children in a `GtkFlowBoxChild`
|
|
13115
13486
|
* when necessary.
|
|
13116
13487
|
*/
|
|
13117
|
-
export declare const
|
|
13488
|
+
export declare const GtkFlowBoxChild: "GtkFlowBoxChild";
|
|
13118
13489
|
/**
|
|
13119
13490
|
* The `GtkFontButton` allows to open a font chooser dialog to change
|
|
13120
13491
|
* the font.
|
|
@@ -13134,7 +13505,7 @@ export declare const FlowBoxChild: "FlowBoxChild";
|
|
|
13134
13505
|
* `GtkFontButton` has a single CSS node with name fontbutton which
|
|
13135
13506
|
* contains a button node with the .font style class.
|
|
13136
13507
|
*/
|
|
13137
|
-
export declare const
|
|
13508
|
+
export declare const GtkFontButton: "GtkFontButton";
|
|
13138
13509
|
/**
|
|
13139
13510
|
* The `GtkFontChooserDialog` widget is a dialog for selecting a font.
|
|
13140
13511
|
*
|
|
@@ -13156,7 +13527,7 @@ export declare const FontButton: "FontButton";
|
|
|
13156
13527
|
* `GtkFontChooserDialog` has a single CSS node with the name `window` and style
|
|
13157
13528
|
* class `.fontchooser`.
|
|
13158
13529
|
*/
|
|
13159
|
-
export declare const
|
|
13530
|
+
export declare const GtkFontChooserDialog: "GtkFontChooserDialog";
|
|
13160
13531
|
/**
|
|
13161
13532
|
* The `GtkFontChooserWidget` widget lets the user select a font.
|
|
13162
13533
|
*
|
|
@@ -13176,7 +13547,7 @@ export declare const FontChooserDialog: "FontChooserDialog";
|
|
|
13176
13547
|
*
|
|
13177
13548
|
* `GtkFontChooserWidget` has a single CSS node with name fontchooser.
|
|
13178
13549
|
*/
|
|
13179
|
-
export declare const
|
|
13550
|
+
export declare const GtkFontChooserWidget: "GtkFontChooserWidget";
|
|
13180
13551
|
/**
|
|
13181
13552
|
* Opens a font chooser dialog to select a font.
|
|
13182
13553
|
*
|
|
@@ -13195,7 +13566,7 @@ export declare const FontChooserWidget: "FontChooserWidget";
|
|
|
13195
13566
|
* `GtkFontDialogButton` has a single CSS node with name fontbutton which
|
|
13196
13567
|
* contains a button node with the .font style class.
|
|
13197
13568
|
*/
|
|
13198
|
-
export declare const
|
|
13569
|
+
export declare const GtkFontDialogButton: "GtkFontDialogButton";
|
|
13199
13570
|
/**
|
|
13200
13571
|
* Surrounds its child with a decorative frame and an optional label.
|
|
13201
13572
|
*
|
|
@@ -13239,11 +13610,7 @@ export declare const FontDialogButton: "FontDialogButton";
|
|
|
13239
13610
|
*
|
|
13240
13611
|
* `GtkFrame` uses the {@link AccessibleRole.group} role.
|
|
13241
13612
|
*/
|
|
13242
|
-
export declare const
|
|
13243
|
-
Root: "Frame.Root";
|
|
13244
|
-
Child: "Frame.Child";
|
|
13245
|
-
LabelWidget: "Frame.LabelWidget";
|
|
13246
|
-
};
|
|
13613
|
+
export declare const GtkFrame: "GtkFrame";
|
|
13247
13614
|
/**
|
|
13248
13615
|
* Allows drawing with OpenGL.
|
|
13249
13616
|
*
|
|
@@ -13359,7 +13726,7 @@ export declare const Frame: {
|
|
|
13359
13726
|
* If you need to change the options for creating the `GdkGLContext`
|
|
13360
13727
|
* you should use the {@link GLArea.:create-context} signal.
|
|
13361
13728
|
*/
|
|
13362
|
-
export declare const
|
|
13729
|
+
export declare const GtkGLArea: "GtkGLArea";
|
|
13363
13730
|
/**
|
|
13364
13731
|
* Bypasses gsk rendering by passing the content of its child directly to the compositor.
|
|
13365
13732
|
*
|
|
@@ -13397,7 +13764,7 @@ export declare const GLArea: "GLArea";
|
|
|
13397
13764
|
*
|
|
13398
13765
|
* The GTK inspector provides a visual debugging tool for graphics offload.
|
|
13399
13766
|
*/
|
|
13400
|
-
export declare const
|
|
13767
|
+
export declare const GtkGraphicsOffload: "GtkGraphicsOffload";
|
|
13401
13768
|
/**
|
|
13402
13769
|
* Arranges its child widgets in rows and columns.
|
|
13403
13770
|
*
|
|
@@ -13483,20 +13850,7 @@ export declare const GraphicsOffload: "GraphicsOffload";
|
|
|
13483
13850
|
*
|
|
13484
13851
|
* Starting from GTK 4.12, `GtkGrid` uses the {@link AccessibleRole.generic} role.
|
|
13485
13852
|
*/
|
|
13486
|
-
export declare const
|
|
13487
|
-
Root: "Grid.Root";
|
|
13488
|
-
Child: "Grid.Child";
|
|
13489
|
-
};
|
|
13490
|
-
/**
|
|
13491
|
-
* Props for the GridView.Root component with type-safe item rendering.
|
|
13492
|
-
* @typeParam T - The type of items in the list.
|
|
13493
|
-
*/
|
|
13494
|
-
interface GridViewRootProps<T> extends Omit<GridViewProps, "renderItem"> {
|
|
13495
|
-
/** Render function for list items. Called with null during setup (for loading state). */
|
|
13496
|
-
renderItem: (item: T | null) => import("react").ReactElement;
|
|
13497
|
-
}
|
|
13498
|
-
declare function GridViewRoot<T>(props: GridViewRootProps<T>): import("react").ReactElement;
|
|
13499
|
-
declare function GridViewItem<T>(props: ListItemProps<T>): import("react").ReactElement;
|
|
13853
|
+
export declare const GtkGrid: "GtkGrid";
|
|
13500
13854
|
/**
|
|
13501
13855
|
* Presents a large dynamic grid of items.
|
|
13502
13856
|
*
|
|
@@ -13541,10 +13895,7 @@ declare function GridViewItem<T>(props: ListItemProps<T>): import("react").React
|
|
|
13541
13895
|
* `GtkGridView` uses the {@link AccessibleRole.grid} role, and the items
|
|
13542
13896
|
* use the {@link AccessibleRole.grid_cell} role.
|
|
13543
13897
|
*/
|
|
13544
|
-
export declare const
|
|
13545
|
-
Root: typeof GridViewRoot;
|
|
13546
|
-
Item: typeof GridViewItem;
|
|
13547
|
-
};
|
|
13898
|
+
export declare const GtkGridView: "GtkGridView";
|
|
13548
13899
|
/**
|
|
13549
13900
|
* Creates a custom titlebar for a window.
|
|
13550
13901
|
*
|
|
@@ -13618,10 +13969,7 @@ export declare const GridView: {
|
|
|
13618
13969
|
*
|
|
13619
13970
|
* `GtkHeaderBar` uses the {@link AccessibleRole.group} role.
|
|
13620
13971
|
*/
|
|
13621
|
-
export declare const
|
|
13622
|
-
Root: "HeaderBar.Root";
|
|
13623
|
-
TitleWidget: "HeaderBar.TitleWidget";
|
|
13624
|
-
};
|
|
13972
|
+
export declare const GtkHeaderBar: "GtkHeaderBar";
|
|
13625
13973
|
/**
|
|
13626
13974
|
* `GtkIconView` is a widget which displays data in a grid of icons.
|
|
13627
13975
|
*
|
|
@@ -13649,7 +13997,7 @@ export declare const HeaderBar: {
|
|
|
13649
13997
|
* `GtkIconView` has a single CSS node with name iconview and style class .view.
|
|
13650
13998
|
* For rubberband selection, a subnode with name rubberband is used.
|
|
13651
13999
|
*/
|
|
13652
|
-
export declare const
|
|
14000
|
+
export declare const GtkIconView: "GtkIconView";
|
|
13653
14001
|
/**
|
|
13654
14002
|
* Displays an image.
|
|
13655
14003
|
*
|
|
@@ -13691,7 +14039,7 @@ export declare const IconView: "IconView";
|
|
|
13691
14039
|
*
|
|
13692
14040
|
* `GtkImage` uses the {@link AccessibleRole.img} role.
|
|
13693
14041
|
*/
|
|
13694
|
-
export declare const
|
|
14042
|
+
export declare const GtkImage: "GtkImage";
|
|
13695
14043
|
/**
|
|
13696
14044
|
* `GtkInfoBar` can be used to show messages to the user without a dialog.
|
|
13697
14045
|
*
|
|
@@ -13767,7 +14115,7 @@ export declare const Image: "Image";
|
|
|
13767
14115
|
* If the info bar shows a close button, that button will have the .close
|
|
13768
14116
|
* style class applied.
|
|
13769
14117
|
*/
|
|
13770
|
-
export declare const
|
|
14118
|
+
export declare const GtkInfoBar: "GtkInfoBar";
|
|
13771
14119
|
/**
|
|
13772
14120
|
* Shows text in a predefined area.
|
|
13773
14121
|
*
|
|
@@ -13786,7 +14134,7 @@ export declare const InfoBar: "InfoBar";
|
|
|
13786
14134
|
*
|
|
13787
14135
|
* `GtkInscription` has a single CSS node with the name label.
|
|
13788
14136
|
*/
|
|
13789
|
-
export declare const
|
|
14137
|
+
export declare const GtkInscription: "GtkInscription";
|
|
13790
14138
|
/**
|
|
13791
14139
|
* Displays a small amount of text.
|
|
13792
14140
|
*
|
|
@@ -14002,7 +14350,7 @@ export declare const Inscription: "Inscription";
|
|
|
14002
14350
|
* with the {@link Label.:activate-link} signal and the
|
|
14003
14351
|
* {@link Label.get_current_uri} function.
|
|
14004
14352
|
*/
|
|
14005
|
-
export declare const
|
|
14353
|
+
export declare const GtkLabel: "GtkLabel";
|
|
14006
14354
|
/**
|
|
14007
14355
|
* Shows a level indicator.
|
|
14008
14356
|
*
|
|
@@ -14102,7 +14450,7 @@ export declare const Label: "Label";
|
|
|
14102
14450
|
*
|
|
14103
14451
|
* `GtkLevelBar` uses the {@link AccessibleRole.meter} role.
|
|
14104
14452
|
*/
|
|
14105
|
-
export declare const
|
|
14453
|
+
export declare const GtkLevelBar: "GtkLevelBar";
|
|
14106
14454
|
/**
|
|
14107
14455
|
* A button with a hyperlink.
|
|
14108
14456
|
*
|
|
@@ -14144,7 +14492,7 @@ export declare const LevelBar: "LevelBar";
|
|
|
14144
14492
|
*
|
|
14145
14493
|
* `GtkLinkButton` uses the {@link AccessibleRole.link} role.
|
|
14146
14494
|
*/
|
|
14147
|
-
export declare const
|
|
14495
|
+
export declare const GtkLinkButton: "GtkLinkButton";
|
|
14148
14496
|
/**
|
|
14149
14497
|
* The abstract base class for GTK's list widgets.
|
|
14150
14498
|
*
|
|
@@ -14191,7 +14539,7 @@ export declare const LinkButton: "LinkButton";
|
|
|
14191
14539
|
* - `listitem.scroll-to` moves the visible area of the list to this item with
|
|
14192
14540
|
* the minimum amount of scrolling required.
|
|
14193
14541
|
*/
|
|
14194
|
-
export declare const
|
|
14542
|
+
export declare const GtkListBase: "GtkListBase";
|
|
14195
14543
|
/**
|
|
14196
14544
|
* Shows a vertical list.
|
|
14197
14545
|
*
|
|
@@ -14258,24 +14606,14 @@ export declare const ListBase: "ListBase";
|
|
|
14258
14606
|
* `GtkListBox` uses the {@link AccessibleRole.list} role and `GtkListBoxRow` uses
|
|
14259
14607
|
* the {@link AccessibleRole.list_item} role.
|
|
14260
14608
|
*/
|
|
14261
|
-
export declare const
|
|
14609
|
+
export declare const GtkListBox: "GtkListBox";
|
|
14262
14610
|
/**
|
|
14263
14611
|
* The kind of widget that can be added to a `GtkListBox`.
|
|
14264
14612
|
*
|
|
14265
14613
|
* {@link ListBox} will automatically wrap its children in a `GtkListboxRow`
|
|
14266
14614
|
* when necessary.
|
|
14267
14615
|
*/
|
|
14268
|
-
export declare const
|
|
14269
|
-
/**
|
|
14270
|
-
* Props for the ListView.Root component with type-safe item rendering.
|
|
14271
|
-
* @typeParam T - The type of items in the list.
|
|
14272
|
-
*/
|
|
14273
|
-
interface ListViewRootProps<T> extends Omit<ListViewProps, "renderItem"> {
|
|
14274
|
-
/** Render function for list items. Called with null during setup (for loading state). */
|
|
14275
|
-
renderItem: (item: T | null) => import("react").ReactElement;
|
|
14276
|
-
}
|
|
14277
|
-
declare function ListViewRoot<T>(props: ListViewRootProps<T>): import("react").ReactElement;
|
|
14278
|
-
declare function ListViewItem<T>(props: ListItemProps<T>): import("react").ReactElement;
|
|
14616
|
+
export declare const GtkListBoxRow: "GtkListBoxRow";
|
|
14279
14617
|
/**
|
|
14280
14618
|
* Presents a large dynamic list of items.
|
|
14281
14619
|
*
|
|
@@ -14382,10 +14720,7 @@ declare function ListViewItem<T>(props: ListItemProps<T>): import("react").React
|
|
|
14382
14720
|
* `GtkListView` uses the {@link AccessibleRole.list} role, and the list
|
|
14383
14721
|
* items use the {@link AccessibleRole.list_item} role.
|
|
14384
14722
|
*/
|
|
14385
|
-
export declare const
|
|
14386
|
-
Root: typeof ListViewRoot;
|
|
14387
|
-
Item: typeof ListViewItem;
|
|
14388
|
-
};
|
|
14723
|
+
export declare const GtkListView: "GtkListView";
|
|
14389
14724
|
/**
|
|
14390
14725
|
* `GtkLockButton` is a widget to obtain and revoke authorizations
|
|
14391
14726
|
* needed to operate the controls.
|
|
@@ -14425,7 +14760,7 @@ export declare const ListView: {
|
|
|
14425
14760
|
* {@link LockButton.tooltip-unlock} and
|
|
14426
14761
|
* {@link LockButton.tooltip-not-authorized} properties.
|
|
14427
14762
|
*/
|
|
14428
|
-
export declare const
|
|
14763
|
+
export declare const GtkLockButton: "GtkLockButton";
|
|
14429
14764
|
/**
|
|
14430
14765
|
* Shows controls for video playback.
|
|
14431
14766
|
*
|
|
@@ -14433,7 +14768,7 @@ export declare const LockButton: "LockButton";
|
|
|
14433
14768
|
*
|
|
14434
14769
|
* Usually, `GtkMediaControls` is used as part of {@link Video}.
|
|
14435
14770
|
*/
|
|
14436
|
-
export declare const
|
|
14771
|
+
export declare const GtkMediaControls: "GtkMediaControls";
|
|
14437
14772
|
/**
|
|
14438
14773
|
* Displays a popup when clicked.
|
|
14439
14774
|
*
|
|
@@ -14498,11 +14833,7 @@ export declare const MediaControls: "MediaControls";
|
|
|
14498
14833
|
*
|
|
14499
14834
|
* `GtkMenuButton` uses the {@link AccessibleRole.button} role.
|
|
14500
14835
|
*/
|
|
14501
|
-
export declare const
|
|
14502
|
-
Root: "MenuButton.Root";
|
|
14503
|
-
Child: "MenuButton.Child";
|
|
14504
|
-
Popover: "MenuButton.Popover";
|
|
14505
|
-
};
|
|
14836
|
+
export declare const GtkMenuButton: "GtkMenuButton";
|
|
14506
14837
|
/**
|
|
14507
14838
|
* `GtkMessageDialog` presents a dialog with some message text.
|
|
14508
14839
|
*
|
|
@@ -14561,7 +14892,7 @@ export declare const MenuButton: {
|
|
|
14561
14892
|
* The `GtkMessageDialog` implementation of the `GtkBuildable` interface exposes
|
|
14562
14893
|
* the message area as an internal child with the name “message_area”.
|
|
14563
14894
|
*/
|
|
14564
|
-
export declare const
|
|
14895
|
+
export declare const GtkMessageDialog: "GtkMessageDialog";
|
|
14565
14896
|
/**
|
|
14566
14897
|
* Switches between children using tabs.
|
|
14567
14898
|
*
|
|
@@ -14680,10 +15011,7 @@ export declare const MessageDialog: "MessageDialog";
|
|
|
14680
15011
|
* - {@link AccessibleRole.tab} role for each tab
|
|
14681
15012
|
* - {@link AccessibleRole.tab_panel} for each page
|
|
14682
15013
|
*/
|
|
14683
|
-
export declare const
|
|
14684
|
-
Root: "Notebook.Root";
|
|
14685
|
-
Page: "Notebook.Page";
|
|
14686
|
-
};
|
|
15014
|
+
export declare const GtkNotebook: "GtkNotebook";
|
|
14687
15015
|
/**
|
|
14688
15016
|
* Places “overlay” widgets on top of a single main child.
|
|
14689
15017
|
*
|
|
@@ -14717,7 +15045,7 @@ export declare const Notebook: {
|
|
|
14717
15045
|
* whose alignments cause them to be positioned at an edge get the style classes
|
|
14718
15046
|
* “.left”, “.right”, “.top”, and/or “.bottom” according to their position.
|
|
14719
15047
|
*/
|
|
14720
|
-
export declare const
|
|
15048
|
+
export declare const GtkOverlay: "GtkOverlay";
|
|
14721
15049
|
/**
|
|
14722
15050
|
* Presents a page setup dialog for platforms which don’t provide
|
|
14723
15051
|
* a native page setup dialog, like Unix.
|
|
@@ -14733,7 +15061,7 @@ export declare const Overlay: "Overlay";
|
|
|
14733
15061
|
* `GtkPageSetupUnixDialog` has a single CSS node with the name `window` and
|
|
14734
15062
|
* style class `.pagesetup`.
|
|
14735
15063
|
*/
|
|
14736
|
-
export declare const
|
|
15064
|
+
export declare const GtkPageSetupUnixDialog: "GtkPageSetupUnixDialog";
|
|
14737
15065
|
/**
|
|
14738
15066
|
* Arranges its children in two panes, horizontally or vertically.
|
|
14739
15067
|
*
|
|
@@ -14814,11 +15142,7 @@ export declare const PageSetupUnixDialog: "PageSetupUnixDialog";
|
|
|
14814
15142
|
* gtk_widget_set_size_request (frame2, 50, -1);
|
|
14815
15143
|
* ```
|
|
14816
15144
|
*/
|
|
14817
|
-
export declare const
|
|
14818
|
-
Root: "Paned.Root";
|
|
14819
|
-
EndChild: "Paned.EndChild";
|
|
14820
|
-
StartChild: "Paned.StartChild";
|
|
14821
|
-
};
|
|
15145
|
+
export declare const GtkPaned: "GtkPaned";
|
|
14822
15146
|
/**
|
|
14823
15147
|
* A single-line text entry widget for entering passwords and other secrets.
|
|
14824
15148
|
*
|
|
@@ -14853,7 +15177,7 @@ export declare const Paned: {
|
|
|
14853
15177
|
*
|
|
14854
15178
|
* `GtkPasswordEntry` uses the {@link AccessibleRole.text_box} role.
|
|
14855
15179
|
*/
|
|
14856
|
-
export declare const
|
|
15180
|
+
export declare const GtkPasswordEntry: "GtkPasswordEntry";
|
|
14857
15181
|
/**
|
|
14858
15182
|
* Displays a `GdkPaintable`.
|
|
14859
15183
|
*
|
|
@@ -14902,7 +15226,7 @@ export declare const PasswordEntry: "PasswordEntry";
|
|
|
14902
15226
|
*
|
|
14903
15227
|
* `GtkPicture` uses the {@link AccessibleRole.img} role.
|
|
14904
15228
|
*/
|
|
14905
|
-
export declare const
|
|
15229
|
+
export declare const GtkPicture: "GtkPicture";
|
|
14906
15230
|
/**
|
|
14907
15231
|
* Presents a bubble-like popup.
|
|
14908
15232
|
*
|
|
@@ -14998,15 +15322,7 @@ export declare const Picture: "Picture";
|
|
|
14998
15322
|
* solid, no border-radius, only one border width (border-bottom-width is
|
|
14999
15323
|
* used) and no box-shadow.
|
|
15000
15324
|
*/
|
|
15001
|
-
export declare const
|
|
15002
|
-
Root: "Popover.Root";
|
|
15003
|
-
Child: "Popover.Child";
|
|
15004
|
-
DefaultWidget: "Popover.DefaultWidget";
|
|
15005
|
-
};
|
|
15006
|
-
declare function PopoverMenuRoot(props: MenuRootProps & PopoverMenuProps): import("react").ReactElement;
|
|
15007
|
-
declare function PopoverMenuItem(props: MenuItemProps): import("react").ReactElement;
|
|
15008
|
-
declare function PopoverMenuSection(props: MenuSectionProps): import("react").ReactElement;
|
|
15009
|
-
declare function PopoverMenuSubmenu(props: MenuSubmenuProps): import("react").ReactElement;
|
|
15325
|
+
export declare const GtkPopover: "GtkPopover";
|
|
15010
15326
|
/**
|
|
15011
15327
|
* A subclass of `GtkPopover` that implements menu behavior.
|
|
15012
15328
|
*
|
|
@@ -15125,12 +15441,7 @@ declare function PopoverMenuSubmenu(props: MenuSubmenuProps): import("react").Re
|
|
|
15125
15441
|
* {@link AccessibleRole.checkbox} or {@link AccessibleRole.menu_item_radio}
|
|
15126
15442
|
* roles, depending on the action they are connected to.
|
|
15127
15443
|
*/
|
|
15128
|
-
export declare const
|
|
15129
|
-
Root: typeof PopoverMenuRoot;
|
|
15130
|
-
Item: typeof PopoverMenuItem;
|
|
15131
|
-
Section: typeof PopoverMenuSection;
|
|
15132
|
-
Submenu: typeof PopoverMenuSubmenu;
|
|
15133
|
-
};
|
|
15444
|
+
export declare const GtkPopoverMenu: "GtkPopoverMenu";
|
|
15134
15445
|
/**
|
|
15135
15446
|
* Presents a horizontal bar of items that pop up menus when clicked.
|
|
15136
15447
|
*
|
|
@@ -15161,7 +15472,7 @@ export declare const PopoverMenu: {
|
|
|
15161
15472
|
* the menu items use the {@link AccessibleRole.menu_item} role and
|
|
15162
15473
|
* the menus use the {@link AccessibleRole.menu} role.
|
|
15163
15474
|
*/
|
|
15164
|
-
export declare const
|
|
15475
|
+
export declare const GtkPopoverMenuBar: "GtkPopoverMenuBar";
|
|
15165
15476
|
/**
|
|
15166
15477
|
* A print dialog for platforms which don’t provide a native
|
|
15167
15478
|
* print dialog, like Unix.
|
|
@@ -15220,7 +15531,7 @@ export declare const PopoverMenuBar: "PopoverMenuBar";
|
|
|
15220
15531
|
* `GtkPrintUnixDialog` has a single CSS node with name window. The style classes
|
|
15221
15532
|
* dialog and print are added.
|
|
15222
15533
|
*/
|
|
15223
|
-
export declare const
|
|
15534
|
+
export declare const GtkPrintUnixDialog: "GtkPrintUnixDialog";
|
|
15224
15535
|
/**
|
|
15225
15536
|
* Displays the progress of a long-running operation.
|
|
15226
15537
|
*
|
|
@@ -15270,7 +15581,7 @@ export declare const PrintUnixDialog: "PrintUnixDialog";
|
|
|
15270
15581
|
* and sets the {@link AccessibleProperty.value_min}, {@link AccessibleProperty.value_max} and {@link AccessibleProperty.value_now} properties to reflect
|
|
15271
15582
|
* the progress.
|
|
15272
15583
|
*/
|
|
15273
|
-
export declare const
|
|
15584
|
+
export declare const GtkProgressBar: "GtkProgressBar";
|
|
15274
15585
|
/**
|
|
15275
15586
|
* Base class for widgets which visualize an adjustment.
|
|
15276
15587
|
*
|
|
@@ -15287,7 +15598,7 @@ export declare const ProgressBar: "ProgressBar";
|
|
|
15287
15598
|
* dragging, or initiating the drag with a long-press will enable the
|
|
15288
15599
|
* fine-tuning mode.
|
|
15289
15600
|
*/
|
|
15290
|
-
export declare const
|
|
15601
|
+
export declare const GtkRange: "GtkRange";
|
|
15291
15602
|
/**
|
|
15292
15603
|
* Animates the transition of its child from invisible to visible.
|
|
15293
15604
|
*
|
|
@@ -15311,7 +15622,7 @@ export declare const Range: "Range";
|
|
|
15311
15622
|
* The child of `GtkRevealer`, if set, is always available in the accessibility
|
|
15312
15623
|
* tree, regardless of the state of the revealer widget.
|
|
15313
15624
|
*/
|
|
15314
|
-
export declare const
|
|
15625
|
+
export declare const GtkRevealer: "GtkRevealer";
|
|
15315
15626
|
/**
|
|
15316
15627
|
* Allows to select a numeric value with a slider control.
|
|
15317
15628
|
*
|
|
@@ -15403,7 +15714,7 @@ export declare const Revealer: "Revealer";
|
|
|
15403
15714
|
*
|
|
15404
15715
|
* `GtkScale` uses the {@link AccessibleRole.slider} role.
|
|
15405
15716
|
*/
|
|
15406
|
-
export declare const
|
|
15717
|
+
export declare const GtkScale: "GtkScale";
|
|
15407
15718
|
/**
|
|
15408
15719
|
* Provides a button which pops up a scale widget.
|
|
15409
15720
|
*
|
|
@@ -15428,7 +15739,7 @@ export declare const Scale: "Scale";
|
|
|
15428
15739
|
* `GtkScaleButton` has a single CSS node with name scalebutton and `.scale`
|
|
15429
15740
|
* style class, and contains a `button` node with a `.toggle` style class.
|
|
15430
15741
|
*/
|
|
15431
|
-
export declare const
|
|
15742
|
+
export declare const GtkScaleButton: "GtkScaleButton";
|
|
15432
15743
|
/**
|
|
15433
15744
|
* Shows a horizontal or vertical scrollbar.
|
|
15434
15745
|
*
|
|
@@ -15473,7 +15784,7 @@ export declare const ScaleButton: "ScaleButton";
|
|
|
15473
15784
|
*
|
|
15474
15785
|
* `GtkScrollbar` uses the {@link AccessibleRole.scrollbar} role.
|
|
15475
15786
|
*/
|
|
15476
|
-
export declare const
|
|
15787
|
+
export declare const GtkScrollbar: "GtkScrollbar";
|
|
15477
15788
|
/**
|
|
15478
15789
|
* Makes its child scrollable.
|
|
15479
15790
|
*
|
|
@@ -15553,7 +15864,7 @@ export declare const Scrollbar: "Scrollbar";
|
|
|
15553
15864
|
* Starting from GTK 4.12, `GtkScrolledWindow` uses the {@link AccessibleRole.generic}
|
|
15554
15865
|
* role.
|
|
15555
15866
|
*/
|
|
15556
|
-
export declare const
|
|
15867
|
+
export declare const GtkScrolledWindow: "GtkScrolledWindow";
|
|
15557
15868
|
/**
|
|
15558
15869
|
* Reveals a search entry when search is started.
|
|
15559
15870
|
*
|
|
@@ -15606,11 +15917,7 @@ export declare const ScrolledWindow: "ScrolledWindow";
|
|
|
15606
15917
|
*
|
|
15607
15918
|
* `GtkSearchBar` uses the {@link AccessibleRole.search} role.
|
|
15608
15919
|
*/
|
|
15609
|
-
export declare const
|
|
15610
|
-
Root: "SearchBar.Root";
|
|
15611
|
-
Child: "SearchBar.Child";
|
|
15612
|
-
KeyCaptureWidget: "SearchBar.KeyCaptureWidget";
|
|
15613
|
-
};
|
|
15920
|
+
export declare const GtkSearchBar: "GtkSearchBar";
|
|
15614
15921
|
/**
|
|
15615
15922
|
* A single-line text entry widget for use as a search entry.
|
|
15616
15923
|
*
|
|
@@ -15665,7 +15972,7 @@ export declare const SearchBar: {
|
|
|
15665
15972
|
*
|
|
15666
15973
|
* `GtkSearchEntry` uses the {@link AccessibleRole.search_box} role.
|
|
15667
15974
|
*/
|
|
15668
|
-
export declare const
|
|
15975
|
+
export declare const GtkSearchEntry: "GtkSearchEntry";
|
|
15669
15976
|
/**
|
|
15670
15977
|
* Draws a horizontal or vertical line to separate other widgets.
|
|
15671
15978
|
*
|
|
@@ -15684,13 +15991,13 @@ export declare const SearchEntry: "SearchEntry";
|
|
|
15684
15991
|
*
|
|
15685
15992
|
* `GtkSeparator` uses the {@link AccessibleRole.separator} role.
|
|
15686
15993
|
*/
|
|
15687
|
-
export declare const
|
|
15994
|
+
export declare const GtkSeparator: "GtkSeparator";
|
|
15688
15995
|
/**
|
|
15689
15996
|
* `GtkShortcutLabel` displays a single keyboard shortcut or gesture.
|
|
15690
15997
|
*
|
|
15691
15998
|
* The main use case for `GtkShortcutLabel` is inside a {@link ShortcutsWindow}.
|
|
15692
15999
|
*/
|
|
15693
|
-
export declare const
|
|
16000
|
+
export declare const GtkShortcutLabel: "GtkShortcutLabel";
|
|
15694
16001
|
/**
|
|
15695
16002
|
* A `GtkShortcutsGroup` represents a group of related keyboard shortcuts
|
|
15696
16003
|
* or gestures.
|
|
@@ -15709,7 +16016,7 @@ export declare const ShortcutLabel: "ShortcutLabel";
|
|
|
15709
16016
|
* If you need to add a shortcut programmatically, use
|
|
15710
16017
|
* {@link ShortcutsGroup.add_shortcut}.
|
|
15711
16018
|
*/
|
|
15712
|
-
export declare const
|
|
16019
|
+
export declare const GtkShortcutsGroup: "GtkShortcutsGroup";
|
|
15713
16020
|
/**
|
|
15714
16021
|
* A `GtkShortcutsSection` collects all the keyboard shortcuts and gestures
|
|
15715
16022
|
* for a major application mode.
|
|
@@ -15742,14 +16049,14 @@ export declare const ShortcutsGroup: "ShortcutsGroup";
|
|
|
15742
16049
|
*
|
|
15743
16050
|
* - {@link ShortcutsSection.:change-current-page}
|
|
15744
16051
|
*/
|
|
15745
|
-
export declare const
|
|
16052
|
+
export declare const GtkShortcutsSection: "GtkShortcutsSection";
|
|
15746
16053
|
/**
|
|
15747
16054
|
* A `GtkShortcutsShortcut` represents a single keyboard shortcut or gesture
|
|
15748
16055
|
* with a short text.
|
|
15749
16056
|
*
|
|
15750
16057
|
* This widget is only meant to be used with `GtkShortcutsWindow`.
|
|
15751
16058
|
*/
|
|
15752
|
-
export declare const
|
|
16059
|
+
export declare const GtkShortcutsShortcut: "GtkShortcutsShortcut";
|
|
15753
16060
|
/**
|
|
15754
16061
|
* A `GtkShortcutsWindow` shows information about the keyboard shortcuts
|
|
15755
16062
|
* and gestures of an application.
|
|
@@ -15810,7 +16117,7 @@ export declare const ShortcutsShortcut: "ShortcutsShortcut";
|
|
|
15810
16117
|
* `GtkShortcutsWindow` has a single CSS node with the name `window` and style
|
|
15811
16118
|
* class `.shortcuts`.
|
|
15812
16119
|
*/
|
|
15813
|
-
export declare const
|
|
16120
|
+
export declare const GtkShortcutsWindow: "GtkShortcutsWindow";
|
|
15814
16121
|
/**
|
|
15815
16122
|
* Allows to enter or change numeric values.
|
|
15816
16123
|
*
|
|
@@ -15930,7 +16237,7 @@ export declare const ShortcutsWindow: "ShortcutsWindow";
|
|
|
15930
16237
|
*
|
|
15931
16238
|
* `GtkSpinButton` uses the {@link AccessibleRole.spin_button} role.
|
|
15932
16239
|
*/
|
|
15933
|
-
export declare const
|
|
16240
|
+
export declare const GtkSpinButton: "GtkSpinButton";
|
|
15934
16241
|
/**
|
|
15935
16242
|
* Displays an icon-size spinning animation.
|
|
15936
16243
|
*
|
|
@@ -15952,10 +16259,7 @@ export declare const SpinButton: "SpinButton";
|
|
|
15952
16259
|
*
|
|
15953
16260
|
* `GtkSpinner` uses the {@link AccessibleRole.progress_bar} role.
|
|
15954
16261
|
*/
|
|
15955
|
-
export declare const
|
|
15956
|
-
declare function StackRoot(props: StackRootProps & StackProps): import("react").ReactElement;
|
|
15957
|
-
declare function StackPage(props: StackPageProps): import("react").ReactElement;
|
|
15958
|
-
declare function StackVisibleChild(props: SlotProps): import("react").ReactElement;
|
|
16262
|
+
export declare const GtkSpinner: "GtkSpinner";
|
|
15959
16263
|
/**
|
|
15960
16264
|
* Shows one of its children at a time.
|
|
15961
16265
|
*
|
|
@@ -16006,11 +16310,7 @@ declare function StackVisibleChild(props: SlotProps): import("react").ReactEleme
|
|
|
16006
16310
|
* `GtkStack` uses the {@link AccessibleRole.tab_panel} role for the stack
|
|
16007
16311
|
* pages, which are the accessible parent objects of the child widgets.
|
|
16008
16312
|
*/
|
|
16009
|
-
export declare const
|
|
16010
|
-
Root: typeof StackRoot;
|
|
16011
|
-
Page: typeof StackPage;
|
|
16012
|
-
VisibleChild: typeof StackVisibleChild;
|
|
16013
|
-
};
|
|
16313
|
+
export declare const GtkStack: "GtkStack";
|
|
16014
16314
|
/**
|
|
16015
16315
|
* Uses a sidebar to switch between `GtkStack` pages.
|
|
16016
16316
|
*
|
|
@@ -16030,10 +16330,7 @@ export declare const Stack: {
|
|
|
16030
16330
|
* .needs-attention style class to the widgets representing the stack
|
|
16031
16331
|
* pages.
|
|
16032
16332
|
*/
|
|
16033
|
-
export declare const
|
|
16034
|
-
Root: "StackSidebar.Root";
|
|
16035
|
-
Stack: "StackSidebar.Stack";
|
|
16036
|
-
};
|
|
16333
|
+
export declare const GtkStackSidebar: "GtkStackSidebar";
|
|
16037
16334
|
/**
|
|
16038
16335
|
* Shows a row of buttons to switch between `GtkStack` pages.
|
|
16039
16336
|
*
|
|
@@ -16068,10 +16365,7 @@ export declare const StackSidebar: {
|
|
|
16068
16365
|
* the stack switcher to be made vertical with
|
|
16069
16366
|
* `gtk_orientable_set_orientation()`.
|
|
16070
16367
|
*/
|
|
16071
|
-
export declare const
|
|
16072
|
-
Root: "StackSwitcher.Root";
|
|
16073
|
-
Stack: "StackSwitcher.Stack";
|
|
16074
|
-
};
|
|
16368
|
+
export declare const GtkStackSwitcher: "GtkStackSwitcher";
|
|
16075
16369
|
/**
|
|
16076
16370
|
* A `GtkStatusbar` widget is usually placed along the bottom of an application's
|
|
16077
16371
|
* main {@link Window}.
|
|
@@ -16110,7 +16404,7 @@ export declare const StackSwitcher: {
|
|
|
16110
16404
|
*
|
|
16111
16405
|
* `GtkStatusbar` has a single CSS node with name `statusbar`.
|
|
16112
16406
|
*/
|
|
16113
|
-
export declare const
|
|
16407
|
+
export declare const GtkStatusbar: "GtkStatusbar";
|
|
16114
16408
|
/**
|
|
16115
16409
|
* Shows a "light switch" that has two states: on or off.
|
|
16116
16410
|
*
|
|
@@ -16150,7 +16444,7 @@ export declare const Statusbar: "Statusbar";
|
|
|
16150
16444
|
*
|
|
16151
16445
|
* `GtkSwitch` uses the {@link AccessibleRole.switch} role.
|
|
16152
16446
|
*/
|
|
16153
|
-
export declare const
|
|
16447
|
+
export declare const GtkSwitch: "GtkSwitch";
|
|
16154
16448
|
/**
|
|
16155
16449
|
* A single-line text entry.
|
|
16156
16450
|
*
|
|
@@ -16263,7 +16557,7 @@ export declare const Switch: "Switch";
|
|
|
16263
16557
|
* as a delegate for a `GtkEditable` implementation that will be represented
|
|
16264
16558
|
* to accessibility.
|
|
16265
16559
|
*/
|
|
16266
|
-
export declare const
|
|
16560
|
+
export declare const GtkText: "GtkText";
|
|
16267
16561
|
/**
|
|
16268
16562
|
* Displays the contents of a {@link TextBuffer}.
|
|
16269
16563
|
*
|
|
@@ -16339,7 +16633,7 @@ export declare const Text: "Text";
|
|
|
16339
16633
|
*
|
|
16340
16634
|
* `GtkTextView` uses the {@link AccessibleRole.text_box} role.
|
|
16341
16635
|
*/
|
|
16342
|
-
export declare const
|
|
16636
|
+
export declare const GtkTextView: "GtkTextView";
|
|
16343
16637
|
/**
|
|
16344
16638
|
* Shows a button which remains “pressed-in” when clicked.
|
|
16345
16639
|
*
|
|
@@ -16415,10 +16709,7 @@ export declare const TextView: "TextView";
|
|
|
16415
16709
|
* }
|
|
16416
16710
|
* ```
|
|
16417
16711
|
*/
|
|
16418
|
-
export declare const
|
|
16419
|
-
Root: "ToggleButton.Root";
|
|
16420
|
-
Group: "ToggleButton.Group";
|
|
16421
|
-
};
|
|
16712
|
+
export declare const GtkToggleButton: "GtkToggleButton";
|
|
16422
16713
|
/**
|
|
16423
16714
|
* Provides an expander for a tree-like list.
|
|
16424
16715
|
*
|
|
@@ -16497,7 +16788,7 @@ export declare const ToggleButton: {
|
|
|
16497
16788
|
* Since GTK 4.12, `GtkTreeExpander` uses the {@link AccessibleRole.button} role.
|
|
16498
16789
|
* Toggling it will change the `GTK_ACCESSIBLE_STATE_EXPANDED` state.
|
|
16499
16790
|
*/
|
|
16500
|
-
export declare const
|
|
16791
|
+
export declare const GtkTreeExpander: "GtkTreeExpander";
|
|
16501
16792
|
/**
|
|
16502
16793
|
* A widget for displaying both trees and lists
|
|
16503
16794
|
*
|
|
@@ -16588,7 +16879,7 @@ export declare const TreeExpander: "TreeExpander";
|
|
|
16588
16879
|
*
|
|
16589
16880
|
* For the drop target location during DND, a subnode with name `dndtarget` is used.
|
|
16590
16881
|
*/
|
|
16591
|
-
export declare const
|
|
16882
|
+
export declare const GtkTreeView: "GtkTreeView";
|
|
16592
16883
|
/**
|
|
16593
16884
|
* Shows a `GtkMediaStream` with media controls.
|
|
16594
16885
|
*
|
|
@@ -16605,7 +16896,7 @@ export declare const TreeView: "TreeView";
|
|
|
16605
16896
|
* you may want to use the {@link GdkPaintable} API and a media framework
|
|
16606
16897
|
* such as Gstreamer directly.
|
|
16607
16898
|
*/
|
|
16608
|
-
export declare const
|
|
16899
|
+
export declare const GtkVideo: "GtkVideo";
|
|
16609
16900
|
/**
|
|
16610
16901
|
* Implements scrollability for widgets that don't support scrolling
|
|
16611
16902
|
* on their own.
|
|
@@ -16626,14 +16917,14 @@ export declare const Video: "Video";
|
|
|
16626
16917
|
*
|
|
16627
16918
|
* Starting from GTK 4.12, `GtkViewport` uses the {@link AccessibleRole.generic} role.
|
|
16628
16919
|
*/
|
|
16629
|
-
export declare const
|
|
16920
|
+
export declare const GtkViewport: "GtkViewport";
|
|
16630
16921
|
/**
|
|
16631
16922
|
* `GtkVolumeButton` is a `GtkScaleButton` subclass tailored for
|
|
16632
16923
|
* volume control.
|
|
16633
16924
|
*
|
|
16634
16925
|
* 
|
|
16635
16926
|
*/
|
|
16636
|
-
export declare const
|
|
16927
|
+
export declare const GtkVolumeButton: "GtkVolumeButton";
|
|
16637
16928
|
/**
|
|
16638
16929
|
* Shows window frame controls.
|
|
16639
16930
|
*
|
|
@@ -16686,7 +16977,7 @@ export declare const VolumeButton: "VolumeButton";
|
|
|
16686
16977
|
*
|
|
16687
16978
|
* `GtkWindowControls` uses the {@link AccessibleRole.group} role.
|
|
16688
16979
|
*/
|
|
16689
|
-
export declare const
|
|
16980
|
+
export declare const GtkWindowControls: "GtkWindowControls";
|
|
16690
16981
|
/**
|
|
16691
16982
|
* Implements titlebar functionality for a window.
|
|
16692
16983
|
*
|
|
@@ -16705,7 +16996,7 @@ export declare const WindowControls: "WindowControls";
|
|
|
16705
16996
|
* Starting from GTK 4.12, `GtkWindowHandle` uses the {@link AccessibleRole.generic}
|
|
16706
16997
|
* role.
|
|
16707
16998
|
*/
|
|
16708
|
-
export declare const
|
|
16999
|
+
export declare const GtkWindowHandle: "GtkWindowHandle";
|
|
16709
17000
|
/**
|
|
16710
17001
|
* A freeform window.
|
|
16711
17002
|
*
|
|
@@ -16784,10 +17075,7 @@ export declare const WindowHandle: "WindowHandle";
|
|
|
16784
17075
|
* GTK Inspector or by pressing `Ctrl`+`Shift`+`M`,
|
|
16785
17076
|
* and controlled via the {@link AdwWindow.adaptive-preview} property.
|
|
16786
17077
|
*/
|
|
16787
|
-
export declare const AdwWindow:
|
|
16788
|
-
Root: "AdwWindow.Root";
|
|
16789
|
-
Content: "AdwWindow.Content";
|
|
16790
|
-
};
|
|
17078
|
+
export declare const AdwWindow: "AdwWindow";
|
|
16791
17079
|
/**
|
|
16792
17080
|
* A dialog showing information about the application.
|
|
16793
17081
|
*
|
|
@@ -17161,10 +17449,7 @@ export declare const AdwAboutWindow: "AdwAboutWindow";
|
|
|
17161
17449
|
* When used together with the `.monospace` style class, only the subtitle
|
|
17162
17450
|
* becomes monospace, not the title or any extra widgets.
|
|
17163
17451
|
*/
|
|
17164
|
-
export declare const AdwActionRow:
|
|
17165
|
-
Root: "AdwActionRow.Root";
|
|
17166
|
-
ActivatableWidget: "AdwActionRow.ActivatableWidget";
|
|
17167
|
-
};
|
|
17452
|
+
export declare const AdwActionRow: "AdwActionRow";
|
|
17168
17453
|
/**
|
|
17169
17454
|
* A dialog presenting a message or a question.
|
|
17170
17455
|
*
|
|
@@ -17294,10 +17579,7 @@ export declare const AdwActionRow: {
|
|
|
17294
17579
|
* </object>
|
|
17295
17580
|
* ```
|
|
17296
17581
|
*/
|
|
17297
|
-
export declare const AdwAlertDialog:
|
|
17298
|
-
Root: "AdwAlertDialog.Root";
|
|
17299
|
-
ExtraChild: "AdwAlertDialog.ExtraChild";
|
|
17300
|
-
};
|
|
17582
|
+
export declare const AdwAlertDialog: "AdwAlertDialog";
|
|
17301
17583
|
/**
|
|
17302
17584
|
* A freeform application window.
|
|
17303
17585
|
*
|
|
@@ -17328,10 +17610,7 @@ export declare const AdwAlertDialog: {
|
|
|
17328
17610
|
* Using {@link Application.menubar} is not supported and may result in
|
|
17329
17611
|
* visual glitches.
|
|
17330
17612
|
*/
|
|
17331
|
-
export declare const AdwApplicationWindow:
|
|
17332
|
-
Root: "AdwApplicationWindow.Root";
|
|
17333
|
-
Content: "AdwApplicationWindow.Content";
|
|
17334
|
-
};
|
|
17613
|
+
export declare const AdwApplicationWindow: "AdwApplicationWindow";
|
|
17335
17614
|
/**
|
|
17336
17615
|
* A widget displaying an image, with a generated fallback.
|
|
17337
17616
|
*
|
|
@@ -17467,12 +17746,7 @@ export declare const AdwBin: "AdwBin";
|
|
|
17467
17746
|
* “bottom-bar”. Specifying “content” or omitting the child type results in
|
|
17468
17747
|
* setting the content child.
|
|
17469
17748
|
*/
|
|
17470
|
-
export declare const AdwBottomSheet:
|
|
17471
|
-
Root: "AdwBottomSheet.Root";
|
|
17472
|
-
BottomBar: "AdwBottomSheet.BottomBar";
|
|
17473
|
-
Content: "AdwBottomSheet.Content";
|
|
17474
|
-
Sheet: "AdwBottomSheet.Sheet";
|
|
17475
|
-
};
|
|
17749
|
+
export declare const AdwBottomSheet: "AdwBottomSheet";
|
|
17476
17750
|
/**
|
|
17477
17751
|
* A widget that changes layout based on available size.
|
|
17478
17752
|
*
|
|
@@ -17856,12 +18130,7 @@ export declare const AdwComboRow: "AdwComboRow";
|
|
|
17856
18130
|
* minimum size, and {@link Widget.width-request} and
|
|
17857
18131
|
* {@link Widget.height-request} properties must be set manually.
|
|
17858
18132
|
*/
|
|
17859
|
-
export declare const AdwDialog:
|
|
17860
|
-
Root: "AdwDialog.Root";
|
|
17861
|
-
Child: "AdwDialog.Child";
|
|
17862
|
-
DefaultWidget: "AdwDialog.DefaultWidget";
|
|
17863
|
-
FocusWidget: "AdwDialog.FocusWidget";
|
|
17864
|
-
};
|
|
18133
|
+
export declare const AdwDialog: "AdwDialog";
|
|
17865
18134
|
/**
|
|
17866
18135
|
* A {@link ListBoxRow} with an embedded text entry.
|
|
17867
18136
|
*
|
|
@@ -17986,12 +18255,7 @@ export declare const AdwExpanderRow: "AdwExpanderRow";
|
|
|
17986
18255
|
* `AdwFlap` has a single CSS node with name `flap`. The node will get the style
|
|
17987
18256
|
* classes `.folded` when it is folded, and `.unfolded` when it's not.
|
|
17988
18257
|
*/
|
|
17989
|
-
export declare const AdwFlap:
|
|
17990
|
-
Root: "AdwFlap.Root";
|
|
17991
|
-
Content: "AdwFlap.Content";
|
|
17992
|
-
Flap: "AdwFlap.Flap";
|
|
17993
|
-
Separator: "AdwFlap.Separator";
|
|
17994
|
-
};
|
|
18258
|
+
export declare const AdwFlap: "AdwFlap";
|
|
17995
18259
|
/**
|
|
17996
18260
|
* A title bar widget.
|
|
17997
18261
|
*
|
|
@@ -18085,10 +18349,7 @@ export declare const AdwFlap: {
|
|
|
18085
18349
|
*
|
|
18086
18350
|
* `AdwHeaderBar` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.
|
|
18087
18351
|
*/
|
|
18088
|
-
export declare const AdwHeaderBar:
|
|
18089
|
-
Root: "AdwHeaderBar.Root";
|
|
18090
|
-
TitleWidget: "AdwHeaderBar.TitleWidget";
|
|
18091
|
-
};
|
|
18352
|
+
export declare const AdwHeaderBar: "AdwHeaderBar";
|
|
18092
18353
|
/**
|
|
18093
18354
|
* A view switcher that uses a toggle group.
|
|
18094
18355
|
*
|
|
@@ -18156,10 +18417,7 @@ export declare const AdwLayoutSlot: "AdwLayoutSlot";
|
|
|
18156
18417
|
* style classes `.folded` when it is folded, `.unfolded` when it's not, or none
|
|
18157
18418
|
* if it hasn't computed its fold yet.
|
|
18158
18419
|
*/
|
|
18159
|
-
export declare const AdwLeaflet:
|
|
18160
|
-
Root: "AdwLeaflet.Root";
|
|
18161
|
-
VisibleChild: "AdwLeaflet.VisibleChild";
|
|
18162
|
-
};
|
|
18420
|
+
export declare const AdwLeaflet: "AdwLeaflet";
|
|
18163
18421
|
/**
|
|
18164
18422
|
* A dialog presenting a message or a question.
|
|
18165
18423
|
*
|
|
@@ -18288,10 +18546,7 @@ export declare const AdwLeaflet: {
|
|
|
18288
18546
|
*
|
|
18289
18547
|
* `AdwMessageDialog` uses the `GTK_ACCESSIBLE_ROLE_DIALOG` role.
|
|
18290
18548
|
*/
|
|
18291
|
-
export declare const AdwMessageDialog:
|
|
18292
|
-
Root: "AdwMessageDialog.Root";
|
|
18293
|
-
ExtraChild: "AdwMessageDialog.ExtraChild";
|
|
18294
|
-
};
|
|
18549
|
+
export declare const AdwMessageDialog: "AdwMessageDialog";
|
|
18295
18550
|
/**
|
|
18296
18551
|
* A widget for switching between different layouts.
|
|
18297
18552
|
*
|
|
@@ -18816,11 +19071,7 @@ export declare const AdwNavigationView: "AdwNavigationView";
|
|
|
18816
19071
|
*
|
|
18817
19072
|
* `AdwOverlaySplitView` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.
|
|
18818
19073
|
*/
|
|
18819
|
-
export declare const AdwOverlaySplitView:
|
|
18820
|
-
Root: "AdwOverlaySplitView.Root";
|
|
18821
|
-
Content: "AdwOverlaySplitView.Content";
|
|
18822
|
-
Sidebar: "AdwOverlaySplitView.Sidebar";
|
|
18823
|
-
};
|
|
19074
|
+
export declare const AdwOverlaySplitView: "AdwOverlaySplitView";
|
|
18824
19075
|
/**
|
|
18825
19076
|
* A {@link AdwEntryRow} tailored for entering secrets.
|
|
18826
19077
|
*
|
|
@@ -18859,10 +19110,7 @@ export declare const AdwPasswordEntryRow: "AdwPasswordEntryRow";
|
|
|
18859
19110
|
* `AdwPreferencesDialog` has a main CSS node with the name `dialog` and the
|
|
18860
19111
|
* style class `.preferences`.
|
|
18861
19112
|
*/
|
|
18862
|
-
export declare const AdwPreferencesDialog:
|
|
18863
|
-
Root: "AdwPreferencesDialog.Root";
|
|
18864
|
-
VisiblePage: "AdwPreferencesDialog.VisiblePage";
|
|
18865
|
-
};
|
|
19113
|
+
export declare const AdwPreferencesDialog: "AdwPreferencesDialog";
|
|
18866
19114
|
/**
|
|
18867
19115
|
* A group of preference rows.
|
|
18868
19116
|
*
|
|
@@ -18898,10 +19146,7 @@ export declare const AdwPreferencesDialog: {
|
|
|
18898
19146
|
*
|
|
18899
19147
|
* `AdwPreferencesGroup` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.
|
|
18900
19148
|
*/
|
|
18901
|
-
export declare const AdwPreferencesGroup:
|
|
18902
|
-
Root: "AdwPreferencesGroup.Root";
|
|
18903
|
-
HeaderSuffix: "AdwPreferencesGroup.HeaderSuffix";
|
|
18904
|
-
};
|
|
19149
|
+
export declare const AdwPreferencesGroup: "AdwPreferencesGroup";
|
|
18905
19150
|
/**
|
|
18906
19151
|
* A page from {@link AdwPreferencesDialog}.
|
|
18907
19152
|
*
|
|
@@ -18944,10 +19189,7 @@ export declare const AdwPreferencesRow: "AdwPreferencesRow";
|
|
|
18944
19189
|
* `AdwPreferencesWindow` has a main CSS node with the name `window` and the
|
|
18945
19190
|
* style class `.preferences`.
|
|
18946
19191
|
*/
|
|
18947
|
-
export declare const AdwPreferencesWindow:
|
|
18948
|
-
Root: "AdwPreferencesWindow.Root";
|
|
18949
|
-
VisiblePage: "AdwPreferencesWindow.VisiblePage";
|
|
18950
|
-
};
|
|
19192
|
+
export declare const AdwPreferencesWindow: "AdwPreferencesWindow";
|
|
18951
19193
|
/**
|
|
18952
19194
|
* A widget that displays a keyboard shortcut.
|
|
18953
19195
|
*
|
|
@@ -19196,11 +19438,7 @@ export declare const AdwSpinRow: "AdwSpinRow";
|
|
|
19196
19438
|
*
|
|
19197
19439
|
* `AdwSplitButton` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.
|
|
19198
19440
|
*/
|
|
19199
|
-
export declare const AdwSplitButton:
|
|
19200
|
-
Root: "AdwSplitButton.Root";
|
|
19201
|
-
Child: "AdwSplitButton.Child";
|
|
19202
|
-
Popover: "AdwSplitButton.Popover";
|
|
19203
|
-
};
|
|
19441
|
+
export declare const AdwSplitButton: "AdwSplitButton";
|
|
19204
19442
|
/**
|
|
19205
19443
|
* A best fit container.
|
|
19206
19444
|
*
|
|
@@ -19304,11 +19542,7 @@ export declare const AdwSwitchRow: "AdwSwitchRow";
|
|
|
19304
19542
|
*
|
|
19305
19543
|
* 
|
|
19306
19544
|
*/
|
|
19307
|
-
export declare const AdwTabBar:
|
|
19308
|
-
Root: "AdwTabBar.Root";
|
|
19309
|
-
EndActionWidget: "AdwTabBar.EndActionWidget";
|
|
19310
|
-
StartActionWidget: "AdwTabBar.StartActionWidget";
|
|
19311
|
-
};
|
|
19545
|
+
export declare const AdwTabBar: "AdwTabBar";
|
|
19312
19546
|
/**
|
|
19313
19547
|
* A button that displays the number of {@link AdwTabView} pages.
|
|
19314
19548
|
*
|
|
@@ -19648,15 +19882,7 @@ export declare const AdwToggleGroup: "AdwToggleGroup";
|
|
|
19648
19882
|
*
|
|
19649
19883
|
* `AdwToolbarView` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.
|
|
19650
19884
|
*/
|
|
19651
|
-
export declare const AdwToolbarView:
|
|
19652
|
-
Root: "AdwToolbarView.Root";
|
|
19653
|
-
Content: "AdwToolbarView.Content";
|
|
19654
|
-
Top: "AdwToolbarView.Top";
|
|
19655
|
-
Bottom: "AdwToolbarView.Bottom";
|
|
19656
|
-
};
|
|
19657
|
-
declare function AdwViewStackRoot(props: StackRootProps & AdwViewStackProps): import("react").ReactElement;
|
|
19658
|
-
declare function AdwViewStackPage(props: StackPageProps): import("react").ReactElement;
|
|
19659
|
-
declare function AdwViewStackVisibleChild(props: SlotProps): import("react").ReactElement;
|
|
19885
|
+
export declare const AdwToolbarView: "AdwToolbarView";
|
|
19660
19886
|
/**
|
|
19661
19887
|
* A view container for {@link AdwViewSwitcher}.
|
|
19662
19888
|
*
|
|
@@ -19715,11 +19941,7 @@ declare function AdwViewStackVisibleChild(props: SlotProps): import("react").Rea
|
|
|
19715
19941
|
* `AdwViewStack` uses the `GTK_ACCESSIBLE_ROLE_TAB_PANEL` for the stack pages
|
|
19716
19942
|
* which are the accessible parent objects of the child widgets.
|
|
19717
19943
|
*/
|
|
19718
|
-
export declare const AdwViewStack:
|
|
19719
|
-
Root: typeof AdwViewStackRoot;
|
|
19720
|
-
Page: typeof AdwViewStackPage;
|
|
19721
|
-
VisibleChild: typeof AdwViewStackVisibleChild;
|
|
19722
|
-
};
|
|
19944
|
+
export declare const AdwViewStack: "AdwViewStack";
|
|
19723
19945
|
/**
|
|
19724
19946
|
* An adaptive view switcher.
|
|
19725
19947
|
*
|
|
@@ -19993,10 +20215,7 @@ export declare const AdwWrapBox: "AdwWrapBox";
|
|
|
19993
20215
|
* how to convert data from their {@link GtkSourceCompletionProposal} to content for
|
|
19994
20216
|
* the `GtkSourceCompletionCell`.
|
|
19995
20217
|
*/
|
|
19996
|
-
export declare const GtkSourceCompletionCell:
|
|
19997
|
-
Root: "GtkSourceCompletionCell.Root";
|
|
19998
|
-
Widget: "GtkSourceCompletionCell.Widget";
|
|
19999
|
-
};
|
|
20218
|
+
export declare const GtkSourceCompletionCell: "GtkSourceCompletionCell";
|
|
20000
20219
|
/**
|
|
20001
20220
|
* Gutter object for {@link GtkSourceView}.
|
|
20002
20221
|
*
|
|
@@ -20202,10 +20421,7 @@ export declare const GtkSourceStyleSchemePreview: "GtkSourceStyleSchemePreview";
|
|
|
20202
20421
|
* the default font set in CSS.
|
|
20203
20422
|
*/
|
|
20204
20423
|
export declare const GtkSourceView: "GtkSourceView";
|
|
20205
|
-
export declare const VteTerminal:
|
|
20206
|
-
Root: "VteTerminal.Root";
|
|
20207
|
-
ContextMenu: "VteTerminal.ContextMenu";
|
|
20208
|
-
};
|
|
20424
|
+
export declare const VteTerminal: "VteTerminal";
|
|
20209
20425
|
/**
|
|
20210
20426
|
* The central class of the WPE WebKit and WebKitGTK APIs.
|
|
20211
20427
|
*
|
|
@@ -20220,278 +20436,173 @@ export declare const VteTerminal: {
|
|
|
20220
20436
|
*/
|
|
20221
20437
|
export declare const WebKitWebView: "WebKitWebView";
|
|
20222
20438
|
export declare const WebKitWebViewBase: "WebKitWebViewBase";
|
|
20223
|
-
/**
|
|
20224
|
-
* Sets the application-wide menu bar.
|
|
20225
|
-
* The menu will appear in the window's title bar on supported platforms.
|
|
20226
|
-
* Use Menu.Item, Menu.Section, and Menu.Submenu as children.
|
|
20227
|
-
*/
|
|
20228
|
-
export declare const ApplicationMenu: "ApplicationMenu";
|
|
20229
|
-
declare function MenuItem(props: MenuItemProps): import("react").ReactElement;
|
|
20230
|
-
declare function MenuSection(props: MenuSectionProps): import("react").ReactElement;
|
|
20231
|
-
declare function MenuSubmenu(props: MenuSubmenuProps): import("react").ReactElement;
|
|
20232
|
-
/**
|
|
20233
|
-
* Declarative menu builder for use with PopoverMenu and ApplicationMenu.
|
|
20234
|
-
* Use Menu.Item for action items, Menu.Section for groups, Menu.Submenu for nested menus.
|
|
20235
|
-
*/
|
|
20236
|
-
export declare const Menu: {
|
|
20237
|
-
Item: typeof MenuItem;
|
|
20238
|
-
Section: typeof MenuSection;
|
|
20239
|
-
Submenu: typeof MenuSubmenu;
|
|
20240
|
-
};
|
|
20241
20439
|
declare global {
|
|
20242
20440
|
namespace React {
|
|
20243
20441
|
namespace JSX {
|
|
20244
20442
|
interface IntrinsicElements {
|
|
20245
|
-
|
|
20246
|
-
|
|
20247
|
-
|
|
20248
|
-
|
|
20249
|
-
|
|
20250
|
-
|
|
20251
|
-
|
|
20252
|
-
|
|
20253
|
-
|
|
20254
|
-
|
|
20255
|
-
|
|
20256
|
-
|
|
20257
|
-
|
|
20258
|
-
|
|
20259
|
-
|
|
20260
|
-
|
|
20261
|
-
|
|
20262
|
-
|
|
20263
|
-
|
|
20264
|
-
|
|
20265
|
-
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
|
|
20270
|
-
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20280
|
-
|
|
20281
|
-
|
|
20282
|
-
|
|
20283
|
-
|
|
20284
|
-
|
|
20285
|
-
|
|
20286
|
-
|
|
20287
|
-
|
|
20288
|
-
|
|
20289
|
-
|
|
20290
|
-
|
|
20291
|
-
|
|
20292
|
-
|
|
20293
|
-
|
|
20294
|
-
|
|
20295
|
-
|
|
20296
|
-
|
|
20297
|
-
|
|
20298
|
-
|
|
20299
|
-
|
|
20300
|
-
|
|
20301
|
-
|
|
20302
|
-
|
|
20303
|
-
|
|
20304
|
-
|
|
20305
|
-
|
|
20306
|
-
|
|
20307
|
-
|
|
20308
|
-
|
|
20309
|
-
|
|
20310
|
-
|
|
20311
|
-
|
|
20312
|
-
|
|
20313
|
-
|
|
20314
|
-
|
|
20315
|
-
|
|
20316
|
-
|
|
20317
|
-
|
|
20318
|
-
|
|
20319
|
-
|
|
20320
|
-
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
|
|
20325
|
-
|
|
20326
|
-
|
|
20327
|
-
|
|
20328
|
-
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
|
|
20333
|
-
|
|
20334
|
-
|
|
20335
|
-
|
|
20336
|
-
|
|
20337
|
-
|
|
20338
|
-
|
|
20339
|
-
|
|
20340
|
-
|
|
20341
|
-
|
|
20342
|
-
|
|
20343
|
-
|
|
20344
|
-
|
|
20345
|
-
|
|
20346
|
-
|
|
20347
|
-
|
|
20348
|
-
"PopoverMenu.Root": PopoverMenuProps;
|
|
20349
|
-
PopoverMenuBar: PopoverMenuBarProps;
|
|
20350
|
-
PrintUnixDialog: PrintUnixDialogProps;
|
|
20351
|
-
ProgressBar: ProgressBarProps;
|
|
20352
|
-
Range: RangeProps;
|
|
20353
|
-
Revealer: RevealerProps;
|
|
20354
|
-
"Revealer.Child": SlotProps;
|
|
20355
|
-
Scale: ScaleProps;
|
|
20356
|
-
ScaleButton: ScaleButtonProps;
|
|
20357
|
-
Scrollbar: ScrollbarProps;
|
|
20358
|
-
ScrolledWindow: ScrolledWindowProps;
|
|
20359
|
-
"ScrolledWindow.Child": SlotProps;
|
|
20360
|
-
"SearchBar.Root": SearchBarProps;
|
|
20361
|
-
"SearchBar.Child": SlotProps;
|
|
20362
|
-
"SearchBar.KeyCaptureWidget": SlotProps;
|
|
20363
|
-
SearchEntry: SearchEntryProps;
|
|
20364
|
-
Separator: SeparatorProps;
|
|
20365
|
-
ShortcutLabel: ShortcutLabelProps;
|
|
20366
|
-
ShortcutsGroup: ShortcutsGroupProps;
|
|
20367
|
-
ShortcutsSection: ShortcutsSectionProps;
|
|
20368
|
-
ShortcutsShortcut: ShortcutsShortcutProps;
|
|
20369
|
-
ShortcutsWindow: ShortcutsWindowProps;
|
|
20370
|
-
SpinButton: SpinButtonProps;
|
|
20371
|
-
Spinner: SpinnerProps;
|
|
20372
|
-
"Stack.Root": StackProps;
|
|
20373
|
-
"Stack.VisibleChild": SlotProps;
|
|
20374
|
-
"Stack.Page": StackPageProps;
|
|
20375
|
-
"StackSidebar.Root": StackSidebarProps;
|
|
20376
|
-
"StackSidebar.Stack": SlotProps;
|
|
20377
|
-
"StackSwitcher.Root": StackSwitcherProps;
|
|
20378
|
-
"StackSwitcher.Stack": SlotProps;
|
|
20379
|
-
Statusbar: StatusbarProps;
|
|
20380
|
-
Switch: SwitchProps;
|
|
20381
|
-
Text: TextProps;
|
|
20382
|
-
TextView: TextViewProps;
|
|
20383
|
-
"ToggleButton.Root": ToggleButtonProps;
|
|
20384
|
-
"ToggleButton.Group": SlotProps;
|
|
20385
|
-
TreeExpander: TreeExpanderProps;
|
|
20386
|
-
"TreeExpander.Child": SlotProps;
|
|
20387
|
-
TreeView: TreeViewProps;
|
|
20388
|
-
Video: VideoProps;
|
|
20389
|
-
Viewport: ViewportProps;
|
|
20390
|
-
"Viewport.Child": SlotProps;
|
|
20391
|
-
VolumeButton: VolumeButtonProps;
|
|
20392
|
-
WindowControls: WindowControlsProps;
|
|
20393
|
-
WindowHandle: WindowHandleProps;
|
|
20394
|
-
"WindowHandle.Child": SlotProps;
|
|
20395
|
-
"AdwWindow.Root": AdwWindowProps;
|
|
20396
|
-
"AdwWindow.Content": SlotProps;
|
|
20443
|
+
GtkWindow: GtkWindowProps;
|
|
20444
|
+
GtkAboutDialog: GtkAboutDialogProps;
|
|
20445
|
+
GtkActionBar: GtkActionBarProps;
|
|
20446
|
+
GtkAppChooserButton: GtkAppChooserButtonProps;
|
|
20447
|
+
GtkAppChooserDialog: GtkAppChooserDialogProps;
|
|
20448
|
+
GtkAppChooserWidget: GtkAppChooserWidgetProps;
|
|
20449
|
+
GtkApplicationWindow: GtkApplicationWindowProps;
|
|
20450
|
+
GtkAspectFrame: GtkAspectFrameProps;
|
|
20451
|
+
GtkAssistant: GtkAssistantProps;
|
|
20452
|
+
GtkBox: GtkBoxProps;
|
|
20453
|
+
GtkButton: GtkButtonProps;
|
|
20454
|
+
GtkCalendar: GtkCalendarProps;
|
|
20455
|
+
GtkCellView: GtkCellViewProps;
|
|
20456
|
+
GtkCenterBox: GtkCenterBoxProps;
|
|
20457
|
+
GtkCheckButton: GtkCheckButtonProps;
|
|
20458
|
+
GtkColorButton: GtkColorButtonProps;
|
|
20459
|
+
GtkColorChooserDialog: GtkColorChooserDialogProps;
|
|
20460
|
+
GtkColorChooserWidget: GtkColorChooserWidgetProps;
|
|
20461
|
+
GtkColorDialogButton: GtkColorDialogButtonProps;
|
|
20462
|
+
GtkColumnView: GtkColumnViewProps;
|
|
20463
|
+
GtkComboBox: GtkComboBoxProps;
|
|
20464
|
+
GtkComboBoxText: GtkComboBoxTextProps;
|
|
20465
|
+
GtkDialog: GtkDialogProps;
|
|
20466
|
+
GtkDragIcon: GtkDragIconProps;
|
|
20467
|
+
GtkDrawingArea: GtkDrawingAreaProps;
|
|
20468
|
+
GtkDropDown: GtkDropDownProps;
|
|
20469
|
+
GtkEditableLabel: GtkEditableLabelProps;
|
|
20470
|
+
GtkEmojiChooser: GtkEmojiChooserProps;
|
|
20471
|
+
GtkEntry: GtkEntryProps;
|
|
20472
|
+
GtkExpander: GtkExpanderProps;
|
|
20473
|
+
GtkFileChooserDialog: GtkFileChooserDialogProps;
|
|
20474
|
+
GtkFileChooserWidget: GtkFileChooserWidgetProps;
|
|
20475
|
+
GtkFixed: GtkFixedProps;
|
|
20476
|
+
GtkFlowBox: GtkFlowBoxProps;
|
|
20477
|
+
GtkFlowBoxChild: GtkFlowBoxChildProps;
|
|
20478
|
+
GtkFontButton: GtkFontButtonProps;
|
|
20479
|
+
GtkFontChooserDialog: GtkFontChooserDialogProps;
|
|
20480
|
+
GtkFontChooserWidget: GtkFontChooserWidgetProps;
|
|
20481
|
+
GtkFontDialogButton: GtkFontDialogButtonProps;
|
|
20482
|
+
GtkFrame: GtkFrameProps;
|
|
20483
|
+
GtkGLArea: GtkGLAreaProps;
|
|
20484
|
+
GtkGraphicsOffload: GtkGraphicsOffloadProps;
|
|
20485
|
+
GtkGrid: GtkGridProps;
|
|
20486
|
+
GtkGridView: GtkGridViewProps;
|
|
20487
|
+
GtkHeaderBar: GtkHeaderBarProps;
|
|
20488
|
+
GtkIconView: GtkIconViewProps;
|
|
20489
|
+
GtkImage: GtkImageProps;
|
|
20490
|
+
GtkInfoBar: GtkInfoBarProps;
|
|
20491
|
+
GtkInscription: GtkInscriptionProps;
|
|
20492
|
+
GtkLabel: GtkLabelProps;
|
|
20493
|
+
GtkLevelBar: GtkLevelBarProps;
|
|
20494
|
+
GtkLinkButton: GtkLinkButtonProps;
|
|
20495
|
+
GtkListBase: GtkListBaseProps;
|
|
20496
|
+
GtkListBox: GtkListBoxProps;
|
|
20497
|
+
GtkListBoxRow: GtkListBoxRowProps;
|
|
20498
|
+
GtkListView: GtkListViewProps;
|
|
20499
|
+
GtkLockButton: GtkLockButtonProps;
|
|
20500
|
+
GtkMediaControls: GtkMediaControlsProps;
|
|
20501
|
+
GtkMenuButton: GtkMenuButtonProps;
|
|
20502
|
+
GtkMessageDialog: GtkMessageDialogProps;
|
|
20503
|
+
GtkNotebook: GtkNotebookProps;
|
|
20504
|
+
GtkOverlay: GtkOverlayProps;
|
|
20505
|
+
GtkPageSetupUnixDialog: GtkPageSetupUnixDialogProps;
|
|
20506
|
+
GtkPaned: GtkPanedProps;
|
|
20507
|
+
GtkPasswordEntry: GtkPasswordEntryProps;
|
|
20508
|
+
GtkPicture: GtkPictureProps;
|
|
20509
|
+
GtkPopover: GtkPopoverProps;
|
|
20510
|
+
GtkPopoverMenu: GtkPopoverMenuProps;
|
|
20511
|
+
GtkPopoverMenuBar: GtkPopoverMenuBarProps;
|
|
20512
|
+
GtkPrintUnixDialog: GtkPrintUnixDialogProps;
|
|
20513
|
+
GtkProgressBar: GtkProgressBarProps;
|
|
20514
|
+
GtkRange: GtkRangeProps;
|
|
20515
|
+
GtkRevealer: GtkRevealerProps;
|
|
20516
|
+
GtkScale: GtkScaleProps;
|
|
20517
|
+
GtkScaleButton: GtkScaleButtonProps;
|
|
20518
|
+
GtkScrollbar: GtkScrollbarProps;
|
|
20519
|
+
GtkScrolledWindow: GtkScrolledWindowProps;
|
|
20520
|
+
GtkSearchBar: GtkSearchBarProps;
|
|
20521
|
+
GtkSearchEntry: GtkSearchEntryProps;
|
|
20522
|
+
GtkSeparator: GtkSeparatorProps;
|
|
20523
|
+
GtkShortcutLabel: GtkShortcutLabelProps;
|
|
20524
|
+
GtkShortcutsGroup: GtkShortcutsGroupProps;
|
|
20525
|
+
GtkShortcutsSection: GtkShortcutsSectionProps;
|
|
20526
|
+
GtkShortcutsShortcut: GtkShortcutsShortcutProps;
|
|
20527
|
+
GtkShortcutsWindow: GtkShortcutsWindowProps;
|
|
20528
|
+
GtkSpinButton: GtkSpinButtonProps;
|
|
20529
|
+
GtkSpinner: GtkSpinnerProps;
|
|
20530
|
+
GtkStack: GtkStackProps;
|
|
20531
|
+
GtkStackSidebar: GtkStackSidebarProps;
|
|
20532
|
+
GtkStackSwitcher: GtkStackSwitcherProps;
|
|
20533
|
+
GtkStatusbar: GtkStatusbarProps;
|
|
20534
|
+
GtkSwitch: GtkSwitchProps;
|
|
20535
|
+
GtkText: GtkTextProps;
|
|
20536
|
+
GtkTextView: GtkTextViewProps;
|
|
20537
|
+
GtkToggleButton: GtkToggleButtonProps;
|
|
20538
|
+
GtkTreeExpander: GtkTreeExpanderProps;
|
|
20539
|
+
GtkTreeView: GtkTreeViewProps;
|
|
20540
|
+
GtkVideo: GtkVideoProps;
|
|
20541
|
+
GtkViewport: GtkViewportProps;
|
|
20542
|
+
GtkVolumeButton: GtkVolumeButtonProps;
|
|
20543
|
+
GtkWindowControls: GtkWindowControlsProps;
|
|
20544
|
+
GtkWindowHandle: GtkWindowHandleProps;
|
|
20545
|
+
AdwWindow: AdwWindowProps;
|
|
20397
20546
|
AdwAboutDialog: AdwAboutDialogProps;
|
|
20398
20547
|
AdwAboutWindow: AdwAboutWindowProps;
|
|
20399
|
-
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
"AdwAlertDialog.ExtraChild": SlotProps;
|
|
20403
|
-
"AdwApplicationWindow.Root": AdwApplicationWindowProps;
|
|
20404
|
-
"AdwApplicationWindow.Content": SlotProps;
|
|
20548
|
+
AdwActionRow: AdwActionRowProps;
|
|
20549
|
+
AdwAlertDialog: AdwAlertDialogProps;
|
|
20550
|
+
AdwApplicationWindow: AdwApplicationWindowProps;
|
|
20405
20551
|
AdwAvatar: AdwAvatarProps;
|
|
20406
20552
|
AdwBanner: AdwBannerProps;
|
|
20407
20553
|
AdwBin: AdwBinProps;
|
|
20408
|
-
|
|
20409
|
-
"AdwBottomSheet.Root": AdwBottomSheetProps;
|
|
20410
|
-
"AdwBottomSheet.BottomBar": SlotProps;
|
|
20411
|
-
"AdwBottomSheet.Content": SlotProps;
|
|
20412
|
-
"AdwBottomSheet.Sheet": SlotProps;
|
|
20554
|
+
AdwBottomSheet: AdwBottomSheetProps;
|
|
20413
20555
|
AdwBreakpointBin: AdwBreakpointBinProps;
|
|
20414
|
-
"AdwBreakpointBin.Child": SlotProps;
|
|
20415
20556
|
AdwButtonContent: AdwButtonContentProps;
|
|
20416
20557
|
AdwButtonRow: AdwButtonRowProps;
|
|
20417
20558
|
AdwCarousel: AdwCarouselProps;
|
|
20418
20559
|
AdwCarouselIndicatorDots: AdwCarouselIndicatorDotsProps;
|
|
20419
20560
|
AdwCarouselIndicatorLines: AdwCarouselIndicatorLinesProps;
|
|
20420
20561
|
AdwClamp: AdwClampProps;
|
|
20421
|
-
"AdwClamp.Child": SlotProps;
|
|
20422
20562
|
AdwClampScrollable: AdwClampScrollableProps;
|
|
20423
|
-
"AdwClampScrollable.Child": SlotProps;
|
|
20424
20563
|
AdwComboRow: AdwComboRowProps;
|
|
20425
|
-
|
|
20426
|
-
"AdwDialog.Child": SlotProps;
|
|
20427
|
-
"AdwDialog.DefaultWidget": SlotProps;
|
|
20428
|
-
"AdwDialog.FocusWidget": SlotProps;
|
|
20564
|
+
AdwDialog: AdwDialogProps;
|
|
20429
20565
|
AdwEntryRow: AdwEntryRowProps;
|
|
20430
20566
|
AdwExpanderRow: AdwExpanderRowProps;
|
|
20431
|
-
|
|
20432
|
-
|
|
20433
|
-
"AdwFlap.Flap": SlotProps;
|
|
20434
|
-
"AdwFlap.Separator": SlotProps;
|
|
20435
|
-
"AdwHeaderBar.Root": AdwHeaderBarProps;
|
|
20436
|
-
"AdwHeaderBar.TitleWidget": SlotProps;
|
|
20567
|
+
AdwFlap: AdwFlapProps;
|
|
20568
|
+
AdwHeaderBar: AdwHeaderBarProps;
|
|
20437
20569
|
AdwInlineViewSwitcher: AdwInlineViewSwitcherProps;
|
|
20438
20570
|
AdwLayoutSlot: AdwLayoutSlotProps;
|
|
20439
|
-
|
|
20440
|
-
|
|
20441
|
-
"AdwMessageDialog.Root": AdwMessageDialogProps;
|
|
20442
|
-
"AdwMessageDialog.ExtraChild": SlotProps;
|
|
20571
|
+
AdwLeaflet: AdwLeafletProps;
|
|
20572
|
+
AdwMessageDialog: AdwMessageDialogProps;
|
|
20443
20573
|
AdwMultiLayoutView: AdwMultiLayoutViewProps;
|
|
20444
20574
|
AdwNavigationPage: AdwNavigationPageProps;
|
|
20445
|
-
"AdwNavigationPage.Child": SlotProps;
|
|
20446
20575
|
AdwNavigationSplitView: AdwNavigationSplitViewProps;
|
|
20447
20576
|
AdwNavigationView: AdwNavigationViewProps;
|
|
20448
|
-
|
|
20449
|
-
"AdwOverlaySplitView.Content": SlotProps;
|
|
20450
|
-
"AdwOverlaySplitView.Sidebar": SlotProps;
|
|
20577
|
+
AdwOverlaySplitView: AdwOverlaySplitViewProps;
|
|
20451
20578
|
AdwPasswordEntryRow: AdwPasswordEntryRowProps;
|
|
20452
|
-
|
|
20453
|
-
|
|
20454
|
-
"AdwPreferencesGroup.Root": AdwPreferencesGroupProps;
|
|
20455
|
-
"AdwPreferencesGroup.HeaderSuffix": SlotProps;
|
|
20579
|
+
AdwPreferencesDialog: AdwPreferencesDialogProps;
|
|
20580
|
+
AdwPreferencesGroup: AdwPreferencesGroupProps;
|
|
20456
20581
|
AdwPreferencesPage: AdwPreferencesPageProps;
|
|
20457
20582
|
AdwPreferencesRow: AdwPreferencesRowProps;
|
|
20458
|
-
|
|
20459
|
-
"AdwPreferencesWindow.VisiblePage": SlotProps;
|
|
20583
|
+
AdwPreferencesWindow: AdwPreferencesWindowProps;
|
|
20460
20584
|
AdwShortcutLabel: AdwShortcutLabelProps;
|
|
20461
20585
|
AdwShortcutsDialog: AdwShortcutsDialogProps;
|
|
20462
20586
|
AdwSpinner: AdwSpinnerProps;
|
|
20463
20587
|
AdwSpinRow: AdwSpinRowProps;
|
|
20464
|
-
|
|
20465
|
-
"AdwSplitButton.Child": SlotProps;
|
|
20466
|
-
"AdwSplitButton.Popover": SlotProps;
|
|
20588
|
+
AdwSplitButton: AdwSplitButtonProps;
|
|
20467
20589
|
AdwSqueezer: AdwSqueezerProps;
|
|
20468
20590
|
AdwStatusPage: AdwStatusPageProps;
|
|
20469
|
-
"AdwStatusPage.Child": SlotProps;
|
|
20470
20591
|
AdwSwitchRow: AdwSwitchRowProps;
|
|
20471
|
-
|
|
20472
|
-
"AdwTabBar.EndActionWidget": SlotProps;
|
|
20473
|
-
"AdwTabBar.StartActionWidget": SlotProps;
|
|
20592
|
+
AdwTabBar: AdwTabBarProps;
|
|
20474
20593
|
AdwTabButton: AdwTabButtonProps;
|
|
20475
20594
|
AdwTabOverview: AdwTabOverviewProps;
|
|
20476
|
-
"AdwTabOverview.Child": SlotProps;
|
|
20477
20595
|
AdwTabView: AdwTabViewProps;
|
|
20478
20596
|
AdwToastOverlay: AdwToastOverlayProps;
|
|
20479
|
-
"AdwToastOverlay.Child": SlotProps;
|
|
20480
20597
|
AdwToggleGroup: AdwToggleGroupProps;
|
|
20481
|
-
|
|
20482
|
-
|
|
20483
|
-
"AdwToolbarView.Top": SlotProps;
|
|
20484
|
-
"AdwToolbarView.Bottom": SlotProps;
|
|
20485
|
-
"AdwViewStack.Root": AdwViewStackProps;
|
|
20486
|
-
"AdwViewStack.VisibleChild": SlotProps;
|
|
20487
|
-
"AdwViewStack.Page": StackPageProps;
|
|
20598
|
+
AdwToolbarView: AdwToolbarViewProps;
|
|
20599
|
+
AdwViewStack: AdwViewStackProps;
|
|
20488
20600
|
AdwViewSwitcher: AdwViewSwitcherProps;
|
|
20489
20601
|
AdwViewSwitcherBar: AdwViewSwitcherBarProps;
|
|
20490
20602
|
AdwViewSwitcherTitle: AdwViewSwitcherTitleProps;
|
|
20491
20603
|
AdwWindowTitle: AdwWindowTitleProps;
|
|
20492
20604
|
AdwWrapBox: AdwWrapBoxProps;
|
|
20493
|
-
|
|
20494
|
-
"GtkSourceCompletionCell.Widget": SlotProps;
|
|
20605
|
+
GtkSourceCompletionCell: GtkSourceCompletionCellProps;
|
|
20495
20606
|
GtkSourceGutter: GtkSourceGutterProps;
|
|
20496
20607
|
GtkSourceGutterRenderer: GtkSourceGutterRendererProps;
|
|
20497
20608
|
GtkSourceGutterRendererPixbuf: GtkSourceGutterRendererPixbufProps;
|
|
@@ -20502,14 +20613,9 @@ declare global {
|
|
|
20502
20613
|
GtkSourceStyleSchemeChooserWidget: GtkSourceStyleSchemeChooserWidgetProps;
|
|
20503
20614
|
GtkSourceStyleSchemePreview: GtkSourceStyleSchemePreviewProps;
|
|
20504
20615
|
GtkSourceView: GtkSourceViewProps;
|
|
20505
|
-
|
|
20506
|
-
"VteTerminal.ContextMenu": SlotProps;
|
|
20616
|
+
VteTerminal: VteTerminalProps;
|
|
20507
20617
|
WebKitWebView: WebKitWebViewProps;
|
|
20508
20618
|
WebKitWebViewBase: WebKitWebViewBaseProps;
|
|
20509
|
-
"Menu.Item": MenuItemProps;
|
|
20510
|
-
"Menu.Section": MenuSectionProps;
|
|
20511
|
-
"Menu.Submenu": MenuSubmenuProps;
|
|
20512
|
-
ApplicationMenu: MenuRootProps;
|
|
20513
20619
|
}
|
|
20514
20620
|
}
|
|
20515
20621
|
}
|