@girs/devhelp-3.0 3.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.
@@ -0,0 +1,4040 @@
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
+ * Devhelp-3.0
10
+ */
11
+
12
+ import type WebKit2 from '@girs/webkit2-4.1';
13
+ import type Soup from '@girs/soup-3.0';
14
+ import type Gio from '@girs/gio-2.0';
15
+ import type GObject from '@girs/gobject-2.0';
16
+ import type GLib from '@girs/glib-2.0';
17
+ import type JavaScriptCore from '@girs/javascriptcore-4.1';
18
+ import type Gtk from '@girs/gtk-3.0';
19
+ import type xlib from '@girs/xlib-2.0';
20
+ import type Gdk from '@girs/gdk-3.0';
21
+ import type cairo from '@girs/cairo-1.0';
22
+ import type Pango from '@girs/pango-1.0';
23
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
24
+ import type freetype2 from '@girs/freetype2-2.0';
25
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
26
+ import type GModule from '@girs/gmodule-2.0';
27
+ import type Atk from '@girs/atk-1.0';
28
+
29
+ export namespace Devhelp {
30
+
31
+ /**
32
+ * The type of the content the link points to.
33
+ */
34
+ enum LinkType {
35
+ /**
36
+ * The top-level page of a #DhBook.
37
+ */
38
+ BOOK,
39
+ /**
40
+ * A page.
41
+ */
42
+ PAGE,
43
+ /**
44
+ * Another kind of keyword.
45
+ */
46
+ KEYWORD,
47
+ /**
48
+ * A function keyword.
49
+ */
50
+ FUNCTION,
51
+ /**
52
+ * A struct keyword.
53
+ */
54
+ STRUCT,
55
+ /**
56
+ * A macro keyword.
57
+ */
58
+ MACRO,
59
+ /**
60
+ * An enum keyword.
61
+ */
62
+ ENUM,
63
+ /**
64
+ * A typedef keyword.
65
+ */
66
+ TYPEDEF,
67
+ /**
68
+ * A property keyword.
69
+ */
70
+ PROPERTY,
71
+ /**
72
+ * A signal keyword.
73
+ */
74
+ SIGNAL,
75
+ }
76
+ enum LinkFlags {
77
+ /**
78
+ * No flags set.
79
+ */
80
+ NONE,
81
+ /**
82
+ * The symbol that the link points to is deprecated.
83
+ */
84
+ DEPRECATED,
85
+ }
86
+ /**
87
+ * Binds `sidebar` and `notebook:`
88
+ * - When the #DhSidebar::link-selected signal is emitted, open the URI in the
89
+ * active #DhWebView.
90
+ * - On #GtkNotebook::switch-page or when the user clicks on a link, calls
91
+ * dh_sidebar_select_uri() with the new active URI.
92
+ *
93
+ * You need to call this function when the #DhNotebook is empty, i.e. before
94
+ * adding the first #DhTab.
95
+ *
96
+ * Note that this function doesn't take a “self” window parameter, to be more
97
+ * flexible: it is possible to have several pairs of #DhSidebar/#DhNotebook per
98
+ * window, to show different #DhProfile's.
99
+ * @param sidebar a #DhSidebar.
100
+ * @param notebook an empty #DhNotebook.
101
+ */
102
+ function application_window_bind_sidebar_and_notebook(sidebar: Sidebar, notebook: Notebook): void
103
+ /**
104
+ * Free the resources allocated by Devhelp. For example it unrefs the singleton
105
+ * objects.
106
+ *
107
+ * It is not mandatory to call this function, it's just to be friendlier to
108
+ * memory debugging tools. This function is meant to be called at the end of
109
+ * main(). It can be called several times.
110
+ */
111
+ function finalize(): void
112
+ /**
113
+ * Initializes the Devhelp library (e.g. for the internationalization).
114
+ *
115
+ * This function can be called several times, but is meant to be called at the
116
+ * beginning of main(), before any other Devhelp function call.
117
+ *
118
+ * Since version 3.38, this function enables the WebKitGTK sandbox by calling
119
+ * webkit_web_context_set_sandbox_enabled() on the default #WebKitWebContext.
120
+ */
121
+ function init(): void
122
+ function link_type_to_string(link_type: LinkType): string | null
123
+ module AssistantView {
124
+
125
+ // Signal callback interfaces
126
+
127
+ /**
128
+ * Signal callback interface for `open-uri`
129
+ */
130
+ interface OpenUriSignalCallback {
131
+ ($obj: AssistantView, uri: string | null): void
132
+ }
133
+
134
+
135
+ // Constructor properties interface
136
+
137
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, WebKit2.WebView.ConstructorProperties {
138
+ }
139
+
140
+ }
141
+
142
+ interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
143
+
144
+ // Conflicting properties
145
+
146
+ parent: WebKit2.WebViewBase & Gtk.Container & Gtk.Container
147
+
148
+ // Own fields of Devhelp-3.0.Devhelp.AssistantView
149
+
150
+ parent_instance: WebKit2.WebView & GObject.InitiallyUnowned
151
+
152
+ // Owm methods of Devhelp-3.0.Devhelp.AssistantView
153
+
154
+ /**
155
+ * Search for `str` in the current assistant view.
156
+ * @param str the search query.
157
+ * @returns %TRUE if @str was found, %FALSE otherwise.
158
+ */
159
+ search(str: string | null): boolean
160
+ /**
161
+ * Open `link` in the assistant view, if %NULL the view will be blanked.
162
+ * @param link a #DhLink to set or %NULL.
163
+ * @returns %TRUE if the requested link is open, %FALSE otherwise.
164
+ */
165
+ set_link(link: Link | null): boolean
166
+
167
+ // Conflicting methods
168
+
169
+ /**
170
+ * Gets the #WebKitSettings currently applied to `web_view`.
171
+ *
172
+ * If no other #WebKitSettings have been explicitly applied to
173
+ * `web_view` with webkit_web_view_set_settings(), the default
174
+ * #WebKitSettings will be returned. This method always returns
175
+ * a valid #WebKitSettings object.
176
+ * To modify any of the `web_view` settings, you can either create
177
+ * a new #WebKitSettings object with webkit_settings_new(), setting
178
+ * the desired preferences, and then replace the existing `web_view`
179
+ * settings with webkit_web_view_set_settings() or get the existing
180
+ * `web_view` settings and update it directly. #WebKitSettings objects
181
+ * can be shared by multiple #WebKitWebView<!-- -->s, so modifying
182
+ * the settings of a #WebKitWebView would affect other
183
+ * #WebKitWebView<!-- -->s using the same #WebKitSettings.
184
+ * @returns the #WebKitSettings attached to @web_view
185
+ */
186
+ get_settings(): WebKit2.Settings
187
+
188
+ // Overloads of get_settings
189
+
190
+ /**
191
+ * Gets the settings object holding the settings used for this widget.
192
+ *
193
+ * Note that this function can only be called when the #GtkWidget
194
+ * is attached to a toplevel, since the settings object is specific
195
+ * to a particular #GdkScreen.
196
+ * @returns the relevant #GtkSettings object
197
+ */
198
+ get_settings(): Gtk.Settings
199
+ /**
200
+ * Gets the settings object holding the settings used for this widget.
201
+ *
202
+ * Note that this function can only be called when the #GtkWidget
203
+ * is attached to a toplevel, since the settings object is specific
204
+ * to a particular #GdkScreen.
205
+ * @returns the relevant #GtkSettings object
206
+ */
207
+ get_settings(): Gtk.Settings
208
+ /**
209
+ * Emits a #GtkWidget::child-notify signal for the
210
+ * [child property][child-properties]
211
+ * `child_property` on the child.
212
+ *
213
+ * This is an analogue of g_object_notify() for child properties.
214
+ *
215
+ * Also see gtk_widget_child_notify().
216
+ * @param child the child widget
217
+ * @param child_property the name of a child property installed on the class of `container`
218
+ */
219
+ child_notify(child: Gtk.Widget, child_property: string | null): void
220
+
221
+ // Overloads of child_notify
222
+
223
+ /**
224
+ * Emits a #GtkWidget::child-notify signal for the
225
+ * [child property][child-properties] `child_property`
226
+ * on `widget`.
227
+ *
228
+ * This is the analogue of g_object_notify() for child properties.
229
+ *
230
+ * Also see gtk_container_child_notify().
231
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
232
+ */
233
+ child_notify(child_property: string | null): void
234
+ /**
235
+ * Emits a #GtkWidget::child-notify signal for the
236
+ * [child property][child-properties] `child_property`
237
+ * on `widget`.
238
+ *
239
+ * This is the analogue of g_object_notify() for child properties.
240
+ *
241
+ * Also see gtk_container_child_notify().
242
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
243
+ */
244
+ child_notify(child_property: string | null): void
245
+
246
+ // Own signals of Devhelp-3.0.Devhelp.AssistantView
247
+
248
+ connect(sigName: "open-uri", callback: AssistantView.OpenUriSignalCallback): number
249
+ connect_after(sigName: "open-uri", callback: AssistantView.OpenUriSignalCallback): number
250
+ emit(sigName: "open-uri", uri: string | null, ...args: any[]): void
251
+
252
+ // Class property signals of Devhelp-3.0.Devhelp.AssistantView
253
+
254
+ connect(sigName: "notify::automation-presentation-type", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
255
+ connect_after(sigName: "notify::automation-presentation-type", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
256
+ emit(sigName: "notify::automation-presentation-type", ...args: any[]): void
257
+ connect(sigName: "notify::camera-capture-state", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
258
+ connect_after(sigName: "notify::camera-capture-state", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
259
+ emit(sigName: "notify::camera-capture-state", ...args: any[]): void
260
+ connect(sigName: "notify::default-content-security-policy", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
261
+ connect_after(sigName: "notify::default-content-security-policy", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
262
+ emit(sigName: "notify::default-content-security-policy", ...args: any[]): void
263
+ connect(sigName: "notify::display-capture-state", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
264
+ connect_after(sigName: "notify::display-capture-state", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
265
+ emit(sigName: "notify::display-capture-state", ...args: any[]): void
266
+ connect(sigName: "notify::editable", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
267
+ connect_after(sigName: "notify::editable", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
268
+ emit(sigName: "notify::editable", ...args: any[]): void
269
+ connect(sigName: "notify::estimated-load-progress", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
270
+ connect_after(sigName: "notify::estimated-load-progress", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
271
+ emit(sigName: "notify::estimated-load-progress", ...args: any[]): void
272
+ connect(sigName: "notify::favicon", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
273
+ connect_after(sigName: "notify::favicon", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
274
+ emit(sigName: "notify::favicon", ...args: any[]): void
275
+ connect(sigName: "notify::is-controlled-by-automation", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
276
+ connect_after(sigName: "notify::is-controlled-by-automation", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
277
+ emit(sigName: "notify::is-controlled-by-automation", ...args: any[]): void
278
+ connect(sigName: "notify::is-ephemeral", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
279
+ connect_after(sigName: "notify::is-ephemeral", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
280
+ emit(sigName: "notify::is-ephemeral", ...args: any[]): void
281
+ connect(sigName: "notify::is-loading", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
282
+ connect_after(sigName: "notify::is-loading", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
283
+ emit(sigName: "notify::is-loading", ...args: any[]): void
284
+ connect(sigName: "notify::is-muted", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
285
+ connect_after(sigName: "notify::is-muted", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
286
+ emit(sigName: "notify::is-muted", ...args: any[]): void
287
+ connect(sigName: "notify::is-playing-audio", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
288
+ connect_after(sigName: "notify::is-playing-audio", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
289
+ emit(sigName: "notify::is-playing-audio", ...args: any[]): void
290
+ connect(sigName: "notify::is-web-process-responsive", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
291
+ connect_after(sigName: "notify::is-web-process-responsive", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
292
+ emit(sigName: "notify::is-web-process-responsive", ...args: any[]): void
293
+ connect(sigName: "notify::microphone-capture-state", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
294
+ connect_after(sigName: "notify::microphone-capture-state", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
295
+ emit(sigName: "notify::microphone-capture-state", ...args: any[]): void
296
+ connect(sigName: "notify::page-id", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
297
+ connect_after(sigName: "notify::page-id", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
298
+ emit(sigName: "notify::page-id", ...args: any[]): void
299
+ connect(sigName: "notify::related-view", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
300
+ connect_after(sigName: "notify::related-view", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
301
+ emit(sigName: "notify::related-view", ...args: any[]): void
302
+ connect(sigName: "notify::settings", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
303
+ connect_after(sigName: "notify::settings", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
304
+ emit(sigName: "notify::settings", ...args: any[]): void
305
+ connect(sigName: "notify::title", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
306
+ connect_after(sigName: "notify::title", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
307
+ emit(sigName: "notify::title", ...args: any[]): void
308
+ connect(sigName: "notify::uri", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
309
+ connect_after(sigName: "notify::uri", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
310
+ emit(sigName: "notify::uri", ...args: any[]): void
311
+ connect(sigName: "notify::user-content-manager", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
312
+ connect_after(sigName: "notify::user-content-manager", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
313
+ emit(sigName: "notify::user-content-manager", ...args: any[]): void
314
+ connect(sigName: "notify::web-context", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
315
+ connect_after(sigName: "notify::web-context", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
316
+ emit(sigName: "notify::web-context", ...args: any[]): void
317
+ connect(sigName: "notify::web-extension-mode", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
318
+ connect_after(sigName: "notify::web-extension-mode", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
319
+ emit(sigName: "notify::web-extension-mode", ...args: any[]): void
320
+ connect(sigName: "notify::website-policies", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
321
+ connect_after(sigName: "notify::website-policies", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
322
+ emit(sigName: "notify::website-policies", ...args: any[]): void
323
+ connect(sigName: "notify::zoom-level", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
324
+ connect_after(sigName: "notify::zoom-level", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
325
+ emit(sigName: "notify::zoom-level", ...args: any[]): void
326
+ connect(sigName: "notify::border-width", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
327
+ connect_after(sigName: "notify::border-width", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
328
+ emit(sigName: "notify::border-width", ...args: any[]): void
329
+ connect(sigName: "notify::child", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
330
+ connect_after(sigName: "notify::child", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
331
+ emit(sigName: "notify::child", ...args: any[]): void
332
+ connect(sigName: "notify::resize-mode", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
333
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
334
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
335
+ connect(sigName: "notify::app-paintable", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
336
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
337
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
338
+ connect(sigName: "notify::can-default", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
339
+ connect_after(sigName: "notify::can-default", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
340
+ emit(sigName: "notify::can-default", ...args: any[]): void
341
+ connect(sigName: "notify::can-focus", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
342
+ connect_after(sigName: "notify::can-focus", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
343
+ emit(sigName: "notify::can-focus", ...args: any[]): void
344
+ connect(sigName: "notify::composite-child", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
345
+ connect_after(sigName: "notify::composite-child", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
346
+ emit(sigName: "notify::composite-child", ...args: any[]): void
347
+ connect(sigName: "notify::double-buffered", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
348
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
349
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
350
+ connect(sigName: "notify::events", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
351
+ connect_after(sigName: "notify::events", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
352
+ emit(sigName: "notify::events", ...args: any[]): void
353
+ connect(sigName: "notify::expand", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
354
+ connect_after(sigName: "notify::expand", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
355
+ emit(sigName: "notify::expand", ...args: any[]): void
356
+ connect(sigName: "notify::focus-on-click", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
357
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
358
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
359
+ connect(sigName: "notify::halign", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
360
+ connect_after(sigName: "notify::halign", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
361
+ emit(sigName: "notify::halign", ...args: any[]): void
362
+ connect(sigName: "notify::has-default", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
363
+ connect_after(sigName: "notify::has-default", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
364
+ emit(sigName: "notify::has-default", ...args: any[]): void
365
+ connect(sigName: "notify::has-focus", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
366
+ connect_after(sigName: "notify::has-focus", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
367
+ emit(sigName: "notify::has-focus", ...args: any[]): void
368
+ connect(sigName: "notify::has-tooltip", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
369
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
370
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
371
+ connect(sigName: "notify::height-request", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
372
+ connect_after(sigName: "notify::height-request", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
373
+ emit(sigName: "notify::height-request", ...args: any[]): void
374
+ connect(sigName: "notify::hexpand", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
375
+ connect_after(sigName: "notify::hexpand", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
376
+ emit(sigName: "notify::hexpand", ...args: any[]): void
377
+ connect(sigName: "notify::hexpand-set", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
378
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
379
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
380
+ connect(sigName: "notify::is-focus", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
381
+ connect_after(sigName: "notify::is-focus", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
382
+ emit(sigName: "notify::is-focus", ...args: any[]): void
383
+ connect(sigName: "notify::margin", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
384
+ connect_after(sigName: "notify::margin", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
385
+ emit(sigName: "notify::margin", ...args: any[]): void
386
+ connect(sigName: "notify::margin-bottom", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
387
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
388
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
389
+ connect(sigName: "notify::margin-end", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
390
+ connect_after(sigName: "notify::margin-end", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
391
+ emit(sigName: "notify::margin-end", ...args: any[]): void
392
+ connect(sigName: "notify::margin-left", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
393
+ connect_after(sigName: "notify::margin-left", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
394
+ emit(sigName: "notify::margin-left", ...args: any[]): void
395
+ connect(sigName: "notify::margin-right", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
396
+ connect_after(sigName: "notify::margin-right", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
397
+ emit(sigName: "notify::margin-right", ...args: any[]): void
398
+ connect(sigName: "notify::margin-start", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
399
+ connect_after(sigName: "notify::margin-start", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
400
+ emit(sigName: "notify::margin-start", ...args: any[]): void
401
+ connect(sigName: "notify::margin-top", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
402
+ connect_after(sigName: "notify::margin-top", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
403
+ emit(sigName: "notify::margin-top", ...args: any[]): void
404
+ connect(sigName: "notify::name", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
405
+ connect_after(sigName: "notify::name", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
406
+ emit(sigName: "notify::name", ...args: any[]): void
407
+ connect(sigName: "notify::no-show-all", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
408
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
409
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
410
+ connect(sigName: "notify::opacity", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
411
+ connect_after(sigName: "notify::opacity", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
412
+ emit(sigName: "notify::opacity", ...args: any[]): void
413
+ connect(sigName: "notify::parent", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
414
+ connect_after(sigName: "notify::parent", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
415
+ emit(sigName: "notify::parent", ...args: any[]): void
416
+ connect(sigName: "notify::receives-default", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
417
+ connect_after(sigName: "notify::receives-default", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
418
+ emit(sigName: "notify::receives-default", ...args: any[]): void
419
+ connect(sigName: "notify::scale-factor", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
420
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
421
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
422
+ connect(sigName: "notify::sensitive", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
423
+ connect_after(sigName: "notify::sensitive", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
424
+ emit(sigName: "notify::sensitive", ...args: any[]): void
425
+ connect(sigName: "notify::style", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
426
+ connect_after(sigName: "notify::style", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
427
+ emit(sigName: "notify::style", ...args: any[]): void
428
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
429
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
430
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
431
+ connect(sigName: "notify::tooltip-text", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
432
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
433
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
434
+ connect(sigName: "notify::valign", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
435
+ connect_after(sigName: "notify::valign", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
436
+ emit(sigName: "notify::valign", ...args: any[]): void
437
+ connect(sigName: "notify::vexpand", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
438
+ connect_after(sigName: "notify::vexpand", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
439
+ emit(sigName: "notify::vexpand", ...args: any[]): void
440
+ connect(sigName: "notify::vexpand-set", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
441
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
442
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
443
+ connect(sigName: "notify::visible", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
444
+ connect_after(sigName: "notify::visible", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
445
+ emit(sigName: "notify::visible", ...args: any[]): void
446
+ connect(sigName: "notify::width-request", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
447
+ connect_after(sigName: "notify::width-request", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
448
+ emit(sigName: "notify::width-request", ...args: any[]): void
449
+ connect(sigName: "notify::window", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
450
+ connect_after(sigName: "notify::window", callback: (($obj: AssistantView, pspec: GObject.ParamSpec) => void)): number
451
+ emit(sigName: "notify::window", ...args: any[]): void
452
+ connect(sigName: string, callback: (...args: any[]) => void): number
453
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
454
+ emit(sigName: string, ...args: any[]): void
455
+ disconnect(id: number): void
456
+ }
457
+
458
+ class AssistantView extends WebKit2.WebView {
459
+
460
+ // Own properties of Devhelp-3.0.Devhelp.AssistantView
461
+
462
+ static name: string
463
+ static $gtype: GObject.GType<AssistantView>
464
+
465
+ // Constructors of Devhelp-3.0.Devhelp.AssistantView
466
+
467
+ constructor(config?: AssistantView.ConstructorProperties)
468
+ constructor()
469
+ static new(): AssistantView
470
+ _init(config?: AssistantView.ConstructorProperties): void
471
+ }
472
+
473
+ module Book {
474
+
475
+ // Signal callback interfaces
476
+
477
+ /**
478
+ * Signal callback interface for `deleted`
479
+ */
480
+ interface DeletedSignalCallback {
481
+ ($obj: Book): void
482
+ }
483
+
484
+ /**
485
+ * Signal callback interface for `updated`
486
+ */
487
+ interface UpdatedSignalCallback {
488
+ ($obj: Book): void
489
+ }
490
+
491
+
492
+ // Constructor properties interface
493
+
494
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
495
+ }
496
+
497
+ }
498
+
499
+ interface Book {
500
+
501
+ // Own fields of Devhelp-3.0.Devhelp.Book
502
+
503
+ parent_instance: GObject.Object
504
+
505
+ // Owm methods of Devhelp-3.0.Devhelp.Book
506
+
507
+ /**
508
+ * Compares the #DhBook's by their IDs, with g_ascii_strcasecmp().
509
+ * @param b a #DhBook.
510
+ * @returns an integer less than, equal to, or greater than zero, if @a is <, == or > than @b.
511
+ */
512
+ cmp_by_id(b: Book): number
513
+ /**
514
+ * Compares the #DhBook's by their title.
515
+ * @param b a #DhBook.
516
+ * @returns an integer less than, equal to, or greater than zero, if @a is <, == or > than @b.
517
+ */
518
+ cmp_by_title(b: Book): number
519
+ get_completion(): Completion
520
+ /**
521
+ * Gets the book ID. In the Devhelp index file format version 2, it is actually
522
+ * the “name”, not the ID, but “book ID” is clearer, “book name” can be confused
523
+ * with the title.
524
+ * @returns the book ID.
525
+ */
526
+ get_id(): string | null
527
+ get_index_file(): Gio.File
528
+ get_language(): string | null
529
+ get_links(): Link[]
530
+ get_title(): string | null
531
+ /**
532
+ * Gets the general structure of the book, as a tree. The tree contains only
533
+ * #DhLink's of type %DH_LINK_TYPE_BOOK or %DH_LINK_TYPE_PAGE. The other
534
+ * #DhLink's are not contained in the tree. To have a list of
535
+ * <emphasis>all</emphasis> #DhLink's part of the book, you need to call
536
+ * dh_book_get_links().
537
+ * @returns the tree of #DhLink's part of @book.
538
+ */
539
+ get_tree(): GLib.Node
540
+
541
+ // Own signals of Devhelp-3.0.Devhelp.Book
542
+
543
+ connect(sigName: "deleted", callback: Book.DeletedSignalCallback): number
544
+ connect_after(sigName: "deleted", callback: Book.DeletedSignalCallback): number
545
+ emit(sigName: "deleted", ...args: any[]): void
546
+ connect(sigName: "updated", callback: Book.UpdatedSignalCallback): number
547
+ connect_after(sigName: "updated", callback: Book.UpdatedSignalCallback): number
548
+ emit(sigName: "updated", ...args: any[]): void
549
+
550
+ // Class property signals of Devhelp-3.0.Devhelp.Book
551
+
552
+ connect(sigName: string, callback: (...args: any[]) => void): number
553
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
554
+ emit(sigName: string, ...args: any[]): void
555
+ disconnect(id: number): void
556
+ }
557
+
558
+ class Book extends GObject.Object {
559
+
560
+ // Own properties of Devhelp-3.0.Devhelp.Book
561
+
562
+ static name: string
563
+ static $gtype: GObject.GType<Book>
564
+
565
+ // Constructors of Devhelp-3.0.Devhelp.Book
566
+
567
+ constructor(config?: Book.ConstructorProperties)
568
+ constructor(index_file: Gio.File)
569
+ static new(index_file: Gio.File): Book
570
+ _init(config?: Book.ConstructorProperties): void
571
+ }
572
+
573
+ module BookList {
574
+
575
+ // Signal callback interfaces
576
+
577
+ /**
578
+ * Signal callback interface for `add-book`
579
+ */
580
+ interface AddBookSignalCallback {
581
+ ($obj: BookList, book: Book): void
582
+ }
583
+
584
+ /**
585
+ * Signal callback interface for `remove-book`
586
+ */
587
+ interface RemoveBookSignalCallback {
588
+ ($obj: BookList, book: Book): void
589
+ }
590
+
591
+
592
+ // Constructor properties interface
593
+
594
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
595
+ }
596
+
597
+ }
598
+
599
+ interface BookList {
600
+
601
+ // Own fields of Devhelp-3.0.Devhelp.BookList
602
+
603
+ parent: GObject.Object
604
+ priv: BookListPrivate
605
+
606
+ // Owm methods of Devhelp-3.0.Devhelp.BookList
607
+
608
+ /**
609
+ * Emits the #DhBookList::add-book signal.
610
+ *
611
+ * It is a programmer error to call this function if `book` is already inserted
612
+ * in `book_list`.
613
+ * @param book a #DhBook.
614
+ */
615
+ add_book(book: Book): void
616
+ /**
617
+ * Gets the list of #DhBook's part of `book_list,` in no particular order. Each
618
+ * book ID in the list is unique (see dh_book_get_id()).
619
+ * @returns the #GList of #DhBook's part of @book_list.
620
+ */
621
+ get_books(): Book[]
622
+ /**
623
+ * Emits the #DhBookList::remove-book signal.
624
+ *
625
+ * It is a programmer error to call this function if `book` is not present in
626
+ * `book_list`.
627
+ * @param book a #DhBook.
628
+ */
629
+ remove_book(book: Book): void
630
+
631
+ // Own virtual methods of Devhelp-3.0.Devhelp.BookList
632
+
633
+ /**
634
+ * Emits the #DhBookList::add-book signal.
635
+ *
636
+ * It is a programmer error to call this function if `book` is already inserted
637
+ * in `book_list`.
638
+ * @virtual
639
+ * @param book a #DhBook.
640
+ */
641
+ vfunc_add_book(book: Book): void
642
+ /**
643
+ * Gets the list of #DhBook's part of `book_list,` in no particular order. Each
644
+ * book ID in the list is unique (see dh_book_get_id()).
645
+ * @virtual
646
+ * @returns the #GList of #DhBook's part of @book_list.
647
+ */
648
+ vfunc_get_books(): Book[]
649
+ /**
650
+ * Emits the #DhBookList::remove-book signal.
651
+ *
652
+ * It is a programmer error to call this function if `book` is not present in
653
+ * `book_list`.
654
+ * @virtual
655
+ * @param book a #DhBook.
656
+ */
657
+ vfunc_remove_book(book: Book): void
658
+
659
+ // Own signals of Devhelp-3.0.Devhelp.BookList
660
+
661
+ connect(sigName: "add-book", callback: BookList.AddBookSignalCallback): number
662
+ connect_after(sigName: "add-book", callback: BookList.AddBookSignalCallback): number
663
+ emit(sigName: "add-book", book: Book, ...args: any[]): void
664
+ connect(sigName: "remove-book", callback: BookList.RemoveBookSignalCallback): number
665
+ connect_after(sigName: "remove-book", callback: BookList.RemoveBookSignalCallback): number
666
+ emit(sigName: "remove-book", book: Book, ...args: any[]): void
667
+
668
+ // Class property signals of Devhelp-3.0.Devhelp.BookList
669
+
670
+ connect(sigName: string, callback: (...args: any[]) => void): number
671
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
672
+ emit(sigName: string, ...args: any[]): void
673
+ disconnect(id: number): void
674
+ }
675
+
676
+ class BookList extends GObject.Object {
677
+
678
+ // Own properties of Devhelp-3.0.Devhelp.BookList
679
+
680
+ static name: string
681
+ static $gtype: GObject.GType<BookList>
682
+
683
+ // Constructors of Devhelp-3.0.Devhelp.BookList
684
+
685
+ constructor(config?: BookList.ConstructorProperties)
686
+ constructor()
687
+ static new(): BookList
688
+ _init(config?: BookList.ConstructorProperties): void
689
+ /**
690
+ * Gets the default #DhBookList object. It is created with #DhBookListBuilder,
691
+ * dh_book_list_builder_add_default_sub_book_lists() is called, and
692
+ * dh_book_list_builder_read_books_disabled_setting() is called with the default
693
+ * #DhSettings object as returned by dh_settings_get_default().
694
+ * @returns the default #DhBookList object.
695
+ */
696
+ static get_default(): BookList
697
+ }
698
+
699
+ module BookListBuilder {
700
+
701
+ // Constructor properties interface
702
+
703
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
704
+ }
705
+
706
+ }
707
+
708
+ interface BookListBuilder {
709
+
710
+ // Own fields of Devhelp-3.0.Devhelp.BookListBuilder
711
+
712
+ parent: GObject.Object
713
+ priv: BookListBuilderPrivate
714
+
715
+ // Owm methods of Devhelp-3.0.Devhelp.BookListBuilder
716
+
717
+ /**
718
+ * Creates the default #DhBookListDirectory's and adds them to `builder` with
719
+ * dh_book_list_builder_add_sub_book_list().
720
+ *
721
+ * It creates and adds a #DhBookListDirectory for the following directories (in
722
+ * that order):
723
+ * - `$XDG_DATA_HOME/doc/`
724
+ * - `$XDG_DATA_HOME/gtk-doc/html/`
725
+ * - `$XDG_DATA_HOME/devhelp/books/`
726
+ * - For each directory in `$XDG_DATA_DIRS`:
727
+ * - `$xdg_data_dir/doc/`
728
+ * - `$xdg_data_dir/gtk-doc/html/`
729
+ * - `$xdg_data_dir/devhelp/books/`
730
+ *
731
+ * See g_get_user_data_dir() and g_get_system_data_dirs().
732
+ *
733
+ * Additionally, if the libdevhelp has been compiled with the `flatpak_build`
734
+ * option, it creates and adds a #DhBookListDirectory for the following
735
+ * directories (in that order, after the above ones):
736
+ * - `/run/host/usr/share/doc/`
737
+ * - `/run/host/usr/share/gtk-doc/html/`
738
+ * - `/run/host/usr/share/devhelp/books/`
739
+ *
740
+ * The exact list of directories is subject to change, it is not part of the
741
+ * API.
742
+ */
743
+ add_default_sub_book_lists(): void
744
+ /**
745
+ * Adds `sub_book_list`.
746
+ *
747
+ * The #DhBookList object that will be created with
748
+ * dh_book_list_builder_create_object() will contain all the sub-#DhBookList's
749
+ * added with this function (and it will listen to their signals). The
750
+ * sub-#DhBookList's must be added in order of decreasing priority (the first
751
+ * sub-#DhBookList added has the highest priority). The priority is used in case
752
+ * of book ID conflicts (see dh_book_get_id()).
753
+ * @param sub_book_list a #DhBookList.
754
+ */
755
+ add_sub_book_list(sub_book_list: BookList): void
756
+ /**
757
+ * Creates the #DhBookList. It actually creates a subclass of #DhBookList, but
758
+ * the subclass is not exposed to the public API.
759
+ * @returns the newly created #DhBookList object.
760
+ */
761
+ create_object(): BookList
762
+ /**
763
+ * Sets the #DhSettings object from which to read the "books-disabled"
764
+ * #GSettings key. If `settings` is %NULL or if this function isn't called, then
765
+ * the #DhBookList object that will be created with
766
+ * dh_book_list_builder_create_object() will not read a "books-disabled"
767
+ * setting.
768
+ *
769
+ * With #DhBookListBuilder it is not possible to read the "books-disabled"
770
+ * settings from several #DhSettings objects and combine them. Only the last
771
+ * call to this function is taken into account when creating the #DhBookList
772
+ * with dh_book_list_builder_create_object().
773
+ * @param settings a #DhSettings, or %NULL.
774
+ */
775
+ read_books_disabled_setting(settings: Settings | null): void
776
+
777
+ // Class property signals of Devhelp-3.0.Devhelp.BookListBuilder
778
+
779
+ connect(sigName: string, callback: (...args: any[]) => void): number
780
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
781
+ emit(sigName: string, ...args: any[]): void
782
+ disconnect(id: number): void
783
+ }
784
+
785
+ class BookListBuilder extends GObject.Object {
786
+
787
+ // Own properties of Devhelp-3.0.Devhelp.BookListBuilder
788
+
789
+ static name: string
790
+ static $gtype: GObject.GType<BookListBuilder>
791
+
792
+ // Constructors of Devhelp-3.0.Devhelp.BookListBuilder
793
+
794
+ constructor(config?: BookListBuilder.ConstructorProperties)
795
+ constructor()
796
+ static new(): BookListBuilder
797
+ _init(config?: BookListBuilder.ConstructorProperties): void
798
+ }
799
+
800
+ module BookListDirectory {
801
+
802
+ // Constructor properties interface
803
+
804
+ interface ConstructorProperties extends BookList.ConstructorProperties {
805
+
806
+ // Own constructor properties of Devhelp-3.0.Devhelp.BookListDirectory
807
+
808
+ /**
809
+ * The directory, as a #GFile, containing a set of Devhelp books.
810
+ */
811
+ directory?: Gio.File | null
812
+ }
813
+
814
+ }
815
+
816
+ interface BookListDirectory {
817
+
818
+ // Own properties of Devhelp-3.0.Devhelp.BookListDirectory
819
+
820
+ /**
821
+ * The directory, as a #GFile, containing a set of Devhelp books.
822
+ */
823
+ readonly directory: Gio.File
824
+
825
+ // Own fields of Devhelp-3.0.Devhelp.BookListDirectory
826
+
827
+ parent: BookList & GObject.Object
828
+ priv: any
829
+
830
+ // Owm methods of Devhelp-3.0.Devhelp.BookListDirectory
831
+
832
+ get_directory(): Gio.File
833
+
834
+ // Class property signals of Devhelp-3.0.Devhelp.BookListDirectory
835
+
836
+ connect(sigName: "notify::directory", callback: (($obj: BookListDirectory, pspec: GObject.ParamSpec) => void)): number
837
+ connect_after(sigName: "notify::directory", callback: (($obj: BookListDirectory, pspec: GObject.ParamSpec) => void)): number
838
+ emit(sigName: "notify::directory", ...args: any[]): void
839
+ connect(sigName: string, callback: (...args: any[]) => void): number
840
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
841
+ emit(sigName: string, ...args: any[]): void
842
+ disconnect(id: number): void
843
+ }
844
+
845
+ class BookListDirectory extends BookList {
846
+
847
+ // Own properties of Devhelp-3.0.Devhelp.BookListDirectory
848
+
849
+ static name: string
850
+ static $gtype: GObject.GType<BookListDirectory>
851
+
852
+ // Constructors of Devhelp-3.0.Devhelp.BookListDirectory
853
+
854
+ constructor(config?: BookListDirectory.ConstructorProperties)
855
+ /**
856
+ * Returns a #DhBookListDirectory for `directory`.
857
+ *
858
+ * If a #DhBookListDirectory instance is still alive for `directory` (according
859
+ * to g_file_equal()), the same instance is returned with the reference count
860
+ * increased by one, to avoid data duplication. If no #DhBookListDirectory
861
+ * instance already exists for `directory,` this function returns a new instance
862
+ * with a reference count of one (so it's the responsibility of the caller to
863
+ * keep the object alive if wanted, to avoid destroying and re-creating the same
864
+ * #DhBookListDirectory repeatedly).
865
+ * @constructor
866
+ * @param directory the #DhBookListDirectory:directory.
867
+ * @returns a #DhBookListDirectory for @directory.
868
+ */
869
+ constructor(directory: Gio.File)
870
+ /**
871
+ * Returns a #DhBookListDirectory for `directory`.
872
+ *
873
+ * If a #DhBookListDirectory instance is still alive for `directory` (according
874
+ * to g_file_equal()), the same instance is returned with the reference count
875
+ * increased by one, to avoid data duplication. If no #DhBookListDirectory
876
+ * instance already exists for `directory,` this function returns a new instance
877
+ * with a reference count of one (so it's the responsibility of the caller to
878
+ * keep the object alive if wanted, to avoid destroying and re-creating the same
879
+ * #DhBookListDirectory repeatedly).
880
+ * @constructor
881
+ * @param directory the #DhBookListDirectory:directory.
882
+ * @returns a #DhBookListDirectory for @directory.
883
+ */
884
+ static new(directory: Gio.File): BookListDirectory
885
+
886
+ // Overloads of new
887
+
888
+ static new(): BookList
889
+ _init(config?: BookListDirectory.ConstructorProperties): void
890
+ }
891
+
892
+ module BookManager {
893
+
894
+ // Constructor properties interface
895
+
896
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
897
+ }
898
+
899
+ }
900
+
901
+ interface BookManager {
902
+
903
+ // Own fields of Devhelp-3.0.Devhelp.BookManager
904
+
905
+ parent_instance: GObject.Object
906
+
907
+ // Owm methods of Devhelp-3.0.Devhelp.BookManager
908
+
909
+ populate(): void
910
+
911
+ // Class property signals of Devhelp-3.0.Devhelp.BookManager
912
+
913
+ connect(sigName: string, callback: (...args: any[]) => void): number
914
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
915
+ emit(sigName: string, ...args: any[]): void
916
+ disconnect(id: number): void
917
+ }
918
+
919
+ class BookManager extends GObject.Object {
920
+
921
+ // Own properties of Devhelp-3.0.Devhelp.BookManager
922
+
923
+ static name: string
924
+ static $gtype: GObject.GType<BookManager>
925
+
926
+ // Constructors of Devhelp-3.0.Devhelp.BookManager
927
+
928
+ constructor(config?: BookManager.ConstructorProperties)
929
+ constructor()
930
+ static new(): BookManager
931
+ _init(config?: BookManager.ConstructorProperties): void
932
+ }
933
+
934
+ module BookTree {
935
+
936
+ // Signal callback interfaces
937
+
938
+ /**
939
+ * Signal callback interface for `link-selected`
940
+ */
941
+ interface LinkSelectedSignalCallback {
942
+ ($obj: BookTree, link: Link): void
943
+ }
944
+
945
+
946
+ // Constructor properties interface
947
+
948
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Scrollable.ConstructorProperties, Gtk.TreeView.ConstructorProperties {
949
+
950
+ // Own constructor properties of Devhelp-3.0.Devhelp.BookTree
951
+
952
+ /**
953
+ * The #DhProfile. If set to %NULL, the default profile as returned by
954
+ * dh_profile_get_default() is used.
955
+ */
956
+ profile?: Profile | null
957
+ }
958
+
959
+ }
960
+
961
+ interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
962
+
963
+ // Own properties of Devhelp-3.0.Devhelp.BookTree
964
+
965
+ /**
966
+ * The #DhProfile. If set to %NULL, the default profile as returned by
967
+ * dh_profile_get_default() is used.
968
+ */
969
+ readonly profile: Profile
970
+
971
+ // Own fields of Devhelp-3.0.Devhelp.BookTree
972
+
973
+ parent_instance: Gtk.TreeView & GObject.InitiallyUnowned
974
+
975
+ // Owm methods of Devhelp-3.0.Devhelp.BookTree
976
+
977
+ get_profile(): Profile
978
+ get_selected_link(): Link | null
979
+ /**
980
+ * Selects the row corresponding to `uri`. It searches in the tree a #DhLink
981
+ * being at `uri` (if it's an exact match), or containing `uri` (if `uri` contains
982
+ * an anchor).
983
+ * @param uri the URI to select.
984
+ */
985
+ select_uri(uri: string | null): void
986
+
987
+ // Conflicting methods
988
+
989
+ /**
990
+ * Emits a #GtkWidget::child-notify signal for the
991
+ * [child property][child-properties]
992
+ * `child_property` on the child.
993
+ *
994
+ * This is an analogue of g_object_notify() for child properties.
995
+ *
996
+ * Also see gtk_widget_child_notify().
997
+ * @param child the child widget
998
+ * @param child_property the name of a child property installed on the class of `container`
999
+ */
1000
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1001
+
1002
+ // Overloads of child_notify
1003
+
1004
+ /**
1005
+ * Emits a #GtkWidget::child-notify signal for the
1006
+ * [child property][child-properties] `child_property`
1007
+ * on `widget`.
1008
+ *
1009
+ * This is the analogue of g_object_notify() for child properties.
1010
+ *
1011
+ * Also see gtk_container_child_notify().
1012
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1013
+ */
1014
+ child_notify(child_property: string | null): void
1015
+ /**
1016
+ * Emits a #GtkWidget::child-notify signal for the
1017
+ * [child property][child-properties] `child_property`
1018
+ * on `widget`.
1019
+ *
1020
+ * This is the analogue of g_object_notify() for child properties.
1021
+ *
1022
+ * Also see gtk_container_child_notify().
1023
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1024
+ */
1025
+ child_notify(child_property: string | null): void
1026
+
1027
+ // Own signals of Devhelp-3.0.Devhelp.BookTree
1028
+
1029
+ connect(sigName: "link-selected", callback: BookTree.LinkSelectedSignalCallback): number
1030
+ connect_after(sigName: "link-selected", callback: BookTree.LinkSelectedSignalCallback): number
1031
+ emit(sigName: "link-selected", link: Link, ...args: any[]): void
1032
+
1033
+ // Class property signals of Devhelp-3.0.Devhelp.BookTree
1034
+
1035
+ connect(sigName: "notify::profile", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1036
+ connect_after(sigName: "notify::profile", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1037
+ emit(sigName: "notify::profile", ...args: any[]): void
1038
+ connect(sigName: "notify::activate-on-single-click", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1039
+ connect_after(sigName: "notify::activate-on-single-click", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1040
+ emit(sigName: "notify::activate-on-single-click", ...args: any[]): void
1041
+ connect(sigName: "notify::enable-grid-lines", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1042
+ connect_after(sigName: "notify::enable-grid-lines", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1043
+ emit(sigName: "notify::enable-grid-lines", ...args: any[]): void
1044
+ connect(sigName: "notify::enable-search", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1045
+ connect_after(sigName: "notify::enable-search", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1046
+ emit(sigName: "notify::enable-search", ...args: any[]): void
1047
+ connect(sigName: "notify::enable-tree-lines", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1048
+ connect_after(sigName: "notify::enable-tree-lines", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1049
+ emit(sigName: "notify::enable-tree-lines", ...args: any[]): void
1050
+ connect(sigName: "notify::expander-column", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1051
+ connect_after(sigName: "notify::expander-column", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1052
+ emit(sigName: "notify::expander-column", ...args: any[]): void
1053
+ connect(sigName: "notify::fixed-height-mode", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1054
+ connect_after(sigName: "notify::fixed-height-mode", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1055
+ emit(sigName: "notify::fixed-height-mode", ...args: any[]): void
1056
+ connect(sigName: "notify::headers-clickable", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1057
+ connect_after(sigName: "notify::headers-clickable", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1058
+ emit(sigName: "notify::headers-clickable", ...args: any[]): void
1059
+ connect(sigName: "notify::headers-visible", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1060
+ connect_after(sigName: "notify::headers-visible", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1061
+ emit(sigName: "notify::headers-visible", ...args: any[]): void
1062
+ connect(sigName: "notify::hover-expand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1063
+ connect_after(sigName: "notify::hover-expand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1064
+ emit(sigName: "notify::hover-expand", ...args: any[]): void
1065
+ connect(sigName: "notify::hover-selection", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1066
+ connect_after(sigName: "notify::hover-selection", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1067
+ emit(sigName: "notify::hover-selection", ...args: any[]): void
1068
+ connect(sigName: "notify::level-indentation", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1069
+ connect_after(sigName: "notify::level-indentation", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1070
+ emit(sigName: "notify::level-indentation", ...args: any[]): void
1071
+ connect(sigName: "notify::model", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1072
+ connect_after(sigName: "notify::model", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1073
+ emit(sigName: "notify::model", ...args: any[]): void
1074
+ connect(sigName: "notify::reorderable", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1075
+ connect_after(sigName: "notify::reorderable", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1076
+ emit(sigName: "notify::reorderable", ...args: any[]): void
1077
+ connect(sigName: "notify::rubber-banding", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1078
+ connect_after(sigName: "notify::rubber-banding", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1079
+ emit(sigName: "notify::rubber-banding", ...args: any[]): void
1080
+ connect(sigName: "notify::rules-hint", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1081
+ connect_after(sigName: "notify::rules-hint", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1082
+ emit(sigName: "notify::rules-hint", ...args: any[]): void
1083
+ connect(sigName: "notify::search-column", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1084
+ connect_after(sigName: "notify::search-column", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1085
+ emit(sigName: "notify::search-column", ...args: any[]): void
1086
+ connect(sigName: "notify::show-expanders", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1087
+ connect_after(sigName: "notify::show-expanders", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1088
+ emit(sigName: "notify::show-expanders", ...args: any[]): void
1089
+ connect(sigName: "notify::tooltip-column", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1090
+ connect_after(sigName: "notify::tooltip-column", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1091
+ emit(sigName: "notify::tooltip-column", ...args: any[]): void
1092
+ connect(sigName: "notify::border-width", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1093
+ connect_after(sigName: "notify::border-width", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1094
+ emit(sigName: "notify::border-width", ...args: any[]): void
1095
+ connect(sigName: "notify::child", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1096
+ connect_after(sigName: "notify::child", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1097
+ emit(sigName: "notify::child", ...args: any[]): void
1098
+ connect(sigName: "notify::resize-mode", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1099
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1100
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1101
+ connect(sigName: "notify::app-paintable", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1102
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1103
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1104
+ connect(sigName: "notify::can-default", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1105
+ connect_after(sigName: "notify::can-default", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1106
+ emit(sigName: "notify::can-default", ...args: any[]): void
1107
+ connect(sigName: "notify::can-focus", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1108
+ connect_after(sigName: "notify::can-focus", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1109
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1110
+ connect(sigName: "notify::composite-child", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1111
+ connect_after(sigName: "notify::composite-child", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1112
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1113
+ connect(sigName: "notify::double-buffered", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1114
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1115
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1116
+ connect(sigName: "notify::events", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1117
+ connect_after(sigName: "notify::events", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1118
+ emit(sigName: "notify::events", ...args: any[]): void
1119
+ connect(sigName: "notify::expand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1120
+ connect_after(sigName: "notify::expand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1121
+ emit(sigName: "notify::expand", ...args: any[]): void
1122
+ connect(sigName: "notify::focus-on-click", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1123
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1124
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1125
+ connect(sigName: "notify::halign", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1126
+ connect_after(sigName: "notify::halign", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1127
+ emit(sigName: "notify::halign", ...args: any[]): void
1128
+ connect(sigName: "notify::has-default", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1129
+ connect_after(sigName: "notify::has-default", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1130
+ emit(sigName: "notify::has-default", ...args: any[]): void
1131
+ connect(sigName: "notify::has-focus", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1132
+ connect_after(sigName: "notify::has-focus", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1133
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1134
+ connect(sigName: "notify::has-tooltip", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1135
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1136
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1137
+ connect(sigName: "notify::height-request", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1138
+ connect_after(sigName: "notify::height-request", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1139
+ emit(sigName: "notify::height-request", ...args: any[]): void
1140
+ connect(sigName: "notify::hexpand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1141
+ connect_after(sigName: "notify::hexpand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1142
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1143
+ connect(sigName: "notify::hexpand-set", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1144
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1145
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1146
+ connect(sigName: "notify::is-focus", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1147
+ connect_after(sigName: "notify::is-focus", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1148
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1149
+ connect(sigName: "notify::margin", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1150
+ connect_after(sigName: "notify::margin", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1151
+ emit(sigName: "notify::margin", ...args: any[]): void
1152
+ connect(sigName: "notify::margin-bottom", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1153
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1154
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1155
+ connect(sigName: "notify::margin-end", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1156
+ connect_after(sigName: "notify::margin-end", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1157
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1158
+ connect(sigName: "notify::margin-left", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1159
+ connect_after(sigName: "notify::margin-left", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1160
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1161
+ connect(sigName: "notify::margin-right", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1162
+ connect_after(sigName: "notify::margin-right", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1163
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1164
+ connect(sigName: "notify::margin-start", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1165
+ connect_after(sigName: "notify::margin-start", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1166
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1167
+ connect(sigName: "notify::margin-top", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1168
+ connect_after(sigName: "notify::margin-top", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1169
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1170
+ connect(sigName: "notify::name", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1171
+ connect_after(sigName: "notify::name", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1172
+ emit(sigName: "notify::name", ...args: any[]): void
1173
+ connect(sigName: "notify::no-show-all", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1174
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1175
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1176
+ connect(sigName: "notify::opacity", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1177
+ connect_after(sigName: "notify::opacity", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1178
+ emit(sigName: "notify::opacity", ...args: any[]): void
1179
+ connect(sigName: "notify::parent", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1180
+ connect_after(sigName: "notify::parent", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1181
+ emit(sigName: "notify::parent", ...args: any[]): void
1182
+ connect(sigName: "notify::receives-default", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1183
+ connect_after(sigName: "notify::receives-default", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1184
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1185
+ connect(sigName: "notify::scale-factor", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1186
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1187
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1188
+ connect(sigName: "notify::sensitive", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1189
+ connect_after(sigName: "notify::sensitive", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1190
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1191
+ connect(sigName: "notify::style", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1192
+ connect_after(sigName: "notify::style", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1193
+ emit(sigName: "notify::style", ...args: any[]): void
1194
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1195
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1196
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1197
+ connect(sigName: "notify::tooltip-text", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1198
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1199
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1200
+ connect(sigName: "notify::valign", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1201
+ connect_after(sigName: "notify::valign", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1202
+ emit(sigName: "notify::valign", ...args: any[]): void
1203
+ connect(sigName: "notify::vexpand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1204
+ connect_after(sigName: "notify::vexpand", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1205
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1206
+ connect(sigName: "notify::vexpand-set", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1207
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1208
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1209
+ connect(sigName: "notify::visible", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1210
+ connect_after(sigName: "notify::visible", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1211
+ emit(sigName: "notify::visible", ...args: any[]): void
1212
+ connect(sigName: "notify::width-request", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1213
+ connect_after(sigName: "notify::width-request", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1214
+ emit(sigName: "notify::width-request", ...args: any[]): void
1215
+ connect(sigName: "notify::window", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1216
+ connect_after(sigName: "notify::window", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1217
+ emit(sigName: "notify::window", ...args: any[]): void
1218
+ connect(sigName: "notify::hadjustment", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1219
+ connect_after(sigName: "notify::hadjustment", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1220
+ emit(sigName: "notify::hadjustment", ...args: any[]): void
1221
+ connect(sigName: "notify::hscroll-policy", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1222
+ connect_after(sigName: "notify::hscroll-policy", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1223
+ emit(sigName: "notify::hscroll-policy", ...args: any[]): void
1224
+ connect(sigName: "notify::vadjustment", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1225
+ connect_after(sigName: "notify::vadjustment", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1226
+ emit(sigName: "notify::vadjustment", ...args: any[]): void
1227
+ connect(sigName: "notify::vscroll-policy", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1228
+ connect_after(sigName: "notify::vscroll-policy", callback: (($obj: BookTree, pspec: GObject.ParamSpec) => void)): number
1229
+ emit(sigName: "notify::vscroll-policy", ...args: any[]): void
1230
+ connect(sigName: string, callback: (...args: any[]) => void): number
1231
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1232
+ emit(sigName: string, ...args: any[]): void
1233
+ disconnect(id: number): void
1234
+ }
1235
+
1236
+ class BookTree extends Gtk.TreeView {
1237
+
1238
+ // Own properties of Devhelp-3.0.Devhelp.BookTree
1239
+
1240
+ static name: string
1241
+ static $gtype: GObject.GType<BookTree>
1242
+
1243
+ // Constructors of Devhelp-3.0.Devhelp.BookTree
1244
+
1245
+ constructor(config?: BookTree.ConstructorProperties)
1246
+ constructor(profile: Profile | null)
1247
+ static new(profile: Profile | null): BookTree
1248
+
1249
+ // Overloads of new
1250
+
1251
+ /**
1252
+ * Creates a new #GtkTreeView widget.
1253
+ * @constructor
1254
+ * @returns A newly created #GtkTreeView widget.
1255
+ */
1256
+ static new(): Gtk.TreeView
1257
+ _init(config?: BookTree.ConstructorProperties): void
1258
+ }
1259
+
1260
+ module Completion {
1261
+
1262
+ // Constructor properties interface
1263
+
1264
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1265
+ }
1266
+
1267
+ }
1268
+
1269
+ interface Completion {
1270
+
1271
+ // Own fields of Devhelp-3.0.Devhelp.Completion
1272
+
1273
+ parent: GObject.Object
1274
+ priv: CompletionPrivate
1275
+
1276
+ // Owm methods of Devhelp-3.0.Devhelp.Completion
1277
+
1278
+ /**
1279
+ * Adds a string to the `completion` object.
1280
+ *
1281
+ * After adding all the strings you need to call dh_completion_sort().
1282
+ * @param str a string.
1283
+ */
1284
+ add_string(str: string | null): void
1285
+ /**
1286
+ * This function does the equivalent of:
1287
+ * 1. Searches the data structure of `completion` to find all strings that have
1288
+ * `prefix` as prefix.
1289
+ * 2. From the list found at step 1, find the longest prefix that still matches
1290
+ * all the strings in the list.
1291
+ *
1292
+ * This function assumes that `prefix` and the strings contained in `completion`
1293
+ * are in UTF-8. If all the strings are valid UTF-8, then the return value will
1294
+ * also be valid UTF-8 (it won't return a partial multi-byte character).
1295
+ * @param prefix the string to complete.
1296
+ * @returns the completed prefix, or %NULL if a longer prefix has not been found. Free with g_free() when no longer needed.
1297
+ */
1298
+ complete(prefix: string | null): string | null
1299
+ /**
1300
+ * Sorts all the strings. It is required to call this function after adding
1301
+ * strings with dh_completion_add_string().
1302
+ */
1303
+ sort(): void
1304
+
1305
+ // Class property signals of Devhelp-3.0.Devhelp.Completion
1306
+
1307
+ connect(sigName: string, callback: (...args: any[]) => void): number
1308
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1309
+ emit(sigName: string, ...args: any[]): void
1310
+ disconnect(id: number): void
1311
+ }
1312
+
1313
+ class Completion extends GObject.Object {
1314
+
1315
+ // Own properties of Devhelp-3.0.Devhelp.Completion
1316
+
1317
+ static name: string
1318
+ static $gtype: GObject.GType<Completion>
1319
+
1320
+ // Constructors of Devhelp-3.0.Devhelp.Completion
1321
+
1322
+ constructor(config?: Completion.ConstructorProperties)
1323
+ constructor()
1324
+ static new(): Completion
1325
+ _init(config?: Completion.ConstructorProperties): void
1326
+ /**
1327
+ * The same as dh_completion_complete(), but aggregated for several
1328
+ * #DhCompletion objects.
1329
+ * @param completion_objects a #GList of #DhCompletion objects.
1330
+ * @param prefix the string to complete.
1331
+ * @returns the completed prefix, or %NULL if a longer prefix has not been found. Free with g_free() when no longer needed.
1332
+ */
1333
+ static aggregate_complete(completion_objects: Completion[] | null, prefix: string | null): string | null
1334
+ }
1335
+
1336
+ module KeywordModel {
1337
+
1338
+ // Constructor properties interface
1339
+
1340
+ interface ConstructorProperties extends Gtk.TreeModel.ConstructorProperties, GObject.Object.ConstructorProperties {
1341
+ }
1342
+
1343
+ }
1344
+
1345
+ interface KeywordModel extends Gtk.TreeModel {
1346
+
1347
+ // Own fields of Devhelp-3.0.Devhelp.KeywordModel
1348
+
1349
+ parent_instance: GObject.Object
1350
+
1351
+ // Owm methods of Devhelp-3.0.Devhelp.KeywordModel
1352
+
1353
+ /**
1354
+ * Searches in the #DhBookList of `profile` the list of #DhLink's that correspond
1355
+ * to `search_string,` and fills the `model` with that list (erasing the previous
1356
+ * content).
1357
+ *
1358
+ * Attention, when calling this function the `model` needs to be disconnected
1359
+ * from the #GtkTreeView, because the #GtkTreeModel signals are not emitted, to
1360
+ * improve the performances (sending a lot of signals is slow) and have a
1361
+ * simpler implementation. The previous row selection is anyway no longer
1362
+ * relevant.
1363
+ *
1364
+ * Note that there is a maximum number of matches (configured internally). When
1365
+ * the maximum is reached the search is stopped, to avoid blocking the GUI
1366
+ * (since this function runs synchronously) if the `search_string` contains for
1367
+ * example only one character. (And it is anyway not very useful to show to the
1368
+ * user tens of thousands search results).
1369
+ * @param search_string a search query.
1370
+ * @param current_book_id the ID of the book currently shown, or %NULL.
1371
+ * @param profile a #DhProfile, or %NULL for the default profile.
1372
+ * @returns the #DhLink that matches exactly @search_string, or %NULL if no such #DhLink was found within the maximum number of matches.
1373
+ */
1374
+ filter(search_string: string | null, current_book_id: string | null, profile: Profile | null): Link | null
1375
+
1376
+ // Class property signals of Devhelp-3.0.Devhelp.KeywordModel
1377
+
1378
+ connect(sigName: string, callback: (...args: any[]) => void): number
1379
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1380
+ emit(sigName: string, ...args: any[]): void
1381
+ disconnect(id: number): void
1382
+ }
1383
+
1384
+ class KeywordModel extends GObject.Object {
1385
+
1386
+ // Own properties of Devhelp-3.0.Devhelp.KeywordModel
1387
+
1388
+ static name: string
1389
+ static $gtype: GObject.GType<KeywordModel>
1390
+
1391
+ // Constructors of Devhelp-3.0.Devhelp.KeywordModel
1392
+
1393
+ constructor(config?: KeywordModel.ConstructorProperties)
1394
+ constructor()
1395
+ static new(): KeywordModel
1396
+ _init(config?: KeywordModel.ConstructorProperties): void
1397
+ }
1398
+
1399
+ module Notebook {
1400
+
1401
+ // Constructor properties interface
1402
+
1403
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Notebook.ConstructorProperties {
1404
+
1405
+ // Own constructor properties of Devhelp-3.0.Devhelp.Notebook
1406
+
1407
+ /**
1408
+ * The #DhProfile. If set to %NULL, the default profile as returned by
1409
+ * dh_profile_get_default() is used.
1410
+ */
1411
+ profile?: Profile | null
1412
+ }
1413
+
1414
+ }
1415
+
1416
+ interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
1417
+
1418
+ // Own properties of Devhelp-3.0.Devhelp.Notebook
1419
+
1420
+ /**
1421
+ * The #DhProfile. If set to %NULL, the default profile as returned by
1422
+ * dh_profile_get_default() is used.
1423
+ */
1424
+ readonly profile: Profile
1425
+
1426
+ // Own fields of Devhelp-3.0.Devhelp.Notebook
1427
+
1428
+ parent: Gtk.Notebook & Gtk.Container
1429
+ priv: NotebookPrivate
1430
+
1431
+ // Owm methods of Devhelp-3.0.Devhelp.Notebook
1432
+
1433
+ get_active_tab(): Tab | null
1434
+ get_active_web_view(): WebView | null
1435
+ get_all_web_views(): WebView[]
1436
+ get_profile(): Profile
1437
+ /**
1438
+ * Creates a new #DhTab and #DhTabLabel and appends them to the #GtkNotebook.
1439
+ *
1440
+ * The #DhWebView will have the same #DhProfile as `notebook`.
1441
+ * @param uri the URI to open, or %NULL for a blank page.
1442
+ * @param switch_focus whether to call gtk_notebook_set_current_page() on the new tab.
1443
+ */
1444
+ open_new_tab(uri: string | null, switch_focus: boolean): void
1445
+
1446
+ // Conflicting methods
1447
+
1448
+ /**
1449
+ * Emits a #GtkWidget::child-notify signal for the
1450
+ * [child property][child-properties]
1451
+ * `child_property` on the child.
1452
+ *
1453
+ * This is an analogue of g_object_notify() for child properties.
1454
+ *
1455
+ * Also see gtk_widget_child_notify().
1456
+ * @param child the child widget
1457
+ * @param child_property the name of a child property installed on the class of `container`
1458
+ */
1459
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1460
+
1461
+ // Overloads of child_notify
1462
+
1463
+ /**
1464
+ * Emits a #GtkWidget::child-notify signal for the
1465
+ * [child property][child-properties] `child_property`
1466
+ * on `widget`.
1467
+ *
1468
+ * This is the analogue of g_object_notify() for child properties.
1469
+ *
1470
+ * Also see gtk_container_child_notify().
1471
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1472
+ */
1473
+ child_notify(child_property: string | null): void
1474
+ /**
1475
+ * Emits a #GtkWidget::child-notify signal for the
1476
+ * [child property][child-properties] `child_property`
1477
+ * on `widget`.
1478
+ *
1479
+ * This is the analogue of g_object_notify() for child properties.
1480
+ *
1481
+ * Also see gtk_container_child_notify().
1482
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1483
+ */
1484
+ child_notify(child_property: string | null): void
1485
+
1486
+ // Class property signals of Devhelp-3.0.Devhelp.Notebook
1487
+
1488
+ connect(sigName: "notify::profile", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1489
+ connect_after(sigName: "notify::profile", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1490
+ emit(sigName: "notify::profile", ...args: any[]): void
1491
+ connect(sigName: "notify::enable-popup", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1492
+ connect_after(sigName: "notify::enable-popup", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1493
+ emit(sigName: "notify::enable-popup", ...args: any[]): void
1494
+ connect(sigName: "notify::group-name", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1495
+ connect_after(sigName: "notify::group-name", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1496
+ emit(sigName: "notify::group-name", ...args: any[]): void
1497
+ connect(sigName: "notify::page", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1498
+ connect_after(sigName: "notify::page", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1499
+ emit(sigName: "notify::page", ...args: any[]): void
1500
+ connect(sigName: "notify::scrollable", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1501
+ connect_after(sigName: "notify::scrollable", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1502
+ emit(sigName: "notify::scrollable", ...args: any[]): void
1503
+ connect(sigName: "notify::show-border", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1504
+ connect_after(sigName: "notify::show-border", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1505
+ emit(sigName: "notify::show-border", ...args: any[]): void
1506
+ connect(sigName: "notify::show-tabs", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1507
+ connect_after(sigName: "notify::show-tabs", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1508
+ emit(sigName: "notify::show-tabs", ...args: any[]): void
1509
+ connect(sigName: "notify::tab-pos", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1510
+ connect_after(sigName: "notify::tab-pos", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1511
+ emit(sigName: "notify::tab-pos", ...args: any[]): void
1512
+ connect(sigName: "notify::border-width", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1513
+ connect_after(sigName: "notify::border-width", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1514
+ emit(sigName: "notify::border-width", ...args: any[]): void
1515
+ connect(sigName: "notify::child", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1516
+ connect_after(sigName: "notify::child", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1517
+ emit(sigName: "notify::child", ...args: any[]): void
1518
+ connect(sigName: "notify::resize-mode", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1519
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1520
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1521
+ connect(sigName: "notify::app-paintable", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1522
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1523
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1524
+ connect(sigName: "notify::can-default", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1525
+ connect_after(sigName: "notify::can-default", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1526
+ emit(sigName: "notify::can-default", ...args: any[]): void
1527
+ connect(sigName: "notify::can-focus", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1528
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1529
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1530
+ connect(sigName: "notify::composite-child", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1531
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1532
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1533
+ connect(sigName: "notify::double-buffered", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1534
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1535
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1536
+ connect(sigName: "notify::events", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1537
+ connect_after(sigName: "notify::events", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1538
+ emit(sigName: "notify::events", ...args: any[]): void
1539
+ connect(sigName: "notify::expand", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1540
+ connect_after(sigName: "notify::expand", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1541
+ emit(sigName: "notify::expand", ...args: any[]): void
1542
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1543
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1544
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1545
+ connect(sigName: "notify::halign", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1546
+ connect_after(sigName: "notify::halign", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1547
+ emit(sigName: "notify::halign", ...args: any[]): void
1548
+ connect(sigName: "notify::has-default", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1549
+ connect_after(sigName: "notify::has-default", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1550
+ emit(sigName: "notify::has-default", ...args: any[]): void
1551
+ connect(sigName: "notify::has-focus", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1552
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1553
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1554
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1555
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1556
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1557
+ connect(sigName: "notify::height-request", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1558
+ connect_after(sigName: "notify::height-request", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1559
+ emit(sigName: "notify::height-request", ...args: any[]): void
1560
+ connect(sigName: "notify::hexpand", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1561
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1562
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1563
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1564
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1565
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1566
+ connect(sigName: "notify::is-focus", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1567
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1568
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1569
+ connect(sigName: "notify::margin", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1570
+ connect_after(sigName: "notify::margin", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1571
+ emit(sigName: "notify::margin", ...args: any[]): void
1572
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1573
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1574
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1575
+ connect(sigName: "notify::margin-end", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1576
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1577
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1578
+ connect(sigName: "notify::margin-left", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1579
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1580
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1581
+ connect(sigName: "notify::margin-right", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1582
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1583
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1584
+ connect(sigName: "notify::margin-start", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1585
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1586
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1587
+ connect(sigName: "notify::margin-top", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1588
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1589
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1590
+ connect(sigName: "notify::name", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1591
+ connect_after(sigName: "notify::name", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1592
+ emit(sigName: "notify::name", ...args: any[]): void
1593
+ connect(sigName: "notify::no-show-all", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1594
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1595
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1596
+ connect(sigName: "notify::opacity", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1597
+ connect_after(sigName: "notify::opacity", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1598
+ emit(sigName: "notify::opacity", ...args: any[]): void
1599
+ connect(sigName: "notify::parent", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1600
+ connect_after(sigName: "notify::parent", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1601
+ emit(sigName: "notify::parent", ...args: any[]): void
1602
+ connect(sigName: "notify::receives-default", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1603
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1604
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1605
+ connect(sigName: "notify::scale-factor", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1606
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1607
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1608
+ connect(sigName: "notify::sensitive", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1609
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1610
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1611
+ connect(sigName: "notify::style", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1612
+ connect_after(sigName: "notify::style", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1613
+ emit(sigName: "notify::style", ...args: any[]): void
1614
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1615
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1616
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1617
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1618
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1619
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1620
+ connect(sigName: "notify::valign", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1621
+ connect_after(sigName: "notify::valign", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1622
+ emit(sigName: "notify::valign", ...args: any[]): void
1623
+ connect(sigName: "notify::vexpand", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1624
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1625
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1626
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1627
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1628
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1629
+ connect(sigName: "notify::visible", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1630
+ connect_after(sigName: "notify::visible", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1631
+ emit(sigName: "notify::visible", ...args: any[]): void
1632
+ connect(sigName: "notify::width-request", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1633
+ connect_after(sigName: "notify::width-request", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1634
+ emit(sigName: "notify::width-request", ...args: any[]): void
1635
+ connect(sigName: "notify::window", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1636
+ connect_after(sigName: "notify::window", callback: (($obj: Notebook, pspec: GObject.ParamSpec) => void)): number
1637
+ emit(sigName: "notify::window", ...args: any[]): void
1638
+ connect(sigName: string, callback: (...args: any[]) => void): number
1639
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1640
+ emit(sigName: string, ...args: any[]): void
1641
+ disconnect(id: number): void
1642
+ }
1643
+
1644
+ class Notebook extends Gtk.Notebook {
1645
+
1646
+ // Own properties of Devhelp-3.0.Devhelp.Notebook
1647
+
1648
+ static name: string
1649
+ static $gtype: GObject.GType<Notebook>
1650
+
1651
+ // Constructors of Devhelp-3.0.Devhelp.Notebook
1652
+
1653
+ constructor(config?: Notebook.ConstructorProperties)
1654
+ constructor(profile: Profile | null)
1655
+ static new(profile: Profile | null): Notebook
1656
+
1657
+ // Overloads of new
1658
+
1659
+ /**
1660
+ * Creates a new #GtkNotebook widget with no pages.
1661
+ * @constructor
1662
+ * @returns the newly created #GtkNotebook
1663
+ */
1664
+ static new(): Gtk.Notebook
1665
+ _init(config?: Notebook.ConstructorProperties): void
1666
+ }
1667
+
1668
+ module Profile {
1669
+
1670
+ // Constructor properties interface
1671
+
1672
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1673
+ }
1674
+
1675
+ }
1676
+
1677
+ interface Profile {
1678
+
1679
+ // Own fields of Devhelp-3.0.Devhelp.Profile
1680
+
1681
+ parent: GObject.Object
1682
+ priv: ProfilePrivate
1683
+
1684
+ // Owm methods of Devhelp-3.0.Devhelp.Profile
1685
+
1686
+ /**
1687
+ * Gets the #DhBookList object of `profile`. The returned object is guaranteed to
1688
+ * be the same for the lifetime of `profile`.
1689
+ * @returns the #DhBookList of @profile.
1690
+ */
1691
+ get_book_list(): BookList
1692
+ /**
1693
+ * Gets the #DhSettings object of `profile`. The returned object is guaranteed to
1694
+ * be the same for the lifetime of `profile`.
1695
+ * @returns the #DhSettings of @profile.
1696
+ */
1697
+ get_settings(): Settings
1698
+
1699
+ // Class property signals of Devhelp-3.0.Devhelp.Profile
1700
+
1701
+ connect(sigName: string, callback: (...args: any[]) => void): number
1702
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1703
+ emit(sigName: string, ...args: any[]): void
1704
+ disconnect(id: number): void
1705
+ }
1706
+
1707
+ class Profile extends GObject.Object {
1708
+
1709
+ // Own properties of Devhelp-3.0.Devhelp.Profile
1710
+
1711
+ static name: string
1712
+ static $gtype: GObject.GType<Profile>
1713
+
1714
+ // Constructors of Devhelp-3.0.Devhelp.Profile
1715
+
1716
+ constructor(config?: Profile.ConstructorProperties)
1717
+ _init(config?: Profile.ConstructorProperties): void
1718
+ /**
1719
+ * Gets the default #DhProfile object. It has the default #DhSettings object as
1720
+ * returned by dh_settings_get_default(), and the default #DhBookList object as
1721
+ * returned by dh_book_list_get_default().
1722
+ * @returns the default #DhProfile object.
1723
+ */
1724
+ static get_default(): Profile
1725
+ }
1726
+
1727
+ module ProfileBuilder {
1728
+
1729
+ // Constructor properties interface
1730
+
1731
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1732
+ }
1733
+
1734
+ }
1735
+
1736
+ interface ProfileBuilder {
1737
+
1738
+ // Own fields of Devhelp-3.0.Devhelp.ProfileBuilder
1739
+
1740
+ parent: GObject.Object
1741
+ priv: ProfileBuilderPrivate
1742
+
1743
+ // Owm methods of Devhelp-3.0.Devhelp.ProfileBuilder
1744
+
1745
+ create_object(): Profile
1746
+ /**
1747
+ * Sets the #DhBookList object.
1748
+ *
1749
+ * If you don't call this function, the default #DhBookList object as returned
1750
+ * by dh_book_list_get_default() will be used.
1751
+ * @param book_list a #DhBookList.
1752
+ */
1753
+ set_book_list(book_list: BookList): void
1754
+ /**
1755
+ * Sets the #DhSettings object.
1756
+ *
1757
+ * If you don't call this function, the default #DhSettings object as returned
1758
+ * by dh_settings_get_default() will be used.
1759
+ * @param settings a #DhSettings.
1760
+ */
1761
+ set_settings(settings: Settings): void
1762
+
1763
+ // Class property signals of Devhelp-3.0.Devhelp.ProfileBuilder
1764
+
1765
+ connect(sigName: string, callback: (...args: any[]) => void): number
1766
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1767
+ emit(sigName: string, ...args: any[]): void
1768
+ disconnect(id: number): void
1769
+ }
1770
+
1771
+ class ProfileBuilder extends GObject.Object {
1772
+
1773
+ // Own properties of Devhelp-3.0.Devhelp.ProfileBuilder
1774
+
1775
+ static name: string
1776
+ static $gtype: GObject.GType<ProfileBuilder>
1777
+
1778
+ // Constructors of Devhelp-3.0.Devhelp.ProfileBuilder
1779
+
1780
+ constructor(config?: ProfileBuilder.ConstructorProperties)
1781
+ constructor()
1782
+ static new(): ProfileBuilder
1783
+ _init(config?: ProfileBuilder.ConstructorProperties): void
1784
+ }
1785
+
1786
+ module SearchBar {
1787
+
1788
+ // Constructor properties interface
1789
+
1790
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.SearchBar.ConstructorProperties {
1791
+
1792
+ // Own constructor properties of Devhelp-3.0.Devhelp.SearchBar
1793
+
1794
+ /**
1795
+ * The associated #DhNotebook. #DhSearchBar has a strong reference to
1796
+ * the #DhNotebook.
1797
+ */
1798
+ notebook?: Notebook | null
1799
+ }
1800
+
1801
+ }
1802
+
1803
+ interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
1804
+
1805
+ // Own properties of Devhelp-3.0.Devhelp.SearchBar
1806
+
1807
+ /**
1808
+ * The associated #DhNotebook. #DhSearchBar has a strong reference to
1809
+ * the #DhNotebook.
1810
+ */
1811
+ readonly notebook: Notebook
1812
+
1813
+ // Own fields of Devhelp-3.0.Devhelp.SearchBar
1814
+
1815
+ parent: Gtk.SearchBar & Gtk.Container
1816
+ priv: SearchBarPrivate
1817
+
1818
+ // Owm methods of Devhelp-3.0.Devhelp.SearchBar
1819
+
1820
+ get_notebook(): Notebook
1821
+ /**
1822
+ * Grabs the focus to the #DhSearchBar search entry and selects its text.
1823
+ */
1824
+ grab_focus_to_search_entry(): void
1825
+
1826
+ // Conflicting methods
1827
+
1828
+ /**
1829
+ * Emits a #GtkWidget::child-notify signal for the
1830
+ * [child property][child-properties]
1831
+ * `child_property` on the child.
1832
+ *
1833
+ * This is an analogue of g_object_notify() for child properties.
1834
+ *
1835
+ * Also see gtk_widget_child_notify().
1836
+ * @param child the child widget
1837
+ * @param child_property the name of a child property installed on the class of `container`
1838
+ */
1839
+ child_notify(child: Gtk.Widget, child_property: string | null): void
1840
+
1841
+ // Overloads of child_notify
1842
+
1843
+ /**
1844
+ * Emits a #GtkWidget::child-notify signal for the
1845
+ * [child property][child-properties] `child_property`
1846
+ * on `widget`.
1847
+ *
1848
+ * This is the analogue of g_object_notify() for child properties.
1849
+ *
1850
+ * Also see gtk_container_child_notify().
1851
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1852
+ */
1853
+ child_notify(child_property: string | null): void
1854
+ /**
1855
+ * Emits a #GtkWidget::child-notify signal for the
1856
+ * [child property][child-properties] `child_property`
1857
+ * on `widget`.
1858
+ *
1859
+ * This is the analogue of g_object_notify() for child properties.
1860
+ *
1861
+ * Also see gtk_container_child_notify().
1862
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
1863
+ */
1864
+ child_notify(child_property: string | null): void
1865
+
1866
+ // Class property signals of Devhelp-3.0.Devhelp.SearchBar
1867
+
1868
+ connect(sigName: "notify::notebook", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1869
+ connect_after(sigName: "notify::notebook", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1870
+ emit(sigName: "notify::notebook", ...args: any[]): void
1871
+ connect(sigName: "notify::search-mode-enabled", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1872
+ connect_after(sigName: "notify::search-mode-enabled", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1873
+ emit(sigName: "notify::search-mode-enabled", ...args: any[]): void
1874
+ connect(sigName: "notify::show-close-button", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1875
+ connect_after(sigName: "notify::show-close-button", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1876
+ emit(sigName: "notify::show-close-button", ...args: any[]): void
1877
+ connect(sigName: "notify::border-width", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1878
+ connect_after(sigName: "notify::border-width", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1879
+ emit(sigName: "notify::border-width", ...args: any[]): void
1880
+ connect(sigName: "notify::child", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1881
+ connect_after(sigName: "notify::child", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1882
+ emit(sigName: "notify::child", ...args: any[]): void
1883
+ connect(sigName: "notify::resize-mode", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1884
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1885
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
1886
+ connect(sigName: "notify::app-paintable", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1887
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1888
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
1889
+ connect(sigName: "notify::can-default", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1890
+ connect_after(sigName: "notify::can-default", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1891
+ emit(sigName: "notify::can-default", ...args: any[]): void
1892
+ connect(sigName: "notify::can-focus", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1893
+ connect_after(sigName: "notify::can-focus", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1894
+ emit(sigName: "notify::can-focus", ...args: any[]): void
1895
+ connect(sigName: "notify::composite-child", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1896
+ connect_after(sigName: "notify::composite-child", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1897
+ emit(sigName: "notify::composite-child", ...args: any[]): void
1898
+ connect(sigName: "notify::double-buffered", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1899
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1900
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
1901
+ connect(sigName: "notify::events", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1902
+ connect_after(sigName: "notify::events", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1903
+ emit(sigName: "notify::events", ...args: any[]): void
1904
+ connect(sigName: "notify::expand", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1905
+ connect_after(sigName: "notify::expand", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1906
+ emit(sigName: "notify::expand", ...args: any[]): void
1907
+ connect(sigName: "notify::focus-on-click", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1908
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1909
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
1910
+ connect(sigName: "notify::halign", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1911
+ connect_after(sigName: "notify::halign", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1912
+ emit(sigName: "notify::halign", ...args: any[]): void
1913
+ connect(sigName: "notify::has-default", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1914
+ connect_after(sigName: "notify::has-default", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1915
+ emit(sigName: "notify::has-default", ...args: any[]): void
1916
+ connect(sigName: "notify::has-focus", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1917
+ connect_after(sigName: "notify::has-focus", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1918
+ emit(sigName: "notify::has-focus", ...args: any[]): void
1919
+ connect(sigName: "notify::has-tooltip", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1920
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1921
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
1922
+ connect(sigName: "notify::height-request", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1923
+ connect_after(sigName: "notify::height-request", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1924
+ emit(sigName: "notify::height-request", ...args: any[]): void
1925
+ connect(sigName: "notify::hexpand", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1926
+ connect_after(sigName: "notify::hexpand", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1927
+ emit(sigName: "notify::hexpand", ...args: any[]): void
1928
+ connect(sigName: "notify::hexpand-set", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1929
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1930
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
1931
+ connect(sigName: "notify::is-focus", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1932
+ connect_after(sigName: "notify::is-focus", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1933
+ emit(sigName: "notify::is-focus", ...args: any[]): void
1934
+ connect(sigName: "notify::margin", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1935
+ connect_after(sigName: "notify::margin", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1936
+ emit(sigName: "notify::margin", ...args: any[]): void
1937
+ connect(sigName: "notify::margin-bottom", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1938
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1939
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
1940
+ connect(sigName: "notify::margin-end", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1941
+ connect_after(sigName: "notify::margin-end", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1942
+ emit(sigName: "notify::margin-end", ...args: any[]): void
1943
+ connect(sigName: "notify::margin-left", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1944
+ connect_after(sigName: "notify::margin-left", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1945
+ emit(sigName: "notify::margin-left", ...args: any[]): void
1946
+ connect(sigName: "notify::margin-right", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1947
+ connect_after(sigName: "notify::margin-right", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1948
+ emit(sigName: "notify::margin-right", ...args: any[]): void
1949
+ connect(sigName: "notify::margin-start", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1950
+ connect_after(sigName: "notify::margin-start", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1951
+ emit(sigName: "notify::margin-start", ...args: any[]): void
1952
+ connect(sigName: "notify::margin-top", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1953
+ connect_after(sigName: "notify::margin-top", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1954
+ emit(sigName: "notify::margin-top", ...args: any[]): void
1955
+ connect(sigName: "notify::name", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1956
+ connect_after(sigName: "notify::name", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1957
+ emit(sigName: "notify::name", ...args: any[]): void
1958
+ connect(sigName: "notify::no-show-all", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1959
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1960
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
1961
+ connect(sigName: "notify::opacity", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1962
+ connect_after(sigName: "notify::opacity", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1963
+ emit(sigName: "notify::opacity", ...args: any[]): void
1964
+ connect(sigName: "notify::parent", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1965
+ connect_after(sigName: "notify::parent", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1966
+ emit(sigName: "notify::parent", ...args: any[]): void
1967
+ connect(sigName: "notify::receives-default", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1968
+ connect_after(sigName: "notify::receives-default", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1969
+ emit(sigName: "notify::receives-default", ...args: any[]): void
1970
+ connect(sigName: "notify::scale-factor", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1971
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1972
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
1973
+ connect(sigName: "notify::sensitive", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1974
+ connect_after(sigName: "notify::sensitive", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1975
+ emit(sigName: "notify::sensitive", ...args: any[]): void
1976
+ connect(sigName: "notify::style", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1977
+ connect_after(sigName: "notify::style", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1978
+ emit(sigName: "notify::style", ...args: any[]): void
1979
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1980
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1981
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
1982
+ connect(sigName: "notify::tooltip-text", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1983
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1984
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
1985
+ connect(sigName: "notify::valign", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1986
+ connect_after(sigName: "notify::valign", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1987
+ emit(sigName: "notify::valign", ...args: any[]): void
1988
+ connect(sigName: "notify::vexpand", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1989
+ connect_after(sigName: "notify::vexpand", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1990
+ emit(sigName: "notify::vexpand", ...args: any[]): void
1991
+ connect(sigName: "notify::vexpand-set", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1992
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1993
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
1994
+ connect(sigName: "notify::visible", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1995
+ connect_after(sigName: "notify::visible", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1996
+ emit(sigName: "notify::visible", ...args: any[]): void
1997
+ connect(sigName: "notify::width-request", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1998
+ connect_after(sigName: "notify::width-request", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
1999
+ emit(sigName: "notify::width-request", ...args: any[]): void
2000
+ connect(sigName: "notify::window", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
2001
+ connect_after(sigName: "notify::window", callback: (($obj: SearchBar, pspec: GObject.ParamSpec) => void)): number
2002
+ emit(sigName: "notify::window", ...args: any[]): void
2003
+ connect(sigName: string, callback: (...args: any[]) => void): number
2004
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2005
+ emit(sigName: string, ...args: any[]): void
2006
+ disconnect(id: number): void
2007
+ }
2008
+
2009
+ class SearchBar extends Gtk.SearchBar {
2010
+
2011
+ // Own properties of Devhelp-3.0.Devhelp.SearchBar
2012
+
2013
+ static name: string
2014
+ static $gtype: GObject.GType<SearchBar>
2015
+
2016
+ // Constructors of Devhelp-3.0.Devhelp.SearchBar
2017
+
2018
+ constructor(config?: SearchBar.ConstructorProperties)
2019
+ constructor(notebook: Notebook)
2020
+ static new(notebook: Notebook): SearchBar
2021
+
2022
+ // Overloads of new
2023
+
2024
+ /**
2025
+ * Creates a #GtkSearchBar. You will need to tell it about
2026
+ * which widget is going to be your text entry using
2027
+ * gtk_search_bar_connect_entry().
2028
+ * @constructor
2029
+ * @returns a new #GtkSearchBar
2030
+ */
2031
+ static new(): Gtk.SearchBar
2032
+ _init(config?: SearchBar.ConstructorProperties): void
2033
+ }
2034
+
2035
+ module Settings {
2036
+
2037
+ // Signal callback interfaces
2038
+
2039
+ /**
2040
+ * Signal callback interface for `books-disabled-changed`
2041
+ */
2042
+ interface BooksDisabledChangedSignalCallback {
2043
+ ($obj: Settings): void
2044
+ }
2045
+
2046
+ /**
2047
+ * Signal callback interface for `fonts-changed`
2048
+ */
2049
+ interface FontsChangedSignalCallback {
2050
+ ($obj: Settings): void
2051
+ }
2052
+
2053
+
2054
+ // Constructor properties interface
2055
+
2056
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2057
+
2058
+ // Own constructor properties of Devhelp-3.0.Devhelp.Settings
2059
+
2060
+ /**
2061
+ * Font for text with fixed width, such as code examples.
2062
+ *
2063
+ * This property is independent of #DhSettings:use-system-fonts.
2064
+ */
2065
+ fixed_font?: string | null
2066
+ /**
2067
+ * Whether books should be grouped by programming language in the UI.
2068
+ */
2069
+ group_books_by_language?: boolean | null
2070
+ /**
2071
+ * Whether to use the system default fonts.
2072
+ */
2073
+ use_system_fonts?: boolean | null
2074
+ /**
2075
+ * Font for text with variable width.
2076
+ *
2077
+ * This property is independent of #DhSettings:use-system-fonts.
2078
+ */
2079
+ variable_font?: string | null
2080
+ }
2081
+
2082
+ }
2083
+
2084
+ interface Settings {
2085
+
2086
+ // Own properties of Devhelp-3.0.Devhelp.Settings
2087
+
2088
+ /**
2089
+ * Font for text with fixed width, such as code examples.
2090
+ *
2091
+ * This property is independent of #DhSettings:use-system-fonts.
2092
+ */
2093
+ fixed_font: string | null
2094
+ /**
2095
+ * Whether books should be grouped by programming language in the UI.
2096
+ */
2097
+ group_books_by_language: boolean
2098
+ /**
2099
+ * Whether to use the system default fonts.
2100
+ */
2101
+ use_system_fonts: boolean
2102
+ /**
2103
+ * Font for text with variable width.
2104
+ *
2105
+ * This property is independent of #DhSettings:use-system-fonts.
2106
+ */
2107
+ variable_font: string | null
2108
+
2109
+ // Own fields of Devhelp-3.0.Devhelp.Settings
2110
+
2111
+ parent: GObject.Object
2112
+ priv: SettingsPrivate
2113
+
2114
+ // Owm methods of Devhelp-3.0.Devhelp.Settings
2115
+
2116
+ /**
2117
+ * Binds all the #DhSettings properties to their corresponding #GSettings keys.
2118
+ */
2119
+ bind_all(): void
2120
+ /**
2121
+ * Binds the #DhSettings:use-system-fonts, #DhSettings:variable-font and
2122
+ * #DhSettings:fixed-font properties to their corresponding #GSettings keys.
2123
+ */
2124
+ bind_fonts(): void
2125
+ /**
2126
+ * Binds the #DhSettings:group-books-by-language property to the corresponding
2127
+ * #GSettings key.
2128
+ */
2129
+ bind_group_books_by_language(): void
2130
+ /**
2131
+ * Tells `settings` to not emit the #DhSettings::books-disabled-changed signal
2132
+ * until dh_settings_thaw_books_disabled_changed() is called.
2133
+ *
2134
+ * A bit like g_object_freeze_notify(), except that there is no freeze count.
2135
+ *
2136
+ * This function is useful if you call dh_settings_set_book_enabled() several
2137
+ * times in a row.
2138
+ */
2139
+ freeze_books_disabled_changed(): void
2140
+ /**
2141
+ * Warning: you probably want to use the dh_settings_get_selected_fonts()
2142
+ * function instead, to take into account the #DhSettings:use-system-fonts
2143
+ * property.
2144
+ * @returns the value of the #DhSettings:fixed-font property.
2145
+ */
2146
+ get_fixed_font(): string | null
2147
+ get_group_books_by_language(): boolean
2148
+ /**
2149
+ * If #DhSettings:use-system-fonts is %TRUE, returns the system fonts. Otherwise
2150
+ * returns the values of the #DhSettings:variable-font and
2151
+ * #DhSettings:fixed-font properties.
2152
+ */
2153
+ get_selected_fonts(): [ /* variable_font */ string | null, /* fixed_font */ string | null ]
2154
+ get_use_system_fonts(): boolean
2155
+ /**
2156
+ * Warning: you probably want to use the dh_settings_get_selected_fonts()
2157
+ * function instead, to take into account the #DhSettings:use-system-fonts
2158
+ * property.
2159
+ * @returns the value of the #DhSettings:variable-font property.
2160
+ */
2161
+ get_variable_font(): string | null
2162
+ /**
2163
+ * Returns whether `book` is enabled according to the "books-disabled" #GSettings
2164
+ * key. If the `book` ID is present in "books-disabled", this function returns
2165
+ * %FALSE, otherwise %TRUE is returned.
2166
+ * @param book a #DhBook.
2167
+ * @returns whether @book is enabled.
2168
+ */
2169
+ is_book_enabled(book: Book): boolean
2170
+ /**
2171
+ * Modifies the "books-disabled" #GSettings key. It adds or removes the `book` ID
2172
+ * from "books-disabled".
2173
+ * @param book a #DhBook.
2174
+ * @param enabled the new value.
2175
+ */
2176
+ set_book_enabled(book: Book, enabled: boolean): void
2177
+ /**
2178
+ * Sets the #DhSettings:fixed-font property.
2179
+ * @param fixed_font the new value.
2180
+ */
2181
+ set_fixed_font(fixed_font: string | null): void
2182
+ /**
2183
+ * Sets the #DhSettings:group-books-by-language property.
2184
+ * @param group_books_by_language the new value.
2185
+ */
2186
+ set_group_books_by_language(group_books_by_language: boolean): void
2187
+ /**
2188
+ * Sets the #DhSettings:use-system-fonts property.
2189
+ * @param use_system_fonts the new value.
2190
+ */
2191
+ set_use_system_fonts(use_system_fonts: boolean): void
2192
+ /**
2193
+ * Sets the #DhSettings:variable-font property.
2194
+ * @param variable_font the new value.
2195
+ */
2196
+ set_variable_font(variable_font: string | null): void
2197
+ /**
2198
+ * Stops the effect of dh_settings_freeze_books_disabled_changed(), and emits
2199
+ * the #DhSettings::books-disabled-changed signal.
2200
+ *
2201
+ * A bit like g_object_thaw_notify(), except that there is no freeze count.
2202
+ */
2203
+ thaw_books_disabled_changed(): void
2204
+
2205
+ // Own virtual methods of Devhelp-3.0.Devhelp.Settings
2206
+
2207
+ vfunc_books_disabled_changed(): void
2208
+ vfunc_fonts_changed(): void
2209
+
2210
+ // Own signals of Devhelp-3.0.Devhelp.Settings
2211
+
2212
+ connect(sigName: "books-disabled-changed", callback: Settings.BooksDisabledChangedSignalCallback): number
2213
+ connect_after(sigName: "books-disabled-changed", callback: Settings.BooksDisabledChangedSignalCallback): number
2214
+ emit(sigName: "books-disabled-changed", ...args: any[]): void
2215
+ connect(sigName: "fonts-changed", callback: Settings.FontsChangedSignalCallback): number
2216
+ connect_after(sigName: "fonts-changed", callback: Settings.FontsChangedSignalCallback): number
2217
+ emit(sigName: "fonts-changed", ...args: any[]): void
2218
+
2219
+ // Class property signals of Devhelp-3.0.Devhelp.Settings
2220
+
2221
+ connect(sigName: "notify::fixed-font", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2222
+ connect_after(sigName: "notify::fixed-font", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2223
+ emit(sigName: "notify::fixed-font", ...args: any[]): void
2224
+ connect(sigName: "notify::group-books-by-language", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2225
+ connect_after(sigName: "notify::group-books-by-language", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2226
+ emit(sigName: "notify::group-books-by-language", ...args: any[]): void
2227
+ connect(sigName: "notify::use-system-fonts", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2228
+ connect_after(sigName: "notify::use-system-fonts", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2229
+ emit(sigName: "notify::use-system-fonts", ...args: any[]): void
2230
+ connect(sigName: "notify::variable-font", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2231
+ connect_after(sigName: "notify::variable-font", callback: (($obj: Settings, pspec: GObject.ParamSpec) => void)): number
2232
+ emit(sigName: "notify::variable-font", ...args: any[]): void
2233
+ connect(sigName: string, callback: (...args: any[]) => void): number
2234
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2235
+ emit(sigName: string, ...args: any[]): void
2236
+ disconnect(id: number): void
2237
+ }
2238
+
2239
+ class Settings extends GObject.Object {
2240
+
2241
+ // Own properties of Devhelp-3.0.Devhelp.Settings
2242
+
2243
+ static name: string
2244
+ static $gtype: GObject.GType<Settings>
2245
+
2246
+ // Constructors of Devhelp-3.0.Devhelp.Settings
2247
+
2248
+ constructor(config?: Settings.ConstructorProperties)
2249
+ _init(config?: Settings.ConstructorProperties): void
2250
+ /**
2251
+ * Gets the default #DhSettings object. It has the default #GSettings paths (see
2252
+ * #DhSettingsBuilder) and dh_settings_bind_all() has been called.
2253
+ * @returns the default #DhSettings object.
2254
+ */
2255
+ static get_default(): Settings
2256
+ }
2257
+
2258
+ module SettingsBuilder {
2259
+
2260
+ // Constructor properties interface
2261
+
2262
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2263
+ }
2264
+
2265
+ }
2266
+
2267
+ interface SettingsBuilder {
2268
+
2269
+ // Own fields of Devhelp-3.0.Devhelp.SettingsBuilder
2270
+
2271
+ parent: GObject.Object
2272
+ priv: SettingsBuilderPrivate
2273
+
2274
+ // Owm methods of Devhelp-3.0.Devhelp.SettingsBuilder
2275
+
2276
+ create_object(): Settings
2277
+ /**
2278
+ * Sets the path for the "contents" schema.
2279
+ *
2280
+ * If you don't call this function, the default path for this schema will be
2281
+ * used.
2282
+ * @param contents_path the path for the "contents" schema.
2283
+ */
2284
+ set_contents_path(contents_path: string | null): void
2285
+ /**
2286
+ * Sets the path for the "fonts" schema.
2287
+ *
2288
+ * If you don't call this function, the default path for this schema will be
2289
+ * used.
2290
+ * @param fonts_path the path for the "fonts" schema.
2291
+ */
2292
+ set_fonts_path(fonts_path: string | null): void
2293
+
2294
+ // Class property signals of Devhelp-3.0.Devhelp.SettingsBuilder
2295
+
2296
+ connect(sigName: string, callback: (...args: any[]) => void): number
2297
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2298
+ emit(sigName: string, ...args: any[]): void
2299
+ disconnect(id: number): void
2300
+ }
2301
+
2302
+ class SettingsBuilder extends GObject.Object {
2303
+
2304
+ // Own properties of Devhelp-3.0.Devhelp.SettingsBuilder
2305
+
2306
+ static name: string
2307
+ static $gtype: GObject.GType<SettingsBuilder>
2308
+
2309
+ // Constructors of Devhelp-3.0.Devhelp.SettingsBuilder
2310
+
2311
+ constructor(config?: SettingsBuilder.ConstructorProperties)
2312
+ constructor()
2313
+ static new(): SettingsBuilder
2314
+ _init(config?: SettingsBuilder.ConstructorProperties): void
2315
+ }
2316
+
2317
+ module Sidebar {
2318
+
2319
+ // Signal callback interfaces
2320
+
2321
+ /**
2322
+ * Signal callback interface for `link-selected`
2323
+ */
2324
+ interface LinkSelectedSignalCallback {
2325
+ ($obj: Sidebar, link: Link): void
2326
+ }
2327
+
2328
+
2329
+ // Constructor properties interface
2330
+
2331
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Grid.ConstructorProperties {
2332
+
2333
+ // Own constructor properties of Devhelp-3.0.Devhelp.Sidebar
2334
+
2335
+ /**
2336
+ * The #DhProfile. If set to %NULL, the default profile as returned by
2337
+ * dh_profile_get_default() is used.
2338
+ */
2339
+ profile?: Profile | null
2340
+ }
2341
+
2342
+ }
2343
+
2344
+ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
2345
+
2346
+ // Own properties of Devhelp-3.0.Devhelp.Sidebar
2347
+
2348
+ /**
2349
+ * The #DhProfile. If set to %NULL, the default profile as returned by
2350
+ * dh_profile_get_default() is used.
2351
+ */
2352
+ readonly profile: Profile
2353
+
2354
+ // Own fields of Devhelp-3.0.Devhelp.Sidebar
2355
+
2356
+ parent_instance: Gtk.Grid & GObject.InitiallyUnowned
2357
+
2358
+ // Owm methods of Devhelp-3.0.Devhelp.Sidebar
2359
+
2360
+ get_profile(): Profile
2361
+ /**
2362
+ * Note: the return value of this function is not necessarily the same as the
2363
+ * last #DhLink emitted by the #DhSidebar::link-selected signal. See the
2364
+ * documentation of #DhSidebar::link-selected.
2365
+ * @returns the currently selected #DhLink in the visible #GtkTreeView of @sidebar, or %NULL if the selection is empty or if a language group row is selected. Unref with dh_link_unref() when no longer needed.
2366
+ */
2367
+ get_selected_link(): Link | null
2368
+ /**
2369
+ * Calls dh_book_tree_select_uri().
2370
+ * @param uri the URI to select.
2371
+ */
2372
+ select_uri(uri: string | null): void
2373
+ /**
2374
+ * Gives the focus to the search entry.
2375
+ */
2376
+ set_search_focus(): void
2377
+ set_search_string(str: string | null): void
2378
+
2379
+ // Conflicting methods
2380
+
2381
+ /**
2382
+ * Emits a #GtkWidget::child-notify signal for the
2383
+ * [child property][child-properties]
2384
+ * `child_property` on the child.
2385
+ *
2386
+ * This is an analogue of g_object_notify() for child properties.
2387
+ *
2388
+ * Also see gtk_widget_child_notify().
2389
+ * @param child the child widget
2390
+ * @param child_property the name of a child property installed on the class of `container`
2391
+ */
2392
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2393
+
2394
+ // Overloads of child_notify
2395
+
2396
+ /**
2397
+ * Emits a #GtkWidget::child-notify signal for the
2398
+ * [child property][child-properties] `child_property`
2399
+ * on `widget`.
2400
+ *
2401
+ * This is the analogue of g_object_notify() for child properties.
2402
+ *
2403
+ * Also see gtk_container_child_notify().
2404
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2405
+ */
2406
+ child_notify(child_property: string | null): void
2407
+ /**
2408
+ * Emits a #GtkWidget::child-notify signal for the
2409
+ * [child property][child-properties] `child_property`
2410
+ * on `widget`.
2411
+ *
2412
+ * This is the analogue of g_object_notify() for child properties.
2413
+ *
2414
+ * Also see gtk_container_child_notify().
2415
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2416
+ */
2417
+ child_notify(child_property: string | null): void
2418
+
2419
+ // Own virtual methods of Devhelp-3.0.Devhelp.Sidebar
2420
+
2421
+ vfunc_link_selected(link: Link): void
2422
+
2423
+ // Own signals of Devhelp-3.0.Devhelp.Sidebar
2424
+
2425
+ connect(sigName: "link-selected", callback: Sidebar.LinkSelectedSignalCallback): number
2426
+ connect_after(sigName: "link-selected", callback: Sidebar.LinkSelectedSignalCallback): number
2427
+ emit(sigName: "link-selected", link: Link, ...args: any[]): void
2428
+
2429
+ // Class property signals of Devhelp-3.0.Devhelp.Sidebar
2430
+
2431
+ connect(sigName: "notify::profile", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2432
+ connect_after(sigName: "notify::profile", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2433
+ emit(sigName: "notify::profile", ...args: any[]): void
2434
+ connect(sigName: "notify::baseline-row", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2435
+ connect_after(sigName: "notify::baseline-row", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2436
+ emit(sigName: "notify::baseline-row", ...args: any[]): void
2437
+ connect(sigName: "notify::column-homogeneous", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2438
+ connect_after(sigName: "notify::column-homogeneous", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2439
+ emit(sigName: "notify::column-homogeneous", ...args: any[]): void
2440
+ connect(sigName: "notify::column-spacing", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2441
+ connect_after(sigName: "notify::column-spacing", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2442
+ emit(sigName: "notify::column-spacing", ...args: any[]): void
2443
+ connect(sigName: "notify::row-homogeneous", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2444
+ connect_after(sigName: "notify::row-homogeneous", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2445
+ emit(sigName: "notify::row-homogeneous", ...args: any[]): void
2446
+ connect(sigName: "notify::row-spacing", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2447
+ connect_after(sigName: "notify::row-spacing", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2448
+ emit(sigName: "notify::row-spacing", ...args: any[]): void
2449
+ connect(sigName: "notify::border-width", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2450
+ connect_after(sigName: "notify::border-width", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2451
+ emit(sigName: "notify::border-width", ...args: any[]): void
2452
+ connect(sigName: "notify::child", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2453
+ connect_after(sigName: "notify::child", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2454
+ emit(sigName: "notify::child", ...args: any[]): void
2455
+ connect(sigName: "notify::resize-mode", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2456
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2457
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2458
+ connect(sigName: "notify::app-paintable", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2459
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2460
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2461
+ connect(sigName: "notify::can-default", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2462
+ connect_after(sigName: "notify::can-default", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2463
+ emit(sigName: "notify::can-default", ...args: any[]): void
2464
+ connect(sigName: "notify::can-focus", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2465
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2466
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2467
+ connect(sigName: "notify::composite-child", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2468
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2469
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2470
+ connect(sigName: "notify::double-buffered", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2471
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2472
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2473
+ connect(sigName: "notify::events", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2474
+ connect_after(sigName: "notify::events", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2475
+ emit(sigName: "notify::events", ...args: any[]): void
2476
+ connect(sigName: "notify::expand", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2477
+ connect_after(sigName: "notify::expand", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2478
+ emit(sigName: "notify::expand", ...args: any[]): void
2479
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2480
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2481
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2482
+ connect(sigName: "notify::halign", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2483
+ connect_after(sigName: "notify::halign", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2484
+ emit(sigName: "notify::halign", ...args: any[]): void
2485
+ connect(sigName: "notify::has-default", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2486
+ connect_after(sigName: "notify::has-default", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2487
+ emit(sigName: "notify::has-default", ...args: any[]): void
2488
+ connect(sigName: "notify::has-focus", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2489
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2490
+ emit(sigName: "notify::has-focus", ...args: any[]): void
2491
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2492
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2493
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
2494
+ connect(sigName: "notify::height-request", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2495
+ connect_after(sigName: "notify::height-request", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2496
+ emit(sigName: "notify::height-request", ...args: any[]): void
2497
+ connect(sigName: "notify::hexpand", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2498
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2499
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2500
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2501
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2502
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2503
+ connect(sigName: "notify::is-focus", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2504
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2505
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2506
+ connect(sigName: "notify::margin", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2507
+ connect_after(sigName: "notify::margin", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2508
+ emit(sigName: "notify::margin", ...args: any[]): void
2509
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2510
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2511
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2512
+ connect(sigName: "notify::margin-end", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2513
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2514
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2515
+ connect(sigName: "notify::margin-left", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2516
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2517
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2518
+ connect(sigName: "notify::margin-right", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2519
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2520
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2521
+ connect(sigName: "notify::margin-start", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2522
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2523
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2524
+ connect(sigName: "notify::margin-top", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2525
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2526
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2527
+ connect(sigName: "notify::name", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2528
+ connect_after(sigName: "notify::name", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2529
+ emit(sigName: "notify::name", ...args: any[]): void
2530
+ connect(sigName: "notify::no-show-all", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2531
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2532
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2533
+ connect(sigName: "notify::opacity", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2534
+ connect_after(sigName: "notify::opacity", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2535
+ emit(sigName: "notify::opacity", ...args: any[]): void
2536
+ connect(sigName: "notify::parent", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2537
+ connect_after(sigName: "notify::parent", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2538
+ emit(sigName: "notify::parent", ...args: any[]): void
2539
+ connect(sigName: "notify::receives-default", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2540
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2541
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2542
+ connect(sigName: "notify::scale-factor", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2543
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2544
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2545
+ connect(sigName: "notify::sensitive", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2546
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2547
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2548
+ connect(sigName: "notify::style", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2549
+ connect_after(sigName: "notify::style", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2550
+ emit(sigName: "notify::style", ...args: any[]): void
2551
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2552
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2553
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2554
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2555
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2556
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2557
+ connect(sigName: "notify::valign", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2558
+ connect_after(sigName: "notify::valign", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2559
+ emit(sigName: "notify::valign", ...args: any[]): void
2560
+ connect(sigName: "notify::vexpand", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2561
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2562
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2563
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2564
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2565
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2566
+ connect(sigName: "notify::visible", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2567
+ connect_after(sigName: "notify::visible", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2568
+ emit(sigName: "notify::visible", ...args: any[]): void
2569
+ connect(sigName: "notify::width-request", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2570
+ connect_after(sigName: "notify::width-request", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2571
+ emit(sigName: "notify::width-request", ...args: any[]): void
2572
+ connect(sigName: "notify::window", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2573
+ connect_after(sigName: "notify::window", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2574
+ emit(sigName: "notify::window", ...args: any[]): void
2575
+ connect(sigName: "notify::orientation", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2576
+ connect_after(sigName: "notify::orientation", callback: (($obj: Sidebar, pspec: GObject.ParamSpec) => void)): number
2577
+ emit(sigName: "notify::orientation", ...args: any[]): void
2578
+ connect(sigName: string, callback: (...args: any[]) => void): number
2579
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2580
+ emit(sigName: string, ...args: any[]): void
2581
+ disconnect(id: number): void
2582
+ }
2583
+
2584
+ class Sidebar extends Gtk.Grid {
2585
+
2586
+ // Own properties of Devhelp-3.0.Devhelp.Sidebar
2587
+
2588
+ static name: string
2589
+ static $gtype: GObject.GType<Sidebar>
2590
+
2591
+ // Constructors of Devhelp-3.0.Devhelp.Sidebar
2592
+
2593
+ constructor(config?: Sidebar.ConstructorProperties)
2594
+ constructor(book_manager: BookManager | null)
2595
+ static new(book_manager: BookManager | null): Sidebar
2596
+
2597
+ // Overloads of new
2598
+
2599
+ /**
2600
+ * Creates a new grid widget.
2601
+ * @constructor
2602
+ * @returns the new #GtkGrid
2603
+ */
2604
+ static new(): Gtk.Grid
2605
+ _init(config?: Sidebar.ConstructorProperties): void
2606
+ static new2(profile: Profile | null): Sidebar
2607
+ }
2608
+
2609
+ module Tab {
2610
+
2611
+ // Constructor properties interface
2612
+
2613
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Grid.ConstructorProperties {
2614
+
2615
+ // Own constructor properties of Devhelp-3.0.Devhelp.Tab
2616
+
2617
+ /**
2618
+ * The #DhWebView of the tab. If set to %NULL a #DhWebView is created
2619
+ * with the default #DhProfile.
2620
+ */
2621
+ web_view?: WebView | null
2622
+ }
2623
+
2624
+ }
2625
+
2626
+ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
2627
+
2628
+ // Own properties of Devhelp-3.0.Devhelp.Tab
2629
+
2630
+ /**
2631
+ * The #DhWebView of the tab. If set to %NULL a #DhWebView is created
2632
+ * with the default #DhProfile.
2633
+ */
2634
+ readonly web_view: WebView
2635
+
2636
+ // Own fields of Devhelp-3.0.Devhelp.Tab
2637
+
2638
+ parent: Gtk.Grid & Gtk.Container
2639
+ priv: TabPrivate
2640
+
2641
+ // Owm methods of Devhelp-3.0.Devhelp.Tab
2642
+
2643
+ get_web_view(): WebView
2644
+
2645
+ // Conflicting methods
2646
+
2647
+ /**
2648
+ * Emits a #GtkWidget::child-notify signal for the
2649
+ * [child property][child-properties]
2650
+ * `child_property` on the child.
2651
+ *
2652
+ * This is an analogue of g_object_notify() for child properties.
2653
+ *
2654
+ * Also see gtk_widget_child_notify().
2655
+ * @param child the child widget
2656
+ * @param child_property the name of a child property installed on the class of `container`
2657
+ */
2658
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2659
+
2660
+ // Overloads of child_notify
2661
+
2662
+ /**
2663
+ * Emits a #GtkWidget::child-notify signal for the
2664
+ * [child property][child-properties] `child_property`
2665
+ * on `widget`.
2666
+ *
2667
+ * This is the analogue of g_object_notify() for child properties.
2668
+ *
2669
+ * Also see gtk_container_child_notify().
2670
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2671
+ */
2672
+ child_notify(child_property: string | null): void
2673
+ /**
2674
+ * Emits a #GtkWidget::child-notify signal for the
2675
+ * [child property][child-properties] `child_property`
2676
+ * on `widget`.
2677
+ *
2678
+ * This is the analogue of g_object_notify() for child properties.
2679
+ *
2680
+ * Also see gtk_container_child_notify().
2681
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2682
+ */
2683
+ child_notify(child_property: string | null): void
2684
+
2685
+ // Class property signals of Devhelp-3.0.Devhelp.Tab
2686
+
2687
+ connect(sigName: "notify::web-view", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2688
+ connect_after(sigName: "notify::web-view", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2689
+ emit(sigName: "notify::web-view", ...args: any[]): void
2690
+ connect(sigName: "notify::baseline-row", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2691
+ connect_after(sigName: "notify::baseline-row", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2692
+ emit(sigName: "notify::baseline-row", ...args: any[]): void
2693
+ connect(sigName: "notify::column-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2694
+ connect_after(sigName: "notify::column-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2695
+ emit(sigName: "notify::column-homogeneous", ...args: any[]): void
2696
+ connect(sigName: "notify::column-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2697
+ connect_after(sigName: "notify::column-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2698
+ emit(sigName: "notify::column-spacing", ...args: any[]): void
2699
+ connect(sigName: "notify::row-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2700
+ connect_after(sigName: "notify::row-homogeneous", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2701
+ emit(sigName: "notify::row-homogeneous", ...args: any[]): void
2702
+ connect(sigName: "notify::row-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2703
+ connect_after(sigName: "notify::row-spacing", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2704
+ emit(sigName: "notify::row-spacing", ...args: any[]): void
2705
+ connect(sigName: "notify::border-width", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2706
+ connect_after(sigName: "notify::border-width", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2707
+ emit(sigName: "notify::border-width", ...args: any[]): void
2708
+ connect(sigName: "notify::child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2709
+ connect_after(sigName: "notify::child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2710
+ emit(sigName: "notify::child", ...args: any[]): void
2711
+ connect(sigName: "notify::resize-mode", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2712
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2713
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2714
+ connect(sigName: "notify::app-paintable", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2715
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2716
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2717
+ connect(sigName: "notify::can-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2718
+ connect_after(sigName: "notify::can-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2719
+ emit(sigName: "notify::can-default", ...args: any[]): void
2720
+ connect(sigName: "notify::can-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2721
+ connect_after(sigName: "notify::can-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2722
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2723
+ connect(sigName: "notify::composite-child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2724
+ connect_after(sigName: "notify::composite-child", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2725
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2726
+ connect(sigName: "notify::double-buffered", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2727
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2728
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2729
+ connect(sigName: "notify::events", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2730
+ connect_after(sigName: "notify::events", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2731
+ emit(sigName: "notify::events", ...args: any[]): void
2732
+ connect(sigName: "notify::expand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2733
+ connect_after(sigName: "notify::expand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2734
+ emit(sigName: "notify::expand", ...args: any[]): void
2735
+ connect(sigName: "notify::focus-on-click", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2736
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2737
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2738
+ connect(sigName: "notify::halign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2739
+ connect_after(sigName: "notify::halign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2740
+ emit(sigName: "notify::halign", ...args: any[]): void
2741
+ connect(sigName: "notify::has-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2742
+ connect_after(sigName: "notify::has-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2743
+ emit(sigName: "notify::has-default", ...args: any[]): void
2744
+ connect(sigName: "notify::has-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2745
+ connect_after(sigName: "notify::has-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2746
+ emit(sigName: "notify::has-focus", ...args: any[]): void
2747
+ connect(sigName: "notify::has-tooltip", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2748
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2749
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
2750
+ connect(sigName: "notify::height-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2751
+ connect_after(sigName: "notify::height-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2752
+ emit(sigName: "notify::height-request", ...args: any[]): void
2753
+ connect(sigName: "notify::hexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2754
+ connect_after(sigName: "notify::hexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2755
+ emit(sigName: "notify::hexpand", ...args: any[]): void
2756
+ connect(sigName: "notify::hexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2757
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2758
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
2759
+ connect(sigName: "notify::is-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2760
+ connect_after(sigName: "notify::is-focus", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2761
+ emit(sigName: "notify::is-focus", ...args: any[]): void
2762
+ connect(sigName: "notify::margin", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2763
+ connect_after(sigName: "notify::margin", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2764
+ emit(sigName: "notify::margin", ...args: any[]): void
2765
+ connect(sigName: "notify::margin-bottom", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2766
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2767
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
2768
+ connect(sigName: "notify::margin-end", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2769
+ connect_after(sigName: "notify::margin-end", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2770
+ emit(sigName: "notify::margin-end", ...args: any[]): void
2771
+ connect(sigName: "notify::margin-left", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2772
+ connect_after(sigName: "notify::margin-left", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2773
+ emit(sigName: "notify::margin-left", ...args: any[]): void
2774
+ connect(sigName: "notify::margin-right", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2775
+ connect_after(sigName: "notify::margin-right", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2776
+ emit(sigName: "notify::margin-right", ...args: any[]): void
2777
+ connect(sigName: "notify::margin-start", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2778
+ connect_after(sigName: "notify::margin-start", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2779
+ emit(sigName: "notify::margin-start", ...args: any[]): void
2780
+ connect(sigName: "notify::margin-top", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2781
+ connect_after(sigName: "notify::margin-top", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2782
+ emit(sigName: "notify::margin-top", ...args: any[]): void
2783
+ connect(sigName: "notify::name", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2784
+ connect_after(sigName: "notify::name", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2785
+ emit(sigName: "notify::name", ...args: any[]): void
2786
+ connect(sigName: "notify::no-show-all", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2787
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2788
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
2789
+ connect(sigName: "notify::opacity", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2790
+ connect_after(sigName: "notify::opacity", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2791
+ emit(sigName: "notify::opacity", ...args: any[]): void
2792
+ connect(sigName: "notify::parent", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2793
+ connect_after(sigName: "notify::parent", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2794
+ emit(sigName: "notify::parent", ...args: any[]): void
2795
+ connect(sigName: "notify::receives-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2796
+ connect_after(sigName: "notify::receives-default", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2797
+ emit(sigName: "notify::receives-default", ...args: any[]): void
2798
+ connect(sigName: "notify::scale-factor", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2799
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2800
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
2801
+ connect(sigName: "notify::sensitive", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2802
+ connect_after(sigName: "notify::sensitive", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2803
+ emit(sigName: "notify::sensitive", ...args: any[]): void
2804
+ connect(sigName: "notify::style", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2805
+ connect_after(sigName: "notify::style", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2806
+ emit(sigName: "notify::style", ...args: any[]): void
2807
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2808
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2809
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
2810
+ connect(sigName: "notify::tooltip-text", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2811
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2812
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
2813
+ connect(sigName: "notify::valign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2814
+ connect_after(sigName: "notify::valign", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2815
+ emit(sigName: "notify::valign", ...args: any[]): void
2816
+ connect(sigName: "notify::vexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2817
+ connect_after(sigName: "notify::vexpand", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2818
+ emit(sigName: "notify::vexpand", ...args: any[]): void
2819
+ connect(sigName: "notify::vexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2820
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2821
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
2822
+ connect(sigName: "notify::visible", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2823
+ connect_after(sigName: "notify::visible", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2824
+ emit(sigName: "notify::visible", ...args: any[]): void
2825
+ connect(sigName: "notify::width-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2826
+ connect_after(sigName: "notify::width-request", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2827
+ emit(sigName: "notify::width-request", ...args: any[]): void
2828
+ connect(sigName: "notify::window", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2829
+ connect_after(sigName: "notify::window", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2830
+ emit(sigName: "notify::window", ...args: any[]): void
2831
+ connect(sigName: "notify::orientation", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2832
+ connect_after(sigName: "notify::orientation", callback: (($obj: Tab, pspec: GObject.ParamSpec) => void)): number
2833
+ emit(sigName: "notify::orientation", ...args: any[]): void
2834
+ connect(sigName: string, callback: (...args: any[]) => void): number
2835
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2836
+ emit(sigName: string, ...args: any[]): void
2837
+ disconnect(id: number): void
2838
+ }
2839
+
2840
+ class Tab extends Gtk.Grid {
2841
+
2842
+ // Own properties of Devhelp-3.0.Devhelp.Tab
2843
+
2844
+ static name: string
2845
+ static $gtype: GObject.GType<Tab>
2846
+
2847
+ // Constructors of Devhelp-3.0.Devhelp.Tab
2848
+
2849
+ constructor(config?: Tab.ConstructorProperties)
2850
+ constructor(web_view: WebView | null)
2851
+ static new(web_view: WebView | null): Tab
2852
+
2853
+ // Overloads of new
2854
+
2855
+ /**
2856
+ * Creates a new grid widget.
2857
+ * @constructor
2858
+ * @returns the new #GtkGrid
2859
+ */
2860
+ static new(): Gtk.Grid
2861
+ _init(config?: Tab.ConstructorProperties): void
2862
+ }
2863
+
2864
+ module TabLabel {
2865
+
2866
+ // Constructor properties interface
2867
+
2868
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, Gtk.Orientable.ConstructorProperties, Gtk.Grid.ConstructorProperties {
2869
+
2870
+ // Own constructor properties of Devhelp-3.0.Devhelp.TabLabel
2871
+
2872
+ /**
2873
+ * The associated #DhTab. #DhTabLabel has a weak reference to the
2874
+ * #DhTab.
2875
+ */
2876
+ tab?: Tab | null
2877
+ }
2878
+
2879
+ }
2880
+
2881
+ interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
2882
+
2883
+ // Own properties of Devhelp-3.0.Devhelp.TabLabel
2884
+
2885
+ /**
2886
+ * The associated #DhTab. #DhTabLabel has a weak reference to the
2887
+ * #DhTab.
2888
+ */
2889
+ readonly tab: Tab
2890
+
2891
+ // Own fields of Devhelp-3.0.Devhelp.TabLabel
2892
+
2893
+ parent: Gtk.Grid & Gtk.Container
2894
+ priv: TabLabelPrivate
2895
+
2896
+ // Owm methods of Devhelp-3.0.Devhelp.TabLabel
2897
+
2898
+ get_tab(): Tab | null
2899
+
2900
+ // Conflicting methods
2901
+
2902
+ /**
2903
+ * Emits a #GtkWidget::child-notify signal for the
2904
+ * [child property][child-properties]
2905
+ * `child_property` on the child.
2906
+ *
2907
+ * This is an analogue of g_object_notify() for child properties.
2908
+ *
2909
+ * Also see gtk_widget_child_notify().
2910
+ * @param child the child widget
2911
+ * @param child_property the name of a child property installed on the class of `container`
2912
+ */
2913
+ child_notify(child: Gtk.Widget, child_property: string | null): void
2914
+
2915
+ // Overloads of child_notify
2916
+
2917
+ /**
2918
+ * Emits a #GtkWidget::child-notify signal for the
2919
+ * [child property][child-properties] `child_property`
2920
+ * on `widget`.
2921
+ *
2922
+ * This is the analogue of g_object_notify() for child properties.
2923
+ *
2924
+ * Also see gtk_container_child_notify().
2925
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2926
+ */
2927
+ child_notify(child_property: string | null): void
2928
+ /**
2929
+ * Emits a #GtkWidget::child-notify signal for the
2930
+ * [child property][child-properties] `child_property`
2931
+ * on `widget`.
2932
+ *
2933
+ * This is the analogue of g_object_notify() for child properties.
2934
+ *
2935
+ * Also see gtk_container_child_notify().
2936
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
2937
+ */
2938
+ child_notify(child_property: string | null): void
2939
+
2940
+ // Class property signals of Devhelp-3.0.Devhelp.TabLabel
2941
+
2942
+ connect(sigName: "notify::tab", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2943
+ connect_after(sigName: "notify::tab", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2944
+ emit(sigName: "notify::tab", ...args: any[]): void
2945
+ connect(sigName: "notify::baseline-row", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2946
+ connect_after(sigName: "notify::baseline-row", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2947
+ emit(sigName: "notify::baseline-row", ...args: any[]): void
2948
+ connect(sigName: "notify::column-homogeneous", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2949
+ connect_after(sigName: "notify::column-homogeneous", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2950
+ emit(sigName: "notify::column-homogeneous", ...args: any[]): void
2951
+ connect(sigName: "notify::column-spacing", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2952
+ connect_after(sigName: "notify::column-spacing", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2953
+ emit(sigName: "notify::column-spacing", ...args: any[]): void
2954
+ connect(sigName: "notify::row-homogeneous", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2955
+ connect_after(sigName: "notify::row-homogeneous", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2956
+ emit(sigName: "notify::row-homogeneous", ...args: any[]): void
2957
+ connect(sigName: "notify::row-spacing", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2958
+ connect_after(sigName: "notify::row-spacing", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2959
+ emit(sigName: "notify::row-spacing", ...args: any[]): void
2960
+ connect(sigName: "notify::border-width", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2961
+ connect_after(sigName: "notify::border-width", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2962
+ emit(sigName: "notify::border-width", ...args: any[]): void
2963
+ connect(sigName: "notify::child", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2964
+ connect_after(sigName: "notify::child", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2965
+ emit(sigName: "notify::child", ...args: any[]): void
2966
+ connect(sigName: "notify::resize-mode", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2967
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2968
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
2969
+ connect(sigName: "notify::app-paintable", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2970
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2971
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
2972
+ connect(sigName: "notify::can-default", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2973
+ connect_after(sigName: "notify::can-default", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2974
+ emit(sigName: "notify::can-default", ...args: any[]): void
2975
+ connect(sigName: "notify::can-focus", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2976
+ connect_after(sigName: "notify::can-focus", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2977
+ emit(sigName: "notify::can-focus", ...args: any[]): void
2978
+ connect(sigName: "notify::composite-child", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2979
+ connect_after(sigName: "notify::composite-child", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2980
+ emit(sigName: "notify::composite-child", ...args: any[]): void
2981
+ connect(sigName: "notify::double-buffered", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2982
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2983
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
2984
+ connect(sigName: "notify::events", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2985
+ connect_after(sigName: "notify::events", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2986
+ emit(sigName: "notify::events", ...args: any[]): void
2987
+ connect(sigName: "notify::expand", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2988
+ connect_after(sigName: "notify::expand", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2989
+ emit(sigName: "notify::expand", ...args: any[]): void
2990
+ connect(sigName: "notify::focus-on-click", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2991
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2992
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
2993
+ connect(sigName: "notify::halign", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2994
+ connect_after(sigName: "notify::halign", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2995
+ emit(sigName: "notify::halign", ...args: any[]): void
2996
+ connect(sigName: "notify::has-default", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2997
+ connect_after(sigName: "notify::has-default", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
2998
+ emit(sigName: "notify::has-default", ...args: any[]): void
2999
+ connect(sigName: "notify::has-focus", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3000
+ connect_after(sigName: "notify::has-focus", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3001
+ emit(sigName: "notify::has-focus", ...args: any[]): void
3002
+ connect(sigName: "notify::has-tooltip", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3003
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3004
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
3005
+ connect(sigName: "notify::height-request", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3006
+ connect_after(sigName: "notify::height-request", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3007
+ emit(sigName: "notify::height-request", ...args: any[]): void
3008
+ connect(sigName: "notify::hexpand", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3009
+ connect_after(sigName: "notify::hexpand", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3010
+ emit(sigName: "notify::hexpand", ...args: any[]): void
3011
+ connect(sigName: "notify::hexpand-set", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3012
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3013
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
3014
+ connect(sigName: "notify::is-focus", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3015
+ connect_after(sigName: "notify::is-focus", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3016
+ emit(sigName: "notify::is-focus", ...args: any[]): void
3017
+ connect(sigName: "notify::margin", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3018
+ connect_after(sigName: "notify::margin", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3019
+ emit(sigName: "notify::margin", ...args: any[]): void
3020
+ connect(sigName: "notify::margin-bottom", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3021
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3022
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
3023
+ connect(sigName: "notify::margin-end", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3024
+ connect_after(sigName: "notify::margin-end", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3025
+ emit(sigName: "notify::margin-end", ...args: any[]): void
3026
+ connect(sigName: "notify::margin-left", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3027
+ connect_after(sigName: "notify::margin-left", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3028
+ emit(sigName: "notify::margin-left", ...args: any[]): void
3029
+ connect(sigName: "notify::margin-right", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3030
+ connect_after(sigName: "notify::margin-right", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3031
+ emit(sigName: "notify::margin-right", ...args: any[]): void
3032
+ connect(sigName: "notify::margin-start", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3033
+ connect_after(sigName: "notify::margin-start", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3034
+ emit(sigName: "notify::margin-start", ...args: any[]): void
3035
+ connect(sigName: "notify::margin-top", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3036
+ connect_after(sigName: "notify::margin-top", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3037
+ emit(sigName: "notify::margin-top", ...args: any[]): void
3038
+ connect(sigName: "notify::name", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3039
+ connect_after(sigName: "notify::name", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3040
+ emit(sigName: "notify::name", ...args: any[]): void
3041
+ connect(sigName: "notify::no-show-all", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3042
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3043
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
3044
+ connect(sigName: "notify::opacity", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3045
+ connect_after(sigName: "notify::opacity", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3046
+ emit(sigName: "notify::opacity", ...args: any[]): void
3047
+ connect(sigName: "notify::parent", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3048
+ connect_after(sigName: "notify::parent", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3049
+ emit(sigName: "notify::parent", ...args: any[]): void
3050
+ connect(sigName: "notify::receives-default", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3051
+ connect_after(sigName: "notify::receives-default", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3052
+ emit(sigName: "notify::receives-default", ...args: any[]): void
3053
+ connect(sigName: "notify::scale-factor", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3054
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3055
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
3056
+ connect(sigName: "notify::sensitive", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3057
+ connect_after(sigName: "notify::sensitive", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3058
+ emit(sigName: "notify::sensitive", ...args: any[]): void
3059
+ connect(sigName: "notify::style", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3060
+ connect_after(sigName: "notify::style", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3061
+ emit(sigName: "notify::style", ...args: any[]): void
3062
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3063
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3064
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
3065
+ connect(sigName: "notify::tooltip-text", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3066
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3067
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
3068
+ connect(sigName: "notify::valign", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3069
+ connect_after(sigName: "notify::valign", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3070
+ emit(sigName: "notify::valign", ...args: any[]): void
3071
+ connect(sigName: "notify::vexpand", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3072
+ connect_after(sigName: "notify::vexpand", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3073
+ emit(sigName: "notify::vexpand", ...args: any[]): void
3074
+ connect(sigName: "notify::vexpand-set", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3075
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3076
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
3077
+ connect(sigName: "notify::visible", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3078
+ connect_after(sigName: "notify::visible", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3079
+ emit(sigName: "notify::visible", ...args: any[]): void
3080
+ connect(sigName: "notify::width-request", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3081
+ connect_after(sigName: "notify::width-request", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3082
+ emit(sigName: "notify::width-request", ...args: any[]): void
3083
+ connect(sigName: "notify::window", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3084
+ connect_after(sigName: "notify::window", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3085
+ emit(sigName: "notify::window", ...args: any[]): void
3086
+ connect(sigName: "notify::orientation", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3087
+ connect_after(sigName: "notify::orientation", callback: (($obj: TabLabel, pspec: GObject.ParamSpec) => void)): number
3088
+ emit(sigName: "notify::orientation", ...args: any[]): void
3089
+ connect(sigName: string, callback: (...args: any[]) => void): number
3090
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3091
+ emit(sigName: string, ...args: any[]): void
3092
+ disconnect(id: number): void
3093
+ }
3094
+
3095
+ class TabLabel extends Gtk.Grid {
3096
+
3097
+ // Own properties of Devhelp-3.0.Devhelp.TabLabel
3098
+
3099
+ static name: string
3100
+ static $gtype: GObject.GType<TabLabel>
3101
+
3102
+ // Constructors of Devhelp-3.0.Devhelp.TabLabel
3103
+
3104
+ constructor(config?: TabLabel.ConstructorProperties)
3105
+ constructor(tab: Tab)
3106
+ static new(tab: Tab): TabLabel
3107
+
3108
+ // Overloads of new
3109
+
3110
+ /**
3111
+ * Creates a new grid widget.
3112
+ * @constructor
3113
+ * @returns the new #GtkGrid
3114
+ */
3115
+ static new(): Gtk.Grid
3116
+ _init(config?: TabLabel.ConstructorProperties): void
3117
+ }
3118
+
3119
+ module WebView {
3120
+
3121
+ // Signal callback interfaces
3122
+
3123
+ /**
3124
+ * Signal callback interface for `open-new-tab`
3125
+ */
3126
+ interface OpenNewTabSignalCallback {
3127
+ ($obj: WebView, uri: string | null): void
3128
+ }
3129
+
3130
+
3131
+ // Constructor properties interface
3132
+
3133
+ interface ConstructorProperties extends Atk.ImplementorIface.ConstructorProperties, Gtk.Buildable.ConstructorProperties, WebKit2.WebView.ConstructorProperties {
3134
+
3135
+ // Own constructor properties of Devhelp-3.0.Devhelp.WebView
3136
+
3137
+ /**
3138
+ * The #DhProfile. If set to %NULL, the default profile as returned by
3139
+ * dh_profile_get_default() is used.
3140
+ */
3141
+ profile?: Profile | null
3142
+ }
3143
+
3144
+ }
3145
+
3146
+ interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
3147
+
3148
+ // Own properties of Devhelp-3.0.Devhelp.WebView
3149
+
3150
+ /**
3151
+ * The #DhProfile. If set to %NULL, the default profile as returned by
3152
+ * dh_profile_get_default() is used.
3153
+ */
3154
+ readonly profile: Profile
3155
+
3156
+ // Own fields of Devhelp-3.0.Devhelp.WebView
3157
+
3158
+ parent: WebKit2.WebView & WebKit2.WebViewBase & Gtk.Container & Gtk.Container
3159
+ priv: WebViewPrivate
3160
+
3161
+ // Owm methods of Devhelp-3.0.Devhelp.WebView
3162
+
3163
+ can_reset_zoom(): boolean
3164
+ can_zoom_in(): boolean
3165
+ can_zoom_out(): boolean
3166
+ /**
3167
+ * An enhanced getter function for the #WebKitWebView:title property: when that
3168
+ * property is the empty string or %NULL, this function returns “Empty Page”
3169
+ * (translated).
3170
+ * @returns the title of @view, suitable for a tab label or window title.
3171
+ */
3172
+ get_devhelp_title(): string | null
3173
+ get_profile(): Profile
3174
+ /**
3175
+ * Reset the text size to the normal size.
3176
+ */
3177
+ reset_zoom(): void
3178
+ /**
3179
+ * Like webkit_find_controller_search_next(), but takes into account whether
3180
+ * dh_web_view_set_search_text() has been called.
3181
+ */
3182
+ search_next(): void
3183
+ /**
3184
+ * Like webkit_find_controller_search_previous(), but takes into account whether
3185
+ * dh_web_view_set_search_text() has been called.
3186
+ */
3187
+ search_previous(): void
3188
+ /**
3189
+ * A more convenient API (for Devhelp needs) than #WebKitFindController. If
3190
+ * `search_text` is not empty, it calls webkit_find_controller_search() if not
3191
+ * already done. If `search_text` is empty or %NULL, it calls
3192
+ * webkit_find_controller_search_finish().
3193
+ * @param search_text the search string, or %NULL.
3194
+ */
3195
+ set_search_text(search_text: string | null): void
3196
+ /**
3197
+ * Makes the text larger.
3198
+ */
3199
+ zoom_in(): void
3200
+ /**
3201
+ * Makes the text smaller.
3202
+ */
3203
+ zoom_out(): void
3204
+
3205
+ // Conflicting methods
3206
+
3207
+ /**
3208
+ * Gets the #WebKitSettings currently applied to `web_view`.
3209
+ *
3210
+ * If no other #WebKitSettings have been explicitly applied to
3211
+ * `web_view` with webkit_web_view_set_settings(), the default
3212
+ * #WebKitSettings will be returned. This method always returns
3213
+ * a valid #WebKitSettings object.
3214
+ * To modify any of the `web_view` settings, you can either create
3215
+ * a new #WebKitSettings object with webkit_settings_new(), setting
3216
+ * the desired preferences, and then replace the existing `web_view`
3217
+ * settings with webkit_web_view_set_settings() or get the existing
3218
+ * `web_view` settings and update it directly. #WebKitSettings objects
3219
+ * can be shared by multiple #WebKitWebView<!-- -->s, so modifying
3220
+ * the settings of a #WebKitWebView would affect other
3221
+ * #WebKitWebView<!-- -->s using the same #WebKitSettings.
3222
+ * @returns the #WebKitSettings attached to @web_view
3223
+ */
3224
+ get_settings(): WebKit2.Settings
3225
+
3226
+ // Overloads of get_settings
3227
+
3228
+ /**
3229
+ * Gets the settings object holding the settings used for this widget.
3230
+ *
3231
+ * Note that this function can only be called when the #GtkWidget
3232
+ * is attached to a toplevel, since the settings object is specific
3233
+ * to a particular #GdkScreen.
3234
+ * @returns the relevant #GtkSettings object
3235
+ */
3236
+ get_settings(): Gtk.Settings
3237
+ /**
3238
+ * Gets the settings object holding the settings used for this widget.
3239
+ *
3240
+ * Note that this function can only be called when the #GtkWidget
3241
+ * is attached to a toplevel, since the settings object is specific
3242
+ * to a particular #GdkScreen.
3243
+ * @returns the relevant #GtkSettings object
3244
+ */
3245
+ get_settings(): Gtk.Settings
3246
+ /**
3247
+ * Emits a #GtkWidget::child-notify signal for the
3248
+ * [child property][child-properties]
3249
+ * `child_property` on the child.
3250
+ *
3251
+ * This is an analogue of g_object_notify() for child properties.
3252
+ *
3253
+ * Also see gtk_widget_child_notify().
3254
+ * @param child the child widget
3255
+ * @param child_property the name of a child property installed on the class of `container`
3256
+ */
3257
+ child_notify(child: Gtk.Widget, child_property: string | null): void
3258
+
3259
+ // Overloads of child_notify
3260
+
3261
+ /**
3262
+ * Emits a #GtkWidget::child-notify signal for the
3263
+ * [child property][child-properties] `child_property`
3264
+ * on `widget`.
3265
+ *
3266
+ * This is the analogue of g_object_notify() for child properties.
3267
+ *
3268
+ * Also see gtk_container_child_notify().
3269
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
3270
+ */
3271
+ child_notify(child_property: string | null): void
3272
+ /**
3273
+ * Emits a #GtkWidget::child-notify signal for the
3274
+ * [child property][child-properties] `child_property`
3275
+ * on `widget`.
3276
+ *
3277
+ * This is the analogue of g_object_notify() for child properties.
3278
+ *
3279
+ * Also see gtk_container_child_notify().
3280
+ * @param child_property the name of a child property installed on the class of `widget’`s parent
3281
+ */
3282
+ child_notify(child_property: string | null): void
3283
+
3284
+ // Own virtual methods of Devhelp-3.0.Devhelp.WebView
3285
+
3286
+ vfunc_open_new_tab(uri: string | null): void
3287
+
3288
+ // Own signals of Devhelp-3.0.Devhelp.WebView
3289
+
3290
+ connect(sigName: "open-new-tab", callback: WebView.OpenNewTabSignalCallback): number
3291
+ connect_after(sigName: "open-new-tab", callback: WebView.OpenNewTabSignalCallback): number
3292
+ emit(sigName: "open-new-tab", uri: string | null, ...args: any[]): void
3293
+
3294
+ // Class property signals of Devhelp-3.0.Devhelp.WebView
3295
+
3296
+ connect(sigName: "notify::profile", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3297
+ connect_after(sigName: "notify::profile", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3298
+ emit(sigName: "notify::profile", ...args: any[]): void
3299
+ connect(sigName: "notify::automation-presentation-type", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3300
+ connect_after(sigName: "notify::automation-presentation-type", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3301
+ emit(sigName: "notify::automation-presentation-type", ...args: any[]): void
3302
+ connect(sigName: "notify::camera-capture-state", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3303
+ connect_after(sigName: "notify::camera-capture-state", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3304
+ emit(sigName: "notify::camera-capture-state", ...args: any[]): void
3305
+ connect(sigName: "notify::default-content-security-policy", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3306
+ connect_after(sigName: "notify::default-content-security-policy", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3307
+ emit(sigName: "notify::default-content-security-policy", ...args: any[]): void
3308
+ connect(sigName: "notify::display-capture-state", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3309
+ connect_after(sigName: "notify::display-capture-state", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3310
+ emit(sigName: "notify::display-capture-state", ...args: any[]): void
3311
+ connect(sigName: "notify::editable", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3312
+ connect_after(sigName: "notify::editable", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3313
+ emit(sigName: "notify::editable", ...args: any[]): void
3314
+ connect(sigName: "notify::estimated-load-progress", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3315
+ connect_after(sigName: "notify::estimated-load-progress", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3316
+ emit(sigName: "notify::estimated-load-progress", ...args: any[]): void
3317
+ connect(sigName: "notify::favicon", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3318
+ connect_after(sigName: "notify::favicon", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3319
+ emit(sigName: "notify::favicon", ...args: any[]): void
3320
+ connect(sigName: "notify::is-controlled-by-automation", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3321
+ connect_after(sigName: "notify::is-controlled-by-automation", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3322
+ emit(sigName: "notify::is-controlled-by-automation", ...args: any[]): void
3323
+ connect(sigName: "notify::is-ephemeral", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3324
+ connect_after(sigName: "notify::is-ephemeral", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3325
+ emit(sigName: "notify::is-ephemeral", ...args: any[]): void
3326
+ connect(sigName: "notify::is-loading", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3327
+ connect_after(sigName: "notify::is-loading", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3328
+ emit(sigName: "notify::is-loading", ...args: any[]): void
3329
+ connect(sigName: "notify::is-muted", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3330
+ connect_after(sigName: "notify::is-muted", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3331
+ emit(sigName: "notify::is-muted", ...args: any[]): void
3332
+ connect(sigName: "notify::is-playing-audio", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3333
+ connect_after(sigName: "notify::is-playing-audio", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3334
+ emit(sigName: "notify::is-playing-audio", ...args: any[]): void
3335
+ connect(sigName: "notify::is-web-process-responsive", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3336
+ connect_after(sigName: "notify::is-web-process-responsive", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3337
+ emit(sigName: "notify::is-web-process-responsive", ...args: any[]): void
3338
+ connect(sigName: "notify::microphone-capture-state", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3339
+ connect_after(sigName: "notify::microphone-capture-state", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3340
+ emit(sigName: "notify::microphone-capture-state", ...args: any[]): void
3341
+ connect(sigName: "notify::page-id", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3342
+ connect_after(sigName: "notify::page-id", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3343
+ emit(sigName: "notify::page-id", ...args: any[]): void
3344
+ connect(sigName: "notify::related-view", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3345
+ connect_after(sigName: "notify::related-view", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3346
+ emit(sigName: "notify::related-view", ...args: any[]): void
3347
+ connect(sigName: "notify::settings", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3348
+ connect_after(sigName: "notify::settings", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3349
+ emit(sigName: "notify::settings", ...args: any[]): void
3350
+ connect(sigName: "notify::title", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3351
+ connect_after(sigName: "notify::title", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3352
+ emit(sigName: "notify::title", ...args: any[]): void
3353
+ connect(sigName: "notify::uri", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3354
+ connect_after(sigName: "notify::uri", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3355
+ emit(sigName: "notify::uri", ...args: any[]): void
3356
+ connect(sigName: "notify::user-content-manager", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3357
+ connect_after(sigName: "notify::user-content-manager", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3358
+ emit(sigName: "notify::user-content-manager", ...args: any[]): void
3359
+ connect(sigName: "notify::web-context", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3360
+ connect_after(sigName: "notify::web-context", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3361
+ emit(sigName: "notify::web-context", ...args: any[]): void
3362
+ connect(sigName: "notify::web-extension-mode", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3363
+ connect_after(sigName: "notify::web-extension-mode", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3364
+ emit(sigName: "notify::web-extension-mode", ...args: any[]): void
3365
+ connect(sigName: "notify::website-policies", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3366
+ connect_after(sigName: "notify::website-policies", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3367
+ emit(sigName: "notify::website-policies", ...args: any[]): void
3368
+ connect(sigName: "notify::zoom-level", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3369
+ connect_after(sigName: "notify::zoom-level", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3370
+ emit(sigName: "notify::zoom-level", ...args: any[]): void
3371
+ connect(sigName: "notify::border-width", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3372
+ connect_after(sigName: "notify::border-width", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3373
+ emit(sigName: "notify::border-width", ...args: any[]): void
3374
+ connect(sigName: "notify::child", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3375
+ connect_after(sigName: "notify::child", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3376
+ emit(sigName: "notify::child", ...args: any[]): void
3377
+ connect(sigName: "notify::resize-mode", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3378
+ connect_after(sigName: "notify::resize-mode", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3379
+ emit(sigName: "notify::resize-mode", ...args: any[]): void
3380
+ connect(sigName: "notify::app-paintable", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3381
+ connect_after(sigName: "notify::app-paintable", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3382
+ emit(sigName: "notify::app-paintable", ...args: any[]): void
3383
+ connect(sigName: "notify::can-default", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3384
+ connect_after(sigName: "notify::can-default", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3385
+ emit(sigName: "notify::can-default", ...args: any[]): void
3386
+ connect(sigName: "notify::can-focus", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3387
+ connect_after(sigName: "notify::can-focus", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3388
+ emit(sigName: "notify::can-focus", ...args: any[]): void
3389
+ connect(sigName: "notify::composite-child", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3390
+ connect_after(sigName: "notify::composite-child", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3391
+ emit(sigName: "notify::composite-child", ...args: any[]): void
3392
+ connect(sigName: "notify::double-buffered", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3393
+ connect_after(sigName: "notify::double-buffered", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3394
+ emit(sigName: "notify::double-buffered", ...args: any[]): void
3395
+ connect(sigName: "notify::events", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3396
+ connect_after(sigName: "notify::events", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3397
+ emit(sigName: "notify::events", ...args: any[]): void
3398
+ connect(sigName: "notify::expand", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3399
+ connect_after(sigName: "notify::expand", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3400
+ emit(sigName: "notify::expand", ...args: any[]): void
3401
+ connect(sigName: "notify::focus-on-click", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3402
+ connect_after(sigName: "notify::focus-on-click", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3403
+ emit(sigName: "notify::focus-on-click", ...args: any[]): void
3404
+ connect(sigName: "notify::halign", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3405
+ connect_after(sigName: "notify::halign", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3406
+ emit(sigName: "notify::halign", ...args: any[]): void
3407
+ connect(sigName: "notify::has-default", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3408
+ connect_after(sigName: "notify::has-default", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3409
+ emit(sigName: "notify::has-default", ...args: any[]): void
3410
+ connect(sigName: "notify::has-focus", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3411
+ connect_after(sigName: "notify::has-focus", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3412
+ emit(sigName: "notify::has-focus", ...args: any[]): void
3413
+ connect(sigName: "notify::has-tooltip", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3414
+ connect_after(sigName: "notify::has-tooltip", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3415
+ emit(sigName: "notify::has-tooltip", ...args: any[]): void
3416
+ connect(sigName: "notify::height-request", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3417
+ connect_after(sigName: "notify::height-request", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3418
+ emit(sigName: "notify::height-request", ...args: any[]): void
3419
+ connect(sigName: "notify::hexpand", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3420
+ connect_after(sigName: "notify::hexpand", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3421
+ emit(sigName: "notify::hexpand", ...args: any[]): void
3422
+ connect(sigName: "notify::hexpand-set", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3423
+ connect_after(sigName: "notify::hexpand-set", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3424
+ emit(sigName: "notify::hexpand-set", ...args: any[]): void
3425
+ connect(sigName: "notify::is-focus", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3426
+ connect_after(sigName: "notify::is-focus", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3427
+ emit(sigName: "notify::is-focus", ...args: any[]): void
3428
+ connect(sigName: "notify::margin", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3429
+ connect_after(sigName: "notify::margin", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3430
+ emit(sigName: "notify::margin", ...args: any[]): void
3431
+ connect(sigName: "notify::margin-bottom", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3432
+ connect_after(sigName: "notify::margin-bottom", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3433
+ emit(sigName: "notify::margin-bottom", ...args: any[]): void
3434
+ connect(sigName: "notify::margin-end", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3435
+ connect_after(sigName: "notify::margin-end", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3436
+ emit(sigName: "notify::margin-end", ...args: any[]): void
3437
+ connect(sigName: "notify::margin-left", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3438
+ connect_after(sigName: "notify::margin-left", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3439
+ emit(sigName: "notify::margin-left", ...args: any[]): void
3440
+ connect(sigName: "notify::margin-right", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3441
+ connect_after(sigName: "notify::margin-right", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3442
+ emit(sigName: "notify::margin-right", ...args: any[]): void
3443
+ connect(sigName: "notify::margin-start", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3444
+ connect_after(sigName: "notify::margin-start", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3445
+ emit(sigName: "notify::margin-start", ...args: any[]): void
3446
+ connect(sigName: "notify::margin-top", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3447
+ connect_after(sigName: "notify::margin-top", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3448
+ emit(sigName: "notify::margin-top", ...args: any[]): void
3449
+ connect(sigName: "notify::name", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3450
+ connect_after(sigName: "notify::name", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3451
+ emit(sigName: "notify::name", ...args: any[]): void
3452
+ connect(sigName: "notify::no-show-all", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3453
+ connect_after(sigName: "notify::no-show-all", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3454
+ emit(sigName: "notify::no-show-all", ...args: any[]): void
3455
+ connect(sigName: "notify::opacity", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3456
+ connect_after(sigName: "notify::opacity", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3457
+ emit(sigName: "notify::opacity", ...args: any[]): void
3458
+ connect(sigName: "notify::parent", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3459
+ connect_after(sigName: "notify::parent", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3460
+ emit(sigName: "notify::parent", ...args: any[]): void
3461
+ connect(sigName: "notify::receives-default", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3462
+ connect_after(sigName: "notify::receives-default", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3463
+ emit(sigName: "notify::receives-default", ...args: any[]): void
3464
+ connect(sigName: "notify::scale-factor", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3465
+ connect_after(sigName: "notify::scale-factor", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3466
+ emit(sigName: "notify::scale-factor", ...args: any[]): void
3467
+ connect(sigName: "notify::sensitive", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3468
+ connect_after(sigName: "notify::sensitive", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3469
+ emit(sigName: "notify::sensitive", ...args: any[]): void
3470
+ connect(sigName: "notify::style", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3471
+ connect_after(sigName: "notify::style", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3472
+ emit(sigName: "notify::style", ...args: any[]): void
3473
+ connect(sigName: "notify::tooltip-markup", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3474
+ connect_after(sigName: "notify::tooltip-markup", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3475
+ emit(sigName: "notify::tooltip-markup", ...args: any[]): void
3476
+ connect(sigName: "notify::tooltip-text", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3477
+ connect_after(sigName: "notify::tooltip-text", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3478
+ emit(sigName: "notify::tooltip-text", ...args: any[]): void
3479
+ connect(sigName: "notify::valign", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3480
+ connect_after(sigName: "notify::valign", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3481
+ emit(sigName: "notify::valign", ...args: any[]): void
3482
+ connect(sigName: "notify::vexpand", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3483
+ connect_after(sigName: "notify::vexpand", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3484
+ emit(sigName: "notify::vexpand", ...args: any[]): void
3485
+ connect(sigName: "notify::vexpand-set", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3486
+ connect_after(sigName: "notify::vexpand-set", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3487
+ emit(sigName: "notify::vexpand-set", ...args: any[]): void
3488
+ connect(sigName: "notify::visible", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3489
+ connect_after(sigName: "notify::visible", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3490
+ emit(sigName: "notify::visible", ...args: any[]): void
3491
+ connect(sigName: "notify::width-request", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3492
+ connect_after(sigName: "notify::width-request", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3493
+ emit(sigName: "notify::width-request", ...args: any[]): void
3494
+ connect(sigName: "notify::window", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3495
+ connect_after(sigName: "notify::window", callback: (($obj: WebView, pspec: GObject.ParamSpec) => void)): number
3496
+ emit(sigName: "notify::window", ...args: any[]): void
3497
+ connect(sigName: string, callback: (...args: any[]) => void): number
3498
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3499
+ emit(sigName: string, ...args: any[]): void
3500
+ disconnect(id: number): void
3501
+ }
3502
+
3503
+ class WebView extends WebKit2.WebView {
3504
+
3505
+ // Own properties of Devhelp-3.0.Devhelp.WebView
3506
+
3507
+ static name: string
3508
+ static $gtype: GObject.GType<WebView>
3509
+
3510
+ // Constructors of Devhelp-3.0.Devhelp.WebView
3511
+
3512
+ constructor(config?: WebView.ConstructorProperties)
3513
+ constructor(profile: Profile | null)
3514
+ static new(profile: Profile | null): WebView
3515
+
3516
+ // Overloads of new
3517
+
3518
+ /**
3519
+ * Creates a new #WebKitWebView with the default #WebKitWebContext.
3520
+ *
3521
+ * Creates a new #WebKitWebView with the default #WebKitWebContext and
3522
+ * no #WebKitUserContentManager associated with it.
3523
+ * See also webkit_web_view_new_with_context(),
3524
+ * webkit_web_view_new_with_user_content_manager(), and
3525
+ * webkit_web_view_new_with_settings().
3526
+ * @constructor
3527
+ * @returns The newly created #WebKitWebView widget
3528
+ */
3529
+ static new(): WebKit2.WebView
3530
+ _init(config?: WebView.ConstructorProperties): void
3531
+ }
3532
+
3533
+ interface AssistantViewClass {
3534
+
3535
+ // Own fields of Devhelp-3.0.Devhelp.AssistantViewClass
3536
+
3537
+ parent_class: WebKit2.WebViewClass
3538
+ padding: any[]
3539
+ }
3540
+
3541
+ abstract class AssistantViewClass {
3542
+
3543
+ // Own properties of Devhelp-3.0.Devhelp.AssistantViewClass
3544
+
3545
+ static name: string
3546
+ }
3547
+
3548
+ interface BookClass {
3549
+
3550
+ // Own fields of Devhelp-3.0.Devhelp.BookClass
3551
+
3552
+ parent_class: GObject.ObjectClass
3553
+ padding: any[]
3554
+ }
3555
+
3556
+ abstract class BookClass {
3557
+
3558
+ // Own properties of Devhelp-3.0.Devhelp.BookClass
3559
+
3560
+ static name: string
3561
+ }
3562
+
3563
+ interface BookListBuilderClass {
3564
+
3565
+ // Own fields of Devhelp-3.0.Devhelp.BookListBuilderClass
3566
+
3567
+ parent_class: GObject.ObjectClass
3568
+ padding: any[]
3569
+ }
3570
+
3571
+ abstract class BookListBuilderClass {
3572
+
3573
+ // Own properties of Devhelp-3.0.Devhelp.BookListBuilderClass
3574
+
3575
+ static name: string
3576
+ }
3577
+
3578
+ interface BookListBuilderPrivate {
3579
+ }
3580
+
3581
+ class BookListBuilderPrivate {
3582
+
3583
+ // Own properties of Devhelp-3.0.Devhelp.BookListBuilderPrivate
3584
+
3585
+ static name: string
3586
+ }
3587
+
3588
+ interface BookListClass {
3589
+
3590
+ // Own fields of Devhelp-3.0.Devhelp.BookListClass
3591
+
3592
+ /**
3593
+ * The parent class.
3594
+ * @field
3595
+ */
3596
+ parent_class: GObject.ObjectClass
3597
+ add_book: (book_list: BookList, book: Book) => void
3598
+ remove_book: (book_list: BookList, book: Book) => void
3599
+ get_books: (book_list: BookList) => Book[]
3600
+ }
3601
+
3602
+ abstract class BookListClass {
3603
+
3604
+ // Own properties of Devhelp-3.0.Devhelp.BookListClass
3605
+
3606
+ static name: string
3607
+ }
3608
+
3609
+ interface BookListDirectoryClass {
3610
+
3611
+ // Own fields of Devhelp-3.0.Devhelp.BookListDirectoryClass
3612
+
3613
+ parent_class: BookListClass
3614
+ padding: any[]
3615
+ }
3616
+
3617
+ abstract class BookListDirectoryClass {
3618
+
3619
+ // Own properties of Devhelp-3.0.Devhelp.BookListDirectoryClass
3620
+
3621
+ static name: string
3622
+ }
3623
+
3624
+ interface BookListDirectoryPrivate {
3625
+ }
3626
+
3627
+ class BookListDirectoryPrivate {
3628
+
3629
+ // Own properties of Devhelp-3.0.Devhelp.BookListDirectoryPrivate
3630
+
3631
+ static name: string
3632
+ }
3633
+
3634
+ interface BookListPrivate {
3635
+ }
3636
+
3637
+ class BookListPrivate {
3638
+
3639
+ // Own properties of Devhelp-3.0.Devhelp.BookListPrivate
3640
+
3641
+ static name: string
3642
+ }
3643
+
3644
+ interface BookManagerClass {
3645
+
3646
+ // Own fields of Devhelp-3.0.Devhelp.BookManagerClass
3647
+
3648
+ parent_class: GObject.ObjectClass
3649
+ padding: any[]
3650
+ }
3651
+
3652
+ abstract class BookManagerClass {
3653
+
3654
+ // Own properties of Devhelp-3.0.Devhelp.BookManagerClass
3655
+
3656
+ static name: string
3657
+ }
3658
+
3659
+ interface BookTreeClass {
3660
+
3661
+ // Own fields of Devhelp-3.0.Devhelp.BookTreeClass
3662
+
3663
+ parent_class: Gtk.TreeViewClass
3664
+ padding: any[]
3665
+ }
3666
+
3667
+ abstract class BookTreeClass {
3668
+
3669
+ // Own properties of Devhelp-3.0.Devhelp.BookTreeClass
3670
+
3671
+ static name: string
3672
+ }
3673
+
3674
+ interface CompletionClass {
3675
+
3676
+ // Own fields of Devhelp-3.0.Devhelp.CompletionClass
3677
+
3678
+ parent_class: GObject.ObjectClass
3679
+ padding: any[]
3680
+ }
3681
+
3682
+ abstract class CompletionClass {
3683
+
3684
+ // Own properties of Devhelp-3.0.Devhelp.CompletionClass
3685
+
3686
+ static name: string
3687
+ }
3688
+
3689
+ interface CompletionPrivate {
3690
+ }
3691
+
3692
+ class CompletionPrivate {
3693
+
3694
+ // Own properties of Devhelp-3.0.Devhelp.CompletionPrivate
3695
+
3696
+ static name: string
3697
+ }
3698
+
3699
+ interface KeywordModelClass {
3700
+
3701
+ // Own fields of Devhelp-3.0.Devhelp.KeywordModelClass
3702
+
3703
+ parent_class: GObject.ObjectClass
3704
+ padding: any[]
3705
+ }
3706
+
3707
+ abstract class KeywordModelClass {
3708
+
3709
+ // Own properties of Devhelp-3.0.Devhelp.KeywordModelClass
3710
+
3711
+ static name: string
3712
+ }
3713
+
3714
+ interface Link {
3715
+
3716
+ // Owm methods of Devhelp-3.0.Devhelp.Link
3717
+
3718
+ /**
3719
+ * This function permits to know if `link` belongs to a certain page.
3720
+ *
3721
+ * `page_id` is usually the HTML filename without the `.html` extension. More
3722
+ * generally, `page_id` must be a relative URL (relative to the book base path),
3723
+ * without the anchor nor the file extension.
3724
+ *
3725
+ * For example if `link` has the relative URL `"DhLink.html#dh-link-ref"`, then
3726
+ * this function will return %TRUE if the `page_id` is `"DhLink"`.
3727
+ * @param page_id a page ID, i.e. the filename without its extension.
3728
+ * @returns whether @link belongs to @page_id.
3729
+ */
3730
+ belongs_to_page(page_id: string | null): boolean
3731
+ /**
3732
+ * Compares the links `a` and `b`. This function is used to determine in which
3733
+ * order the links should be displayed.
3734
+ * @param b a #DhLink.
3735
+ * @returns an integer less than zero if @a should appear before @b; zero if there are no preferences; an integer greater than zero if @b should appear before @a.
3736
+ */
3737
+ compare(b: Link): number
3738
+ get_book_id(): string | null
3739
+ get_book_title(): string | null
3740
+ get_flags(): LinkFlags
3741
+ get_link_type(): LinkType
3742
+ get_name(): string | null
3743
+ /**
3744
+ * Gets the `link` URI, by concateneting the book base path with the `link`
3745
+ * relative URL.
3746
+ * @returns the @link URI, or %NULL if getting the URI failed. Free with g_free() when no longer needed.
3747
+ */
3748
+ get_uri(): string | null
3749
+ match_relative_url(relative_url: string | null): boolean
3750
+ /**
3751
+ * Increases the reference count of `link`.
3752
+ *
3753
+ * Not thread-safe.
3754
+ * @returns the @link.
3755
+ */
3756
+ ref(): Link
3757
+ /**
3758
+ * Sets the flags of the link.
3759
+ * @param flags the new flags of the link.
3760
+ */
3761
+ set_flags(flags: LinkFlags): void
3762
+ /**
3763
+ * Decreases the reference count of `link`.
3764
+ *
3765
+ * Not thread-safe.
3766
+ */
3767
+ unref(): void
3768
+ }
3769
+
3770
+ class Link {
3771
+
3772
+ // Own properties of Devhelp-3.0.Devhelp.Link
3773
+
3774
+ static name: string
3775
+
3776
+ // Constructors of Devhelp-3.0.Devhelp.Link
3777
+
3778
+ constructor(type: LinkType, book_link: Link, name: string | null, relative_url: string | null)
3779
+ static new(type: LinkType, book_link: Link, name: string | null, relative_url: string | null): Link
3780
+ static new_book(base_path: string | null, book_id: string | null, book_title: string | null, relative_url: string | null): Link
3781
+ }
3782
+
3783
+ interface NotebookClass {
3784
+
3785
+ // Own fields of Devhelp-3.0.Devhelp.NotebookClass
3786
+
3787
+ parent_class: Gtk.NotebookClass
3788
+ padding: any[]
3789
+ }
3790
+
3791
+ abstract class NotebookClass {
3792
+
3793
+ // Own properties of Devhelp-3.0.Devhelp.NotebookClass
3794
+
3795
+ static name: string
3796
+ }
3797
+
3798
+ interface NotebookPrivate {
3799
+ }
3800
+
3801
+ class NotebookPrivate {
3802
+
3803
+ // Own properties of Devhelp-3.0.Devhelp.NotebookPrivate
3804
+
3805
+ static name: string
3806
+ }
3807
+
3808
+ interface ProfileBuilderClass {
3809
+
3810
+ // Own fields of Devhelp-3.0.Devhelp.ProfileBuilderClass
3811
+
3812
+ parent_class: GObject.ObjectClass
3813
+ padding: any[]
3814
+ }
3815
+
3816
+ abstract class ProfileBuilderClass {
3817
+
3818
+ // Own properties of Devhelp-3.0.Devhelp.ProfileBuilderClass
3819
+
3820
+ static name: string
3821
+ }
3822
+
3823
+ interface ProfileBuilderPrivate {
3824
+ }
3825
+
3826
+ class ProfileBuilderPrivate {
3827
+
3828
+ // Own properties of Devhelp-3.0.Devhelp.ProfileBuilderPrivate
3829
+
3830
+ static name: string
3831
+ }
3832
+
3833
+ interface ProfileClass {
3834
+
3835
+ // Own fields of Devhelp-3.0.Devhelp.ProfileClass
3836
+
3837
+ parent_class: GObject.ObjectClass
3838
+ padding: any[]
3839
+ }
3840
+
3841
+ abstract class ProfileClass {
3842
+
3843
+ // Own properties of Devhelp-3.0.Devhelp.ProfileClass
3844
+
3845
+ static name: string
3846
+ }
3847
+
3848
+ interface ProfilePrivate {
3849
+ }
3850
+
3851
+ class ProfilePrivate {
3852
+
3853
+ // Own properties of Devhelp-3.0.Devhelp.ProfilePrivate
3854
+
3855
+ static name: string
3856
+ }
3857
+
3858
+ interface SearchBarClass {
3859
+
3860
+ // Own fields of Devhelp-3.0.Devhelp.SearchBarClass
3861
+
3862
+ parent_class: Gtk.SearchBarClass
3863
+ padding: any[]
3864
+ }
3865
+
3866
+ abstract class SearchBarClass {
3867
+
3868
+ // Own properties of Devhelp-3.0.Devhelp.SearchBarClass
3869
+
3870
+ static name: string
3871
+ }
3872
+
3873
+ interface SearchBarPrivate {
3874
+ }
3875
+
3876
+ class SearchBarPrivate {
3877
+
3878
+ // Own properties of Devhelp-3.0.Devhelp.SearchBarPrivate
3879
+
3880
+ static name: string
3881
+ }
3882
+
3883
+ interface SettingsBuilderClass {
3884
+
3885
+ // Own fields of Devhelp-3.0.Devhelp.SettingsBuilderClass
3886
+
3887
+ parent_class: GObject.ObjectClass
3888
+ padding: any[]
3889
+ }
3890
+
3891
+ abstract class SettingsBuilderClass {
3892
+
3893
+ // Own properties of Devhelp-3.0.Devhelp.SettingsBuilderClass
3894
+
3895
+ static name: string
3896
+ }
3897
+
3898
+ interface SettingsBuilderPrivate {
3899
+ }
3900
+
3901
+ class SettingsBuilderPrivate {
3902
+
3903
+ // Own properties of Devhelp-3.0.Devhelp.SettingsBuilderPrivate
3904
+
3905
+ static name: string
3906
+ }
3907
+
3908
+ interface SettingsClass {
3909
+
3910
+ // Own fields of Devhelp-3.0.Devhelp.SettingsClass
3911
+
3912
+ parent: GObject.ObjectClass
3913
+ books_disabled_changed: (settings: Settings) => void
3914
+ fonts_changed: (settings: Settings) => void
3915
+ padding: any[]
3916
+ }
3917
+
3918
+ abstract class SettingsClass {
3919
+
3920
+ // Own properties of Devhelp-3.0.Devhelp.SettingsClass
3921
+
3922
+ static name: string
3923
+ }
3924
+
3925
+ interface SettingsPrivate {
3926
+ }
3927
+
3928
+ class SettingsPrivate {
3929
+
3930
+ // Own properties of Devhelp-3.0.Devhelp.SettingsPrivate
3931
+
3932
+ static name: string
3933
+ }
3934
+
3935
+ interface SidebarClass {
3936
+
3937
+ // Own fields of Devhelp-3.0.Devhelp.SidebarClass
3938
+
3939
+ parent_class: Gtk.GridClass
3940
+ link_selected: (sidebar: Sidebar, link: Link) => void
3941
+ padding: any[]
3942
+ }
3943
+
3944
+ abstract class SidebarClass {
3945
+
3946
+ // Own properties of Devhelp-3.0.Devhelp.SidebarClass
3947
+
3948
+ static name: string
3949
+ }
3950
+
3951
+ interface TabClass {
3952
+
3953
+ // Own fields of Devhelp-3.0.Devhelp.TabClass
3954
+
3955
+ parent_class: Gtk.GridClass
3956
+ padding: any[]
3957
+ }
3958
+
3959
+ abstract class TabClass {
3960
+
3961
+ // Own properties of Devhelp-3.0.Devhelp.TabClass
3962
+
3963
+ static name: string
3964
+ }
3965
+
3966
+ interface TabLabelClass {
3967
+
3968
+ // Own fields of Devhelp-3.0.Devhelp.TabLabelClass
3969
+
3970
+ parent_class: Gtk.GridClass
3971
+ padding: any[]
3972
+ }
3973
+
3974
+ abstract class TabLabelClass {
3975
+
3976
+ // Own properties of Devhelp-3.0.Devhelp.TabLabelClass
3977
+
3978
+ static name: string
3979
+ }
3980
+
3981
+ interface TabLabelPrivate {
3982
+ }
3983
+
3984
+ class TabLabelPrivate {
3985
+
3986
+ // Own properties of Devhelp-3.0.Devhelp.TabLabelPrivate
3987
+
3988
+ static name: string
3989
+ }
3990
+
3991
+ interface TabPrivate {
3992
+ }
3993
+
3994
+ class TabPrivate {
3995
+
3996
+ // Own properties of Devhelp-3.0.Devhelp.TabPrivate
3997
+
3998
+ static name: string
3999
+ }
4000
+
4001
+ interface WebViewClass {
4002
+
4003
+ // Own fields of Devhelp-3.0.Devhelp.WebViewClass
4004
+
4005
+ parent_class: WebKit2.WebViewClass
4006
+ open_new_tab: (view: WebView, uri: string | null) => void
4007
+ padding: any[]
4008
+ }
4009
+
4010
+ abstract class WebViewClass {
4011
+
4012
+ // Own properties of Devhelp-3.0.Devhelp.WebViewClass
4013
+
4014
+ static name: string
4015
+ }
4016
+
4017
+ interface WebViewPrivate {
4018
+ }
4019
+
4020
+ class WebViewPrivate {
4021
+
4022
+ // Own properties of Devhelp-3.0.Devhelp.WebViewPrivate
4023
+
4024
+ static name: string
4025
+ }
4026
+
4027
+ /**
4028
+ * Name of the imported GIR library
4029
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
4030
+ */
4031
+ const __name__: string
4032
+ /**
4033
+ * Version of the imported GIR library
4034
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
4035
+ */
4036
+ const __version__: string
4037
+ }
4038
+
4039
+ export default Devhelp;
4040
+ // END