@girs/granite-7.0 7.0.0-3.2.6 → 7.0.0-3.2.8
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-ambient.js +2 -0
- package/granite-7.0-import.js +3 -0
- package/granite-7.0.d.cts +115 -171
- package/granite-7.0.d.ts +115 -171
- package/package.json +26 -20
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.8.
|
|
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
|
|
@@ -304,16 +304,13 @@ export module SettingsPage {
|
|
|
304
304
|
|
|
305
305
|
// Own constructor properties of Granite-7.0.Granite.SettingsPage
|
|
306
306
|
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
statusType?: SettingsPageStatusType | null
|
|
308
|
+
displayWidget?: Gtk.Widget | null
|
|
309
309
|
header?: string | null
|
|
310
310
|
status?: string | null
|
|
311
|
-
|
|
311
|
+
iconName?: 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
|
|
317
314
|
}
|
|
318
315
|
|
|
319
316
|
}
|
|
@@ -322,13 +319,10 @@ export interface SettingsPage {
|
|
|
322
319
|
|
|
323
320
|
// Own properties of Granite-7.0.Granite.SettingsPage
|
|
324
321
|
|
|
325
|
-
status_type: SettingsPageStatusType
|
|
326
322
|
statusType: SettingsPageStatusType
|
|
327
|
-
readonly display_widget: Gtk.Widget
|
|
328
323
|
readonly displayWidget: Gtk.Widget
|
|
329
324
|
readonly header: string | null
|
|
330
325
|
status: string | null
|
|
331
|
-
icon_name: string | null
|
|
332
326
|
iconName: string | null
|
|
333
327
|
title: string | null
|
|
334
328
|
child: Gtk.Widget
|
|
@@ -348,12 +342,12 @@ export interface SettingsPage {
|
|
|
348
342
|
set_status_type(value: SettingsPageStatusType): void
|
|
349
343
|
get_display_widget(): Gtk.Widget | null
|
|
350
344
|
get_header(): string | null
|
|
351
|
-
get_status(): string
|
|
352
|
-
set_status(value: string
|
|
345
|
+
get_status(): string
|
|
346
|
+
set_status(value: string): void
|
|
353
347
|
get_icon_name(): string | null
|
|
354
348
|
set_icon_name(value: string | null): void
|
|
355
|
-
get_title(): string
|
|
356
|
-
set_title(value: string
|
|
349
|
+
get_title(): string
|
|
350
|
+
set_title(value: string): void
|
|
357
351
|
get_child(): Gtk.Widget
|
|
358
352
|
set_child(value: Gtk.Widget): void
|
|
359
353
|
|
|
@@ -521,14 +515,11 @@ export module SimpleSettingsPage {
|
|
|
521
515
|
|
|
522
516
|
// Own constructor properties of Granite-7.0.Granite.SimpleSettingsPage
|
|
523
517
|
|
|
524
|
-
action_area?: Gtk.Box | null
|
|
525
|
-
content_area?: Gtk.Grid | null
|
|
526
|
-
status_switch?: Gtk.Switch | null
|
|
527
|
-
activatable?: boolean | null
|
|
528
|
-
description?: string | null
|
|
529
518
|
actionArea?: Gtk.Box | null
|
|
530
519
|
contentArea?: Gtk.Grid | null
|
|
531
520
|
statusSwitch?: Gtk.Switch | null
|
|
521
|
+
activatable?: boolean | null
|
|
522
|
+
description?: string | null
|
|
532
523
|
}
|
|
533
524
|
|
|
534
525
|
}
|
|
@@ -537,11 +528,8 @@ export interface SimpleSettingsPage {
|
|
|
537
528
|
|
|
538
529
|
// Own properties of Granite-7.0.Granite.SimpleSettingsPage
|
|
539
530
|
|
|
540
|
-
readonly action_area: Gtk.Box
|
|
541
531
|
readonly actionArea: Gtk.Box
|
|
542
|
-
readonly content_area: Gtk.Grid
|
|
543
532
|
readonly contentArea: Gtk.Grid
|
|
544
|
-
readonly status_switch: Gtk.Switch
|
|
545
533
|
readonly statusSwitch: Gtk.Switch
|
|
546
534
|
readonly activatable: boolean
|
|
547
535
|
description: string | null
|
|
@@ -556,8 +544,8 @@ export interface SimpleSettingsPage {
|
|
|
556
544
|
get_content_area(): Gtk.Grid
|
|
557
545
|
get_status_switch(): Gtk.Switch | null
|
|
558
546
|
get_activatable(): boolean
|
|
559
|
-
get_description(): string
|
|
560
|
-
set_description(value: string
|
|
547
|
+
get_description(): string
|
|
548
|
+
set_description(value: string): void
|
|
561
549
|
|
|
562
550
|
// Class property signals of Granite-7.0.Granite.SimpleSettingsPage
|
|
563
551
|
|
|
@@ -738,11 +726,9 @@ export module AccelLabel {
|
|
|
738
726
|
|
|
739
727
|
// Own constructor properties of Granite-7.0.Granite.AccelLabel
|
|
740
728
|
|
|
741
|
-
action_name?: string | null
|
|
742
|
-
accel_string?: string | null
|
|
743
|
-
label?: string | null
|
|
744
729
|
actionName?: string | null
|
|
745
730
|
accelString?: string | null
|
|
731
|
+
label?: string | null
|
|
746
732
|
}
|
|
747
733
|
|
|
748
734
|
}
|
|
@@ -751,9 +737,7 @@ export interface AccelLabel {
|
|
|
751
737
|
|
|
752
738
|
// Own properties of Granite-7.0.Granite.AccelLabel
|
|
753
739
|
|
|
754
|
-
action_name: string | null
|
|
755
740
|
actionName: string | null
|
|
756
|
-
accel_string: string | null
|
|
757
741
|
accelString: string | null
|
|
758
742
|
label: string | null
|
|
759
743
|
|
|
@@ -763,12 +747,12 @@ export interface AccelLabel {
|
|
|
763
747
|
|
|
764
748
|
// Owm methods of Granite-7.0.Granite.AccelLabel
|
|
765
749
|
|
|
766
|
-
get_action_name(): string
|
|
767
|
-
set_action_name(value: string
|
|
750
|
+
get_action_name(): string
|
|
751
|
+
set_action_name(value: string): void
|
|
768
752
|
get_accel_string(): string | null
|
|
769
753
|
set_accel_string(value: string | null): void
|
|
770
|
-
get_label(): string
|
|
771
|
-
set_label(value: string
|
|
754
|
+
get_label(): string
|
|
755
|
+
set_label(value: string): void
|
|
772
756
|
|
|
773
757
|
// Class property signals of Granite-7.0.Granite.AccelLabel
|
|
774
758
|
|
|
@@ -911,8 +895,8 @@ export class AccelLabel extends Gtk.Box {
|
|
|
911
895
|
// Constructors of Granite-7.0.Granite.AccelLabel
|
|
912
896
|
|
|
913
897
|
constructor(config?: AccelLabel.ConstructorProperties)
|
|
914
|
-
constructor(label: string
|
|
915
|
-
static new(label: string
|
|
898
|
+
constructor(label: string, accel_string: string | null)
|
|
899
|
+
static new(label: string, accel_string: string | null): AccelLabel
|
|
916
900
|
|
|
917
901
|
// Overloads of new
|
|
918
902
|
|
|
@@ -924,7 +908,7 @@ export class AccelLabel extends Gtk.Box {
|
|
|
924
908
|
* @returns a new `GtkBox`.
|
|
925
909
|
*/
|
|
926
910
|
static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
|
|
927
|
-
static from_action_name(label: string
|
|
911
|
+
static from_action_name(label: string, action_name: string): AccelLabel
|
|
928
912
|
_init(config?: AccelLabel.ConstructorProperties): void
|
|
929
913
|
}
|
|
930
914
|
|
|
@@ -951,7 +935,7 @@ export interface DatePicker extends Gtk.Buildable {
|
|
|
951
935
|
|
|
952
936
|
// Owm methods of Granite-7.0.Granite.DatePicker
|
|
953
937
|
|
|
954
|
-
get_format(): string
|
|
938
|
+
get_format(): string
|
|
955
939
|
get_date(): GLib.DateTime
|
|
956
940
|
set_date(value: GLib.DateTime): void
|
|
957
941
|
|
|
@@ -1198,7 +1182,7 @@ export class DatePicker extends Gtk.Entry {
|
|
|
1198
1182
|
// Constructors of Granite-7.0.Granite.DatePicker
|
|
1199
1183
|
|
|
1200
1184
|
constructor(config?: DatePicker.ConstructorProperties)
|
|
1201
|
-
static with_format(format: string
|
|
1185
|
+
static with_format(format: string): DatePicker
|
|
1202
1186
|
constructor()
|
|
1203
1187
|
static new(): DatePicker
|
|
1204
1188
|
|
|
@@ -1453,7 +1437,6 @@ export module HeaderLabel {
|
|
|
1453
1437
|
// Own constructor properties of Granite-7.0.Granite.HeaderLabel
|
|
1454
1438
|
|
|
1455
1439
|
label?: string | null
|
|
1456
|
-
secondary_text?: string | null
|
|
1457
1440
|
secondaryText?: string | null
|
|
1458
1441
|
}
|
|
1459
1442
|
|
|
@@ -1464,13 +1447,12 @@ export interface HeaderLabel {
|
|
|
1464
1447
|
// Own properties of Granite-7.0.Granite.HeaderLabel
|
|
1465
1448
|
|
|
1466
1449
|
label: string | null
|
|
1467
|
-
secondary_text: string | null
|
|
1468
1450
|
secondaryText: string | null
|
|
1469
1451
|
|
|
1470
1452
|
// Owm methods of Granite-7.0.Granite.HeaderLabel
|
|
1471
1453
|
|
|
1472
|
-
get_label(): string
|
|
1473
|
-
set_label(value: string
|
|
1454
|
+
get_label(): string
|
|
1455
|
+
set_label(value: string): void
|
|
1474
1456
|
get_secondary_text(): string | null
|
|
1475
1457
|
set_secondary_text(value: string | null): void
|
|
1476
1458
|
|
|
@@ -1600,8 +1582,8 @@ export class HeaderLabel extends Gtk.Widget {
|
|
|
1600
1582
|
// Constructors of Granite-7.0.Granite.HeaderLabel
|
|
1601
1583
|
|
|
1602
1584
|
constructor(config?: HeaderLabel.ConstructorProperties)
|
|
1603
|
-
constructor(label: string
|
|
1604
|
-
static new(label: string
|
|
1585
|
+
constructor(label: string)
|
|
1586
|
+
static new(label: string): HeaderLabel
|
|
1605
1587
|
_init(config?: HeaderLabel.ConstructorProperties): void
|
|
1606
1588
|
}
|
|
1607
1589
|
|
|
@@ -1830,20 +1812,13 @@ export module MessageDialog {
|
|
|
1830
1812
|
|
|
1831
1813
|
// Own constructor properties of Granite-7.0.Granite.MessageDialog
|
|
1832
1814
|
|
|
1833
|
-
primary_text?: string | null
|
|
1834
|
-
secondary_text?: string | null
|
|
1835
|
-
image_icon?: Gio.Icon | null
|
|
1836
|
-
badge_icon?: Gio.Icon | null
|
|
1837
|
-
primary_label?: Gtk.Label | null
|
|
1838
|
-
secondary_label?: Gtk.Label | null
|
|
1839
|
-
buttons?: Gtk.ButtonsType | null
|
|
1840
|
-
custom_bin?: Gtk.Box | null
|
|
1841
1815
|
primaryText?: string | null
|
|
1842
1816
|
secondaryText?: string | null
|
|
1843
1817
|
imageIcon?: Gio.Icon | null
|
|
1844
1818
|
badgeIcon?: Gio.Icon | null
|
|
1845
1819
|
primaryLabel?: Gtk.Label | null
|
|
1846
1820
|
secondaryLabel?: Gtk.Label | null
|
|
1821
|
+
buttons?: Gtk.ButtonsType | null
|
|
1847
1822
|
customBin?: Gtk.Box | null
|
|
1848
1823
|
}
|
|
1849
1824
|
|
|
@@ -1853,20 +1828,13 @@ export interface MessageDialog {
|
|
|
1853
1828
|
|
|
1854
1829
|
// Own properties of Granite-7.0.Granite.MessageDialog
|
|
1855
1830
|
|
|
1856
|
-
primary_text: string | null
|
|
1857
1831
|
primaryText: string | null
|
|
1858
|
-
secondary_text: string | null
|
|
1859
1832
|
secondaryText: string | null
|
|
1860
|
-
image_icon: Gio.Icon
|
|
1861
1833
|
imageIcon: Gio.Icon
|
|
1862
|
-
badge_icon: Gio.Icon
|
|
1863
1834
|
badgeIcon: Gio.Icon
|
|
1864
|
-
readonly primary_label: Gtk.Label
|
|
1865
1835
|
readonly primaryLabel: Gtk.Label
|
|
1866
|
-
readonly secondary_label: Gtk.Label
|
|
1867
1836
|
readonly secondaryLabel: Gtk.Label
|
|
1868
1837
|
readonly buttons: Gtk.ButtonsType
|
|
1869
|
-
readonly custom_bin: Gtk.Box
|
|
1870
1838
|
readonly customBin: Gtk.Box
|
|
1871
1839
|
|
|
1872
1840
|
// Conflicting properties
|
|
@@ -1875,10 +1843,10 @@ export interface MessageDialog {
|
|
|
1875
1843
|
|
|
1876
1844
|
// Owm methods of Granite-7.0.Granite.MessageDialog
|
|
1877
1845
|
|
|
1878
|
-
get_primary_text(): string
|
|
1879
|
-
set_primary_text(value: string
|
|
1880
|
-
get_secondary_text(): string
|
|
1881
|
-
set_secondary_text(value: string
|
|
1846
|
+
get_primary_text(): string
|
|
1847
|
+
set_primary_text(value: string): void
|
|
1848
|
+
get_secondary_text(): string
|
|
1849
|
+
set_secondary_text(value: string): void
|
|
1882
1850
|
get_image_icon(): Gio.Icon
|
|
1883
1851
|
set_image_icon(value: Gio.Icon): void
|
|
1884
1852
|
get_badge_icon(): Gio.Icon
|
|
@@ -1886,7 +1854,7 @@ export interface MessageDialog {
|
|
|
1886
1854
|
get_primary_label(): Gtk.Label
|
|
1887
1855
|
get_secondary_label(): Gtk.Label
|
|
1888
1856
|
get_custom_bin(): Gtk.Box
|
|
1889
|
-
show_error_details(error_message: string
|
|
1857
|
+
show_error_details(error_message: string): void
|
|
1890
1858
|
|
|
1891
1859
|
// Class property signals of Granite-7.0.Granite.MessageDialog
|
|
1892
1860
|
|
|
@@ -2110,8 +2078,8 @@ export class MessageDialog extends Dialog {
|
|
|
2110
2078
|
// Constructors of Granite-7.0.Granite.MessageDialog
|
|
2111
2079
|
|
|
2112
2080
|
constructor(config?: MessageDialog.ConstructorProperties)
|
|
2113
|
-
constructor(primary_text: string
|
|
2114
|
-
static new(primary_text: string
|
|
2081
|
+
constructor(primary_text: string, secondary_text: string, image_icon: Gio.Icon, buttons: Gtk.ButtonsType)
|
|
2082
|
+
static new(primary_text: string, secondary_text: string, image_icon: Gio.Icon, buttons: Gtk.ButtonsType): MessageDialog
|
|
2115
2083
|
|
|
2116
2084
|
// Overloads of new
|
|
2117
2085
|
|
|
@@ -2126,7 +2094,7 @@ export class MessageDialog extends Dialog {
|
|
|
2126
2094
|
* @returns the new dialog as a `GtkWidget`
|
|
2127
2095
|
*/
|
|
2128
2096
|
static new(): Gtk.Dialog
|
|
2129
|
-
static with_image_from_icon_name(primary_text: string
|
|
2097
|
+
static with_image_from_icon_name(primary_text: string, secondary_text: string, image_icon_name: string, buttons: Gtk.ButtonsType): MessageDialog
|
|
2130
2098
|
_init(config?: MessageDialog.ConstructorProperties): void
|
|
2131
2099
|
}
|
|
2132
2100
|
|
|
@@ -2139,12 +2107,6 @@ export module ModeSwitch {
|
|
|
2139
2107
|
// Own constructor properties of Granite-7.0.Granite.ModeSwitch
|
|
2140
2108
|
|
|
2141
2109
|
active?: boolean | null
|
|
2142
|
-
primary_icon_gicon?: Gio.Icon | null
|
|
2143
|
-
primary_icon_name?: string | null
|
|
2144
|
-
primary_icon_tooltip_text?: string | null
|
|
2145
|
-
secondary_icon_gicon?: Gio.Icon | null
|
|
2146
|
-
secondary_icon_name?: string | null
|
|
2147
|
-
secondary_icon_tooltip_text?: string | null
|
|
2148
2110
|
primaryIconGicon?: Gio.Icon | null
|
|
2149
2111
|
primaryIconName?: string | null
|
|
2150
2112
|
primaryIconTooltipText?: string | null
|
|
@@ -2160,17 +2122,11 @@ export interface ModeSwitch {
|
|
|
2160
2122
|
// Own properties of Granite-7.0.Granite.ModeSwitch
|
|
2161
2123
|
|
|
2162
2124
|
active: boolean
|
|
2163
|
-
primary_icon_gicon: Gio.Icon
|
|
2164
2125
|
primaryIconGicon: Gio.Icon
|
|
2165
|
-
primary_icon_name: string | null
|
|
2166
2126
|
primaryIconName: string | null
|
|
2167
|
-
primary_icon_tooltip_text: string | null
|
|
2168
2127
|
primaryIconTooltipText: string | null
|
|
2169
|
-
secondary_icon_gicon: Gio.Icon
|
|
2170
2128
|
secondaryIconGicon: Gio.Icon
|
|
2171
|
-
secondary_icon_name: string | null
|
|
2172
2129
|
secondaryIconName: string | null
|
|
2173
|
-
secondary_icon_tooltip_text: string | null
|
|
2174
2130
|
secondaryIconTooltipText: string | null
|
|
2175
2131
|
|
|
2176
2132
|
// Conflicting properties
|
|
@@ -2183,16 +2139,16 @@ export interface ModeSwitch {
|
|
|
2183
2139
|
set_active(value: boolean): void
|
|
2184
2140
|
get_primary_icon_gicon(): Gio.Icon
|
|
2185
2141
|
set_primary_icon_gicon(value: Gio.Icon): void
|
|
2186
|
-
get_primary_icon_name(): string
|
|
2187
|
-
set_primary_icon_name(value: string
|
|
2188
|
-
get_primary_icon_tooltip_text(): string
|
|
2189
|
-
set_primary_icon_tooltip_text(value: string
|
|
2142
|
+
get_primary_icon_name(): string
|
|
2143
|
+
set_primary_icon_name(value: string): void
|
|
2144
|
+
get_primary_icon_tooltip_text(): string
|
|
2145
|
+
set_primary_icon_tooltip_text(value: string): void
|
|
2190
2146
|
get_secondary_icon_gicon(): Gio.Icon
|
|
2191
2147
|
set_secondary_icon_gicon(value: Gio.Icon): void
|
|
2192
|
-
get_secondary_icon_name(): string
|
|
2193
|
-
set_secondary_icon_name(value: string
|
|
2194
|
-
get_secondary_icon_tooltip_text(): string
|
|
2195
|
-
set_secondary_icon_tooltip_text(value: string
|
|
2148
|
+
get_secondary_icon_name(): string
|
|
2149
|
+
set_secondary_icon_name(value: string): void
|
|
2150
|
+
get_secondary_icon_tooltip_text(): string
|
|
2151
|
+
set_secondary_icon_tooltip_text(value: string): void
|
|
2196
2152
|
|
|
2197
2153
|
// Class property signals of Granite-7.0.Granite.ModeSwitch
|
|
2198
2154
|
|
|
@@ -2360,7 +2316,7 @@ export class ModeSwitch extends Gtk.Box {
|
|
|
2360
2316
|
* @returns a new `GtkBox`.
|
|
2361
2317
|
*/
|
|
2362
2318
|
static new(orientation: Gtk.Orientation, spacing: number): Gtk.Box
|
|
2363
|
-
static from_icon_name(primary_icon_name: string
|
|
2319
|
+
static from_icon_name(primary_icon_name: string, secondary_icon_name: string): ModeSwitch
|
|
2364
2320
|
_init(config?: ModeSwitch.ConstructorProperties): void
|
|
2365
2321
|
}
|
|
2366
2322
|
|
|
@@ -2390,8 +2346,8 @@ export interface OverlayBar {
|
|
|
2390
2346
|
// Owm methods of Granite-7.0.Granite.OverlayBar
|
|
2391
2347
|
|
|
2392
2348
|
get_overlay(): Gtk.Overlay | null
|
|
2393
|
-
get_label(): string
|
|
2394
|
-
set_label(value: string
|
|
2349
|
+
get_label(): string
|
|
2350
|
+
set_label(value: string): void
|
|
2395
2351
|
get_active(): boolean
|
|
2396
2352
|
set_active(value: boolean): void
|
|
2397
2353
|
|
|
@@ -2554,13 +2510,13 @@ export interface Placeholder {
|
|
|
2554
2510
|
|
|
2555
2511
|
// Owm methods of Granite-7.0.Granite.Placeholder
|
|
2556
2512
|
|
|
2557
|
-
get_title(): string
|
|
2558
|
-
set_title(value: string
|
|
2559
|
-
get_description(): string
|
|
2560
|
-
set_description(value: string
|
|
2513
|
+
get_title(): string
|
|
2514
|
+
set_title(value: string): void
|
|
2515
|
+
get_description(): string
|
|
2516
|
+
set_description(value: string): void
|
|
2561
2517
|
get_icon(): Gio.Icon
|
|
2562
2518
|
set_icon(value: Gio.Icon): void
|
|
2563
|
-
append_button(icon: Gio.Icon, label: string
|
|
2519
|
+
append_button(icon: Gio.Icon, label: string, description: string): Gtk.Button
|
|
2564
2520
|
|
|
2565
2521
|
// Class property signals of Granite-7.0.Granite.Placeholder
|
|
2566
2522
|
|
|
@@ -2691,8 +2647,8 @@ export class Placeholder extends Gtk.Widget {
|
|
|
2691
2647
|
// Constructors of Granite-7.0.Granite.Placeholder
|
|
2692
2648
|
|
|
2693
2649
|
constructor(config?: Placeholder.ConstructorProperties)
|
|
2694
|
-
constructor(title: string
|
|
2695
|
-
static new(title: string
|
|
2650
|
+
constructor(title: string)
|
|
2651
|
+
static new(title: string): Placeholder
|
|
2696
2652
|
_init(config?: Placeholder.ConstructorProperties): void
|
|
2697
2653
|
}
|
|
2698
2654
|
|
|
@@ -2705,7 +2661,6 @@ export module SettingsSidebar {
|
|
|
2705
2661
|
// Own constructor properties of Granite-7.0.Granite.SettingsSidebar
|
|
2706
2662
|
|
|
2707
2663
|
stack?: Gtk.Stack | null
|
|
2708
|
-
visible_child_name?: string | null
|
|
2709
2664
|
visibleChildName?: string | null
|
|
2710
2665
|
}
|
|
2711
2666
|
|
|
@@ -2716,7 +2671,6 @@ export interface SettingsSidebar {
|
|
|
2716
2671
|
// Own properties of Granite-7.0.Granite.SettingsSidebar
|
|
2717
2672
|
|
|
2718
2673
|
readonly stack: Gtk.Stack
|
|
2719
|
-
visible_child_name: string | null
|
|
2720
2674
|
visibleChildName: string | null
|
|
2721
2675
|
|
|
2722
2676
|
// Owm methods of Granite-7.0.Granite.SettingsSidebar
|
|
@@ -2864,7 +2818,6 @@ export module Settings {
|
|
|
2864
2818
|
|
|
2865
2819
|
// Own constructor properties of Granite-7.0.Granite.Settings
|
|
2866
2820
|
|
|
2867
|
-
prefers_color_scheme?: SettingsColorScheme | null
|
|
2868
2821
|
prefersColorScheme?: SettingsColorScheme | null
|
|
2869
2822
|
}
|
|
2870
2823
|
|
|
@@ -2874,7 +2827,6 @@ export interface Settings {
|
|
|
2874
2827
|
|
|
2875
2828
|
// Own properties of Granite-7.0.Granite.Settings
|
|
2876
2829
|
|
|
2877
|
-
prefers_color_scheme: SettingsColorScheme
|
|
2878
2830
|
prefersColorScheme: SettingsColorScheme
|
|
2879
2831
|
|
|
2880
2832
|
// Owm methods of Granite-7.0.Granite.Settings
|
|
@@ -2929,8 +2881,8 @@ export interface SwitchModelButton {
|
|
|
2929
2881
|
|
|
2930
2882
|
// Owm methods of Granite-7.0.Granite.SwitchModelButton
|
|
2931
2883
|
|
|
2932
|
-
get_text(): string
|
|
2933
|
-
set_text(value: string
|
|
2884
|
+
get_text(): string
|
|
2885
|
+
set_text(value: string): void
|
|
2934
2886
|
get_description(): string | null
|
|
2935
2887
|
set_description(value: string | null): void
|
|
2936
2888
|
|
|
@@ -3084,8 +3036,8 @@ export class SwitchModelButton extends Gtk.ToggleButton {
|
|
|
3084
3036
|
// Constructors of Granite-7.0.Granite.SwitchModelButton
|
|
3085
3037
|
|
|
3086
3038
|
constructor(config?: SwitchModelButton.ConstructorProperties)
|
|
3087
|
-
constructor(text: string
|
|
3088
|
-
static new(text: string
|
|
3039
|
+
constructor(text: string)
|
|
3040
|
+
static new(text: string): SwitchModelButton
|
|
3089
3041
|
|
|
3090
3042
|
// Overloads of new
|
|
3091
3043
|
|
|
@@ -3118,11 +3070,9 @@ export module TimePicker {
|
|
|
3118
3070
|
|
|
3119
3071
|
// Own constructor properties of Granite-7.0.Granite.TimePicker
|
|
3120
3072
|
|
|
3121
|
-
format_12?: string | null
|
|
3122
|
-
format_24?: string | null
|
|
3123
|
-
time?: GLib.DateTime | null
|
|
3124
3073
|
format12?: string | null
|
|
3125
3074
|
format24?: string | null
|
|
3075
|
+
time?: GLib.DateTime | null
|
|
3126
3076
|
}
|
|
3127
3077
|
|
|
3128
3078
|
}
|
|
@@ -3131,16 +3081,14 @@ export interface TimePicker {
|
|
|
3131
3081
|
|
|
3132
3082
|
// Own properties of Granite-7.0.Granite.TimePicker
|
|
3133
3083
|
|
|
3134
|
-
readonly format_12: string | null
|
|
3135
3084
|
readonly format12: string | null
|
|
3136
|
-
readonly format_24: string | null
|
|
3137
3085
|
readonly format24: string | null
|
|
3138
3086
|
time: GLib.DateTime
|
|
3139
3087
|
|
|
3140
3088
|
// Owm methods of Granite-7.0.Granite.TimePicker
|
|
3141
3089
|
|
|
3142
|
-
get_format_12(): string
|
|
3143
|
-
get_format_24(): string
|
|
3090
|
+
get_format_12(): string
|
|
3091
|
+
get_format_24(): string
|
|
3144
3092
|
get_time(): GLib.DateTime
|
|
3145
3093
|
set_time(value: GLib.DateTime): void
|
|
3146
3094
|
|
|
@@ -3396,7 +3344,7 @@ export class TimePicker extends Gtk.Entry {
|
|
|
3396
3344
|
// Constructors of Granite-7.0.Granite.TimePicker
|
|
3397
3345
|
|
|
3398
3346
|
constructor(config?: TimePicker.ConstructorProperties)
|
|
3399
|
-
static with_format(format_12: string
|
|
3347
|
+
static with_format(format_12: string, format_24: string): TimePicker
|
|
3400
3348
|
constructor()
|
|
3401
3349
|
static new(): TimePicker
|
|
3402
3350
|
|
|
@@ -3449,8 +3397,8 @@ export interface Toast {
|
|
|
3449
3397
|
|
|
3450
3398
|
// Owm methods of Granite-7.0.Granite.Toast
|
|
3451
3399
|
|
|
3452
|
-
get_title(): string
|
|
3453
|
-
set_title(value: string
|
|
3400
|
+
get_title(): string
|
|
3401
|
+
set_title(value: string): void
|
|
3454
3402
|
set_default_action(label: string | null): void
|
|
3455
3403
|
send_notification(): void
|
|
3456
3404
|
|
|
@@ -3586,8 +3534,8 @@ export class Toast extends Gtk.Widget {
|
|
|
3586
3534
|
// Constructors of Granite-7.0.Granite.Toast
|
|
3587
3535
|
|
|
3588
3536
|
constructor(config?: Toast.ConstructorProperties)
|
|
3589
|
-
constructor(title: string
|
|
3590
|
-
static new(title: string
|
|
3537
|
+
constructor(title: string)
|
|
3538
|
+
static new(title: string): Toast
|
|
3591
3539
|
_init(config?: Toast.ConstructorProperties): void
|
|
3592
3540
|
}
|
|
3593
3541
|
|
|
@@ -3599,11 +3547,9 @@ export module ValidatedEntry {
|
|
|
3599
3547
|
|
|
3600
3548
|
// Own constructor properties of Granite-7.0.Granite.ValidatedEntry
|
|
3601
3549
|
|
|
3602
|
-
is_valid?: boolean | null
|
|
3603
|
-
min_length?: number | null
|
|
3604
|
-
regex?: GLib.Regex | null
|
|
3605
3550
|
isValid?: boolean | null
|
|
3606
3551
|
minLength?: number | null
|
|
3552
|
+
regex?: GLib.Regex | null
|
|
3607
3553
|
}
|
|
3608
3554
|
|
|
3609
3555
|
}
|
|
@@ -3612,9 +3558,7 @@ export interface ValidatedEntry {
|
|
|
3612
3558
|
|
|
3613
3559
|
// Own properties of Granite-7.0.Granite.ValidatedEntry
|
|
3614
3560
|
|
|
3615
|
-
is_valid: boolean
|
|
3616
3561
|
isValid: boolean
|
|
3617
|
-
min_length: number
|
|
3618
3562
|
minLength: number
|
|
3619
3563
|
regex: GLib.Regex
|
|
3620
3564
|
|
|
@@ -3951,7 +3895,7 @@ export interface ServicesSettingsSerializableIface {
|
|
|
3951
3895
|
// Own fields of Granite-7.0.Granite.ServicesSettingsSerializableIface
|
|
3952
3896
|
|
|
3953
3897
|
settings_serialize: (self: any) => string | null
|
|
3954
|
-
settings_deserialize: (self: any, s: string
|
|
3898
|
+
settings_deserialize: (self: any, s: string) => void
|
|
3955
3899
|
}
|
|
3956
3900
|
|
|
3957
3901
|
export abstract class ServicesSettingsSerializableIface {
|