@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,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from '@nativescript/core';
|
|
2
2
|
import { type ConstructProps } from './construct-props.js';
|
|
3
|
-
declare const AdwToggle_base: (abstract new (...args: any[]) => {
|
|
3
|
+
declare const AdwToggle_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 AdwToggle_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 AdwToggle_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 Observable;
|
|
52
61
|
export declare class AdwToggle extends AdwToggle_base {
|
|
53
62
|
static readonly GTypeName: string;
|
|
@@ -3,7 +3,7 @@ import { GridLayout, StackLayout } from '@nativescript/core';
|
|
|
3
3
|
import { type AdwToolbarStyle } from './chrome.js';
|
|
4
4
|
import { type SystemBarEdges } from './system-bars.js';
|
|
5
5
|
import { type ConstructProps } from './construct-props.js';
|
|
6
|
-
declare const AdwToolbarView_base: (abstract new (...args: any[]) => {
|
|
6
|
+
declare const AdwToolbarView_base: ((abstract new (...args: any[]) => {
|
|
7
7
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
8
8
|
disconnect(handlerId: number): void;
|
|
9
9
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -29,10 +29,17 @@ declare const AdwToolbarView_base: (abstract new (...args: any[]) => {
|
|
|
29
29
|
set name(value: string | null);
|
|
30
30
|
get tooltipText(): string;
|
|
31
31
|
set tooltipText(value: string);
|
|
32
|
+
get tooltip_text(): string;
|
|
33
|
+
set tooltip_text(value: string);
|
|
32
34
|
get widthRequest(): number;
|
|
33
35
|
set widthRequest(value: number | string);
|
|
34
36
|
get heightRequest(): number;
|
|
35
37
|
set heightRequest(value: number | string);
|
|
38
|
+
get_visible(): boolean;
|
|
39
|
+
set_visible(visible: boolean): void;
|
|
40
|
+
get_mapped(): boolean;
|
|
41
|
+
get_tooltip_text(): string;
|
|
42
|
+
set_tooltip_text(text: string): void;
|
|
36
43
|
set_direction(direction: number): void;
|
|
37
44
|
get_direction(): number;
|
|
38
45
|
get_first_child(): object | null;
|
|
@@ -51,6 +58,8 @@ declare const AdwToolbarView_base: (abstract new (...args: any[]) => {
|
|
|
51
58
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
52
59
|
set(name: string, value: unknown): void;
|
|
53
60
|
get(name: string): unknown;
|
|
61
|
+
}) & {
|
|
62
|
+
readonly emittedSignals: readonly string[];
|
|
54
63
|
}) & typeof GridLayout;
|
|
55
64
|
export declare class AdwToolbarView extends AdwToolbarView_base {
|
|
56
65
|
static readonly GTypeName: string;
|
|
@@ -15,7 +15,7 @@ export declare const NOTIFY_VISIBLE_CHILD_NAME = "notify::visible-child-name";
|
|
|
15
15
|
*/
|
|
16
16
|
export interface NotifyVisibleChildEventData extends EventData, ViewStackNotifyPayload {
|
|
17
17
|
}
|
|
18
|
-
declare const AdwViewStack_base: (abstract new (...args: any[]) => {
|
|
18
|
+
declare const AdwViewStack_base: ((abstract new (...args: any[]) => {
|
|
19
19
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
20
20
|
disconnect(handlerId: number): void;
|
|
21
21
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -41,10 +41,17 @@ declare const AdwViewStack_base: (abstract new (...args: any[]) => {
|
|
|
41
41
|
set name(value: string | null);
|
|
42
42
|
get tooltipText(): string;
|
|
43
43
|
set tooltipText(value: string);
|
|
44
|
+
get tooltip_text(): string;
|
|
45
|
+
set tooltip_text(value: string);
|
|
44
46
|
get widthRequest(): number;
|
|
45
47
|
set widthRequest(value: number | string);
|
|
46
48
|
get heightRequest(): number;
|
|
47
49
|
set heightRequest(value: number | string);
|
|
50
|
+
get_visible(): boolean;
|
|
51
|
+
set_visible(visible: boolean): void;
|
|
52
|
+
get_mapped(): boolean;
|
|
53
|
+
get_tooltip_text(): string;
|
|
54
|
+
set_tooltip_text(text: string): void;
|
|
48
55
|
set_direction(direction: number): void;
|
|
49
56
|
get_direction(): number;
|
|
50
57
|
get_first_child(): object | null;
|
|
@@ -63,6 +70,8 @@ declare const AdwViewStack_base: (abstract new (...args: any[]) => {
|
|
|
63
70
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
64
71
|
set(name: string, value: unknown): void;
|
|
65
72
|
get(name: string): unknown;
|
|
73
|
+
}) & {
|
|
74
|
+
readonly emittedSignals: readonly string[];
|
|
66
75
|
}) & typeof GridLayout;
|
|
67
76
|
export declare class AdwViewStack extends AdwViewStack_base {
|
|
68
77
|
static readonly GTypeName: string;
|
|
@@ -2,7 +2,7 @@ import { GridLayout } from '@nativescript/core';
|
|
|
2
2
|
import { AdwViewStack } from './adw-view-stack.js';
|
|
3
3
|
import { type ViewId } from './id-reference.js';
|
|
4
4
|
import { type ConstructProps } from './construct-props.js';
|
|
5
|
-
declare const AdwViewSwitcherBar_base: (abstract new (...args: any[]) => {
|
|
5
|
+
declare const AdwViewSwitcherBar_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 AdwViewSwitcherBar_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 AdwViewSwitcherBar_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 AdwViewSwitcherBar extends AdwViewSwitcherBar_base {
|
|
55
64
|
static readonly GTypeName: string;
|
|
@@ -4,7 +4,7 @@ import { type ConstructProps } from './construct-props.js';
|
|
|
4
4
|
export declare const NOTIFY_TITLE = "notify::title";
|
|
5
5
|
/** Event name emitted when {@link AdwWindowTitle.subtitle} changes. */
|
|
6
6
|
export declare const NOTIFY_SUBTITLE = "notify::subtitle";
|
|
7
|
-
declare const AdwWindowTitle_base: (abstract new (...args: any[]) => {
|
|
7
|
+
declare const AdwWindowTitle_base: ((abstract new (...args: any[]) => {
|
|
8
8
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
9
9
|
disconnect(handlerId: number): void;
|
|
10
10
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -30,10 +30,17 @@ declare const AdwWindowTitle_base: (abstract new (...args: any[]) => {
|
|
|
30
30
|
set name(value: string | null);
|
|
31
31
|
get tooltipText(): string;
|
|
32
32
|
set tooltipText(value: string);
|
|
33
|
+
get tooltip_text(): string;
|
|
34
|
+
set tooltip_text(value: string);
|
|
33
35
|
get widthRequest(): number;
|
|
34
36
|
set widthRequest(value: number | string);
|
|
35
37
|
get heightRequest(): number;
|
|
36
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;
|
|
37
44
|
set_direction(direction: number): void;
|
|
38
45
|
get_direction(): number;
|
|
39
46
|
get_first_child(): object | null;
|
|
@@ -52,6 +59,8 @@ declare const AdwWindowTitle_base: (abstract new (...args: any[]) => {
|
|
|
52
59
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
53
60
|
set(name: string, value: unknown): void;
|
|
54
61
|
get(name: string): unknown;
|
|
62
|
+
}) & {
|
|
63
|
+
readonly emittedSignals: readonly string[];
|
|
55
64
|
}) & typeof StackLayout;
|
|
56
65
|
export declare class AdwWindowTitle extends AdwWindowTitle_base {
|
|
57
66
|
static readonly GTypeName: string;
|
|
@@ -3,7 +3,7 @@ import { type AdwLengthUnit, type AdwWrapBoxJustify, type AdwWrapBoxOrientation,
|
|
|
3
3
|
import { type ConstructProps } from './construct-props.js';
|
|
4
4
|
/** Every `notify::` an `Adw.WrapBox` emits (adw-wrap-box.c:284-497). */
|
|
5
5
|
export type AdwWrapBoxProperty = 'child-spacing' | 'child-spacing-unit' | 'pack-direction' | 'align' | 'justify' | 'justify-last-line' | 'line-spacing' | 'line-spacing-unit' | 'line-homogeneous' | 'natural-line-length' | 'natural-line-length-unit' | 'wrap-reverse' | 'wrap-policy' | 'orientation';
|
|
6
|
-
declare const AdwWrapBox_base: (abstract new (...args: any[]) => {
|
|
6
|
+
declare const AdwWrapBox_base: ((abstract new (...args: any[]) => {
|
|
7
7
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
8
8
|
disconnect(handlerId: number): void;
|
|
9
9
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -29,10 +29,17 @@ declare const AdwWrapBox_base: (abstract new (...args: any[]) => {
|
|
|
29
29
|
set name(value: string | null);
|
|
30
30
|
get tooltipText(): string;
|
|
31
31
|
set tooltipText(value: string);
|
|
32
|
+
get tooltip_text(): string;
|
|
33
|
+
set tooltip_text(value: string);
|
|
32
34
|
get widthRequest(): number;
|
|
33
35
|
set widthRequest(value: number | string);
|
|
34
36
|
get heightRequest(): number;
|
|
35
37
|
set heightRequest(value: number | string);
|
|
38
|
+
get_visible(): boolean;
|
|
39
|
+
set_visible(visible: boolean): void;
|
|
40
|
+
get_mapped(): boolean;
|
|
41
|
+
get_tooltip_text(): string;
|
|
42
|
+
set_tooltip_text(text: string): void;
|
|
36
43
|
set_direction(direction: number): void;
|
|
37
44
|
get_direction(): number;
|
|
38
45
|
get_first_child(): object | null;
|
|
@@ -51,6 +58,8 @@ declare const AdwWrapBox_base: (abstract new (...args: any[]) => {
|
|
|
51
58
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
52
59
|
set(name: string, value: unknown): void;
|
|
53
60
|
get(name: string): unknown;
|
|
61
|
+
}) & {
|
|
62
|
+
readonly emittedSignals: readonly string[];
|
|
54
63
|
}) & typeof FlexboxLayout;
|
|
55
64
|
export declare class AdwWrapBox extends AdwWrapBox_base {
|
|
56
65
|
static readonly GTypeName: string;
|
|
@@ -10,8 +10,9 @@ export declare class GtkApplication extends GtkApplication_base {
|
|
|
10
10
|
export declare class AdwApplication extends GtkApplication {
|
|
11
11
|
static readonly GTypeName: string;
|
|
12
12
|
}
|
|
13
|
+
export declare const NOTIFY_APPLICATION = "notify::application";
|
|
13
14
|
/**
|
|
14
|
-
* `Gtk.Window:application` and
|
|
15
|
+
* `Gtk.Window:application`, `get_application()` and `set_application()` on a window class.
|
|
15
16
|
* Setting the property is `add_window`, as on GTK; setting it to `null` is `remove_window`.
|
|
16
17
|
*/
|
|
17
18
|
export declare function defineWindowApplication(proto: object): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GridLayout, StackLayout } from '@nativescript/core';
|
|
2
2
|
import { AdwCarousel } from './adw-carousel.js';
|
|
3
3
|
import { type ViewId } from './id-reference.js';
|
|
4
|
-
declare const AdwCarouselIndicatorBase_base: (abstract new (...args: any[]) => {
|
|
4
|
+
declare const AdwCarouselIndicatorBase_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 AdwCarouselIndicatorBase_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 AdwCarouselIndicatorBase_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 abstract class AdwCarouselIndicatorBase extends AdwCarouselIndicatorBase_base {
|
|
54
63
|
/** `carousel` names an `AdwCarousel` of the same tree — see `./builder-slots.ts`. */
|
|
@@ -20,9 +20,18 @@ import { type ShadowedName } from './shadowed-properties.js';
|
|
|
20
20
|
* back only through `Shadowed`, typed as the class's own `set_<p>` takes it:
|
|
21
21
|
* `ConstructProps<AdwSplitButton, { direction: number }>`. The applier routes it to that verb.
|
|
22
22
|
*/
|
|
23
|
-
export type ConstructProps<T, Shadowed extends object = object> = Partial<{
|
|
23
|
+
export type ConstructProps<T, Shadowed extends object = object> = Partial<WithSnakeCase<{
|
|
24
24
|
[K in keyof T as T[K] extends (...args: never[]) => unknown ? never : K extends ShadowedName | keyof Shadowed ? never : K]: K extends EnumProp ? T[K] | number : K extends ValueProp ? T[K] | ValueProps[K & ValueProp] : T[K];
|
|
25
|
-
} & Shadowed
|
|
25
|
+
} & Shadowed>>;
|
|
26
|
+
/** `closeResponse` → `close_response`, the spelling {@link camelProperty} undoes. */
|
|
27
|
+
export type SnakeCase<S extends string> = S extends `${infer Head}${infer Rest}` ? `${Head extends Lowercase<Head> ? Head : `_${Lowercase<Head>}`}${SnakeCase<Rest>}` : S;
|
|
28
|
+
/**
|
|
29
|
+
* Every key of `Props` again under its snake_case twin, with the same value type — what a
|
|
30
|
+
* `@girs` `ConstructorProps` declares, and what {@link applyConstructProps} takes at runtime.
|
|
31
|
+
*/
|
|
32
|
+
export type WithSnakeCase<Props> = Props & {
|
|
33
|
+
[K in keyof Props as K extends string ? SnakeCase<K> : K]: Props[K];
|
|
34
|
+
};
|
|
26
35
|
/**
|
|
27
36
|
* The two properties whose SETTER takes a portable VALUE the getter does not hand back, and
|
|
28
37
|
* what each one accepts.
|
|
@@ -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 GtkActionBar_base: (abstract new (...args: any[]) => {
|
|
4
|
+
declare const GtkActionBar_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 GtkActionBar_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 GtkActionBar_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 GtkActionBar extends GtkActionBar_base {
|
|
54
63
|
static readonly GTypeName: string;
|
|
@@ -6,7 +6,7 @@ export declare const GTK_BUTTON_CLICKED = "clicked";
|
|
|
6
6
|
export declare const GTK_BUTTON_IMAGE_CLASS = "image-button";
|
|
7
7
|
/** The class the button's own label carries, so the theme can give it Adwaita's type. */
|
|
8
8
|
export declare const GTK_BUTTON_LABEL_CLASS = "adw-button-label";
|
|
9
|
-
declare const GtkButton_base: (abstract new (...args: any[]) => {
|
|
9
|
+
declare const GtkButton_base: ((abstract new (...args: any[]) => {
|
|
10
10
|
connect(eventName: string, callback: (self: /*elided*/ any, data: import("@nativescript/core").EventData) => unknown): number;
|
|
11
11
|
disconnect(handlerId: number): void;
|
|
12
12
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -32,10 +32,17 @@ declare const GtkButton_base: (abstract new (...args: any[]) => {
|
|
|
32
32
|
set name(value: string | null);
|
|
33
33
|
get tooltipText(): string;
|
|
34
34
|
set tooltipText(value: string);
|
|
35
|
+
get tooltip_text(): string;
|
|
36
|
+
set tooltip_text(value: string);
|
|
35
37
|
get widthRequest(): number;
|
|
36
38
|
set widthRequest(value: number | string);
|
|
37
39
|
get heightRequest(): number;
|
|
38
40
|
set heightRequest(value: number | string);
|
|
41
|
+
get_visible(): boolean;
|
|
42
|
+
set_visible(visible: boolean): void;
|
|
43
|
+
get_mapped(): boolean;
|
|
44
|
+
get_tooltip_text(): string;
|
|
45
|
+
set_tooltip_text(text: string): void;
|
|
39
46
|
set_direction(direction: number): void;
|
|
40
47
|
get_direction(): number;
|
|
41
48
|
get_first_child(): object | null;
|
|
@@ -54,6 +61,8 @@ declare const GtkButton_base: (abstract new (...args: any[]) => {
|
|
|
54
61
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
55
62
|
set(name: string, value: unknown): void;
|
|
56
63
|
get(name: string): unknown;
|
|
64
|
+
}) & {
|
|
65
|
+
readonly emittedSignals: readonly string[];
|
|
57
66
|
}) & typeof GridLayout;
|
|
58
67
|
export declare class GtkButton extends GtkButton_base {
|
|
59
68
|
static readonly GTypeName: string;
|
|
@@ -69,6 +78,7 @@ export declare class GtkButton extends GtkButton_base {
|
|
|
69
78
|
private _styleClasses;
|
|
70
79
|
private _label;
|
|
71
80
|
private _iconName;
|
|
81
|
+
private _tooltipText;
|
|
72
82
|
private _useUnderline;
|
|
73
83
|
private _slot;
|
|
74
84
|
/** The view currently in the single cell, whichever slot filled it. */
|
|
@@ -99,7 +109,8 @@ export declare class GtkButton extends GtkButton_base {
|
|
|
99
109
|
* `GtkWidget:tooltip-text`. GTK shows it on hover and hands it to assistive technology
|
|
100
110
|
* as the description: that half is `accessibilityHint`, and on Android the native view
|
|
101
111
|
* also gets `setTooltipText`, which shows it on long press (`./native-tooltip.ts`).
|
|
102
|
-
* An icon-only button is where a `.blp` writes one.
|
|
112
|
+
* An icon-only button is where a `.blp` writes one. It is the description only until an
|
|
113
|
+
* `accessibility { description }` writes its own, as GTK falls back to the tooltip.
|
|
103
114
|
*/
|
|
104
115
|
get tooltipText(): string;
|
|
105
116
|
set tooltipText(value: string);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type View } from '@nativescript/core';
|
|
2
2
|
import { type ConstructProps } from './construct-props.js';
|
|
3
|
+
import { type ViewId } from './id-reference.js';
|
|
3
4
|
import { AdwStyledLayoutBase } from './styled-layout-base.js';
|
|
4
5
|
/** Event name emitted when `active` changes. Mirrors `Gtk.CheckButton::toggled`. */
|
|
5
6
|
export declare const GTK_CHECK_BUTTON_TOGGLED = "toggled";
|
|
@@ -15,6 +16,8 @@ export declare class GtkCheckButton extends AdwStyledLayoutBase {
|
|
|
15
16
|
/** The GTK signals this widget emits through `connect` — read by the shared-tree builder (ADR 0093). */
|
|
16
17
|
static readonly emittedSignals: readonly string[];
|
|
17
18
|
static readonly builderSlots: readonly string[];
|
|
19
|
+
/** `group` names another check button of the same tree — see `./builder-slots.ts`. */
|
|
20
|
+
static readonly builderReferences: readonly string[];
|
|
18
21
|
private readonly _indicator;
|
|
19
22
|
private readonly _mark;
|
|
20
23
|
private readonly _text;
|
|
@@ -23,10 +26,17 @@ export declare class GtkCheckButton extends AdwStyledLayoutBase {
|
|
|
23
26
|
private _label;
|
|
24
27
|
private _useUnderline;
|
|
25
28
|
private _child;
|
|
29
|
+
/** A `group` written as an id before the button was in a loaded tree. */
|
|
30
|
+
private _groupId;
|
|
26
31
|
constructor(props?: ConstructProps<GtkCheckButton>);
|
|
27
32
|
/** `Gtk.CheckButton:active` — whether the box is ticked. Defaults to `false`. */
|
|
28
33
|
get active(): boolean;
|
|
29
34
|
set active(raw: boolean | string);
|
|
35
|
+
/** `Gtk.CheckButton:group` — WRITE-ONLY, as in GTK (`G_PARAM_WRITABLE`). */
|
|
36
|
+
set group(value: GtkCheckButton | ViewId | null);
|
|
37
|
+
/** `gtk_check_button_set_group`. */
|
|
38
|
+
set_group(group: GtkCheckButton | null): void;
|
|
39
|
+
private _resolveGroupId;
|
|
30
40
|
/** `Gtk.CheckButton:inconsistent` — the "partly on" dash. Defaults to `false`. */
|
|
31
41
|
get inconsistent(): boolean;
|
|
32
42
|
set inconsistent(raw: boolean | string);
|
|
@@ -15,7 +15,7 @@ export interface NotifyDropDownSelectedEventData extends EventData {
|
|
|
15
15
|
/** The newly-selected option's `label` — what the button now shows. */
|
|
16
16
|
label: string;
|
|
17
17
|
}
|
|
18
|
-
declare const GtkDropDown_base: (abstract new (...args: any[]) => {
|
|
18
|
+
declare const GtkDropDown_base: ((abstract new (...args: any[]) => {
|
|
19
19
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
20
20
|
disconnect(handlerId: number): void;
|
|
21
21
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -41,10 +41,17 @@ declare const GtkDropDown_base: (abstract new (...args: any[]) => {
|
|
|
41
41
|
set name(value: string | null);
|
|
42
42
|
get tooltipText(): string;
|
|
43
43
|
set tooltipText(value: string);
|
|
44
|
+
get tooltip_text(): string;
|
|
45
|
+
set tooltip_text(value: string);
|
|
44
46
|
get widthRequest(): number;
|
|
45
47
|
set widthRequest(value: number | string);
|
|
46
48
|
get heightRequest(): number;
|
|
47
49
|
set heightRequest(value: number | string);
|
|
50
|
+
get_visible(): boolean;
|
|
51
|
+
set_visible(visible: boolean): void;
|
|
52
|
+
get_mapped(): boolean;
|
|
53
|
+
get_tooltip_text(): string;
|
|
54
|
+
set_tooltip_text(text: string): void;
|
|
48
55
|
set_direction(direction: number): void;
|
|
49
56
|
get_direction(): number;
|
|
50
57
|
get_first_child(): object | null;
|
|
@@ -63,6 +70,8 @@ declare const GtkDropDown_base: (abstract new (...args: any[]) => {
|
|
|
63
70
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
64
71
|
set(name: string, value: unknown): void;
|
|
65
72
|
get(name: string): unknown;
|
|
73
|
+
}) & {
|
|
74
|
+
readonly emittedSignals: readonly string[];
|
|
66
75
|
}) & typeof StackLayout;
|
|
67
76
|
export declare class GtkDropDown extends GtkDropDown_base {
|
|
68
77
|
static readonly GTypeName: string;
|
|
@@ -13,7 +13,7 @@ export interface NotifyEntryTextEventData extends EventData {
|
|
|
13
13
|
/** The new number of CHARACTERS (not UTF-16 units). */
|
|
14
14
|
textLength: number;
|
|
15
15
|
}
|
|
16
|
-
declare const GtkEntry_base: (abstract new (...args: any[]) => {
|
|
16
|
+
declare const GtkEntry_base: ((abstract new (...args: any[]) => {
|
|
17
17
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
18
18
|
disconnect(handlerId: number): void;
|
|
19
19
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -39,10 +39,17 @@ declare const GtkEntry_base: (abstract new (...args: any[]) => {
|
|
|
39
39
|
set name(value: string | null);
|
|
40
40
|
get tooltipText(): string;
|
|
41
41
|
set tooltipText(value: string);
|
|
42
|
+
get tooltip_text(): string;
|
|
43
|
+
set tooltip_text(value: string);
|
|
42
44
|
get widthRequest(): number;
|
|
43
45
|
set widthRequest(value: number | string);
|
|
44
46
|
get heightRequest(): number;
|
|
45
47
|
set heightRequest(value: number | string);
|
|
48
|
+
get_visible(): boolean;
|
|
49
|
+
set_visible(visible: boolean): void;
|
|
50
|
+
get_mapped(): boolean;
|
|
51
|
+
get_tooltip_text(): string;
|
|
52
|
+
set_tooltip_text(text: string): void;
|
|
46
53
|
set_direction(direction: number): void;
|
|
47
54
|
get_direction(): number;
|
|
48
55
|
get_first_child(): object | null;
|
|
@@ -61,6 +68,8 @@ declare const GtkEntry_base: (abstract new (...args: any[]) => {
|
|
|
61
68
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
62
69
|
set(name: string, value: unknown): void;
|
|
63
70
|
get(name: string): unknown;
|
|
71
|
+
}) & {
|
|
72
|
+
readonly emittedSignals: readonly string[];
|
|
64
73
|
}) & typeof GridLayout;
|
|
65
74
|
export declare class GtkEntry extends GtkEntry_base {
|
|
66
75
|
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_GTK_IMAGE_SIZE: number;
|
|
14
|
-
declare const GtkImage_base: (abstract new (...args: any[]) => {
|
|
14
|
+
declare const GtkImage_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 GtkImage_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 GtkImage_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 Image;
|
|
63
72
|
export declare class GtkImage extends GtkImage_base {
|
|
64
73
|
static readonly GTypeName: string;
|
|
@@ -68,6 +77,7 @@ export declare class GtkImage extends GtkImage_base {
|
|
|
68
77
|
private _iconSize;
|
|
69
78
|
private _pixelSize;
|
|
70
79
|
private _unsubScheme;
|
|
80
|
+
private _unsubIcons;
|
|
71
81
|
constructor(props?: ConstructProps<GtkImage>);
|
|
72
82
|
/** Adopt the active scheme's default fill (no-op if the caller pinned a colour). */
|
|
73
83
|
private _syncThemeColor;
|
|
@@ -79,7 +89,8 @@ export declare class GtkImage extends GtkImage_base {
|
|
|
79
89
|
/**
|
|
80
90
|
* The icon to render: an Adwaita icon NAME (`'list-add-symbolic'`) or an Adwaita
|
|
81
91
|
* symbolic SVG SOURCE string (e.g. `panDownSymbolic`). A name the compiled subset
|
|
82
|
-
* does not carry draws the `image-missing` glyph; `''` draws
|
|
92
|
+
* does not carry, and no resource path holds, draws the `image-missing` glyph; `''` draws
|
|
93
|
+
* nothing.
|
|
83
94
|
*/
|
|
84
95
|
get iconName(): string;
|
|
85
96
|
set iconName(value: string);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Label } from '@nativescript/core';
|
|
2
2
|
import { type LabelEllipsizeMode, type LabelJustification } from '@gjsify/adwaita-core';
|
|
3
3
|
import { type ConstructProps } from './construct-props.js';
|
|
4
|
-
declare const GtkLabel_base: (abstract new (...args: any[]) => {
|
|
4
|
+
declare const GtkLabel_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 GtkLabel_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 GtkLabel_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 Label;
|
|
53
62
|
export declare class GtkLabel extends GtkLabel_base {
|
|
54
63
|
static readonly GTypeName: string;
|
|
@@ -4,7 +4,7 @@ import type { ActionHost } from './actions.js';
|
|
|
4
4
|
import { type ConstructProps } from './construct-props.js';
|
|
5
5
|
/** `GtkPopover::closed`, emitted when the menu goes away. */
|
|
6
6
|
export declare const CLOSED = "closed";
|
|
7
|
-
declare const GtkPopoverMenu_base: (abstract new (...args: any[]) => {
|
|
7
|
+
declare const GtkPopoverMenu_base: ((abstract new (...args: any[]) => {
|
|
8
8
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
9
9
|
disconnect(handlerId: number): void;
|
|
10
10
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -30,10 +30,17 @@ declare const GtkPopoverMenu_base: (abstract new (...args: any[]) => {
|
|
|
30
30
|
set name(value: string | null);
|
|
31
31
|
get tooltipText(): string;
|
|
32
32
|
set tooltipText(value: string);
|
|
33
|
+
get tooltip_text(): string;
|
|
34
|
+
set tooltip_text(value: string);
|
|
33
35
|
get widthRequest(): number;
|
|
34
36
|
set widthRequest(value: number | string);
|
|
35
37
|
get heightRequest(): number;
|
|
36
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;
|
|
37
44
|
set_direction(direction: number): void;
|
|
38
45
|
get_direction(): number;
|
|
39
46
|
get_first_child(): object | null;
|
|
@@ -52,6 +59,8 @@ declare const GtkPopoverMenu_base: (abstract new (...args: any[]) => {
|
|
|
52
59
|
notifyPropertyChange(name: string, value: unknown, oldValue?: unknown): void;
|
|
53
60
|
set(name: string, value: unknown): void;
|
|
54
61
|
get(name: string): unknown;
|
|
62
|
+
}) & {
|
|
63
|
+
readonly emittedSignals: readonly string[];
|
|
55
64
|
}) & typeof Observable;
|
|
56
65
|
export declare class GtkPopoverMenu extends GtkPopoverMenu_base {
|
|
57
66
|
static readonly GTypeName: string;
|
|
@@ -11,7 +11,7 @@ export declare const NOTIFY_STACK_VISIBLE_CHILD_NAME = "notify::visible-child-na
|
|
|
11
11
|
/** Payload of both events. `index` is `-1` and `name`/`title` are `''` when nothing is selected. */
|
|
12
12
|
export interface NotifyStackVisibleChildEventData extends EventData, ViewStackNotifyPayload {
|
|
13
13
|
}
|
|
14
|
-
declare const GtkStack_base: (abstract new (...args: any[]) => {
|
|
14
|
+
declare const GtkStack_base: ((abstract new (...args: any[]) => {
|
|
15
15
|
connect(eventName: string, callback: (self: /*elided*/ any, data: EventData) => unknown): number;
|
|
16
16
|
disconnect(handlerId: number): void;
|
|
17
17
|
emit(eventName: string, ...args: unknown[]): void;
|
|
@@ -37,10 +37,17 @@ declare const GtkStack_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 GtkStack_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 GtkStack extends GtkStack_base {
|
|
64
73
|
static readonly GTypeName: string;
|