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