@girs/granite-7.0 7.0.0-3.2.5 → 7.0.0-3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/granite-7.0.d.cts +162 -106
- package/granite-7.0.d.ts +162 -106
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Granite-7.0, generated from library version 7.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Granite-7.0, generated from library version 7.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/granite-7.0.d.cts
CHANGED
|
@@ -43,55 +43,55 @@ export enum SettingsColorScheme {
|
|
|
43
43
|
DARK,
|
|
44
44
|
LIGHT,
|
|
45
45
|
}
|
|
46
|
-
export const SettingsUriLOCATION: string
|
|
47
|
-
export const SettingsUriONLINE_ACCOUNTS: string
|
|
48
|
-
export const SettingsUriNETWORK: string
|
|
49
|
-
export const SettingsUriPERMISSIONS: string
|
|
50
|
-
export const SettingsUriNOTIFICATIONS: string
|
|
51
|
-
export const SettingsUriSOUND_INPUT: string
|
|
52
|
-
export const SettingsUriSHORTCUTS: string
|
|
53
|
-
export const STYLE_CLASS_ACCENT: string
|
|
54
|
-
export const STYLE_CLASS_BACK_BUTTON: string
|
|
55
|
-
export const STYLE_CLASS_BACKGROUND: string
|
|
56
|
-
export const STYLE_CLASS_BADGE: string
|
|
57
|
-
export const STYLE_CLASS_CARD: string
|
|
58
|
-
export const STYLE_CLASS_CHECKERBOARD: string
|
|
59
|
-
export const STYLE_CLASS_CIRCULAR: string
|
|
60
|
-
export const STYLE_CLASS_COLOR_BUTTON: string
|
|
61
|
-
export const STYLE_CLASS_DEFAULT_DECORATION: string
|
|
62
|
-
export const STYLE_CLASS_DESTRUCTIVE_ACTION: string
|
|
63
|
-
export const STYLE_CLASS_DIALOG_CONTENT_AREA: string
|
|
64
|
-
export const STYLE_CLASS_FRAME: string
|
|
65
|
-
export const STYLE_CLASS_H1_LABEL: string
|
|
66
|
-
export const STYLE_CLASS_H2_LABEL: string
|
|
67
|
-
export const STYLE_CLASS_H3_LABEL: string
|
|
68
|
-
export const STYLE_CLASS_H4_LABEL: string
|
|
69
|
-
export const STYLE_CLASS_KEYCAP: string
|
|
70
|
-
export const STYLE_CLASS_LARGE_ICONS: string
|
|
71
|
-
export const STYLE_CLASS_MODE_SWITCH: string
|
|
72
|
-
export const STYLE_CLASS_OSD: string
|
|
73
|
-
export const STYLE_CLASS_ROUNDED: string
|
|
74
|
-
export const STYLE_CLASS_SIDEBAR: string
|
|
75
|
-
export const STYLE_CLASS_SMALL_LABEL: string
|
|
76
|
-
export const STYLE_CLASS_TERMINAL: string
|
|
77
|
-
export const STYLE_CLASS_TITLE_LABEL: string
|
|
78
|
-
export const STYLE_CLASS_WARMTH: string
|
|
79
|
-
export const STYLE_CLASS_TEMPERATURE: string
|
|
80
|
-
export const STYLE_CLASS_LINKED: string
|
|
81
|
-
export const STYLE_CLASS_MENU: string
|
|
82
|
-
export const STYLE_CLASS_MENUITEM: string
|
|
83
|
-
export const STYLE_CLASS_DIM_LABEL: string
|
|
84
|
-
export const STYLE_CLASS_ERROR: string
|
|
85
|
-
export const STYLE_CLASS_FLAT: string
|
|
86
|
-
export const STYLE_CLASS_MESSAGE_DIALOG: string
|
|
87
|
-
export const STYLE_CLASS_RICH_LIST: string
|
|
88
|
-
export const STYLE_CLASS_SUGGESTED_ACTION: string
|
|
89
|
-
export const STYLE_CLASS_VIEW: string
|
|
90
|
-
export const STYLE_CLASS_WARNING: string
|
|
46
|
+
export const SettingsUriLOCATION: string
|
|
47
|
+
export const SettingsUriONLINE_ACCOUNTS: string
|
|
48
|
+
export const SettingsUriNETWORK: string
|
|
49
|
+
export const SettingsUriPERMISSIONS: string
|
|
50
|
+
export const SettingsUriNOTIFICATIONS: string
|
|
51
|
+
export const SettingsUriSOUND_INPUT: string
|
|
52
|
+
export const SettingsUriSHORTCUTS: string
|
|
53
|
+
export const STYLE_CLASS_ACCENT: string
|
|
54
|
+
export const STYLE_CLASS_BACK_BUTTON: string
|
|
55
|
+
export const STYLE_CLASS_BACKGROUND: string
|
|
56
|
+
export const STYLE_CLASS_BADGE: string
|
|
57
|
+
export const STYLE_CLASS_CARD: string
|
|
58
|
+
export const STYLE_CLASS_CHECKERBOARD: string
|
|
59
|
+
export const STYLE_CLASS_CIRCULAR: string
|
|
60
|
+
export const STYLE_CLASS_COLOR_BUTTON: string
|
|
61
|
+
export const STYLE_CLASS_DEFAULT_DECORATION: string
|
|
62
|
+
export const STYLE_CLASS_DESTRUCTIVE_ACTION: string
|
|
63
|
+
export const STYLE_CLASS_DIALOG_CONTENT_AREA: string
|
|
64
|
+
export const STYLE_CLASS_FRAME: string
|
|
65
|
+
export const STYLE_CLASS_H1_LABEL: string
|
|
66
|
+
export const STYLE_CLASS_H2_LABEL: string
|
|
67
|
+
export const STYLE_CLASS_H3_LABEL: string
|
|
68
|
+
export const STYLE_CLASS_H4_LABEL: string
|
|
69
|
+
export const STYLE_CLASS_KEYCAP: string
|
|
70
|
+
export const STYLE_CLASS_LARGE_ICONS: string
|
|
71
|
+
export const STYLE_CLASS_MODE_SWITCH: string
|
|
72
|
+
export const STYLE_CLASS_OSD: string
|
|
73
|
+
export const STYLE_CLASS_ROUNDED: string
|
|
74
|
+
export const STYLE_CLASS_SIDEBAR: string
|
|
75
|
+
export const STYLE_CLASS_SMALL_LABEL: string
|
|
76
|
+
export const STYLE_CLASS_TERMINAL: string
|
|
77
|
+
export const STYLE_CLASS_TITLE_LABEL: string
|
|
78
|
+
export const STYLE_CLASS_WARMTH: string
|
|
79
|
+
export const STYLE_CLASS_TEMPERATURE: string
|
|
80
|
+
export const STYLE_CLASS_LINKED: string
|
|
81
|
+
export const STYLE_CLASS_MENU: string
|
|
82
|
+
export const STYLE_CLASS_MENUITEM: string
|
|
83
|
+
export const STYLE_CLASS_DIM_LABEL: string
|
|
84
|
+
export const STYLE_CLASS_ERROR: string
|
|
85
|
+
export const STYLE_CLASS_FLAT: string
|
|
86
|
+
export const STYLE_CLASS_MESSAGE_DIALOG: string
|
|
87
|
+
export const STYLE_CLASS_RICH_LIST: string
|
|
88
|
+
export const STYLE_CLASS_SUGGESTED_ACTION: string
|
|
89
|
+
export const STYLE_CLASS_VIEW: string
|
|
90
|
+
export const STYLE_CLASS_WARNING: string
|
|
91
91
|
export const TRANSITION_DURATION_CLOSE: number
|
|
92
92
|
export const TRANSITION_DURATION_IN_PLACE: number
|
|
93
93
|
export const TRANSITION_DURATION_OPEN: number
|
|
94
|
-
export const TOOLTIP_SECONDARY_TEXT_MARKUP: string
|
|
94
|
+
export const TOOLTIP_SECONDARY_TEXT_MARKUP: string
|
|
95
95
|
export function date_time_get_default_time_format(is_12h: boolean, with_second: boolean): string | null
|
|
96
96
|
export function date_time_get_relative_datetime(date_time: GLib.DateTime): string | null
|
|
97
97
|
export function date_time_is_same_day(day1: GLib.DateTime, day2: GLib.DateTime): boolean
|
|
@@ -172,12 +172,12 @@ export interface ServicesSettingsSerializable extends GObject.Object {
|
|
|
172
172
|
// Owm methods of Granite-7.0.Granite.ServicesSettingsSerializable
|
|
173
173
|
|
|
174
174
|
settings_serialize(): string | null
|
|
175
|
-
settings_deserialize(s: string
|
|
175
|
+
settings_deserialize(s: string): void
|
|
176
176
|
|
|
177
177
|
// Own virtual methods of Granite-7.0.Granite.ServicesSettingsSerializable
|
|
178
178
|
|
|
179
179
|
vfunc_settings_serialize(): string | null
|
|
180
|
-
vfunc_settings_deserialize(s: string
|
|
180
|
+
vfunc_settings_deserialize(s: string): void
|
|
181
181
|
|
|
182
182
|
// Class property signals of Granite-7.0.Granite.ServicesSettingsSerializable
|
|
183
183
|
|
|
@@ -255,7 +255,7 @@ export class ServicesContractorProxy extends GObject.Object {
|
|
|
255
255
|
_init(config?: ServicesContractorProxy.ConstructorProperties): void
|
|
256
256
|
static get_instance(): any
|
|
257
257
|
static get_all_contracts(): Gee.List
|
|
258
|
-
static get_contracts_by_mime(mime_type: string
|
|
258
|
+
static get_contracts_by_mime(mime_type: string): Gee.List
|
|
259
259
|
static get_contracts_by_mimelist(mime_types: string[]): Gee.List
|
|
260
260
|
static get_contracts_for_file(file: Gio.File): Gee.List
|
|
261
261
|
static get_contracts_for_files(files: Gio.File[]): Gee.List
|
|
@@ -311,6 +311,9 @@ export module SettingsPage {
|
|
|
311
311
|
icon_name?: string | null
|
|
312
312
|
title?: string | null
|
|
313
313
|
child?: Gtk.Widget | null
|
|
314
|
+
statusType?: SettingsPageStatusType | null
|
|
315
|
+
displayWidget?: Gtk.Widget | null
|
|
316
|
+
iconName?: string | null
|
|
314
317
|
}
|
|
315
318
|
|
|
316
319
|
}
|
|
@@ -320,10 +323,13 @@ export interface SettingsPage {
|
|
|
320
323
|
// Own properties of Granite-7.0.Granite.SettingsPage
|
|
321
324
|
|
|
322
325
|
status_type: SettingsPageStatusType
|
|
326
|
+
statusType: SettingsPageStatusType
|
|
323
327
|
readonly display_widget: Gtk.Widget
|
|
328
|
+
readonly displayWidget: Gtk.Widget
|
|
324
329
|
readonly header: string | null
|
|
325
330
|
status: string | null
|
|
326
331
|
icon_name: string | null
|
|
332
|
+
iconName: string | null
|
|
327
333
|
title: string | null
|
|
328
334
|
child: Gtk.Widget
|
|
329
335
|
|
|
@@ -342,12 +348,12 @@ export interface SettingsPage {
|
|
|
342
348
|
set_status_type(value: SettingsPageStatusType): void
|
|
343
349
|
get_display_widget(): Gtk.Widget | null
|
|
344
350
|
get_header(): string | null
|
|
345
|
-
get_status(): string
|
|
346
|
-
set_status(value: string
|
|
351
|
+
get_status(): string
|
|
352
|
+
set_status(value: string): void
|
|
347
353
|
get_icon_name(): string | null
|
|
348
354
|
set_icon_name(value: string | null): void
|
|
349
|
-
get_title(): string
|
|
350
|
-
set_title(value: string
|
|
355
|
+
get_title(): string
|
|
356
|
+
set_title(value: string): void
|
|
351
357
|
get_child(): Gtk.Widget
|
|
352
358
|
set_child(value: Gtk.Widget): void
|
|
353
359
|
|
|
@@ -520,6 +526,9 @@ export module SimpleSettingsPage {
|
|
|
520
526
|
status_switch?: Gtk.Switch | null
|
|
521
527
|
activatable?: boolean | null
|
|
522
528
|
description?: string | null
|
|
529
|
+
actionArea?: Gtk.Box | null
|
|
530
|
+
contentArea?: Gtk.Grid | null
|
|
531
|
+
statusSwitch?: Gtk.Switch | null
|
|
523
532
|
}
|
|
524
533
|
|
|
525
534
|
}
|
|
@@ -529,8 +538,11 @@ export interface SimpleSettingsPage {
|
|
|
529
538
|
// Own properties of Granite-7.0.Granite.SimpleSettingsPage
|
|
530
539
|
|
|
531
540
|
readonly action_area: Gtk.Box
|
|
541
|
+
readonly actionArea: Gtk.Box
|
|
532
542
|
readonly content_area: Gtk.Grid
|
|
543
|
+
readonly contentArea: Gtk.Grid
|
|
533
544
|
readonly status_switch: Gtk.Switch
|
|
545
|
+
readonly statusSwitch: Gtk.Switch
|
|
534
546
|
readonly activatable: boolean
|
|
535
547
|
description: string | null
|
|
536
548
|
|
|
@@ -544,8 +556,8 @@ export interface SimpleSettingsPage {
|
|
|
544
556
|
get_content_area(): Gtk.Grid
|
|
545
557
|
get_status_switch(): Gtk.Switch | null
|
|
546
558
|
get_activatable(): boolean
|
|
547
|
-
get_description(): string
|
|
548
|
-
set_description(value: string
|
|
559
|
+
get_description(): string
|
|
560
|
+
set_description(value: string): void
|
|
549
561
|
|
|
550
562
|
// Class property signals of Granite-7.0.Granite.SimpleSettingsPage
|
|
551
563
|
|
|
@@ -729,6 +741,8 @@ export module AccelLabel {
|
|
|
729
741
|
action_name?: string | null
|
|
730
742
|
accel_string?: string | null
|
|
731
743
|
label?: string | null
|
|
744
|
+
actionName?: string | null
|
|
745
|
+
accelString?: string | null
|
|
732
746
|
}
|
|
733
747
|
|
|
734
748
|
}
|
|
@@ -738,7 +752,9 @@ export interface AccelLabel {
|
|
|
738
752
|
// Own properties of Granite-7.0.Granite.AccelLabel
|
|
739
753
|
|
|
740
754
|
action_name: string | null
|
|
755
|
+
actionName: string | null
|
|
741
756
|
accel_string: string | null
|
|
757
|
+
accelString: string | null
|
|
742
758
|
label: string | null
|
|
743
759
|
|
|
744
760
|
// Conflicting properties
|
|
@@ -747,12 +763,12 @@ export interface AccelLabel {
|
|
|
747
763
|
|
|
748
764
|
// Owm methods of Granite-7.0.Granite.AccelLabel
|
|
749
765
|
|
|
750
|
-
get_action_name(): string
|
|
751
|
-
set_action_name(value: string
|
|
766
|
+
get_action_name(): string
|
|
767
|
+
set_action_name(value: string): void
|
|
752
768
|
get_accel_string(): string | null
|
|
753
769
|
set_accel_string(value: string | null): void
|
|
754
|
-
get_label(): string
|
|
755
|
-
set_label(value: string
|
|
770
|
+
get_label(): string
|
|
771
|
+
set_label(value: string): void
|
|
756
772
|
|
|
757
773
|
// Class property signals of Granite-7.0.Granite.AccelLabel
|
|
758
774
|
|
|
@@ -895,8 +911,8 @@ export class AccelLabel extends Gtk.Box {
|
|
|
895
911
|
// Constructors of Granite-7.0.Granite.AccelLabel
|
|
896
912
|
|
|
897
913
|
constructor(config?: AccelLabel.ConstructorProperties)
|
|
898
|
-
constructor(label: string
|
|
899
|
-
static new(label: string
|
|
914
|
+
constructor(label: string, accel_string: string | null)
|
|
915
|
+
static new(label: string, accel_string: string | null): AccelLabel
|
|
900
916
|
|
|
901
917
|
// Overloads of new
|
|
902
918
|
|
|
@@ -908,7 +924,7 @@ export class AccelLabel extends Gtk.Box {
|
|
|
908
924
|
* @returns a new `GtkBox`.
|
|
909
925
|
*/
|
|
910
926
|
static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
|
|
911
|
-
static from_action_name(label: string
|
|
927
|
+
static from_action_name(label: string, action_name: string): AccelLabel
|
|
912
928
|
_init(config?: AccelLabel.ConstructorProperties): void
|
|
913
929
|
}
|
|
914
930
|
|
|
@@ -935,7 +951,7 @@ export interface DatePicker extends Gtk.Buildable {
|
|
|
935
951
|
|
|
936
952
|
// Owm methods of Granite-7.0.Granite.DatePicker
|
|
937
953
|
|
|
938
|
-
get_format(): string
|
|
954
|
+
get_format(): string
|
|
939
955
|
get_date(): GLib.DateTime
|
|
940
956
|
set_date(value: GLib.DateTime): void
|
|
941
957
|
|
|
@@ -1182,7 +1198,7 @@ export class DatePicker extends Gtk.Entry {
|
|
|
1182
1198
|
// Constructors of Granite-7.0.Granite.DatePicker
|
|
1183
1199
|
|
|
1184
1200
|
constructor(config?: DatePicker.ConstructorProperties)
|
|
1185
|
-
static with_format(format: string
|
|
1201
|
+
static with_format(format: string): DatePicker
|
|
1186
1202
|
constructor()
|
|
1187
1203
|
static new(): DatePicker
|
|
1188
1204
|
|
|
@@ -1438,6 +1454,7 @@ export module HeaderLabel {
|
|
|
1438
1454
|
|
|
1439
1455
|
label?: string | null
|
|
1440
1456
|
secondary_text?: string | null
|
|
1457
|
+
secondaryText?: string | null
|
|
1441
1458
|
}
|
|
1442
1459
|
|
|
1443
1460
|
}
|
|
@@ -1448,11 +1465,12 @@ export interface HeaderLabel {
|
|
|
1448
1465
|
|
|
1449
1466
|
label: string | null
|
|
1450
1467
|
secondary_text: string | null
|
|
1468
|
+
secondaryText: string | null
|
|
1451
1469
|
|
|
1452
1470
|
// Owm methods of Granite-7.0.Granite.HeaderLabel
|
|
1453
1471
|
|
|
1454
|
-
get_label(): string
|
|
1455
|
-
set_label(value: string
|
|
1472
|
+
get_label(): string
|
|
1473
|
+
set_label(value: string): void
|
|
1456
1474
|
get_secondary_text(): string | null
|
|
1457
1475
|
set_secondary_text(value: string | null): void
|
|
1458
1476
|
|
|
@@ -1582,8 +1600,8 @@ export class HeaderLabel extends Gtk.Widget {
|
|
|
1582
1600
|
// Constructors of Granite-7.0.Granite.HeaderLabel
|
|
1583
1601
|
|
|
1584
1602
|
constructor(config?: HeaderLabel.ConstructorProperties)
|
|
1585
|
-
constructor(label: string
|
|
1586
|
-
static new(label: string
|
|
1603
|
+
constructor(label: string)
|
|
1604
|
+
static new(label: string): HeaderLabel
|
|
1587
1605
|
_init(config?: HeaderLabel.ConstructorProperties): void
|
|
1588
1606
|
}
|
|
1589
1607
|
|
|
@@ -1820,6 +1838,13 @@ export module MessageDialog {
|
|
|
1820
1838
|
secondary_label?: Gtk.Label | null
|
|
1821
1839
|
buttons?: Gtk.ButtonsType | null
|
|
1822
1840
|
custom_bin?: Gtk.Box | null
|
|
1841
|
+
primaryText?: string | null
|
|
1842
|
+
secondaryText?: string | null
|
|
1843
|
+
imageIcon?: Gio.Icon | null
|
|
1844
|
+
badgeIcon?: Gio.Icon | null
|
|
1845
|
+
primaryLabel?: Gtk.Label | null
|
|
1846
|
+
secondaryLabel?: Gtk.Label | null
|
|
1847
|
+
customBin?: Gtk.Box | null
|
|
1823
1848
|
}
|
|
1824
1849
|
|
|
1825
1850
|
}
|
|
@@ -1829,13 +1854,20 @@ export interface MessageDialog {
|
|
|
1829
1854
|
// Own properties of Granite-7.0.Granite.MessageDialog
|
|
1830
1855
|
|
|
1831
1856
|
primary_text: string | null
|
|
1857
|
+
primaryText: string | null
|
|
1832
1858
|
secondary_text: string | null
|
|
1859
|
+
secondaryText: string | null
|
|
1833
1860
|
image_icon: Gio.Icon
|
|
1861
|
+
imageIcon: Gio.Icon
|
|
1834
1862
|
badge_icon: Gio.Icon
|
|
1863
|
+
badgeIcon: Gio.Icon
|
|
1835
1864
|
readonly primary_label: Gtk.Label
|
|
1865
|
+
readonly primaryLabel: Gtk.Label
|
|
1836
1866
|
readonly secondary_label: Gtk.Label
|
|
1867
|
+
readonly secondaryLabel: Gtk.Label
|
|
1837
1868
|
readonly buttons: Gtk.ButtonsType
|
|
1838
1869
|
readonly custom_bin: Gtk.Box
|
|
1870
|
+
readonly customBin: Gtk.Box
|
|
1839
1871
|
|
|
1840
1872
|
// Conflicting properties
|
|
1841
1873
|
|
|
@@ -1843,10 +1875,10 @@ export interface MessageDialog {
|
|
|
1843
1875
|
|
|
1844
1876
|
// Owm methods of Granite-7.0.Granite.MessageDialog
|
|
1845
1877
|
|
|
1846
|
-
get_primary_text(): string
|
|
1847
|
-
set_primary_text(value: string
|
|
1848
|
-
get_secondary_text(): string
|
|
1849
|
-
set_secondary_text(value: string
|
|
1878
|
+
get_primary_text(): string
|
|
1879
|
+
set_primary_text(value: string): void
|
|
1880
|
+
get_secondary_text(): string
|
|
1881
|
+
set_secondary_text(value: string): void
|
|
1850
1882
|
get_image_icon(): Gio.Icon
|
|
1851
1883
|
set_image_icon(value: Gio.Icon): void
|
|
1852
1884
|
get_badge_icon(): Gio.Icon
|
|
@@ -1854,7 +1886,7 @@ export interface MessageDialog {
|
|
|
1854
1886
|
get_primary_label(): Gtk.Label
|
|
1855
1887
|
get_secondary_label(): Gtk.Label
|
|
1856
1888
|
get_custom_bin(): Gtk.Box
|
|
1857
|
-
show_error_details(error_message: string
|
|
1889
|
+
show_error_details(error_message: string): void
|
|
1858
1890
|
|
|
1859
1891
|
// Class property signals of Granite-7.0.Granite.MessageDialog
|
|
1860
1892
|
|
|
@@ -2078,8 +2110,8 @@ export class MessageDialog extends Dialog {
|
|
|
2078
2110
|
// Constructors of Granite-7.0.Granite.MessageDialog
|
|
2079
2111
|
|
|
2080
2112
|
constructor(config?: MessageDialog.ConstructorProperties)
|
|
2081
|
-
constructor(primary_text: string
|
|
2082
|
-
static new(primary_text: string
|
|
2113
|
+
constructor(primary_text: string, secondary_text: string, image_icon: Gio.Icon, buttons: Gtk.ButtonsType)
|
|
2114
|
+
static new(primary_text: string, secondary_text: string, image_icon: Gio.Icon, buttons: Gtk.ButtonsType): MessageDialog
|
|
2083
2115
|
|
|
2084
2116
|
// Overloads of new
|
|
2085
2117
|
|
|
@@ -2094,7 +2126,7 @@ export class MessageDialog extends Dialog {
|
|
|
2094
2126
|
* @returns the new dialog as a `GtkWidget`
|
|
2095
2127
|
*/
|
|
2096
2128
|
static new(): Gtk.Dialog
|
|
2097
|
-
static with_image_from_icon_name(primary_text: string
|
|
2129
|
+
static with_image_from_icon_name(primary_text: string, secondary_text: string, image_icon_name: string, buttons: Gtk.ButtonsType): MessageDialog
|
|
2098
2130
|
_init(config?: MessageDialog.ConstructorProperties): void
|
|
2099
2131
|
}
|
|
2100
2132
|
|
|
@@ -2113,6 +2145,12 @@ export module ModeSwitch {
|
|
|
2113
2145
|
secondary_icon_gicon?: Gio.Icon | null
|
|
2114
2146
|
secondary_icon_name?: string | null
|
|
2115
2147
|
secondary_icon_tooltip_text?: string | null
|
|
2148
|
+
primaryIconGicon?: Gio.Icon | null
|
|
2149
|
+
primaryIconName?: string | null
|
|
2150
|
+
primaryIconTooltipText?: string | null
|
|
2151
|
+
secondaryIconGicon?: Gio.Icon | null
|
|
2152
|
+
secondaryIconName?: string | null
|
|
2153
|
+
secondaryIconTooltipText?: string | null
|
|
2116
2154
|
}
|
|
2117
2155
|
|
|
2118
2156
|
}
|
|
@@ -2123,11 +2161,17 @@ export interface ModeSwitch {
|
|
|
2123
2161
|
|
|
2124
2162
|
active: boolean
|
|
2125
2163
|
primary_icon_gicon: Gio.Icon
|
|
2164
|
+
primaryIconGicon: Gio.Icon
|
|
2126
2165
|
primary_icon_name: string | null
|
|
2166
|
+
primaryIconName: string | null
|
|
2127
2167
|
primary_icon_tooltip_text: string | null
|
|
2168
|
+
primaryIconTooltipText: string | null
|
|
2128
2169
|
secondary_icon_gicon: Gio.Icon
|
|
2170
|
+
secondaryIconGicon: Gio.Icon
|
|
2129
2171
|
secondary_icon_name: string | null
|
|
2172
|
+
secondaryIconName: string | null
|
|
2130
2173
|
secondary_icon_tooltip_text: string | null
|
|
2174
|
+
secondaryIconTooltipText: string | null
|
|
2131
2175
|
|
|
2132
2176
|
// Conflicting properties
|
|
2133
2177
|
|
|
@@ -2139,16 +2183,16 @@ export interface ModeSwitch {
|
|
|
2139
2183
|
set_active(value: boolean): void
|
|
2140
2184
|
get_primary_icon_gicon(): Gio.Icon
|
|
2141
2185
|
set_primary_icon_gicon(value: Gio.Icon): void
|
|
2142
|
-
get_primary_icon_name(): string
|
|
2143
|
-
set_primary_icon_name(value: string
|
|
2144
|
-
get_primary_icon_tooltip_text(): string
|
|
2145
|
-
set_primary_icon_tooltip_text(value: string
|
|
2186
|
+
get_primary_icon_name(): string
|
|
2187
|
+
set_primary_icon_name(value: string): void
|
|
2188
|
+
get_primary_icon_tooltip_text(): string
|
|
2189
|
+
set_primary_icon_tooltip_text(value: string): void
|
|
2146
2190
|
get_secondary_icon_gicon(): Gio.Icon
|
|
2147
2191
|
set_secondary_icon_gicon(value: Gio.Icon): void
|
|
2148
|
-
get_secondary_icon_name(): string
|
|
2149
|
-
set_secondary_icon_name(value: string
|
|
2150
|
-
get_secondary_icon_tooltip_text(): string
|
|
2151
|
-
set_secondary_icon_tooltip_text(value: string
|
|
2192
|
+
get_secondary_icon_name(): string
|
|
2193
|
+
set_secondary_icon_name(value: string): void
|
|
2194
|
+
get_secondary_icon_tooltip_text(): string
|
|
2195
|
+
set_secondary_icon_tooltip_text(value: string): void
|
|
2152
2196
|
|
|
2153
2197
|
// Class property signals of Granite-7.0.Granite.ModeSwitch
|
|
2154
2198
|
|
|
@@ -2316,7 +2360,7 @@ export class ModeSwitch extends Gtk.Box {
|
|
|
2316
2360
|
* @returns a new `GtkBox`.
|
|
2317
2361
|
*/
|
|
2318
2362
|
static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
|
|
2319
|
-
static from_icon_name(primary_icon_name: string
|
|
2363
|
+
static from_icon_name(primary_icon_name: string, secondary_icon_name: string): ModeSwitch
|
|
2320
2364
|
_init(config?: ModeSwitch.ConstructorProperties): void
|
|
2321
2365
|
}
|
|
2322
2366
|
|
|
@@ -2346,8 +2390,8 @@ export interface OverlayBar {
|
|
|
2346
2390
|
// Owm methods of Granite-7.0.Granite.OverlayBar
|
|
2347
2391
|
|
|
2348
2392
|
get_overlay(): Gtk.Overlay | null
|
|
2349
|
-
get_label(): string
|
|
2350
|
-
set_label(value: string
|
|
2393
|
+
get_label(): string
|
|
2394
|
+
set_label(value: string): void
|
|
2351
2395
|
get_active(): boolean
|
|
2352
2396
|
set_active(value: boolean): void
|
|
2353
2397
|
|
|
@@ -2510,13 +2554,13 @@ export interface Placeholder {
|
|
|
2510
2554
|
|
|
2511
2555
|
// Owm methods of Granite-7.0.Granite.Placeholder
|
|
2512
2556
|
|
|
2513
|
-
get_title(): string
|
|
2514
|
-
set_title(value: string
|
|
2515
|
-
get_description(): string
|
|
2516
|
-
set_description(value: string
|
|
2557
|
+
get_title(): string
|
|
2558
|
+
set_title(value: string): void
|
|
2559
|
+
get_description(): string
|
|
2560
|
+
set_description(value: string): void
|
|
2517
2561
|
get_icon(): Gio.Icon
|
|
2518
2562
|
set_icon(value: Gio.Icon): void
|
|
2519
|
-
append_button(icon: Gio.Icon, label: string
|
|
2563
|
+
append_button(icon: Gio.Icon, label: string, description: string): Gtk.Button
|
|
2520
2564
|
|
|
2521
2565
|
// Class property signals of Granite-7.0.Granite.Placeholder
|
|
2522
2566
|
|
|
@@ -2647,8 +2691,8 @@ export class Placeholder extends Gtk.Widget {
|
|
|
2647
2691
|
// Constructors of Granite-7.0.Granite.Placeholder
|
|
2648
2692
|
|
|
2649
2693
|
constructor(config?: Placeholder.ConstructorProperties)
|
|
2650
|
-
constructor(title: string
|
|
2651
|
-
static new(title: string
|
|
2694
|
+
constructor(title: string)
|
|
2695
|
+
static new(title: string): Placeholder
|
|
2652
2696
|
_init(config?: Placeholder.ConstructorProperties): void
|
|
2653
2697
|
}
|
|
2654
2698
|
|
|
@@ -2662,6 +2706,7 @@ export module SettingsSidebar {
|
|
|
2662
2706
|
|
|
2663
2707
|
stack?: Gtk.Stack | null
|
|
2664
2708
|
visible_child_name?: string | null
|
|
2709
|
+
visibleChildName?: string | null
|
|
2665
2710
|
}
|
|
2666
2711
|
|
|
2667
2712
|
}
|
|
@@ -2672,6 +2717,7 @@ export interface SettingsSidebar {
|
|
|
2672
2717
|
|
|
2673
2718
|
readonly stack: Gtk.Stack
|
|
2674
2719
|
visible_child_name: string | null
|
|
2720
|
+
visibleChildName: string | null
|
|
2675
2721
|
|
|
2676
2722
|
// Owm methods of Granite-7.0.Granite.SettingsSidebar
|
|
2677
2723
|
|
|
@@ -2819,6 +2865,7 @@ export module Settings {
|
|
|
2819
2865
|
// Own constructor properties of Granite-7.0.Granite.Settings
|
|
2820
2866
|
|
|
2821
2867
|
prefers_color_scheme?: SettingsColorScheme | null
|
|
2868
|
+
prefersColorScheme?: SettingsColorScheme | null
|
|
2822
2869
|
}
|
|
2823
2870
|
|
|
2824
2871
|
}
|
|
@@ -2828,6 +2875,7 @@ export interface Settings {
|
|
|
2828
2875
|
// Own properties of Granite-7.0.Granite.Settings
|
|
2829
2876
|
|
|
2830
2877
|
prefers_color_scheme: SettingsColorScheme
|
|
2878
|
+
prefersColorScheme: SettingsColorScheme
|
|
2831
2879
|
|
|
2832
2880
|
// Owm methods of Granite-7.0.Granite.Settings
|
|
2833
2881
|
|
|
@@ -2881,8 +2929,8 @@ export interface SwitchModelButton {
|
|
|
2881
2929
|
|
|
2882
2930
|
// Owm methods of Granite-7.0.Granite.SwitchModelButton
|
|
2883
2931
|
|
|
2884
|
-
get_text(): string
|
|
2885
|
-
set_text(value: string
|
|
2932
|
+
get_text(): string
|
|
2933
|
+
set_text(value: string): void
|
|
2886
2934
|
get_description(): string | null
|
|
2887
2935
|
set_description(value: string | null): void
|
|
2888
2936
|
|
|
@@ -3036,8 +3084,8 @@ export class SwitchModelButton extends Gtk.ToggleButton {
|
|
|
3036
3084
|
// Constructors of Granite-7.0.Granite.SwitchModelButton
|
|
3037
3085
|
|
|
3038
3086
|
constructor(config?: SwitchModelButton.ConstructorProperties)
|
|
3039
|
-
constructor(text: string
|
|
3040
|
-
static new(text: string
|
|
3087
|
+
constructor(text: string)
|
|
3088
|
+
static new(text: string): SwitchModelButton
|
|
3041
3089
|
|
|
3042
3090
|
// Overloads of new
|
|
3043
3091
|
|
|
@@ -3073,6 +3121,8 @@ export module TimePicker {
|
|
|
3073
3121
|
format_12?: string | null
|
|
3074
3122
|
format_24?: string | null
|
|
3075
3123
|
time?: GLib.DateTime | null
|
|
3124
|
+
format12?: string | null
|
|
3125
|
+
format24?: string | null
|
|
3076
3126
|
}
|
|
3077
3127
|
|
|
3078
3128
|
}
|
|
@@ -3082,13 +3132,15 @@ export interface TimePicker {
|
|
|
3082
3132
|
// Own properties of Granite-7.0.Granite.TimePicker
|
|
3083
3133
|
|
|
3084
3134
|
readonly format_12: string | null
|
|
3135
|
+
readonly format12: string | null
|
|
3085
3136
|
readonly format_24: string | null
|
|
3137
|
+
readonly format24: string | null
|
|
3086
3138
|
time: GLib.DateTime
|
|
3087
3139
|
|
|
3088
3140
|
// Owm methods of Granite-7.0.Granite.TimePicker
|
|
3089
3141
|
|
|
3090
|
-
get_format_12(): string
|
|
3091
|
-
get_format_24(): string
|
|
3142
|
+
get_format_12(): string
|
|
3143
|
+
get_format_24(): string
|
|
3092
3144
|
get_time(): GLib.DateTime
|
|
3093
3145
|
set_time(value: GLib.DateTime): void
|
|
3094
3146
|
|
|
@@ -3344,7 +3396,7 @@ export class TimePicker extends Gtk.Entry {
|
|
|
3344
3396
|
// Constructors of Granite-7.0.Granite.TimePicker
|
|
3345
3397
|
|
|
3346
3398
|
constructor(config?: TimePicker.ConstructorProperties)
|
|
3347
|
-
static with_format(format_12: string
|
|
3399
|
+
static with_format(format_12: string, format_24: string): TimePicker
|
|
3348
3400
|
constructor()
|
|
3349
3401
|
static new(): TimePicker
|
|
3350
3402
|
|
|
@@ -3397,8 +3449,8 @@ export interface Toast {
|
|
|
3397
3449
|
|
|
3398
3450
|
// Owm methods of Granite-7.0.Granite.Toast
|
|
3399
3451
|
|
|
3400
|
-
get_title(): string
|
|
3401
|
-
set_title(value: string
|
|
3452
|
+
get_title(): string
|
|
3453
|
+
set_title(value: string): void
|
|
3402
3454
|
set_default_action(label: string | null): void
|
|
3403
3455
|
send_notification(): void
|
|
3404
3456
|
|
|
@@ -3534,8 +3586,8 @@ export class Toast extends Gtk.Widget {
|
|
|
3534
3586
|
// Constructors of Granite-7.0.Granite.Toast
|
|
3535
3587
|
|
|
3536
3588
|
constructor(config?: Toast.ConstructorProperties)
|
|
3537
|
-
constructor(title: string
|
|
3538
|
-
static new(title: string
|
|
3589
|
+
constructor(title: string)
|
|
3590
|
+
static new(title: string): Toast
|
|
3539
3591
|
_init(config?: Toast.ConstructorProperties): void
|
|
3540
3592
|
}
|
|
3541
3593
|
|
|
@@ -3550,6 +3602,8 @@ export module ValidatedEntry {
|
|
|
3550
3602
|
is_valid?: boolean | null
|
|
3551
3603
|
min_length?: number | null
|
|
3552
3604
|
regex?: GLib.Regex | null
|
|
3605
|
+
isValid?: boolean | null
|
|
3606
|
+
minLength?: number | null
|
|
3553
3607
|
}
|
|
3554
3608
|
|
|
3555
3609
|
}
|
|
@@ -3559,7 +3613,9 @@ export interface ValidatedEntry {
|
|
|
3559
3613
|
// Own properties of Granite-7.0.Granite.ValidatedEntry
|
|
3560
3614
|
|
|
3561
3615
|
is_valid: boolean
|
|
3616
|
+
isValid: boolean
|
|
3562
3617
|
min_length: number
|
|
3618
|
+
minLength: number
|
|
3563
3619
|
regex: GLib.Regex
|
|
3564
3620
|
|
|
3565
3621
|
// Owm methods of Granite-7.0.Granite.ValidatedEntry
|
|
@@ -3895,7 +3951,7 @@ export interface ServicesSettingsSerializableIface {
|
|
|
3895
3951
|
// Own fields of Granite-7.0.Granite.ServicesSettingsSerializableIface
|
|
3896
3952
|
|
|
3897
3953
|
settings_serialize: (self: any) => string | null
|
|
3898
|
-
settings_deserialize: (self: any, s: string
|
|
3954
|
+
settings_deserialize: (self: any, s: string) => void
|
|
3899
3955
|
}
|
|
3900
3956
|
|
|
3901
3957
|
export abstract class ServicesSettingsSerializableIface {
|
package/granite-7.0.d.ts
CHANGED
|
@@ -45,55 +45,55 @@ enum SettingsColorScheme {
|
|
|
45
45
|
DARK,
|
|
46
46
|
LIGHT,
|
|
47
47
|
}
|
|
48
|
-
const SettingsUriLOCATION: string
|
|
49
|
-
const SettingsUriONLINE_ACCOUNTS: string
|
|
50
|
-
const SettingsUriNETWORK: string
|
|
51
|
-
const SettingsUriPERMISSIONS: string
|
|
52
|
-
const SettingsUriNOTIFICATIONS: string
|
|
53
|
-
const SettingsUriSOUND_INPUT: string
|
|
54
|
-
const SettingsUriSHORTCUTS: string
|
|
55
|
-
const STYLE_CLASS_ACCENT: string
|
|
56
|
-
const STYLE_CLASS_BACK_BUTTON: string
|
|
57
|
-
const STYLE_CLASS_BACKGROUND: string
|
|
58
|
-
const STYLE_CLASS_BADGE: string
|
|
59
|
-
const STYLE_CLASS_CARD: string
|
|
60
|
-
const STYLE_CLASS_CHECKERBOARD: string
|
|
61
|
-
const STYLE_CLASS_CIRCULAR: string
|
|
62
|
-
const STYLE_CLASS_COLOR_BUTTON: string
|
|
63
|
-
const STYLE_CLASS_DEFAULT_DECORATION: string
|
|
64
|
-
const STYLE_CLASS_DESTRUCTIVE_ACTION: string
|
|
65
|
-
const STYLE_CLASS_DIALOG_CONTENT_AREA: string
|
|
66
|
-
const STYLE_CLASS_FRAME: string
|
|
67
|
-
const STYLE_CLASS_H1_LABEL: string
|
|
68
|
-
const STYLE_CLASS_H2_LABEL: string
|
|
69
|
-
const STYLE_CLASS_H3_LABEL: string
|
|
70
|
-
const STYLE_CLASS_H4_LABEL: string
|
|
71
|
-
const STYLE_CLASS_KEYCAP: string
|
|
72
|
-
const STYLE_CLASS_LARGE_ICONS: string
|
|
73
|
-
const STYLE_CLASS_MODE_SWITCH: string
|
|
74
|
-
const STYLE_CLASS_OSD: string
|
|
75
|
-
const STYLE_CLASS_ROUNDED: string
|
|
76
|
-
const STYLE_CLASS_SIDEBAR: string
|
|
77
|
-
const STYLE_CLASS_SMALL_LABEL: string
|
|
78
|
-
const STYLE_CLASS_TERMINAL: string
|
|
79
|
-
const STYLE_CLASS_TITLE_LABEL: string
|
|
80
|
-
const STYLE_CLASS_WARMTH: string
|
|
81
|
-
const STYLE_CLASS_TEMPERATURE: string
|
|
82
|
-
const STYLE_CLASS_LINKED: string
|
|
83
|
-
const STYLE_CLASS_MENU: string
|
|
84
|
-
const STYLE_CLASS_MENUITEM: string
|
|
85
|
-
const STYLE_CLASS_DIM_LABEL: string
|
|
86
|
-
const STYLE_CLASS_ERROR: string
|
|
87
|
-
const STYLE_CLASS_FLAT: string
|
|
88
|
-
const STYLE_CLASS_MESSAGE_DIALOG: string
|
|
89
|
-
const STYLE_CLASS_RICH_LIST: string
|
|
90
|
-
const STYLE_CLASS_SUGGESTED_ACTION: string
|
|
91
|
-
const STYLE_CLASS_VIEW: string
|
|
92
|
-
const STYLE_CLASS_WARNING: string
|
|
48
|
+
const SettingsUriLOCATION: string
|
|
49
|
+
const SettingsUriONLINE_ACCOUNTS: string
|
|
50
|
+
const SettingsUriNETWORK: string
|
|
51
|
+
const SettingsUriPERMISSIONS: string
|
|
52
|
+
const SettingsUriNOTIFICATIONS: string
|
|
53
|
+
const SettingsUriSOUND_INPUT: string
|
|
54
|
+
const SettingsUriSHORTCUTS: string
|
|
55
|
+
const STYLE_CLASS_ACCENT: string
|
|
56
|
+
const STYLE_CLASS_BACK_BUTTON: string
|
|
57
|
+
const STYLE_CLASS_BACKGROUND: string
|
|
58
|
+
const STYLE_CLASS_BADGE: string
|
|
59
|
+
const STYLE_CLASS_CARD: string
|
|
60
|
+
const STYLE_CLASS_CHECKERBOARD: string
|
|
61
|
+
const STYLE_CLASS_CIRCULAR: string
|
|
62
|
+
const STYLE_CLASS_COLOR_BUTTON: string
|
|
63
|
+
const STYLE_CLASS_DEFAULT_DECORATION: string
|
|
64
|
+
const STYLE_CLASS_DESTRUCTIVE_ACTION: string
|
|
65
|
+
const STYLE_CLASS_DIALOG_CONTENT_AREA: string
|
|
66
|
+
const STYLE_CLASS_FRAME: string
|
|
67
|
+
const STYLE_CLASS_H1_LABEL: string
|
|
68
|
+
const STYLE_CLASS_H2_LABEL: string
|
|
69
|
+
const STYLE_CLASS_H3_LABEL: string
|
|
70
|
+
const STYLE_CLASS_H4_LABEL: string
|
|
71
|
+
const STYLE_CLASS_KEYCAP: string
|
|
72
|
+
const STYLE_CLASS_LARGE_ICONS: string
|
|
73
|
+
const STYLE_CLASS_MODE_SWITCH: string
|
|
74
|
+
const STYLE_CLASS_OSD: string
|
|
75
|
+
const STYLE_CLASS_ROUNDED: string
|
|
76
|
+
const STYLE_CLASS_SIDEBAR: string
|
|
77
|
+
const STYLE_CLASS_SMALL_LABEL: string
|
|
78
|
+
const STYLE_CLASS_TERMINAL: string
|
|
79
|
+
const STYLE_CLASS_TITLE_LABEL: string
|
|
80
|
+
const STYLE_CLASS_WARMTH: string
|
|
81
|
+
const STYLE_CLASS_TEMPERATURE: string
|
|
82
|
+
const STYLE_CLASS_LINKED: string
|
|
83
|
+
const STYLE_CLASS_MENU: string
|
|
84
|
+
const STYLE_CLASS_MENUITEM: string
|
|
85
|
+
const STYLE_CLASS_DIM_LABEL: string
|
|
86
|
+
const STYLE_CLASS_ERROR: string
|
|
87
|
+
const STYLE_CLASS_FLAT: string
|
|
88
|
+
const STYLE_CLASS_MESSAGE_DIALOG: string
|
|
89
|
+
const STYLE_CLASS_RICH_LIST: string
|
|
90
|
+
const STYLE_CLASS_SUGGESTED_ACTION: string
|
|
91
|
+
const STYLE_CLASS_VIEW: string
|
|
92
|
+
const STYLE_CLASS_WARNING: string
|
|
93
93
|
const TRANSITION_DURATION_CLOSE: number
|
|
94
94
|
const TRANSITION_DURATION_IN_PLACE: number
|
|
95
95
|
const TRANSITION_DURATION_OPEN: number
|
|
96
|
-
const TOOLTIP_SECONDARY_TEXT_MARKUP: string
|
|
96
|
+
const TOOLTIP_SECONDARY_TEXT_MARKUP: string
|
|
97
97
|
function date_time_get_default_time_format(is_12h: boolean, with_second: boolean): string | null
|
|
98
98
|
function date_time_get_relative_datetime(date_time: GLib.DateTime): string | null
|
|
99
99
|
function date_time_is_same_day(day1: GLib.DateTime, day2: GLib.DateTime): boolean
|
|
@@ -174,12 +174,12 @@ interface ServicesSettingsSerializable extends GObject.Object {
|
|
|
174
174
|
// Owm methods of Granite-7.0.Granite.ServicesSettingsSerializable
|
|
175
175
|
|
|
176
176
|
settings_serialize(): string | null
|
|
177
|
-
settings_deserialize(s: string
|
|
177
|
+
settings_deserialize(s: string): void
|
|
178
178
|
|
|
179
179
|
// Own virtual methods of Granite-7.0.Granite.ServicesSettingsSerializable
|
|
180
180
|
|
|
181
181
|
vfunc_settings_serialize(): string | null
|
|
182
|
-
vfunc_settings_deserialize(s: string
|
|
182
|
+
vfunc_settings_deserialize(s: string): void
|
|
183
183
|
|
|
184
184
|
// Class property signals of Granite-7.0.Granite.ServicesSettingsSerializable
|
|
185
185
|
|
|
@@ -257,7 +257,7 @@ class ServicesContractorProxy extends GObject.Object {
|
|
|
257
257
|
_init(config?: ServicesContractorProxy.ConstructorProperties): void
|
|
258
258
|
static get_instance(): any
|
|
259
259
|
static get_all_contracts(): Gee.List
|
|
260
|
-
static get_contracts_by_mime(mime_type: string
|
|
260
|
+
static get_contracts_by_mime(mime_type: string): Gee.List
|
|
261
261
|
static get_contracts_by_mimelist(mime_types: string[]): Gee.List
|
|
262
262
|
static get_contracts_for_file(file: Gio.File): Gee.List
|
|
263
263
|
static get_contracts_for_files(files: Gio.File[]): Gee.List
|
|
@@ -313,6 +313,9 @@ module SettingsPage {
|
|
|
313
313
|
icon_name?: string | null
|
|
314
314
|
title?: string | null
|
|
315
315
|
child?: Gtk.Widget | null
|
|
316
|
+
statusType?: SettingsPageStatusType | null
|
|
317
|
+
displayWidget?: Gtk.Widget | null
|
|
318
|
+
iconName?: string | null
|
|
316
319
|
}
|
|
317
320
|
|
|
318
321
|
}
|
|
@@ -322,10 +325,13 @@ interface SettingsPage {
|
|
|
322
325
|
// Own properties of Granite-7.0.Granite.SettingsPage
|
|
323
326
|
|
|
324
327
|
status_type: SettingsPageStatusType
|
|
328
|
+
statusType: SettingsPageStatusType
|
|
325
329
|
readonly display_widget: Gtk.Widget
|
|
330
|
+
readonly displayWidget: Gtk.Widget
|
|
326
331
|
readonly header: string | null
|
|
327
332
|
status: string | null
|
|
328
333
|
icon_name: string | null
|
|
334
|
+
iconName: string | null
|
|
329
335
|
title: string | null
|
|
330
336
|
child: Gtk.Widget
|
|
331
337
|
|
|
@@ -344,12 +350,12 @@ interface SettingsPage {
|
|
|
344
350
|
set_status_type(value: SettingsPageStatusType): void
|
|
345
351
|
get_display_widget(): Gtk.Widget | null
|
|
346
352
|
get_header(): string | null
|
|
347
|
-
get_status(): string
|
|
348
|
-
set_status(value: string
|
|
353
|
+
get_status(): string
|
|
354
|
+
set_status(value: string): void
|
|
349
355
|
get_icon_name(): string | null
|
|
350
356
|
set_icon_name(value: string | null): void
|
|
351
|
-
get_title(): string
|
|
352
|
-
set_title(value: string
|
|
357
|
+
get_title(): string
|
|
358
|
+
set_title(value: string): void
|
|
353
359
|
get_child(): Gtk.Widget
|
|
354
360
|
set_child(value: Gtk.Widget): void
|
|
355
361
|
|
|
@@ -522,6 +528,9 @@ module SimpleSettingsPage {
|
|
|
522
528
|
status_switch?: Gtk.Switch | null
|
|
523
529
|
activatable?: boolean | null
|
|
524
530
|
description?: string | null
|
|
531
|
+
actionArea?: Gtk.Box | null
|
|
532
|
+
contentArea?: Gtk.Grid | null
|
|
533
|
+
statusSwitch?: Gtk.Switch | null
|
|
525
534
|
}
|
|
526
535
|
|
|
527
536
|
}
|
|
@@ -531,8 +540,11 @@ interface SimpleSettingsPage {
|
|
|
531
540
|
// Own properties of Granite-7.0.Granite.SimpleSettingsPage
|
|
532
541
|
|
|
533
542
|
readonly action_area: Gtk.Box
|
|
543
|
+
readonly actionArea: Gtk.Box
|
|
534
544
|
readonly content_area: Gtk.Grid
|
|
545
|
+
readonly contentArea: Gtk.Grid
|
|
535
546
|
readonly status_switch: Gtk.Switch
|
|
547
|
+
readonly statusSwitch: Gtk.Switch
|
|
536
548
|
readonly activatable: boolean
|
|
537
549
|
description: string | null
|
|
538
550
|
|
|
@@ -546,8 +558,8 @@ interface SimpleSettingsPage {
|
|
|
546
558
|
get_content_area(): Gtk.Grid
|
|
547
559
|
get_status_switch(): Gtk.Switch | null
|
|
548
560
|
get_activatable(): boolean
|
|
549
|
-
get_description(): string
|
|
550
|
-
set_description(value: string
|
|
561
|
+
get_description(): string
|
|
562
|
+
set_description(value: string): void
|
|
551
563
|
|
|
552
564
|
// Class property signals of Granite-7.0.Granite.SimpleSettingsPage
|
|
553
565
|
|
|
@@ -731,6 +743,8 @@ module AccelLabel {
|
|
|
731
743
|
action_name?: string | null
|
|
732
744
|
accel_string?: string | null
|
|
733
745
|
label?: string | null
|
|
746
|
+
actionName?: string | null
|
|
747
|
+
accelString?: string | null
|
|
734
748
|
}
|
|
735
749
|
|
|
736
750
|
}
|
|
@@ -740,7 +754,9 @@ interface AccelLabel {
|
|
|
740
754
|
// Own properties of Granite-7.0.Granite.AccelLabel
|
|
741
755
|
|
|
742
756
|
action_name: string | null
|
|
757
|
+
actionName: string | null
|
|
743
758
|
accel_string: string | null
|
|
759
|
+
accelString: string | null
|
|
744
760
|
label: string | null
|
|
745
761
|
|
|
746
762
|
// Conflicting properties
|
|
@@ -749,12 +765,12 @@ interface AccelLabel {
|
|
|
749
765
|
|
|
750
766
|
// Owm methods of Granite-7.0.Granite.AccelLabel
|
|
751
767
|
|
|
752
|
-
get_action_name(): string
|
|
753
|
-
set_action_name(value: string
|
|
768
|
+
get_action_name(): string
|
|
769
|
+
set_action_name(value: string): void
|
|
754
770
|
get_accel_string(): string | null
|
|
755
771
|
set_accel_string(value: string | null): void
|
|
756
|
-
get_label(): string
|
|
757
|
-
set_label(value: string
|
|
772
|
+
get_label(): string
|
|
773
|
+
set_label(value: string): void
|
|
758
774
|
|
|
759
775
|
// Class property signals of Granite-7.0.Granite.AccelLabel
|
|
760
776
|
|
|
@@ -897,8 +913,8 @@ class AccelLabel extends Gtk.Box {
|
|
|
897
913
|
// Constructors of Granite-7.0.Granite.AccelLabel
|
|
898
914
|
|
|
899
915
|
constructor(config?: AccelLabel.ConstructorProperties)
|
|
900
|
-
constructor(label: string
|
|
901
|
-
static new(label: string
|
|
916
|
+
constructor(label: string, accel_string: string | null)
|
|
917
|
+
static new(label: string, accel_string: string | null): AccelLabel
|
|
902
918
|
|
|
903
919
|
// Overloads of new
|
|
904
920
|
|
|
@@ -910,7 +926,7 @@ class AccelLabel extends Gtk.Box {
|
|
|
910
926
|
* @returns a new `GtkBox`.
|
|
911
927
|
*/
|
|
912
928
|
static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
|
|
913
|
-
static from_action_name(label: string
|
|
929
|
+
static from_action_name(label: string, action_name: string): AccelLabel
|
|
914
930
|
_init(config?: AccelLabel.ConstructorProperties): void
|
|
915
931
|
}
|
|
916
932
|
|
|
@@ -937,7 +953,7 @@ interface DatePicker extends Gtk.Buildable {
|
|
|
937
953
|
|
|
938
954
|
// Owm methods of Granite-7.0.Granite.DatePicker
|
|
939
955
|
|
|
940
|
-
get_format(): string
|
|
956
|
+
get_format(): string
|
|
941
957
|
get_date(): GLib.DateTime
|
|
942
958
|
set_date(value: GLib.DateTime): void
|
|
943
959
|
|
|
@@ -1184,7 +1200,7 @@ class DatePicker extends Gtk.Entry {
|
|
|
1184
1200
|
// Constructors of Granite-7.0.Granite.DatePicker
|
|
1185
1201
|
|
|
1186
1202
|
constructor(config?: DatePicker.ConstructorProperties)
|
|
1187
|
-
static with_format(format: string
|
|
1203
|
+
static with_format(format: string): DatePicker
|
|
1188
1204
|
constructor()
|
|
1189
1205
|
static new(): DatePicker
|
|
1190
1206
|
|
|
@@ -1440,6 +1456,7 @@ module HeaderLabel {
|
|
|
1440
1456
|
|
|
1441
1457
|
label?: string | null
|
|
1442
1458
|
secondary_text?: string | null
|
|
1459
|
+
secondaryText?: string | null
|
|
1443
1460
|
}
|
|
1444
1461
|
|
|
1445
1462
|
}
|
|
@@ -1450,11 +1467,12 @@ interface HeaderLabel {
|
|
|
1450
1467
|
|
|
1451
1468
|
label: string | null
|
|
1452
1469
|
secondary_text: string | null
|
|
1470
|
+
secondaryText: string | null
|
|
1453
1471
|
|
|
1454
1472
|
// Owm methods of Granite-7.0.Granite.HeaderLabel
|
|
1455
1473
|
|
|
1456
|
-
get_label(): string
|
|
1457
|
-
set_label(value: string
|
|
1474
|
+
get_label(): string
|
|
1475
|
+
set_label(value: string): void
|
|
1458
1476
|
get_secondary_text(): string | null
|
|
1459
1477
|
set_secondary_text(value: string | null): void
|
|
1460
1478
|
|
|
@@ -1584,8 +1602,8 @@ class HeaderLabel extends Gtk.Widget {
|
|
|
1584
1602
|
// Constructors of Granite-7.0.Granite.HeaderLabel
|
|
1585
1603
|
|
|
1586
1604
|
constructor(config?: HeaderLabel.ConstructorProperties)
|
|
1587
|
-
constructor(label: string
|
|
1588
|
-
static new(label: string
|
|
1605
|
+
constructor(label: string)
|
|
1606
|
+
static new(label: string): HeaderLabel
|
|
1589
1607
|
_init(config?: HeaderLabel.ConstructorProperties): void
|
|
1590
1608
|
}
|
|
1591
1609
|
|
|
@@ -1822,6 +1840,13 @@ module MessageDialog {
|
|
|
1822
1840
|
secondary_label?: Gtk.Label | null
|
|
1823
1841
|
buttons?: Gtk.ButtonsType | null
|
|
1824
1842
|
custom_bin?: Gtk.Box | null
|
|
1843
|
+
primaryText?: string | null
|
|
1844
|
+
secondaryText?: string | null
|
|
1845
|
+
imageIcon?: Gio.Icon | null
|
|
1846
|
+
badgeIcon?: Gio.Icon | null
|
|
1847
|
+
primaryLabel?: Gtk.Label | null
|
|
1848
|
+
secondaryLabel?: Gtk.Label | null
|
|
1849
|
+
customBin?: Gtk.Box | null
|
|
1825
1850
|
}
|
|
1826
1851
|
|
|
1827
1852
|
}
|
|
@@ -1831,13 +1856,20 @@ interface MessageDialog {
|
|
|
1831
1856
|
// Own properties of Granite-7.0.Granite.MessageDialog
|
|
1832
1857
|
|
|
1833
1858
|
primary_text: string | null
|
|
1859
|
+
primaryText: string | null
|
|
1834
1860
|
secondary_text: string | null
|
|
1861
|
+
secondaryText: string | null
|
|
1835
1862
|
image_icon: Gio.Icon
|
|
1863
|
+
imageIcon: Gio.Icon
|
|
1836
1864
|
badge_icon: Gio.Icon
|
|
1865
|
+
badgeIcon: Gio.Icon
|
|
1837
1866
|
readonly primary_label: Gtk.Label
|
|
1867
|
+
readonly primaryLabel: Gtk.Label
|
|
1838
1868
|
readonly secondary_label: Gtk.Label
|
|
1869
|
+
readonly secondaryLabel: Gtk.Label
|
|
1839
1870
|
readonly buttons: Gtk.ButtonsType
|
|
1840
1871
|
readonly custom_bin: Gtk.Box
|
|
1872
|
+
readonly customBin: Gtk.Box
|
|
1841
1873
|
|
|
1842
1874
|
// Conflicting properties
|
|
1843
1875
|
|
|
@@ -1845,10 +1877,10 @@ interface MessageDialog {
|
|
|
1845
1877
|
|
|
1846
1878
|
// Owm methods of Granite-7.0.Granite.MessageDialog
|
|
1847
1879
|
|
|
1848
|
-
get_primary_text(): string
|
|
1849
|
-
set_primary_text(value: string
|
|
1850
|
-
get_secondary_text(): string
|
|
1851
|
-
set_secondary_text(value: string
|
|
1880
|
+
get_primary_text(): string
|
|
1881
|
+
set_primary_text(value: string): void
|
|
1882
|
+
get_secondary_text(): string
|
|
1883
|
+
set_secondary_text(value: string): void
|
|
1852
1884
|
get_image_icon(): Gio.Icon
|
|
1853
1885
|
set_image_icon(value: Gio.Icon): void
|
|
1854
1886
|
get_badge_icon(): Gio.Icon
|
|
@@ -1856,7 +1888,7 @@ interface MessageDialog {
|
|
|
1856
1888
|
get_primary_label(): Gtk.Label
|
|
1857
1889
|
get_secondary_label(): Gtk.Label
|
|
1858
1890
|
get_custom_bin(): Gtk.Box
|
|
1859
|
-
show_error_details(error_message: string
|
|
1891
|
+
show_error_details(error_message: string): void
|
|
1860
1892
|
|
|
1861
1893
|
// Class property signals of Granite-7.0.Granite.MessageDialog
|
|
1862
1894
|
|
|
@@ -2080,8 +2112,8 @@ class MessageDialog extends Dialog {
|
|
|
2080
2112
|
// Constructors of Granite-7.0.Granite.MessageDialog
|
|
2081
2113
|
|
|
2082
2114
|
constructor(config?: MessageDialog.ConstructorProperties)
|
|
2083
|
-
constructor(primary_text: string
|
|
2084
|
-
static new(primary_text: string
|
|
2115
|
+
constructor(primary_text: string, secondary_text: string, image_icon: Gio.Icon, buttons: Gtk.ButtonsType)
|
|
2116
|
+
static new(primary_text: string, secondary_text: string, image_icon: Gio.Icon, buttons: Gtk.ButtonsType): MessageDialog
|
|
2085
2117
|
|
|
2086
2118
|
// Overloads of new
|
|
2087
2119
|
|
|
@@ -2096,7 +2128,7 @@ class MessageDialog extends Dialog {
|
|
|
2096
2128
|
* @returns the new dialog as a `GtkWidget`
|
|
2097
2129
|
*/
|
|
2098
2130
|
static new(): Gtk.Dialog
|
|
2099
|
-
static with_image_from_icon_name(primary_text: string
|
|
2131
|
+
static with_image_from_icon_name(primary_text: string, secondary_text: string, image_icon_name: string, buttons: Gtk.ButtonsType): MessageDialog
|
|
2100
2132
|
_init(config?: MessageDialog.ConstructorProperties): void
|
|
2101
2133
|
}
|
|
2102
2134
|
|
|
@@ -2115,6 +2147,12 @@ module ModeSwitch {
|
|
|
2115
2147
|
secondary_icon_gicon?: Gio.Icon | null
|
|
2116
2148
|
secondary_icon_name?: string | null
|
|
2117
2149
|
secondary_icon_tooltip_text?: string | null
|
|
2150
|
+
primaryIconGicon?: Gio.Icon | null
|
|
2151
|
+
primaryIconName?: string | null
|
|
2152
|
+
primaryIconTooltipText?: string | null
|
|
2153
|
+
secondaryIconGicon?: Gio.Icon | null
|
|
2154
|
+
secondaryIconName?: string | null
|
|
2155
|
+
secondaryIconTooltipText?: string | null
|
|
2118
2156
|
}
|
|
2119
2157
|
|
|
2120
2158
|
}
|
|
@@ -2125,11 +2163,17 @@ interface ModeSwitch {
|
|
|
2125
2163
|
|
|
2126
2164
|
active: boolean
|
|
2127
2165
|
primary_icon_gicon: Gio.Icon
|
|
2166
|
+
primaryIconGicon: Gio.Icon
|
|
2128
2167
|
primary_icon_name: string | null
|
|
2168
|
+
primaryIconName: string | null
|
|
2129
2169
|
primary_icon_tooltip_text: string | null
|
|
2170
|
+
primaryIconTooltipText: string | null
|
|
2130
2171
|
secondary_icon_gicon: Gio.Icon
|
|
2172
|
+
secondaryIconGicon: Gio.Icon
|
|
2131
2173
|
secondary_icon_name: string | null
|
|
2174
|
+
secondaryIconName: string | null
|
|
2132
2175
|
secondary_icon_tooltip_text: string | null
|
|
2176
|
+
secondaryIconTooltipText: string | null
|
|
2133
2177
|
|
|
2134
2178
|
// Conflicting properties
|
|
2135
2179
|
|
|
@@ -2141,16 +2185,16 @@ interface ModeSwitch {
|
|
|
2141
2185
|
set_active(value: boolean): void
|
|
2142
2186
|
get_primary_icon_gicon(): Gio.Icon
|
|
2143
2187
|
set_primary_icon_gicon(value: Gio.Icon): void
|
|
2144
|
-
get_primary_icon_name(): string
|
|
2145
|
-
set_primary_icon_name(value: string
|
|
2146
|
-
get_primary_icon_tooltip_text(): string
|
|
2147
|
-
set_primary_icon_tooltip_text(value: string
|
|
2188
|
+
get_primary_icon_name(): string
|
|
2189
|
+
set_primary_icon_name(value: string): void
|
|
2190
|
+
get_primary_icon_tooltip_text(): string
|
|
2191
|
+
set_primary_icon_tooltip_text(value: string): void
|
|
2148
2192
|
get_secondary_icon_gicon(): Gio.Icon
|
|
2149
2193
|
set_secondary_icon_gicon(value: Gio.Icon): void
|
|
2150
|
-
get_secondary_icon_name(): string
|
|
2151
|
-
set_secondary_icon_name(value: string
|
|
2152
|
-
get_secondary_icon_tooltip_text(): string
|
|
2153
|
-
set_secondary_icon_tooltip_text(value: string
|
|
2194
|
+
get_secondary_icon_name(): string
|
|
2195
|
+
set_secondary_icon_name(value: string): void
|
|
2196
|
+
get_secondary_icon_tooltip_text(): string
|
|
2197
|
+
set_secondary_icon_tooltip_text(value: string): void
|
|
2154
2198
|
|
|
2155
2199
|
// Class property signals of Granite-7.0.Granite.ModeSwitch
|
|
2156
2200
|
|
|
@@ -2318,7 +2362,7 @@ class ModeSwitch extends Gtk.Box {
|
|
|
2318
2362
|
* @returns a new `GtkBox`.
|
|
2319
2363
|
*/
|
|
2320
2364
|
static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
|
|
2321
|
-
static from_icon_name(primary_icon_name: string
|
|
2365
|
+
static from_icon_name(primary_icon_name: string, secondary_icon_name: string): ModeSwitch
|
|
2322
2366
|
_init(config?: ModeSwitch.ConstructorProperties): void
|
|
2323
2367
|
}
|
|
2324
2368
|
|
|
@@ -2348,8 +2392,8 @@ interface OverlayBar {
|
|
|
2348
2392
|
// Owm methods of Granite-7.0.Granite.OverlayBar
|
|
2349
2393
|
|
|
2350
2394
|
get_overlay(): Gtk.Overlay | null
|
|
2351
|
-
get_label(): string
|
|
2352
|
-
set_label(value: string
|
|
2395
|
+
get_label(): string
|
|
2396
|
+
set_label(value: string): void
|
|
2353
2397
|
get_active(): boolean
|
|
2354
2398
|
set_active(value: boolean): void
|
|
2355
2399
|
|
|
@@ -2512,13 +2556,13 @@ interface Placeholder {
|
|
|
2512
2556
|
|
|
2513
2557
|
// Owm methods of Granite-7.0.Granite.Placeholder
|
|
2514
2558
|
|
|
2515
|
-
get_title(): string
|
|
2516
|
-
set_title(value: string
|
|
2517
|
-
get_description(): string
|
|
2518
|
-
set_description(value: string
|
|
2559
|
+
get_title(): string
|
|
2560
|
+
set_title(value: string): void
|
|
2561
|
+
get_description(): string
|
|
2562
|
+
set_description(value: string): void
|
|
2519
2563
|
get_icon(): Gio.Icon
|
|
2520
2564
|
set_icon(value: Gio.Icon): void
|
|
2521
|
-
append_button(icon: Gio.Icon, label: string
|
|
2565
|
+
append_button(icon: Gio.Icon, label: string, description: string): Gtk.Button
|
|
2522
2566
|
|
|
2523
2567
|
// Class property signals of Granite-7.0.Granite.Placeholder
|
|
2524
2568
|
|
|
@@ -2649,8 +2693,8 @@ class Placeholder extends Gtk.Widget {
|
|
|
2649
2693
|
// Constructors of Granite-7.0.Granite.Placeholder
|
|
2650
2694
|
|
|
2651
2695
|
constructor(config?: Placeholder.ConstructorProperties)
|
|
2652
|
-
constructor(title: string
|
|
2653
|
-
static new(title: string
|
|
2696
|
+
constructor(title: string)
|
|
2697
|
+
static new(title: string): Placeholder
|
|
2654
2698
|
_init(config?: Placeholder.ConstructorProperties): void
|
|
2655
2699
|
}
|
|
2656
2700
|
|
|
@@ -2664,6 +2708,7 @@ module SettingsSidebar {
|
|
|
2664
2708
|
|
|
2665
2709
|
stack?: Gtk.Stack | null
|
|
2666
2710
|
visible_child_name?: string | null
|
|
2711
|
+
visibleChildName?: string | null
|
|
2667
2712
|
}
|
|
2668
2713
|
|
|
2669
2714
|
}
|
|
@@ -2674,6 +2719,7 @@ interface SettingsSidebar {
|
|
|
2674
2719
|
|
|
2675
2720
|
readonly stack: Gtk.Stack
|
|
2676
2721
|
visible_child_name: string | null
|
|
2722
|
+
visibleChildName: string | null
|
|
2677
2723
|
|
|
2678
2724
|
// Owm methods of Granite-7.0.Granite.SettingsSidebar
|
|
2679
2725
|
|
|
@@ -2821,6 +2867,7 @@ module Settings {
|
|
|
2821
2867
|
// Own constructor properties of Granite-7.0.Granite.Settings
|
|
2822
2868
|
|
|
2823
2869
|
prefers_color_scheme?: SettingsColorScheme | null
|
|
2870
|
+
prefersColorScheme?: SettingsColorScheme | null
|
|
2824
2871
|
}
|
|
2825
2872
|
|
|
2826
2873
|
}
|
|
@@ -2830,6 +2877,7 @@ interface Settings {
|
|
|
2830
2877
|
// Own properties of Granite-7.0.Granite.Settings
|
|
2831
2878
|
|
|
2832
2879
|
prefers_color_scheme: SettingsColorScheme
|
|
2880
|
+
prefersColorScheme: SettingsColorScheme
|
|
2833
2881
|
|
|
2834
2882
|
// Owm methods of Granite-7.0.Granite.Settings
|
|
2835
2883
|
|
|
@@ -2883,8 +2931,8 @@ interface SwitchModelButton {
|
|
|
2883
2931
|
|
|
2884
2932
|
// Owm methods of Granite-7.0.Granite.SwitchModelButton
|
|
2885
2933
|
|
|
2886
|
-
get_text(): string
|
|
2887
|
-
set_text(value: string
|
|
2934
|
+
get_text(): string
|
|
2935
|
+
set_text(value: string): void
|
|
2888
2936
|
get_description(): string | null
|
|
2889
2937
|
set_description(value: string | null): void
|
|
2890
2938
|
|
|
@@ -3038,8 +3086,8 @@ class SwitchModelButton extends Gtk.ToggleButton {
|
|
|
3038
3086
|
// Constructors of Granite-7.0.Granite.SwitchModelButton
|
|
3039
3087
|
|
|
3040
3088
|
constructor(config?: SwitchModelButton.ConstructorProperties)
|
|
3041
|
-
constructor(text: string
|
|
3042
|
-
static new(text: string
|
|
3089
|
+
constructor(text: string)
|
|
3090
|
+
static new(text: string): SwitchModelButton
|
|
3043
3091
|
|
|
3044
3092
|
// Overloads of new
|
|
3045
3093
|
|
|
@@ -3075,6 +3123,8 @@ module TimePicker {
|
|
|
3075
3123
|
format_12?: string | null
|
|
3076
3124
|
format_24?: string | null
|
|
3077
3125
|
time?: GLib.DateTime | null
|
|
3126
|
+
format12?: string | null
|
|
3127
|
+
format24?: string | null
|
|
3078
3128
|
}
|
|
3079
3129
|
|
|
3080
3130
|
}
|
|
@@ -3084,13 +3134,15 @@ interface TimePicker {
|
|
|
3084
3134
|
// Own properties of Granite-7.0.Granite.TimePicker
|
|
3085
3135
|
|
|
3086
3136
|
readonly format_12: string | null
|
|
3137
|
+
readonly format12: string | null
|
|
3087
3138
|
readonly format_24: string | null
|
|
3139
|
+
readonly format24: string | null
|
|
3088
3140
|
time: GLib.DateTime
|
|
3089
3141
|
|
|
3090
3142
|
// Owm methods of Granite-7.0.Granite.TimePicker
|
|
3091
3143
|
|
|
3092
|
-
get_format_12(): string
|
|
3093
|
-
get_format_24(): string
|
|
3144
|
+
get_format_12(): string
|
|
3145
|
+
get_format_24(): string
|
|
3094
3146
|
get_time(): GLib.DateTime
|
|
3095
3147
|
set_time(value: GLib.DateTime): void
|
|
3096
3148
|
|
|
@@ -3346,7 +3398,7 @@ class TimePicker extends Gtk.Entry {
|
|
|
3346
3398
|
// Constructors of Granite-7.0.Granite.TimePicker
|
|
3347
3399
|
|
|
3348
3400
|
constructor(config?: TimePicker.ConstructorProperties)
|
|
3349
|
-
static with_format(format_12: string
|
|
3401
|
+
static with_format(format_12: string, format_24: string): TimePicker
|
|
3350
3402
|
constructor()
|
|
3351
3403
|
static new(): TimePicker
|
|
3352
3404
|
|
|
@@ -3399,8 +3451,8 @@ interface Toast {
|
|
|
3399
3451
|
|
|
3400
3452
|
// Owm methods of Granite-7.0.Granite.Toast
|
|
3401
3453
|
|
|
3402
|
-
get_title(): string
|
|
3403
|
-
set_title(value: string
|
|
3454
|
+
get_title(): string
|
|
3455
|
+
set_title(value: string): void
|
|
3404
3456
|
set_default_action(label: string | null): void
|
|
3405
3457
|
send_notification(): void
|
|
3406
3458
|
|
|
@@ -3536,8 +3588,8 @@ class Toast extends Gtk.Widget {
|
|
|
3536
3588
|
// Constructors of Granite-7.0.Granite.Toast
|
|
3537
3589
|
|
|
3538
3590
|
constructor(config?: Toast.ConstructorProperties)
|
|
3539
|
-
constructor(title: string
|
|
3540
|
-
static new(title: string
|
|
3591
|
+
constructor(title: string)
|
|
3592
|
+
static new(title: string): Toast
|
|
3541
3593
|
_init(config?: Toast.ConstructorProperties): void
|
|
3542
3594
|
}
|
|
3543
3595
|
|
|
@@ -3552,6 +3604,8 @@ module ValidatedEntry {
|
|
|
3552
3604
|
is_valid?: boolean | null
|
|
3553
3605
|
min_length?: number | null
|
|
3554
3606
|
regex?: GLib.Regex | null
|
|
3607
|
+
isValid?: boolean | null
|
|
3608
|
+
minLength?: number | null
|
|
3555
3609
|
}
|
|
3556
3610
|
|
|
3557
3611
|
}
|
|
@@ -3561,7 +3615,9 @@ interface ValidatedEntry {
|
|
|
3561
3615
|
// Own properties of Granite-7.0.Granite.ValidatedEntry
|
|
3562
3616
|
|
|
3563
3617
|
is_valid: boolean
|
|
3618
|
+
isValid: boolean
|
|
3564
3619
|
min_length: number
|
|
3620
|
+
minLength: number
|
|
3565
3621
|
regex: GLib.Regex
|
|
3566
3622
|
|
|
3567
3623
|
// Owm methods of Granite-7.0.Granite.ValidatedEntry
|
|
@@ -3897,7 +3953,7 @@ interface ServicesSettingsSerializableIface {
|
|
|
3897
3953
|
// Own fields of Granite-7.0.Granite.ServicesSettingsSerializableIface
|
|
3898
3954
|
|
|
3899
3955
|
settings_serialize: (self: any) => string | null
|
|
3900
|
-
settings_deserialize: (self: any, s: string
|
|
3956
|
+
settings_deserialize: (self: any, s: string) => void
|
|
3901
3957
|
}
|
|
3902
3958
|
|
|
3903
3959
|
abstract class ServicesSettingsSerializableIface {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/granite-7.0",
|
|
3
|
-
"version": "7.0.0-3.2.
|
|
3
|
+
"version": "7.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Granite-7.0, generated from library version 7.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "granite-7.0.js",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit granite-7.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
29
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
30
|
-
"@girs/gdk-4.0": "^4.0.0-3.2.
|
|
31
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gee-0.8": "^0.8.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
38
|
-
"@girs/graphene-1.0": "^1.0.0-3.2.
|
|
39
|
-
"@girs/gsk-4.0": "^4.0.0-3.2.
|
|
40
|
-
"@girs/gtk-4.0": "^4.12.
|
|
41
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
42
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
43
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.2.
|
|
28
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
29
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
30
|
+
"@girs/gdk-4.0": "^4.0.0-3.2.7",
|
|
31
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
32
|
+
"@girs/gee-0.8": "^0.8.0-3.2.7",
|
|
33
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
34
|
+
"@girs/gjs": "^3.2.7",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
37
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
38
|
+
"@girs/graphene-1.0": "^1.0.0-3.2.7",
|
|
39
|
+
"@girs/gsk-4.0": "^4.0.0-3.2.7",
|
|
40
|
+
"@girs/gtk-4.0": "^4.12.4-3.2.7",
|
|
41
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
42
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
43
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.2.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "*"
|