@girs/gcrgtk4-4 4.0.0-3.0.0-beta.12

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 ADDED
@@ -0,0 +1,31 @@
1
+
2
+ # GcrGtk4-4
3
+
4
+ GJS TypeScript type definitions for GcrGtk4-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
5
+
6
+ ## Install
7
+
8
+ To use this type definitions, install them with NPM like this:
9
+ ```bash
10
+ npm install @girs/gcrgtk4-4
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ You can import this package into your project like this:
16
+ ```ts
17
+ import GcrGtk4 from '@girs/gcrgtk4-4';
18
+ ```
19
+
20
+ Or if you prefer CommonJS, you can also use this:
21
+ ```ts
22
+ const GcrGtk4 = require('@girs/gcrgtk4-4');
23
+ ```
24
+
25
+ If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
26
+
27
+ ```ts
28
+ import GcrGtk4 from 'gi://GcrGtk4?version=4';
29
+ ```
30
+
31
+ Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
package/gcrgtk4-4.cjs ADDED
@@ -0,0 +1,9 @@
1
+
2
+
3
+ imports.gi.versions.GcrGtk4 = '4'
4
+ const GcrGtk4 = imports.gi.GcrGtk4;
5
+
6
+ module.exports = GcrGtk4;
7
+
8
+
9
+
@@ -0,0 +1,228 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * GcrGtk4-4
10
+ */
11
+
12
+ import type Gtk from '@girs/gtk-4.0';
13
+ import type Gsk from '@girs/gsk-4.0';
14
+ import type Graphene from '@girs/graphene-1.0';
15
+ import type GObject from '@girs/gobject-2.0';
16
+ import type GLib from '@girs/glib-2.0';
17
+ import type Gdk from '@girs/gdk-4.0';
18
+ import type cairo from '@girs/cairo-1.0';
19
+ import type PangoCairo from '@girs/pangocairo-1.0';
20
+ import type Pango from '@girs/pango-1.0';
21
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
22
+ import type freetype2 from '@girs/freetype2-2.0';
23
+ import type Gio from '@girs/gio-2.0';
24
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
25
+ import type GModule from '@girs/gmodule-2.0';
26
+ import type Gcr from '@girs/gcr-4';
27
+ import type Gck from '@girs/gck-2';
28
+
29
+ export module CertificateWidget {
30
+
31
+ // Constructor properties interface
32
+
33
+ export interface ConstructorProperties extends Gtk.Accessible.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.ConstraintTarget.ConstructorProperties, Gtk.Widget.ConstructorProperties {
34
+
35
+ // Own constructor properties of GcrGtk4-4.GcrGtk4.CertificateWidget
36
+
37
+ certificate?: Gcr.Certificate | null
38
+ }
39
+
40
+ }
41
+
42
+ export interface CertificateWidget extends Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
43
+
44
+ // Own properties of GcrGtk4-4.GcrGtk4.CertificateWidget
45
+
46
+ certificate: Gcr.Certificate
47
+
48
+ // Owm methods of GcrGtk4-4.GcrGtk4.CertificateWidget
49
+
50
+ /**
51
+ * Get the certificate displayed in the widget.
52
+ * @returns the certificate
53
+ */
54
+ get_certificate(): Gcr.Certificate | null
55
+ /**
56
+ * Set the certificate displayed in the widget
57
+ * @param certificate the certificate to display
58
+ */
59
+ set_certificate(certificate: Gcr.Certificate | null): void
60
+
61
+ // Class property signals of GcrGtk4-4.GcrGtk4.CertificateWidget
62
+
63
+ connect(sigName: "notify::certificate", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
64
+ connect_after(sigName: "notify::certificate", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
65
+ emit(sigName: "notify::certificate", ...args: any[]): void
66
+ connect(sigName: "notify::can-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
67
+ connect_after(sigName: "notify::can-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
68
+ emit(sigName: "notify::can-focus", ...args: any[]): void
69
+ connect(sigName: "notify::can-target", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
70
+ connect_after(sigName: "notify::can-target", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
71
+ emit(sigName: "notify::can-target", ...args: any[]): void
72
+ connect(sigName: "notify::css-classes", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
73
+ connect_after(sigName: "notify::css-classes", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
74
+ emit(sigName: "notify::css-classes", ...args: any[]): void
75
+ connect(sigName: "notify::css-name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
76
+ connect_after(sigName: "notify::css-name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
77
+ emit(sigName: "notify::css-name", ...args: any[]): void
78
+ connect(sigName: "notify::cursor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
79
+ connect_after(sigName: "notify::cursor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
80
+ emit(sigName: "notify::cursor", ...args: any[]): void
81
+ connect(sigName: "notify::focus-on-click", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
82
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
83
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
84
+ connect(sigName: "notify::focusable", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
85
+ connect_after(sigName: "notify::focusable", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
86
+ emit(sigName: "notify::focusable", ...args: any[]): void
87
+ connect(sigName: "notify::halign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
88
+ connect_after(sigName: "notify::halign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
89
+ emit(sigName: "notify::halign", ...args: any[]): void
90
+ connect(sigName: "notify::has-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
91
+ connect_after(sigName: "notify::has-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
92
+ emit(sigName: "notify::has-default", ...args: any[]): void
93
+ connect(sigName: "notify::has-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
94
+ connect_after(sigName: "notify::has-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
95
+ emit(sigName: "notify::has-focus", ...args: any[]): void
96
+ connect(sigName: "notify::has-tooltip", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
97
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
98
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
99
+ connect(sigName: "notify::height-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
100
+ connect_after(sigName: "notify::height-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
101
+ emit(sigName: "notify::height-request", ...args: any[]): void
102
+ connect(sigName: "notify::hexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
103
+ connect_after(sigName: "notify::hexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
104
+ emit(sigName: "notify::hexpand", ...args: any[]): void
105
+ connect(sigName: "notify::hexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
106
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
107
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
108
+ connect(sigName: "notify::layout-manager", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
109
+ connect_after(sigName: "notify::layout-manager", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
110
+ emit(sigName: "notify::layout-manager", ...args: any[]): void
111
+ connect(sigName: "notify::margin-bottom", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
112
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
113
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
114
+ connect(sigName: "notify::margin-end", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
115
+ connect_after(sigName: "notify::margin-end", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
116
+ emit(sigName: "notify::margin-end", ...args: any[]): void
117
+ connect(sigName: "notify::margin-start", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
118
+ connect_after(sigName: "notify::margin-start", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
119
+ emit(sigName: "notify::margin-start", ...args: any[]): void
120
+ connect(sigName: "notify::margin-top", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
121
+ connect_after(sigName: "notify::margin-top", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
122
+ emit(sigName: "notify::margin-top", ...args: any[]): void
123
+ connect(sigName: "notify::name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
124
+ connect_after(sigName: "notify::name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
125
+ emit(sigName: "notify::name", ...args: any[]): void
126
+ connect(sigName: "notify::opacity", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
127
+ connect_after(sigName: "notify::opacity", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
128
+ emit(sigName: "notify::opacity", ...args: any[]): void
129
+ connect(sigName: "notify::overflow", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
130
+ connect_after(sigName: "notify::overflow", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
131
+ emit(sigName: "notify::overflow", ...args: any[]): void
132
+ connect(sigName: "notify::parent", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
133
+ connect_after(sigName: "notify::parent", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
134
+ emit(sigName: "notify::parent", ...args: any[]): void
135
+ connect(sigName: "notify::receives-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
136
+ connect_after(sigName: "notify::receives-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
137
+ emit(sigName: "notify::receives-default", ...args: any[]): void
138
+ connect(sigName: "notify::root", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
139
+ connect_after(sigName: "notify::root", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
140
+ emit(sigName: "notify::root", ...args: any[]): void
141
+ connect(sigName: "notify::scale-factor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
142
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
143
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
144
+ connect(sigName: "notify::sensitive", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
145
+ connect_after(sigName: "notify::sensitive", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
146
+ emit(sigName: "notify::sensitive", ...args: any[]): void
147
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
148
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
149
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
150
+ connect(sigName: "notify::tooltip-text", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
151
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
152
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
153
+ connect(sigName: "notify::valign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
154
+ connect_after(sigName: "notify::valign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
155
+ emit(sigName: "notify::valign", ...args: any[]): void
156
+ connect(sigName: "notify::vexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
157
+ connect_after(sigName: "notify::vexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
158
+ emit(sigName: "notify::vexpand", ...args: any[]): void
159
+ connect(sigName: "notify::vexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
160
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
161
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
162
+ connect(sigName: "notify::visible", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
163
+ connect_after(sigName: "notify::visible", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
164
+ emit(sigName: "notify::visible", ...args: any[]): void
165
+ connect(sigName: "notify::width-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
166
+ connect_after(sigName: "notify::width-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
167
+ emit(sigName: "notify::width-request", ...args: any[]): void
168
+ connect(sigName: "notify::accessible-role", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
169
+ connect_after(sigName: "notify::accessible-role", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
170
+ emit(sigName: "notify::accessible-role", ...args: any[]): void
171
+ connect(sigName: string, callback: (...args: any[]) => void): number
172
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
173
+ emit(sigName: string, ...args: any[]): void
174
+ disconnect(id: number): void
175
+ }
176
+
177
+ export class CertificateWidget extends Gtk.Widget {
178
+
179
+ // Own properties of GcrGtk4-4.GcrGtk4.CertificateWidget
180
+
181
+ static name: string
182
+ static $gtype: GObject.GType<CertificateWidget>
183
+
184
+ // Constructors of GcrGtk4-4.GcrGtk4.CertificateWidget
185
+
186
+ constructor(config?: CertificateWidget.ConstructorProperties)
187
+ /**
188
+ * Create a new certificate widget which displays a given certificate.
189
+ * @constructor
190
+ * @param certificate certificate to display, or %NULL
191
+ * @returns a newly allocated #GcrCertificateWidget, which should be freed with g_object_unref()
192
+ */
193
+ constructor(certificate: Gcr.Certificate | null)
194
+ /**
195
+ * Create a new certificate widget which displays a given certificate.
196
+ * @constructor
197
+ * @param certificate certificate to display, or %NULL
198
+ * @returns a newly allocated #GcrCertificateWidget, which should be freed with g_object_unref()
199
+ */
200
+ static new(certificate: Gcr.Certificate | null): CertificateWidget
201
+ _init(config?: CertificateWidget.ConstructorProperties): void
202
+ }
203
+
204
+ export interface CertificateWidgetClass {
205
+
206
+ // Own fields of GcrGtk4-4.GcrGtk4.CertificateWidgetClass
207
+
208
+ parent_class: Gtk.WidgetClass
209
+ }
210
+
211
+ export abstract class CertificateWidgetClass {
212
+
213
+ // Own properties of GcrGtk4-4.GcrGtk4.CertificateWidgetClass
214
+
215
+ static name: string
216
+ }
217
+
218
+ /**
219
+ * Name of the imported GIR library
220
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
221
+ */
222
+ export const __name__: string
223
+ /**
224
+ * Version of the imported GIR library
225
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
226
+ */
227
+ export const __version__: string
228
+ // END
package/gcrgtk4-4.d.ts ADDED
@@ -0,0 +1,233 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * GcrGtk4-4
10
+ */
11
+
12
+ import type Gtk from '@girs/gtk-4.0';
13
+ import type Gsk from '@girs/gsk-4.0';
14
+ import type Graphene from '@girs/graphene-1.0';
15
+ import type GObject from '@girs/gobject-2.0';
16
+ import type GLib from '@girs/glib-2.0';
17
+ import type Gdk from '@girs/gdk-4.0';
18
+ import type cairo from '@girs/cairo-1.0';
19
+ import type PangoCairo from '@girs/pangocairo-1.0';
20
+ import type Pango from '@girs/pango-1.0';
21
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
22
+ import type freetype2 from '@girs/freetype2-2.0';
23
+ import type Gio from '@girs/gio-2.0';
24
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
25
+ import type GModule from '@girs/gmodule-2.0';
26
+ import type Gcr from '@girs/gcr-4';
27
+ import type Gck from '@girs/gck-2';
28
+
29
+ export namespace GcrGtk4 {
30
+
31
+ module CertificateWidget {
32
+
33
+ // Constructor properties interface
34
+
35
+ interface ConstructorProperties extends Gtk.Accessible.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.ConstraintTarget.ConstructorProperties, Gtk.Widget.ConstructorProperties {
36
+
37
+ // Own constructor properties of GcrGtk4-4.GcrGtk4.CertificateWidget
38
+
39
+ certificate?: Gcr.Certificate | null
40
+ }
41
+
42
+ }
43
+
44
+ interface CertificateWidget extends Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
45
+
46
+ // Own properties of GcrGtk4-4.GcrGtk4.CertificateWidget
47
+
48
+ certificate: Gcr.Certificate
49
+
50
+ // Owm methods of GcrGtk4-4.GcrGtk4.CertificateWidget
51
+
52
+ /**
53
+ * Get the certificate displayed in the widget.
54
+ * @returns the certificate
55
+ */
56
+ get_certificate(): Gcr.Certificate | null
57
+ /**
58
+ * Set the certificate displayed in the widget
59
+ * @param certificate the certificate to display
60
+ */
61
+ set_certificate(certificate: Gcr.Certificate | null): void
62
+
63
+ // Class property signals of GcrGtk4-4.GcrGtk4.CertificateWidget
64
+
65
+ connect(sigName: "notify::certificate", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
66
+ connect_after(sigName: "notify::certificate", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
67
+ emit(sigName: "notify::certificate", ...args: any[]): void
68
+ connect(sigName: "notify::can-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
69
+ connect_after(sigName: "notify::can-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
70
+ emit(sigName: "notify::can-focus", ...args: any[]): void
71
+ connect(sigName: "notify::can-target", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
72
+ connect_after(sigName: "notify::can-target", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
73
+ emit(sigName: "notify::can-target", ...args: any[]): void
74
+ connect(sigName: "notify::css-classes", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
75
+ connect_after(sigName: "notify::css-classes", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
76
+ emit(sigName: "notify::css-classes", ...args: any[]): void
77
+ connect(sigName: "notify::css-name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
78
+ connect_after(sigName: "notify::css-name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
79
+ emit(sigName: "notify::css-name", ...args: any[]): void
80
+ connect(sigName: "notify::cursor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
81
+ connect_after(sigName: "notify::cursor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
82
+ emit(sigName: "notify::cursor", ...args: any[]): void
83
+ connect(sigName: "notify::focus-on-click", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
84
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
85
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
86
+ connect(sigName: "notify::focusable", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
87
+ connect_after(sigName: "notify::focusable", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
88
+ emit(sigName: "notify::focusable", ...args: any[]): void
89
+ connect(sigName: "notify::halign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
90
+ connect_after(sigName: "notify::halign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
91
+ emit(sigName: "notify::halign", ...args: any[]): void
92
+ connect(sigName: "notify::has-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
93
+ connect_after(sigName: "notify::has-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
94
+ emit(sigName: "notify::has-default", ...args: any[]): void
95
+ connect(sigName: "notify::has-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
96
+ connect_after(sigName: "notify::has-focus", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
97
+ emit(sigName: "notify::has-focus", ...args: any[]): void
98
+ connect(sigName: "notify::has-tooltip", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
99
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
100
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
101
+ connect(sigName: "notify::height-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
102
+ connect_after(sigName: "notify::height-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
103
+ emit(sigName: "notify::height-request", ...args: any[]): void
104
+ connect(sigName: "notify::hexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
105
+ connect_after(sigName: "notify::hexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
106
+ emit(sigName: "notify::hexpand", ...args: any[]): void
107
+ connect(sigName: "notify::hexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
108
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
109
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
110
+ connect(sigName: "notify::layout-manager", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
111
+ connect_after(sigName: "notify::layout-manager", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
112
+ emit(sigName: "notify::layout-manager", ...args: any[]): void
113
+ connect(sigName: "notify::margin-bottom", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
114
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
115
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
116
+ connect(sigName: "notify::margin-end", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
117
+ connect_after(sigName: "notify::margin-end", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
118
+ emit(sigName: "notify::margin-end", ...args: any[]): void
119
+ connect(sigName: "notify::margin-start", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
120
+ connect_after(sigName: "notify::margin-start", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
121
+ emit(sigName: "notify::margin-start", ...args: any[]): void
122
+ connect(sigName: "notify::margin-top", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
123
+ connect_after(sigName: "notify::margin-top", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
124
+ emit(sigName: "notify::margin-top", ...args: any[]): void
125
+ connect(sigName: "notify::name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
126
+ connect_after(sigName: "notify::name", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
127
+ emit(sigName: "notify::name", ...args: any[]): void
128
+ connect(sigName: "notify::opacity", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
129
+ connect_after(sigName: "notify::opacity", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
130
+ emit(sigName: "notify::opacity", ...args: any[]): void
131
+ connect(sigName: "notify::overflow", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
132
+ connect_after(sigName: "notify::overflow", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
133
+ emit(sigName: "notify::overflow", ...args: any[]): void
134
+ connect(sigName: "notify::parent", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
135
+ connect_after(sigName: "notify::parent", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
136
+ emit(sigName: "notify::parent", ...args: any[]): void
137
+ connect(sigName: "notify::receives-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
138
+ connect_after(sigName: "notify::receives-default", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
139
+ emit(sigName: "notify::receives-default", ...args: any[]): void
140
+ connect(sigName: "notify::root", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
141
+ connect_after(sigName: "notify::root", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
142
+ emit(sigName: "notify::root", ...args: any[]): void
143
+ connect(sigName: "notify::scale-factor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
144
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
145
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
146
+ connect(sigName: "notify::sensitive", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
147
+ connect_after(sigName: "notify::sensitive", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
148
+ emit(sigName: "notify::sensitive", ...args: any[]): void
149
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
150
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
151
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
152
+ connect(sigName: "notify::tooltip-text", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
153
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
154
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
155
+ connect(sigName: "notify::valign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
156
+ connect_after(sigName: "notify::valign", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
157
+ emit(sigName: "notify::valign", ...args: any[]): void
158
+ connect(sigName: "notify::vexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
159
+ connect_after(sigName: "notify::vexpand", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
160
+ emit(sigName: "notify::vexpand", ...args: any[]): void
161
+ connect(sigName: "notify::vexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
162
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
163
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
164
+ connect(sigName: "notify::visible", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
165
+ connect_after(sigName: "notify::visible", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
166
+ emit(sigName: "notify::visible", ...args: any[]): void
167
+ connect(sigName: "notify::width-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
168
+ connect_after(sigName: "notify::width-request", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
169
+ emit(sigName: "notify::width-request", ...args: any[]): void
170
+ connect(sigName: "notify::accessible-role", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
171
+ connect_after(sigName: "notify::accessible-role", callback: (($obj: CertificateWidget, pspec: GObject.ParamSpec) => void)): number
172
+ emit(sigName: "notify::accessible-role", ...args: any[]): void
173
+ connect(sigName: string, callback: (...args: any[]) => void): number
174
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
175
+ emit(sigName: string, ...args: any[]): void
176
+ disconnect(id: number): void
177
+ }
178
+
179
+ class CertificateWidget extends Gtk.Widget {
180
+
181
+ // Own properties of GcrGtk4-4.GcrGtk4.CertificateWidget
182
+
183
+ static name: string
184
+ static $gtype: GObject.GType<CertificateWidget>
185
+
186
+ // Constructors of GcrGtk4-4.GcrGtk4.CertificateWidget
187
+
188
+ constructor(config?: CertificateWidget.ConstructorProperties)
189
+ /**
190
+ * Create a new certificate widget which displays a given certificate.
191
+ * @constructor
192
+ * @param certificate certificate to display, or %NULL
193
+ * @returns a newly allocated #GcrCertificateWidget, which should be freed with g_object_unref()
194
+ */
195
+ constructor(certificate: Gcr.Certificate | null)
196
+ /**
197
+ * Create a new certificate widget which displays a given certificate.
198
+ * @constructor
199
+ * @param certificate certificate to display, or %NULL
200
+ * @returns a newly allocated #GcrCertificateWidget, which should be freed with g_object_unref()
201
+ */
202
+ static new(certificate: Gcr.Certificate | null): CertificateWidget
203
+ _init(config?: CertificateWidget.ConstructorProperties): void
204
+ }
205
+
206
+ interface CertificateWidgetClass {
207
+
208
+ // Own fields of GcrGtk4-4.GcrGtk4.CertificateWidgetClass
209
+
210
+ parent_class: Gtk.WidgetClass
211
+ }
212
+
213
+ abstract class CertificateWidgetClass {
214
+
215
+ // Own properties of GcrGtk4-4.GcrGtk4.CertificateWidgetClass
216
+
217
+ static name: string
218
+ }
219
+
220
+ /**
221
+ * Name of the imported GIR library
222
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
223
+ */
224
+ const __name__: string
225
+ /**
226
+ * Version of the imported GIR library
227
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
228
+ */
229
+ const __version__: string
230
+ }
231
+
232
+ export default GcrGtk4;
233
+ // END
package/gcrgtk4-4.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+
3
+ // @ts-expect-error
4
+ import GcrGtk4 from 'gi://GcrGtk4?version=4';
5
+ export { GcrGtk4 };
6
+ export default GcrGtk4;
7
+
8
+
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "@girs/gcrgtk4-4",
3
+ "version": "4.0.0-3.0.0-beta.12",
4
+ "description": "GJS TypeScript type definitions for GcrGtk4-4, generated from library version 4.0.0",
5
+ "type": "module",
6
+ "module": "gcrgtk4-4.js",
7
+ "main": "gcrgtk4-4.js",
8
+ "typedoc": {
9
+ "entryPoint": "./gcrgtk4-4.d.ts",
10
+ "readmeFile": "./README.md",
11
+ "displayName": "GcrGtk4-4",
12
+ "tsconfig": "./tsconfig.doc.json"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./gcrgtk4-4.d.ts",
18
+ "default": "./gcrgtk4-4.js"
19
+ },
20
+ "require": {
21
+ "types": "./gcrgtk4-4.d.cts",
22
+ "default": "./gcrgtk4-4.cjs"
23
+ }
24
+ }
25
+ },
26
+ "scripts": {
27
+ "test": "yarn test:esm && yarn test:cjs",
28
+ "test:esm": "tsc --noEmit gcrgtk4-4.d.ts",
29
+ "test:cjs": "tsc --noEmit gcrgtk4-4.d.cts"
30
+ },
31
+ "dependencies": {
32
+ "@girs/cairo-1.0": "^1.0.0-3.0.0-beta.12",
33
+ "@girs/freetype2-2.0": "^2.0.0-3.0.0-beta.12",
34
+ "@girs/gck-2": "^4.0.0-3.0.0-beta.12",
35
+ "@girs/gcr-4": "^4.0.0-3.0.0-beta.12",
36
+ "@girs/gdk-4.0": "^4.0.0-3.0.0-beta.12",
37
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0-beta.12",
38
+ "@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
39
+ "@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
40
+ "@girs/gmodule-2.0": "^2.0.0-3.0.0-beta.12",
41
+ "@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
42
+ "@girs/graphene-1.0": "^1.0.0-3.0.0-beta.12",
43
+ "@girs/gsk-4.0": "^4.0.0-3.0.0-beta.12",
44
+ "@girs/gtk-4.0": "^4.10.1-3.0.0-beta.12",
45
+ "@girs/harfbuzz-0.0": "^6.0.0-3.0.0-beta.12",
46
+ "@girs/pango-1.0": "^1.50.13-3.0.0-beta.12",
47
+ "@girs/pangocairo-1.0": "^1.0.0-3.0.0-beta.12"
48
+ },
49
+ "devDependencies": {
50
+ "typescript": "^*"
51
+ },
52
+ "keywords": [
53
+ "Gir",
54
+ "TypeScript",
55
+ "GcrGtk4-4"
56
+ ],
57
+ "author": "ts-for-gir",
58
+ "license": "Apache-2.0",
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
62
+ },
63
+ "bugs": {
64
+ "url": "https://github.com/gjsify/ts-for-gir/issues"
65
+ },
66
+ "homepage": "https://github.com/gjsify/ts-for-gir#readme"
67
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ // General settings for code interpretation
4
+ "target": "ESNext",
5
+ "module": "ESNext",
6
+ "experimentalDecorators": true,
7
+ "moduleResolution": "node",
8
+ "noEmit": true,
9
+ "noEmitOnError": false,
10
+ "baseUrl": "./",
11
+ "rootDir": ".",
12
+ // General settings for code generation
13
+ "removeComments": false,
14
+ "inlineSourceMap": false,
15
+ "inlineSources": false,
16
+ "newLine": "LF"
17
+ },
18
+ "include": ["./gcrgtk4-4.d.ts"]
19
+ }