@gjsify/adwaita-nativescript 0.64.1 → 0.64.2-next.254
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/lib/esm/builder/index.js +1 -1
- package/lib/esm/builder/param-values.js +1 -0
- package/lib/esm/canvas2d/canvas2d-bridge.js +1 -1
- package/lib/esm/capabilities.js +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/namespace/adw.js +1 -1
- package/lib/esm/namespace/gdk.js +1 -1
- package/lib/esm/namespace/gio.js +1 -1
- package/lib/esm/namespace/glib.js +1 -1
- package/lib/esm/namespace/gobject.js +1 -1
- package/lib/esm/namespace/gtk.js +1 -1
- package/lib/esm/widgets/adw-about-dialog.js +2 -1
- package/lib/esm/widgets/adw-action-row.js +1 -1
- package/lib/esm/widgets/adw-alert-dialog.js +1 -1
- package/lib/esm/widgets/adw-application-window.js +1 -1
- package/lib/esm/widgets/adw-avatar.js +1 -1
- package/lib/esm/widgets/adw-banner.js +1 -1
- package/lib/esm/widgets/adw-bottom-sheet.js +1 -1
- package/lib/esm/widgets/adw-button-content.js +1 -1
- package/lib/esm/widgets/adw-carousel.js +1 -1
- package/lib/esm/widgets/adw-combo-row.js +1 -1
- package/lib/esm/widgets/adw-data-grid.js +1 -1
- package/lib/esm/widgets/adw-dialog.js +1 -1
- package/lib/esm/widgets/adw-entry-row.js +1 -1
- package/lib/esm/widgets/adw-expander-row.js +1 -1
- package/lib/esm/widgets/adw-image-button.js +1 -1
- package/lib/esm/widgets/adw-navigation-page.js +1 -1
- package/lib/esm/widgets/adw-navigation-split-view.js +1 -1
- package/lib/esm/widgets/adw-navigation-view.js +1 -1
- package/lib/esm/widgets/adw-overlay-split-view.js +1 -1
- package/lib/esm/widgets/adw-password-entry-row.js +1 -1
- package/lib/esm/widgets/adw-preferences-dialog.js +1 -1
- package/lib/esm/widgets/adw-preferences-page.js +1 -1
- package/lib/esm/widgets/adw-sidebar.js +1 -1
- package/lib/esm/widgets/adw-slider-row.js +1 -1
- package/lib/esm/widgets/adw-spin-row.js +1 -1
- package/lib/esm/widgets/adw-spinner.js +1 -1
- package/lib/esm/widgets/adw-split-button.js +1 -1
- package/lib/esm/widgets/adw-switch-row.js +1 -1
- package/lib/esm/widgets/adw-tab-view.js +1 -1
- package/lib/esm/widgets/adw-toast-overlay.js +1 -1
- package/lib/esm/widgets/adw-toggle-group.js +1 -1
- package/lib/esm/widgets/adw-toolbar-view.js +1 -1
- package/lib/esm/widgets/adw-view-switcher-bar.js +1 -1
- package/lib/esm/widgets/adw-wrap-box.js +1 -1
- package/lib/esm/widgets/application.js +1 -1
- package/lib/esm/widgets/construct-props.js +1 -1
- package/lib/esm/widgets/gtk-action-bar.js +1 -1
- package/lib/esm/widgets/gtk-box.js +1 -1
- package/lib/esm/widgets/gtk-button.js +1 -1
- package/lib/esm/widgets/gtk-check-button.js +1 -1
- package/lib/esm/widgets/gtk-drawing-area.js +1 -1
- package/lib/esm/widgets/gtk-drop-down.js +1 -1
- package/lib/esm/widgets/gtk-entry.js +1 -1
- package/lib/esm/widgets/gtk-grid.js +1 -1
- package/lib/esm/widgets/gtk-image.js +1 -1
- package/lib/esm/widgets/gtk-label.js +1 -1
- package/lib/esm/widgets/gtk-list-box.js +1 -1
- package/lib/esm/widgets/gtk-menu-button.js +1 -1
- package/lib/esm/widgets/gtk-revealer.js +1 -1
- package/lib/esm/widgets/gtk-scrolled-window.js +1 -1
- package/lib/esm/widgets/gtk-stack.js +1 -1
- package/lib/esm/widgets/gtk-text-view.js +1 -1
- package/lib/esm/widgets/gtk-toggle-button.js +1 -1
- package/lib/esm/widgets/gtk-window.js +1 -1
- package/lib/esm/widgets/icon-path.js +1 -1
- package/lib/esm/widgets/icon-render.js +1 -0
- package/lib/esm/widgets/icon-theme.js +1 -1
- package/lib/esm/widgets/index.js +1 -1
- package/lib/esm/widgets/signals.js +1 -1
- package/lib/esm/widgets/stack-page.js +1 -1
- package/lib/esm/widgets/view-stack-page.js +1 -1
- package/lib/esm/widgets/widget-layout.js +1 -1
- package/lib/esm/widgets/widget-mapping.js +1 -0
- package/lib/types/about-dialog-doors.spec.d.ts +1 -0
- package/lib/types/builder/index.d.ts +4 -0
- package/lib/types/builder/param-values.d.ts +21 -0
- package/lib/types/carousel-doors.spec.d.ts +1 -0
- package/lib/types/gio-resource.spec.d.ts +1 -0
- package/lib/types/gio.spec.d.ts +2 -0
- package/lib/types/icon-resources.spec.d.ts +2 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/namespace/adw.d.ts +1 -1
- package/lib/types/namespace/gdk.d.ts +1 -0
- package/lib/types/namespace/gio.d.ts +2 -0
- package/lib/types/namespace/glib.d.ts +2 -1
- package/lib/types/namespace/gtk.d.ts +1 -0
- package/lib/types/param-values.spec.d.ts +1 -0
- package/lib/types/testing/ns-core.d.mts +55 -14
- package/lib/types/widget-map.spec.d.ts +1 -0
- package/lib/types/widgets/adw-about-dialog.d.ts +34 -2
- package/lib/types/widgets/adw-action-row.d.ts +10 -1
- package/lib/types/widgets/adw-alert-dialog.d.ts +37 -13
- package/lib/types/widgets/adw-application-window.d.ts +0 -3
- package/lib/types/widgets/adw-avatar.d.ts +10 -1
- package/lib/types/widgets/adw-banner.d.ts +10 -1
- package/lib/types/widgets/adw-bottom-sheet.d.ts +10 -1
- package/lib/types/widgets/adw-button-content.d.ts +10 -1
- package/lib/types/widgets/adw-carousel.d.ts +24 -3
- package/lib/types/widgets/adw-clamp.d.ts +10 -1
- package/lib/types/widgets/adw-combo-row.d.ts +4 -0
- package/lib/types/widgets/adw-data-grid.d.ts +10 -1
- package/lib/types/widgets/adw-header-bar.d.ts +10 -1
- package/lib/types/widgets/adw-image-button.d.ts +13 -2
- package/lib/types/widgets/adw-navigation-page.d.ts +10 -1
- package/lib/types/widgets/adw-navigation-view.d.ts +10 -1
- package/lib/types/widgets/adw-preferences-dialog.d.ts +10 -1
- package/lib/types/widgets/adw-preferences-group.d.ts +10 -1
- package/lib/types/widgets/adw-preferences-page.d.ts +10 -1
- package/lib/types/widgets/adw-shortcut-label.d.ts +10 -1
- package/lib/types/widgets/adw-sidebar.d.ts +10 -1
- package/lib/types/widgets/adw-slider-row.d.ts +10 -1
- package/lib/types/widgets/adw-spinner.d.ts +10 -1
- package/lib/types/widgets/adw-split-button.d.ts +10 -1
- package/lib/types/widgets/adw-status-page.d.ts +10 -1
- package/lib/types/widgets/adw-switch-row.d.ts +2 -0
- package/lib/types/widgets/adw-tab-view.d.ts +10 -1
- package/lib/types/widgets/adw-toast-overlay.d.ts +21 -17
- package/lib/types/widgets/adw-toggle-group.d.ts +10 -1
- package/lib/types/widgets/adw-toggle.d.ts +10 -1
- package/lib/types/widgets/adw-toolbar-view.d.ts +10 -1
- package/lib/types/widgets/adw-view-stack.d.ts +10 -1
- package/lib/types/widgets/adw-view-switcher-bar.d.ts +10 -1
- package/lib/types/widgets/adw-window-title.d.ts +10 -1
- package/lib/types/widgets/adw-wrap-box.d.ts +10 -1
- package/lib/types/widgets/application.d.ts +2 -1
- package/lib/types/widgets/carousel-indicator-base.d.ts +10 -1
- package/lib/types/widgets/construct-props.d.ts +11 -2
- package/lib/types/widgets/gtk-action-bar.d.ts +10 -1
- package/lib/types/widgets/gtk-button.d.ts +13 -2
- package/lib/types/widgets/gtk-check-button.d.ts +10 -0
- package/lib/types/widgets/gtk-drop-down.d.ts +10 -1
- package/lib/types/widgets/gtk-entry.d.ts +10 -1
- package/lib/types/widgets/gtk-image.d.ts +13 -2
- package/lib/types/widgets/gtk-label.d.ts +10 -1
- package/lib/types/widgets/gtk-popover-menu.d.ts +10 -1
- package/lib/types/widgets/gtk-stack.d.ts +10 -1
- package/lib/types/widgets/gtk-text-view.d.ts +10 -1
- package/lib/types/widgets/gtk-window.d.ts +5 -0
- package/lib/types/widgets/icon-path.d.ts +9 -0
- package/lib/types/widgets/icon-render.d.ts +9 -0
- package/lib/types/widgets/icon-theme.d.ts +43 -40
- package/lib/types/widgets/index.d.ts +4 -4
- package/lib/types/widgets/signals.d.ts +16 -1
- package/lib/types/widgets/split-view-base.d.ts +10 -1
- package/lib/types/widgets/stack-page.d.ts +10 -1
- package/lib/types/widgets/styled-layout-base.d.ts +10 -1
- package/lib/types/widgets/view-stack-page.d.ts +10 -1
- package/lib/types/widgets/view-switcher-base.d.ts +10 -1
- package/lib/types/widgets/widget-layout.d.ts +14 -0
- package/lib/types/widgets/widget-mapping.d.ts +9 -0
- package/package.json +14 -13
- package/src/testing/ns-core.mts +147 -18
- package/src/theme/adwaita.css +13 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { View } from '@nativescript/core';
|
|
2
2
|
import { GridLayout, StackLayout } from '@nativescript/core';
|
|
3
3
|
import { type ConstructProps } from './construct-props.js';
|
|
4
|
-
declare const AdwHeaderBar_base: (abstract new (...args: any[]) => {
|
|
4
|
+
declare const AdwHeaderBar_base: ((abstract new (...args: any[]) => {
|
|
5
5
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
6
6
|
disconnect(handlerId: number): void;
|
|
7
7
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -27,10 +27,17 @@ declare const AdwHeaderBar_base: (abstract new (...args: any[]) => {
|
|
|
27
27
|
set name(value: string | null);
|
|
28
28
|
get tooltipText(): string;
|
|
29
29
|
set tooltipText(value: string);
|
|
30
|
+
get tooltip_text(): string;
|
|
31
|
+
set tooltip_text(value: string);
|
|
30
32
|
get widthRequest(): number;
|
|
31
33
|
set widthRequest(value: number | string);
|
|
32
34
|
get heightRequest(): number;
|
|
33
35
|
set heightRequest(value: number | string);
|
|
36
|
+
get_visible(): boolean;
|
|
37
|
+
set_visible(visible: boolean): void;
|
|
38
|
+
get_mapped(): boolean;
|
|
39
|
+
get_tooltip_text(): string;
|
|
40
|
+
set_tooltip_text(text: string): void;
|
|
34
41
|
set_direction(direction: number): void;
|
|
35
42
|
get_direction(): number;
|
|
36
43
|
get_first_child(): object | null;
|
|
@@ -49,6 +56,8 @@ declare const AdwHeaderBar_base: (abstract new (...args: any[]) => {
|
|
|
49
56
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
50
57
|
set(name: string, value: unknown): void;
|
|
51
58
|
get(name: string): unknown;
|
|
59
|
+
}) & {
|
|
60
|
+
readonly emittedSignals: readonly string[];
|
|
52
61
|
}) & typeof GridLayout;
|
|
53
62
|
export declare class AdwHeaderBar extends AdwHeaderBar_base {
|
|
54
63
|
static readonly GTypeName: string;
|
|
@@ -11,7 +11,7 @@ import { type ConstructProps } from './construct-props.js';
|
|
|
11
11
|
* to this same number.
|
|
12
12
|
*/
|
|
13
13
|
export declare const DEFAULT_ICON_BUTTON_ICON_SIZE: number;
|
|
14
|
-
declare const AdwImageButton_base: (abstract new (...args: any[]) => {
|
|
14
|
+
declare const AdwImageButton_base: ((abstract new (...args: any[]) => {
|
|
15
15
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
16
16
|
disconnect(handlerId: number): void;
|
|
17
17
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -37,10 +37,17 @@ declare const AdwImageButton_base: (abstract new (...args: any[]) => {
|
|
|
37
37
|
set name(value: string | null);
|
|
38
38
|
get tooltipText(): string;
|
|
39
39
|
set tooltipText(value: string);
|
|
40
|
+
get tooltip_text(): string;
|
|
41
|
+
set tooltip_text(value: string);
|
|
40
42
|
get widthRequest(): number;
|
|
41
43
|
set widthRequest(value: number | string);
|
|
42
44
|
get heightRequest(): number;
|
|
43
45
|
set heightRequest(value: number | string);
|
|
46
|
+
get_visible(): boolean;
|
|
47
|
+
set_visible(visible: boolean): void;
|
|
48
|
+
get_mapped(): boolean;
|
|
49
|
+
get_tooltip_text(): string;
|
|
50
|
+
set_tooltip_text(text: string): void;
|
|
44
51
|
set_direction(direction: number): void;
|
|
45
52
|
get_direction(): number;
|
|
46
53
|
get_first_child(): object | null;
|
|
@@ -59,6 +66,8 @@ declare const AdwImageButton_base: (abstract new (...args: any[]) => {
|
|
|
59
66
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
60
67
|
set(name: string, value: unknown): void;
|
|
61
68
|
get(name: string): unknown;
|
|
69
|
+
}) & {
|
|
70
|
+
readonly emittedSignals: readonly string[];
|
|
62
71
|
}) & typeof GridLayout;
|
|
63
72
|
export declare class AdwImageButton extends AdwImageButton_base {
|
|
64
73
|
static readonly GTypeName: string;
|
|
@@ -70,6 +79,7 @@ export declare class AdwImageButton extends AdwImageButton_base {
|
|
|
70
79
|
private _iconSize;
|
|
71
80
|
private _pixelSize;
|
|
72
81
|
private _unsubScheme;
|
|
82
|
+
private _unsubIcons;
|
|
73
83
|
constructor(props?: ConstructProps<AdwImageButton>);
|
|
74
84
|
/** Adopt the active scheme's default fill (no-op if the caller pinned a colour). */
|
|
75
85
|
private _syncThemeColor;
|
|
@@ -82,7 +92,8 @@ export declare class AdwImageButton extends AdwImageButton_base {
|
|
|
82
92
|
/**
|
|
83
93
|
* The icon to render: an Adwaita icon NAME (`'go-previous-symbolic'`) or an Adwaita
|
|
84
94
|
* symbolic SVG SOURCE string (e.g. `goPreviousSymbolic`). A name the compiled subset
|
|
85
|
-
* does not carry draws the `image-missing` glyph; `''` draws
|
|
95
|
+
* does not carry, and no resource path holds, draws the `image-missing` glyph; `''` draws
|
|
96
|
+
* nothing.
|
|
86
97
|
*/
|
|
87
98
|
get iconName(): string;
|
|
88
99
|
set iconName(value: string);
|
|
@@ -7,7 +7,7 @@ export interface NavigationPageOwner {
|
|
|
7
7
|
setPageTitle(view: View, title: string): boolean;
|
|
8
8
|
setPageCanPop(view: View, canPop: boolean): boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const AdwNavigationPage_base: (abstract new (...args: any[]) => {
|
|
10
|
+
declare const AdwNavigationPage_base: ((abstract new (...args: any[]) => {
|
|
11
11
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
12
12
|
disconnect(handlerId: number): void;
|
|
13
13
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -33,10 +33,17 @@ declare const AdwNavigationPage_base: (abstract new (...args: any[]) => {
|
|
|
33
33
|
set name(value: string | null);
|
|
34
34
|
get tooltipText(): string;
|
|
35
35
|
set tooltipText(value: string);
|
|
36
|
+
get tooltip_text(): string;
|
|
37
|
+
set tooltip_text(value: string);
|
|
36
38
|
get widthRequest(): number;
|
|
37
39
|
set widthRequest(value: number | string);
|
|
38
40
|
get heightRequest(): number;
|
|
39
41
|
set heightRequest(value: number | string);
|
|
42
|
+
get_visible(): boolean;
|
|
43
|
+
set_visible(visible: boolean): void;
|
|
44
|
+
get_mapped(): boolean;
|
|
45
|
+
get_tooltip_text(): string;
|
|
46
|
+
set_tooltip_text(text: string): void;
|
|
40
47
|
set_direction(direction: number): void;
|
|
41
48
|
get_direction(): number;
|
|
42
49
|
get_first_child(): object | null;
|
|
@@ -55,6 +62,8 @@ declare const AdwNavigationPage_base: (abstract new (...args: any[]) => {
|
|
|
55
62
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
56
63
|
set(name: string, value: unknown): void;
|
|
57
64
|
get(name: string): unknown;
|
|
65
|
+
}) & {
|
|
66
|
+
readonly emittedSignals: readonly string[];
|
|
58
67
|
}) & typeof GridLayout;
|
|
59
68
|
export declare class AdwNavigationPage extends AdwNavigationPage_base {
|
|
60
69
|
static readonly GTypeName: string;
|
|
@@ -14,7 +14,7 @@ export interface AdwNavigationEventData extends EventData {
|
|
|
14
14
|
}
|
|
15
15
|
/** Payload of the `notify::visible-page` event. */
|
|
16
16
|
export type NotifyVisiblePageEventData = AdwNavigationEventData;
|
|
17
|
-
declare const AdwNavigationView_base: (abstract new (...args: any[]) => {
|
|
17
|
+
declare const AdwNavigationView_base: ((abstract new (...args: any[]) => {
|
|
18
18
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
19
19
|
disconnect(handlerId: number): void;
|
|
20
20
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -40,10 +40,17 @@ declare const AdwNavigationView_base: (abstract new (...args: any[]) => {
|
|
|
40
40
|
set name(value: string | null);
|
|
41
41
|
get tooltipText(): string;
|
|
42
42
|
set tooltipText(value: string);
|
|
43
|
+
get tooltip_text(): string;
|
|
44
|
+
set tooltip_text(value: string);
|
|
43
45
|
get widthRequest(): number;
|
|
44
46
|
set widthRequest(value: number | string);
|
|
45
47
|
get heightRequest(): number;
|
|
46
48
|
set heightRequest(value: number | string);
|
|
49
|
+
get_visible(): boolean;
|
|
50
|
+
set_visible(visible: boolean): void;
|
|
51
|
+
get_mapped(): boolean;
|
|
52
|
+
get_tooltip_text(): string;
|
|
53
|
+
set_tooltip_text(text: string): void;
|
|
47
54
|
set_direction(direction: number): void;
|
|
48
55
|
get_direction(): number;
|
|
49
56
|
get_first_child(): object | null;
|
|
@@ -62,6 +69,8 @@ declare const AdwNavigationView_base: (abstract new (...args: any[]) => {
|
|
|
62
69
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
63
70
|
set(name: string, value: unknown): void;
|
|
64
71
|
get(name: string): unknown;
|
|
72
|
+
}) & {
|
|
73
|
+
readonly emittedSignals: readonly string[];
|
|
65
74
|
}) & typeof GridLayout;
|
|
66
75
|
export declare class AdwNavigationView extends AdwNavigationView_base {
|
|
67
76
|
static readonly GTypeName: string;
|
|
@@ -5,7 +5,7 @@ import { type NsPreferencesSearchResult, type NsSearchablePage } from './prefere
|
|
|
5
5
|
import { type ConstructProps } from './construct-props.js';
|
|
6
6
|
/** Event name emitted when the dialog is closed. */
|
|
7
7
|
export declare const CLOSED = "closed";
|
|
8
|
-
declare const AdwPreferencesDialog_base: (abstract new (...args: any[]) => {
|
|
8
|
+
declare const AdwPreferencesDialog_base: ((abstract new (...args: any[]) => {
|
|
9
9
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
10
10
|
disconnect(handlerId: number): void;
|
|
11
11
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -31,10 +31,17 @@ declare const AdwPreferencesDialog_base: (abstract new (...args: any[]) => {
|
|
|
31
31
|
set name(value: string | null);
|
|
32
32
|
get tooltipText(): string;
|
|
33
33
|
set tooltipText(value: string);
|
|
34
|
+
get tooltip_text(): string;
|
|
35
|
+
set tooltip_text(value: string);
|
|
34
36
|
get widthRequest(): number;
|
|
35
37
|
set widthRequest(value: number | string);
|
|
36
38
|
get heightRequest(): number;
|
|
37
39
|
set heightRequest(value: number | string);
|
|
40
|
+
get_visible(): boolean;
|
|
41
|
+
set_visible(visible: boolean): void;
|
|
42
|
+
get_mapped(): boolean;
|
|
43
|
+
get_tooltip_text(): string;
|
|
44
|
+
set_tooltip_text(text: string): void;
|
|
38
45
|
set_direction(direction: number): void;
|
|
39
46
|
get_direction(): number;
|
|
40
47
|
get_first_child(): object | null;
|
|
@@ -53,6 +60,8 @@ declare const AdwPreferencesDialog_base: (abstract new (...args: any[]) => {
|
|
|
53
60
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
54
61
|
set(name: string, value: unknown): void;
|
|
55
62
|
get(name: string): unknown;
|
|
63
|
+
}) & {
|
|
64
|
+
readonly emittedSignals: readonly string[];
|
|
56
65
|
}) & typeof GridLayout;
|
|
57
66
|
export declare class AdwPreferencesDialog extends AdwPreferencesDialog_base {
|
|
58
67
|
static readonly GTypeName: string;
|
|
@@ -2,7 +2,7 @@ import type { View } from '@nativescript/core';
|
|
|
2
2
|
import { GridLayout, Label, StackLayout } from '@nativescript/core';
|
|
3
3
|
import type { NsSearchableGroup, NsSearchableRow } from './preferences-search.js';
|
|
4
4
|
import { type ConstructProps } from './construct-props.js';
|
|
5
|
-
declare const AdwPreferencesGroup_base: (abstract new (...args: any[]) => {
|
|
5
|
+
declare const AdwPreferencesGroup_base: ((abstract new (...args: any[]) => {
|
|
6
6
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
7
7
|
disconnect(handlerId: number): void;
|
|
8
8
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -28,10 +28,17 @@ declare const AdwPreferencesGroup_base: (abstract new (...args: any[]) => {
|
|
|
28
28
|
set name(value: string | null);
|
|
29
29
|
get tooltipText(): string;
|
|
30
30
|
set tooltipText(value: string);
|
|
31
|
+
get tooltip_text(): string;
|
|
32
|
+
set tooltip_text(value: string);
|
|
31
33
|
get widthRequest(): number;
|
|
32
34
|
set widthRequest(value: number | string);
|
|
33
35
|
get heightRequest(): number;
|
|
34
36
|
set heightRequest(value: number | string);
|
|
37
|
+
get_visible(): boolean;
|
|
38
|
+
set_visible(visible: boolean): void;
|
|
39
|
+
get_mapped(): boolean;
|
|
40
|
+
get_tooltip_text(): string;
|
|
41
|
+
set_tooltip_text(text: string): void;
|
|
35
42
|
set_direction(direction: number): void;
|
|
36
43
|
get_direction(): number;
|
|
37
44
|
get_first_child(): object | null;
|
|
@@ -50,6 +57,8 @@ declare const AdwPreferencesGroup_base: (abstract new (...args: any[]) => {
|
|
|
50
57
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
51
58
|
set(name: string, value: unknown): void;
|
|
52
59
|
get(name: string): unknown;
|
|
60
|
+
}) & {
|
|
61
|
+
readonly emittedSignals: readonly string[];
|
|
53
62
|
}) & typeof StackLayout;
|
|
54
63
|
export declare class AdwPreferencesGroup extends AdwPreferencesGroup_base implements NsSearchableGroup {
|
|
55
64
|
static readonly GTypeName: string;
|
|
@@ -2,7 +2,7 @@ import type { View } from '@nativescript/core';
|
|
|
2
2
|
import { ScrollView, StackLayout } from '@nativescript/core';
|
|
3
3
|
import type { NsSearchableGroup, NsSearchablePage } from './preferences-search.js';
|
|
4
4
|
import { type ConstructProps } from './construct-props.js';
|
|
5
|
-
declare const AdwPreferencesPage_base: (abstract new (...args: any[]) => {
|
|
5
|
+
declare const AdwPreferencesPage_base: ((abstract new (...args: any[]) => {
|
|
6
6
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
7
7
|
disconnect(handlerId: number): void;
|
|
8
8
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -28,10 +28,17 @@ declare const AdwPreferencesPage_base: (abstract new (...args: any[]) => {
|
|
|
28
28
|
set name(value: string | null);
|
|
29
29
|
get tooltipText(): string;
|
|
30
30
|
set tooltipText(value: string);
|
|
31
|
+
get tooltip_text(): string;
|
|
32
|
+
set tooltip_text(value: string);
|
|
31
33
|
get widthRequest(): number;
|
|
32
34
|
set widthRequest(value: number | string);
|
|
33
35
|
get heightRequest(): number;
|
|
34
36
|
set heightRequest(value: number | string);
|
|
37
|
+
get_visible(): boolean;
|
|
38
|
+
set_visible(visible: boolean): void;
|
|
39
|
+
get_mapped(): boolean;
|
|
40
|
+
get_tooltip_text(): string;
|
|
41
|
+
set_tooltip_text(text: string): void;
|
|
35
42
|
set_direction(direction: number): void;
|
|
36
43
|
get_direction(): number;
|
|
37
44
|
get_first_child(): object | null;
|
|
@@ -50,6 +57,8 @@ declare const AdwPreferencesPage_base: (abstract new (...args: any[]) => {
|
|
|
50
57
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
51
58
|
set(name: string, value: unknown): void;
|
|
52
59
|
get(name: string): unknown;
|
|
60
|
+
}) & {
|
|
61
|
+
readonly emittedSignals: readonly string[];
|
|
53
62
|
}) & typeof ScrollView;
|
|
54
63
|
export declare class AdwPreferencesPage extends AdwPreferencesPage_base implements NsSearchablePage {
|
|
55
64
|
static readonly GTypeName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StackLayout } from '@nativescript/core';
|
|
2
2
|
import { type ConstructProps } from './construct-props.js';
|
|
3
|
-
declare const AdwShortcutLabel_base: (abstract new (...args: any[]) => {
|
|
3
|
+
declare const AdwShortcutLabel_base: ((abstract new (...args: any[]) => {
|
|
4
4
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
5
5
|
disconnect(handlerId: number): void;
|
|
6
6
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -26,10 +26,17 @@ declare const AdwShortcutLabel_base: (abstract new (...args: any[]) => {
|
|
|
26
26
|
set name(value: string | null);
|
|
27
27
|
get tooltipText(): string;
|
|
28
28
|
set tooltipText(value: string);
|
|
29
|
+
get tooltip_text(): string;
|
|
30
|
+
set tooltip_text(value: string);
|
|
29
31
|
get widthRequest(): number;
|
|
30
32
|
set widthRequest(value: number | string);
|
|
31
33
|
get heightRequest(): number;
|
|
32
34
|
set heightRequest(value: number | string);
|
|
35
|
+
get_visible(): boolean;
|
|
36
|
+
set_visible(visible: boolean): void;
|
|
37
|
+
get_mapped(): boolean;
|
|
38
|
+
get_tooltip_text(): string;
|
|
39
|
+
set_tooltip_text(text: string): void;
|
|
33
40
|
set_direction(direction: number): void;
|
|
34
41
|
get_direction(): number;
|
|
35
42
|
get_first_child(): object | null;
|
|
@@ -48,6 +55,8 @@ declare const AdwShortcutLabel_base: (abstract new (...args: any[]) => {
|
|
|
48
55
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
49
56
|
set(name: string, value: unknown): void;
|
|
50
57
|
get(name: string): unknown;
|
|
58
|
+
}) & {
|
|
59
|
+
readonly emittedSignals: readonly string[];
|
|
51
60
|
}) & typeof StackLayout;
|
|
52
61
|
export declare class AdwShortcutLabel extends AdwShortcutLabel_base {
|
|
53
62
|
static readonly GTypeName: string;
|
|
@@ -26,7 +26,7 @@ export interface SidebarActivatedEventData extends EventData {
|
|
|
26
26
|
/** The activated item's label. */
|
|
27
27
|
title: string;
|
|
28
28
|
}
|
|
29
|
-
declare const AdwSidebar_base: (abstract new (...args: any[]) => {
|
|
29
|
+
declare const AdwSidebar_base: ((abstract new (...args: any[]) => {
|
|
30
30
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
31
31
|
disconnect(handlerId: number): void;
|
|
32
32
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -52,10 +52,17 @@ declare const AdwSidebar_base: (abstract new (...args: any[]) => {
|
|
|
52
52
|
set name(value: string | null);
|
|
53
53
|
get tooltipText(): string;
|
|
54
54
|
set tooltipText(value: string);
|
|
55
|
+
get tooltip_text(): string;
|
|
56
|
+
set tooltip_text(value: string);
|
|
55
57
|
get widthRequest(): number;
|
|
56
58
|
set widthRequest(value: number | string);
|
|
57
59
|
get heightRequest(): number;
|
|
58
60
|
set heightRequest(value: number | string);
|
|
61
|
+
get_visible(): boolean;
|
|
62
|
+
set_visible(visible: boolean): void;
|
|
63
|
+
get_mapped(): boolean;
|
|
64
|
+
get_tooltip_text(): string;
|
|
65
|
+
set_tooltip_text(text: string): void;
|
|
59
66
|
set_direction(direction: number): void;
|
|
60
67
|
get_direction(): number;
|
|
61
68
|
get_first_child(): object | null;
|
|
@@ -74,6 +81,8 @@ declare const AdwSidebar_base: (abstract new (...args: any[]) => {
|
|
|
74
81
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
75
82
|
set(name: string, value: unknown): void;
|
|
76
83
|
get(name: string): unknown;
|
|
84
|
+
}) & {
|
|
85
|
+
readonly emittedSignals: readonly string[];
|
|
77
86
|
}) & typeof ScrollView;
|
|
78
87
|
export declare class AdwSidebar extends AdwSidebar_base {
|
|
79
88
|
static readonly GTypeName: string;
|
|
@@ -8,7 +8,7 @@ export interface NotifySliderValueEventData extends EventData {
|
|
|
8
8
|
/** The new numeric value (already clamped into the adjustment's range and snapped to a tick). */
|
|
9
9
|
value: number;
|
|
10
10
|
}
|
|
11
|
-
declare const AdwSliderRow_base: (abstract new (...args: any[]) => {
|
|
11
|
+
declare const AdwSliderRow_base: ((abstract new (...args: any[]) => {
|
|
12
12
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
13
13
|
disconnect(handlerId: number): void;
|
|
14
14
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -34,10 +34,17 @@ declare const AdwSliderRow_base: (abstract new (...args: any[]) => {
|
|
|
34
34
|
set name(value: string | null);
|
|
35
35
|
get tooltipText(): string;
|
|
36
36
|
set tooltipText(value: string);
|
|
37
|
+
get tooltip_text(): string;
|
|
38
|
+
set tooltip_text(value: string);
|
|
37
39
|
get widthRequest(): number;
|
|
38
40
|
set widthRequest(value: number | string);
|
|
39
41
|
get heightRequest(): number;
|
|
40
42
|
set heightRequest(value: number | string);
|
|
43
|
+
get_visible(): boolean;
|
|
44
|
+
set_visible(visible: boolean): void;
|
|
45
|
+
get_mapped(): boolean;
|
|
46
|
+
get_tooltip_text(): string;
|
|
47
|
+
set_tooltip_text(text: string): void;
|
|
41
48
|
set_direction(direction: number): void;
|
|
42
49
|
get_direction(): number;
|
|
43
50
|
get_first_child(): object | null;
|
|
@@ -56,6 +63,8 @@ declare const AdwSliderRow_base: (abstract new (...args: any[]) => {
|
|
|
56
63
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
57
64
|
set(name: string, value: unknown): void;
|
|
58
65
|
get(name: string): unknown;
|
|
66
|
+
}) & {
|
|
67
|
+
readonly emittedSignals: readonly string[];
|
|
59
68
|
}) & typeof StackLayout;
|
|
60
69
|
export declare class AdwSliderRow extends AdwSliderRow_base {
|
|
61
70
|
static readonly GTypeName: string;
|
|
@@ -2,7 +2,7 @@ import { GridLayout } from '@nativescript/core';
|
|
|
2
2
|
import { DEFAULT_SPINNER_SIZE } from './chrome.js';
|
|
3
3
|
import { type ConstructProps } from './construct-props.js';
|
|
4
4
|
export { DEFAULT_SPINNER_SIZE };
|
|
5
|
-
declare const AdwSpinner_base: (abstract new (...args: any[]) => {
|
|
5
|
+
declare const AdwSpinner_base: ((abstract new (...args: any[]) => {
|
|
6
6
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
7
7
|
disconnect(handlerId: number): void;
|
|
8
8
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -28,10 +28,17 @@ declare const AdwSpinner_base: (abstract new (...args: any[]) => {
|
|
|
28
28
|
set name(value: string | null);
|
|
29
29
|
get tooltipText(): string;
|
|
30
30
|
set tooltipText(value: string);
|
|
31
|
+
get tooltip_text(): string;
|
|
32
|
+
set tooltip_text(value: string);
|
|
31
33
|
get widthRequest(): number;
|
|
32
34
|
set widthRequest(value: number | string);
|
|
33
35
|
get heightRequest(): number;
|
|
34
36
|
set heightRequest(value: number | string);
|
|
37
|
+
get_visible(): boolean;
|
|
38
|
+
set_visible(visible: boolean): void;
|
|
39
|
+
get_mapped(): boolean;
|
|
40
|
+
get_tooltip_text(): string;
|
|
41
|
+
set_tooltip_text(text: string): void;
|
|
35
42
|
set_direction(direction: number): void;
|
|
36
43
|
get_direction(): number;
|
|
37
44
|
get_first_child(): object | null;
|
|
@@ -50,6 +57,8 @@ declare const AdwSpinner_base: (abstract new (...args: any[]) => {
|
|
|
50
57
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
51
58
|
set(name: string, value: unknown): void;
|
|
52
59
|
get(name: string): unknown;
|
|
60
|
+
}) & {
|
|
61
|
+
readonly emittedSignals: readonly string[];
|
|
53
62
|
}) & typeof GridLayout;
|
|
54
63
|
export declare class AdwSpinner extends AdwSpinner_base {
|
|
55
64
|
static readonly GTypeName: string;
|
|
@@ -23,7 +23,7 @@ export interface MenuTappedEventData extends EventData {
|
|
|
23
23
|
/** The chosen item's detailed action name, when the item carried one. */
|
|
24
24
|
action?: string;
|
|
25
25
|
}
|
|
26
|
-
declare const AdwSplitButton_base: (abstract new (...args: any[]) => {
|
|
26
|
+
declare const AdwSplitButton_base: ((abstract new (...args: any[]) => {
|
|
27
27
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
28
28
|
disconnect(handlerId: number): void;
|
|
29
29
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -49,10 +49,17 @@ declare const AdwSplitButton_base: (abstract new (...args: any[]) => {
|
|
|
49
49
|
set name(value: string | null);
|
|
50
50
|
get tooltipText(): string;
|
|
51
51
|
set tooltipText(value: string);
|
|
52
|
+
get tooltip_text(): string;
|
|
53
|
+
set tooltip_text(value: string);
|
|
52
54
|
get widthRequest(): number;
|
|
53
55
|
set widthRequest(value: number | string);
|
|
54
56
|
get heightRequest(): number;
|
|
55
57
|
set heightRequest(value: number | string);
|
|
58
|
+
get_visible(): boolean;
|
|
59
|
+
set_visible(visible: boolean): void;
|
|
60
|
+
get_mapped(): boolean;
|
|
61
|
+
get_tooltip_text(): string;
|
|
62
|
+
set_tooltip_text(text: string): void;
|
|
56
63
|
set_direction(direction: number): void;
|
|
57
64
|
get_direction(): number;
|
|
58
65
|
get_first_child(): object | null;
|
|
@@ -71,6 +78,8 @@ declare const AdwSplitButton_base: (abstract new (...args: any[]) => {
|
|
|
71
78
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
72
79
|
set(name: string, value: unknown): void;
|
|
73
80
|
get(name: string): unknown;
|
|
81
|
+
}) & {
|
|
82
|
+
readonly emittedSignals: readonly string[];
|
|
74
83
|
}) & typeof GridLayout;
|
|
75
84
|
export declare class AdwSplitButton extends AdwSplitButton_base {
|
|
76
85
|
static readonly GTypeName: string;
|
|
@@ -2,7 +2,7 @@ import type { View } from '@nativescript/core';
|
|
|
2
2
|
import { GridLayout, Label, StackLayout } from '@nativescript/core';
|
|
3
3
|
import { GtkImage } from './gtk-image.js';
|
|
4
4
|
import { type ConstructProps } from './construct-props.js';
|
|
5
|
-
declare const AdwStatusPage_base: (abstract new (...args: any[]) => {
|
|
5
|
+
declare const AdwStatusPage_base: ((abstract new (...args: any[]) => {
|
|
6
6
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
7
7
|
disconnect(handlerId: number): void;
|
|
8
8
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -28,10 +28,17 @@ declare const AdwStatusPage_base: (abstract new (...args: any[]) => {
|
|
|
28
28
|
set name(value: string | null);
|
|
29
29
|
get tooltipText(): string;
|
|
30
30
|
set tooltipText(value: string);
|
|
31
|
+
get tooltip_text(): string;
|
|
32
|
+
set tooltip_text(value: string);
|
|
31
33
|
get widthRequest(): number;
|
|
32
34
|
set widthRequest(value: number | string);
|
|
33
35
|
get heightRequest(): number;
|
|
34
36
|
set heightRequest(value: number | string);
|
|
37
|
+
get_visible(): boolean;
|
|
38
|
+
set_visible(visible: boolean): void;
|
|
39
|
+
get_mapped(): boolean;
|
|
40
|
+
get_tooltip_text(): string;
|
|
41
|
+
set_tooltip_text(text: string): void;
|
|
35
42
|
set_direction(direction: number): void;
|
|
36
43
|
get_direction(): number;
|
|
37
44
|
get_first_child(): object | null;
|
|
@@ -50,6 +57,8 @@ declare const AdwStatusPage_base: (abstract new (...args: any[]) => {
|
|
|
50
57
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
51
58
|
set(name: string, value: unknown): void;
|
|
52
59
|
get(name: string): unknown;
|
|
60
|
+
}) & {
|
|
61
|
+
readonly emittedSignals: readonly string[];
|
|
53
62
|
}) & typeof GridLayout;
|
|
54
63
|
export declare class AdwStatusPage extends AdwStatusPage_base {
|
|
55
64
|
static readonly GTypeName: string;
|
|
@@ -20,6 +20,8 @@ export declare class AdwSwitchRow extends AdwActionRow {
|
|
|
20
20
|
/** Whether the switch is on. */
|
|
21
21
|
get active(): boolean;
|
|
22
22
|
set active(value: boolean | string);
|
|
23
|
+
get_active(): boolean;
|
|
24
|
+
set_active(active: boolean): void;
|
|
23
25
|
/**
|
|
24
26
|
* The row was tapped — invert the state, then emit `activated` like any
|
|
25
27
|
* other action row (adw-switch-row.c:23-27 via the activatable widget).
|
|
@@ -23,7 +23,7 @@ export interface ClosePageEventData extends EventData {
|
|
|
23
23
|
/** Its index while it is still in the view. */
|
|
24
24
|
index: number;
|
|
25
25
|
}
|
|
26
|
-
declare const AdwTabView_base: (abstract new (...args: any[]) => {
|
|
26
|
+
declare const AdwTabView_base: ((abstract new (...args: any[]) => {
|
|
27
27
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
28
28
|
disconnect(handlerId: number): void;
|
|
29
29
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -49,10 +49,17 @@ declare const AdwTabView_base: (abstract new (...args: any[]) => {
|
|
|
49
49
|
set name(value: string | null);
|
|
50
50
|
get tooltipText(): string;
|
|
51
51
|
set tooltipText(value: string);
|
|
52
|
+
get tooltip_text(): string;
|
|
53
|
+
set tooltip_text(value: string);
|
|
52
54
|
get widthRequest(): number;
|
|
53
55
|
set widthRequest(value: number | string);
|
|
54
56
|
get heightRequest(): number;
|
|
55
57
|
set heightRequest(value: number | string);
|
|
58
|
+
get_visible(): boolean;
|
|
59
|
+
set_visible(visible: boolean): void;
|
|
60
|
+
get_mapped(): boolean;
|
|
61
|
+
get_tooltip_text(): string;
|
|
62
|
+
set_tooltip_text(text: string): void;
|
|
56
63
|
set_direction(direction: number): void;
|
|
57
64
|
get_direction(): number;
|
|
58
65
|
get_first_child(): object | null;
|
|
@@ -71,6 +78,8 @@ declare const AdwTabView_base: (abstract new (...args: any[]) => {
|
|
|
71
78
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
72
79
|
set(name: string, value: unknown): void;
|
|
73
80
|
get(name: string): unknown;
|
|
81
|
+
}) & {
|
|
82
|
+
readonly emittedSignals: readonly string[];
|
|
74
83
|
}) & typeof GridLayout;
|
|
75
84
|
export declare class AdwTabView extends AdwTabView_base {
|
|
76
85
|
static readonly GTypeName: string;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import type { View } from '@nativescript/core';
|
|
2
|
-
import { Button, GridLayout, Label
|
|
3
|
-
import {
|
|
4
|
-
import type { AdwToastOptions } from '@gjsify/adwaita-core';
|
|
2
|
+
import { Button, GridLayout, Label } from '@nativescript/core';
|
|
3
|
+
import type { Toast } from '@gjsify/adwaita-core';
|
|
5
4
|
import { type ConstructProps } from './construct-props.js';
|
|
6
5
|
export { AdwToast, AdwToastQueue, DEFAULT_TOAST_TIMEOUT } from '@gjsify/adwaita-core';
|
|
7
6
|
export type { AdwToastOptions, AdwToastQueueHandlers, AdwToastQueueOptions, ToastScheduler, ToastTimerHandle, } from '@gjsify/adwaita-core';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
declare const AdwToastOverlay_base: (abstract new (...args: any[]) => {
|
|
11
|
-
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
7
|
+
declare const AdwToastOverlay_base: ((abstract new (...args: any[]) => {
|
|
8
|
+
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
12
9
|
disconnect(handlerId: number): void;
|
|
13
10
|
emit(eventName: string, ...args: unknown[]): void;
|
|
14
11
|
get_property(name: string): unknown;
|
|
@@ -33,10 +30,17 @@ declare const AdwToastOverlay_base: (abstract new (...args: any[]) => {
|
|
|
33
30
|
set name(value: string | null);
|
|
34
31
|
get tooltipText(): string;
|
|
35
32
|
set tooltipText(value: string);
|
|
33
|
+
get tooltip_text(): string;
|
|
34
|
+
set tooltip_text(value: string);
|
|
36
35
|
get widthRequest(): number;
|
|
37
36
|
set widthRequest(value: number | string);
|
|
38
37
|
get heightRequest(): number;
|
|
39
38
|
set heightRequest(value: number | string);
|
|
39
|
+
get_visible(): boolean;
|
|
40
|
+
set_visible(visible: boolean): void;
|
|
41
|
+
get_mapped(): boolean;
|
|
42
|
+
get_tooltip_text(): string;
|
|
43
|
+
set_tooltip_text(text: string): void;
|
|
40
44
|
set_direction(direction: number): void;
|
|
41
45
|
get_direction(): number;
|
|
42
46
|
get_first_child(): object | null;
|
|
@@ -49,12 +53,14 @@ declare const AdwToastOverlay_base: (abstract new (...args: any[]) => {
|
|
|
49
53
|
set focusable(value: boolean | string);
|
|
50
54
|
grab_focus(): boolean;
|
|
51
55
|
_emit(eventName: string): void;
|
|
52
|
-
addEventListener(eventName: string, callback: (data: EventData) => void, thisArg?: unknown, once?: boolean): void;
|
|
53
|
-
removeEventListener(eventName: string, callback?: (data: EventData) => void, thisArg?: unknown): void;
|
|
54
|
-
notify<T extends EventData>(data: T): void;
|
|
56
|
+
addEventListener(eventName: string, callback: (data: import("@nativescript/core").EventData) => void, thisArg?: unknown, once?: boolean): void;
|
|
57
|
+
removeEventListener(eventName: string, callback?: (data: import("@nativescript/core").EventData) => void, thisArg?: unknown): void;
|
|
58
|
+
notify<T extends import("@nativescript/core").EventData>(data: T): void;
|
|
55
59
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
56
60
|
set(name: string, value: unknown): void;
|
|
57
61
|
get(name: string): unknown;
|
|
62
|
+
}) & {
|
|
63
|
+
readonly emittedSignals: readonly string[];
|
|
58
64
|
}) & typeof GridLayout;
|
|
59
65
|
export declare class AdwToastOverlay extends AdwToastOverlay_base {
|
|
60
66
|
static readonly GTypeName: string;
|
|
@@ -65,7 +71,7 @@ export declare class AdwToastOverlay extends AdwToastOverlay_base {
|
|
|
65
71
|
protected readonly _toastLabel: Label;
|
|
66
72
|
protected readonly _toastButton: Button;
|
|
67
73
|
private _hasButton;
|
|
68
|
-
/** The headless
|
|
74
|
+
/** The headless queue of `adw-toast-overlay.c` (ADR 0004). */
|
|
69
75
|
private readonly _queue;
|
|
70
76
|
constructor(props?: ConstructProps<AdwToastOverlay>);
|
|
71
77
|
/** Set (or replace) the always-visible content layer (under the toast) — `adw_toast_overlay_set_child`. */
|
|
@@ -78,12 +84,10 @@ export declare class AdwToastOverlay extends AdwToastOverlay_base {
|
|
|
78
84
|
* bag instead of a second statement.
|
|
79
85
|
*/
|
|
80
86
|
set child(view: View | null);
|
|
81
|
-
/**
|
|
82
|
-
add_toast(toast:
|
|
83
|
-
/**
|
|
84
|
-
|
|
85
|
-
/** Dismiss the current toast immediately (advances to the next queued one). */
|
|
86
|
-
dismiss(): void;
|
|
87
|
+
/** `adw_toast_overlay_add_toast`: show `toast` now, or queue it by its priority. */
|
|
88
|
+
add_toast(toast: Toast): void;
|
|
89
|
+
/** `adw_toast_overlay_dismiss_all`: dismiss every queued toast, then the visible one. */
|
|
90
|
+
dismiss_all(): void;
|
|
87
91
|
/** Mount `toast` as the visible strip — the NS render half of the queue's `onShow`. */
|
|
88
92
|
private _renderStrip;
|
|
89
93
|
/**
|
|
@@ -21,7 +21,7 @@ export interface AdwToggleSpec {
|
|
|
21
21
|
icon?: string;
|
|
22
22
|
name?: string | null;
|
|
23
23
|
}
|
|
24
|
-
declare const AdwToggleGroup_base: (abstract new (...args: any[]) => {
|
|
24
|
+
declare const AdwToggleGroup_base: ((abstract new (...args: any[]) => {
|
|
25
25
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
26
26
|
disconnect(handlerId: number): void;
|
|
27
27
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -47,10 +47,17 @@ declare const AdwToggleGroup_base: (abstract new (...args: any[]) => {
|
|
|
47
47
|
set name(value: string | null);
|
|
48
48
|
get tooltipText(): string;
|
|
49
49
|
set tooltipText(value: string);
|
|
50
|
+
get tooltip_text(): string;
|
|
51
|
+
set tooltip_text(value: string);
|
|
50
52
|
get widthRequest(): number;
|
|
51
53
|
set widthRequest(value: number | string);
|
|
52
54
|
get heightRequest(): number;
|
|
53
55
|
set heightRequest(value: number | string);
|
|
56
|
+
get_visible(): boolean;
|
|
57
|
+
set_visible(visible: boolean): void;
|
|
58
|
+
get_mapped(): boolean;
|
|
59
|
+
get_tooltip_text(): string;
|
|
60
|
+
set_tooltip_text(text: string): void;
|
|
54
61
|
set_direction(direction: number): void;
|
|
55
62
|
get_direction(): number;
|
|
56
63
|
get_first_child(): object | null;
|
|
@@ -69,6 +76,8 @@ declare const AdwToggleGroup_base: (abstract new (...args: any[]) => {
|
|
|
69
76
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
70
77
|
set(name: string, value: unknown): void;
|
|
71
78
|
get(name: string): unknown;
|
|
79
|
+
}) & {
|
|
80
|
+
readonly emittedSignals: readonly string[];
|
|
72
81
|
}) & typeof StackLayout;
|
|
73
82
|
export declare class AdwToggleGroup extends AdwToggleGroup_base {
|
|
74
83
|
static readonly GTypeName: string;
|