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

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Devhelp-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Devhelp-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/devhelp-3.0.d.cts
CHANGED
|
@@ -120,7 +120,7 @@ export function finalize(): void
|
|
|
120
120
|
* webkit_web_context_set_sandbox_enabled() on the default #WebKitWebContext.
|
|
121
121
|
*/
|
|
122
122
|
export function init(): void
|
|
123
|
-
export function link_type_to_string(link_type: LinkType): string
|
|
123
|
+
export function link_type_to_string(link_type: LinkType): string
|
|
124
124
|
export module AssistantView {
|
|
125
125
|
|
|
126
126
|
// Signal callback interfaces
|
|
@@ -158,7 +158,7 @@ export interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
158
158
|
* @param str the search query.
|
|
159
159
|
* @returns %TRUE if @str was found, %FALSE otherwise.
|
|
160
160
|
*/
|
|
161
|
-
search(str: string
|
|
161
|
+
search(str: string): boolean
|
|
162
162
|
/**
|
|
163
163
|
* Open `link` in the assistant view, if %NULL the view will be blanked.
|
|
164
164
|
* @param link a #DhLink to set or %NULL.
|
|
@@ -218,7 +218,7 @@ export interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
218
218
|
* @param child the child widget
|
|
219
219
|
* @param child_property the name of a child property installed on the class of `container`
|
|
220
220
|
*/
|
|
221
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
221
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
222
222
|
|
|
223
223
|
// Overloads of child_notify
|
|
224
224
|
|
|
@@ -232,7 +232,7 @@ export interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
232
232
|
* Also see gtk_container_child_notify().
|
|
233
233
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
234
234
|
*/
|
|
235
|
-
child_notify(child_property: string
|
|
235
|
+
child_notify(child_property: string): void
|
|
236
236
|
/**
|
|
237
237
|
* Emits a #GtkWidget::child-notify signal for the
|
|
238
238
|
* [child property][child-properties] `child_property`
|
|
@@ -243,7 +243,7 @@ export interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
243
243
|
* Also see gtk_container_child_notify().
|
|
244
244
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
245
245
|
*/
|
|
246
|
-
child_notify(child_property: string
|
|
246
|
+
child_notify(child_property: string): void
|
|
247
247
|
|
|
248
248
|
// Own signals of Devhelp-3.0.Devhelp.AssistantView
|
|
249
249
|
|
|
@@ -525,11 +525,11 @@ export interface Book {
|
|
|
525
525
|
* with the title.
|
|
526
526
|
* @returns the book ID.
|
|
527
527
|
*/
|
|
528
|
-
get_id(): string
|
|
528
|
+
get_id(): string
|
|
529
529
|
get_index_file(): Gio.File
|
|
530
|
-
get_language(): string
|
|
530
|
+
get_language(): string
|
|
531
531
|
get_links(): Link[]
|
|
532
|
-
get_title(): string
|
|
532
|
+
get_title(): string
|
|
533
533
|
/**
|
|
534
534
|
* Gets the general structure of the book, as a tree. The tree contains only
|
|
535
535
|
* #DhLink's of type %DH_LINK_TYPE_BOOK or %DH_LINK_TYPE_PAGE. The other
|
|
@@ -984,7 +984,7 @@ export interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrol
|
|
|
984
984
|
* an anchor).
|
|
985
985
|
* @param uri the URI to select.
|
|
986
986
|
*/
|
|
987
|
-
select_uri(uri: string
|
|
987
|
+
select_uri(uri: string): void
|
|
988
988
|
|
|
989
989
|
// Conflicting methods
|
|
990
990
|
|
|
@@ -999,7 +999,7 @@ export interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrol
|
|
|
999
999
|
* @param child the child widget
|
|
1000
1000
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1001
1001
|
*/
|
|
1002
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1002
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1003
1003
|
|
|
1004
1004
|
// Overloads of child_notify
|
|
1005
1005
|
|
|
@@ -1013,7 +1013,7 @@ export interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrol
|
|
|
1013
1013
|
* Also see gtk_container_child_notify().
|
|
1014
1014
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1015
1015
|
*/
|
|
1016
|
-
child_notify(child_property: string
|
|
1016
|
+
child_notify(child_property: string): void
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1019
1019
|
* [child property][child-properties] `child_property`
|
|
@@ -1024,7 +1024,7 @@ export interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrol
|
|
|
1024
1024
|
* Also see gtk_container_child_notify().
|
|
1025
1025
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1026
1026
|
*/
|
|
1027
|
-
child_notify(child_property: string
|
|
1027
|
+
child_notify(child_property: string): void
|
|
1028
1028
|
|
|
1029
1029
|
// Own signals of Devhelp-3.0.Devhelp.BookTree
|
|
1030
1030
|
|
|
@@ -1283,7 +1283,7 @@ export interface Completion {
|
|
|
1283
1283
|
* After adding all the strings you need to call dh_completion_sort().
|
|
1284
1284
|
* @param str a string.
|
|
1285
1285
|
*/
|
|
1286
|
-
add_string(str: string
|
|
1286
|
+
add_string(str: string): void
|
|
1287
1287
|
/**
|
|
1288
1288
|
* This function does the equivalent of:
|
|
1289
1289
|
* 1. Searches the data structure of `completion` to find all strings that have
|
|
@@ -1297,7 +1297,7 @@ export interface Completion {
|
|
|
1297
1297
|
* @param prefix the string to complete.
|
|
1298
1298
|
* @returns the completed prefix, or %NULL if a longer prefix has not been found. Free with g_free() when no longer needed.
|
|
1299
1299
|
*/
|
|
1300
|
-
complete(prefix: string
|
|
1300
|
+
complete(prefix: string): string | null
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Sorts all the strings. It is required to call this function after adding
|
|
1303
1303
|
* strings with dh_completion_add_string().
|
|
@@ -1332,7 +1332,7 @@ export class Completion extends GObject.Object {
|
|
|
1332
1332
|
* @param prefix the string to complete.
|
|
1333
1333
|
* @returns the completed prefix, or %NULL if a longer prefix has not been found. Free with g_free() when no longer needed.
|
|
1334
1334
|
*/
|
|
1335
|
-
static aggregate_complete(completion_objects: Completion[] | null, prefix: string
|
|
1335
|
+
static aggregate_complete(completion_objects: Completion[] | null, prefix: string): string | null
|
|
1336
1336
|
}
|
|
1337
1337
|
|
|
1338
1338
|
export module KeywordModel {
|
|
@@ -1373,7 +1373,7 @@ export interface KeywordModel extends Gtk.TreeModel {
|
|
|
1373
1373
|
* @param profile a #DhProfile, or %NULL for the default profile.
|
|
1374
1374
|
* @returns the #DhLink that matches exactly @search_string, or %NULL if no such #DhLink was found within the maximum number of matches.
|
|
1375
1375
|
*/
|
|
1376
|
-
filter(search_string: string
|
|
1376
|
+
filter(search_string: string, current_book_id: string | null, profile: Profile | null): Link | null
|
|
1377
1377
|
|
|
1378
1378
|
// Class property signals of Devhelp-3.0.Devhelp.KeywordModel
|
|
1379
1379
|
|
|
@@ -1458,7 +1458,7 @@ export interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1458
1458
|
* @param child the child widget
|
|
1459
1459
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1460
1460
|
*/
|
|
1461
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1461
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1462
1462
|
|
|
1463
1463
|
// Overloads of child_notify
|
|
1464
1464
|
|
|
@@ -1472,7 +1472,7 @@ export interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1472
1472
|
* Also see gtk_container_child_notify().
|
|
1473
1473
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1474
1474
|
*/
|
|
1475
|
-
child_notify(child_property: string
|
|
1475
|
+
child_notify(child_property: string): void
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1478
1478
|
* [child property][child-properties] `child_property`
|
|
@@ -1483,7 +1483,7 @@ export interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1483
1483
|
* Also see gtk_container_child_notify().
|
|
1484
1484
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1485
1485
|
*/
|
|
1486
|
-
child_notify(child_property: string
|
|
1486
|
+
child_notify(child_property: string): void
|
|
1487
1487
|
|
|
1488
1488
|
// Class property signals of Devhelp-3.0.Devhelp.Notebook
|
|
1489
1489
|
|
|
@@ -1838,7 +1838,7 @@ export interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1838
1838
|
* @param child the child widget
|
|
1839
1839
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1840
1840
|
*/
|
|
1841
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1841
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1842
1842
|
|
|
1843
1843
|
// Overloads of child_notify
|
|
1844
1844
|
|
|
@@ -1852,7 +1852,7 @@ export interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1852
1852
|
* Also see gtk_container_child_notify().
|
|
1853
1853
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1854
1854
|
*/
|
|
1855
|
-
child_notify(child_property: string
|
|
1855
|
+
child_notify(child_property: string): void
|
|
1856
1856
|
/**
|
|
1857
1857
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1858
1858
|
* [child property][child-properties] `child_property`
|
|
@@ -1863,7 +1863,7 @@ export interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1863
1863
|
* Also see gtk_container_child_notify().
|
|
1864
1864
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1865
1865
|
*/
|
|
1866
|
-
child_notify(child_property: string
|
|
1866
|
+
child_notify(child_property: string): void
|
|
1867
1867
|
|
|
1868
1868
|
// Class property signals of Devhelp-3.0.Devhelp.SearchBar
|
|
1869
1869
|
|
|
@@ -2185,7 +2185,7 @@ export interface Settings {
|
|
|
2185
2185
|
* property.
|
|
2186
2186
|
* @returns the value of the #DhSettings:fixed-font property.
|
|
2187
2187
|
*/
|
|
2188
|
-
get_fixed_font(): string
|
|
2188
|
+
get_fixed_font(): string
|
|
2189
2189
|
get_group_books_by_language(): boolean
|
|
2190
2190
|
/**
|
|
2191
2191
|
* If #DhSettings:use-system-fonts is %TRUE, returns the system fonts. Otherwise
|
|
@@ -2200,7 +2200,7 @@ export interface Settings {
|
|
|
2200
2200
|
* property.
|
|
2201
2201
|
* @returns the value of the #DhSettings:variable-font property.
|
|
2202
2202
|
*/
|
|
2203
|
-
get_variable_font(): string
|
|
2203
|
+
get_variable_font(): string
|
|
2204
2204
|
/**
|
|
2205
2205
|
* Returns whether `book` is enabled according to the "books-disabled" #GSettings
|
|
2206
2206
|
* key. If the `book` ID is present in "books-disabled", this function returns
|
|
@@ -2220,7 +2220,7 @@ export interface Settings {
|
|
|
2220
2220
|
* Sets the #DhSettings:fixed-font property.
|
|
2221
2221
|
* @param fixed_font the new value.
|
|
2222
2222
|
*/
|
|
2223
|
-
set_fixed_font(fixed_font: string
|
|
2223
|
+
set_fixed_font(fixed_font: string): void
|
|
2224
2224
|
/**
|
|
2225
2225
|
* Sets the #DhSettings:group-books-by-language property.
|
|
2226
2226
|
* @param group_books_by_language the new value.
|
|
@@ -2235,7 +2235,7 @@ export interface Settings {
|
|
|
2235
2235
|
* Sets the #DhSettings:variable-font property.
|
|
2236
2236
|
* @param variable_font the new value.
|
|
2237
2237
|
*/
|
|
2238
|
-
set_variable_font(variable_font: string
|
|
2238
|
+
set_variable_font(variable_font: string): void
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Stops the effect of dh_settings_freeze_books_disabled_changed(), and emits
|
|
2241
2241
|
* the #DhSettings::books-disabled-changed signal.
|
|
@@ -2323,7 +2323,7 @@ export interface SettingsBuilder {
|
|
|
2323
2323
|
* used.
|
|
2324
2324
|
* @param contents_path the path for the "contents" schema.
|
|
2325
2325
|
*/
|
|
2326
|
-
set_contents_path(contents_path: string
|
|
2326
|
+
set_contents_path(contents_path: string): void
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Sets the path for the "fonts" schema.
|
|
2329
2329
|
*
|
|
@@ -2331,7 +2331,7 @@ export interface SettingsBuilder {
|
|
|
2331
2331
|
* used.
|
|
2332
2332
|
* @param fonts_path the path for the "fonts" schema.
|
|
2333
2333
|
*/
|
|
2334
|
-
set_fonts_path(fonts_path: string
|
|
2334
|
+
set_fonts_path(fonts_path: string): void
|
|
2335
2335
|
|
|
2336
2336
|
// Class property signals of Devhelp-3.0.Devhelp.SettingsBuilder
|
|
2337
2337
|
|
|
@@ -2411,12 +2411,12 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
2411
2411
|
* Calls dh_book_tree_select_uri().
|
|
2412
2412
|
* @param uri the URI to select.
|
|
2413
2413
|
*/
|
|
2414
|
-
select_uri(uri: string
|
|
2414
|
+
select_uri(uri: string): void
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Gives the focus to the search entry.
|
|
2417
2417
|
*/
|
|
2418
2418
|
set_search_focus(): void
|
|
2419
|
-
set_search_string(str: string
|
|
2419
|
+
set_search_string(str: string): void
|
|
2420
2420
|
|
|
2421
2421
|
// Conflicting methods
|
|
2422
2422
|
|
|
@@ -2431,7 +2431,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
2431
2431
|
* @param child the child widget
|
|
2432
2432
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2433
2433
|
*/
|
|
2434
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2434
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2435
2435
|
|
|
2436
2436
|
// Overloads of child_notify
|
|
2437
2437
|
|
|
@@ -2445,7 +2445,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
2445
2445
|
* Also see gtk_container_child_notify().
|
|
2446
2446
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2447
2447
|
*/
|
|
2448
|
-
child_notify(child_property: string
|
|
2448
|
+
child_notify(child_property: string): void
|
|
2449
2449
|
/**
|
|
2450
2450
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2451
2451
|
* [child property][child-properties] `child_property`
|
|
@@ -2456,7 +2456,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
2456
2456
|
* Also see gtk_container_child_notify().
|
|
2457
2457
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2458
2458
|
*/
|
|
2459
|
-
child_notify(child_property: string
|
|
2459
|
+
child_notify(child_property: string): void
|
|
2460
2460
|
|
|
2461
2461
|
// Own virtual methods of Devhelp-3.0.Devhelp.Sidebar
|
|
2462
2462
|
|
|
@@ -2707,7 +2707,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
2707
2707
|
* @param child the child widget
|
|
2708
2708
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2709
2709
|
*/
|
|
2710
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2710
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2711
2711
|
|
|
2712
2712
|
// Overloads of child_notify
|
|
2713
2713
|
|
|
@@ -2721,7 +2721,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
2721
2721
|
* Also see gtk_container_child_notify().
|
|
2722
2722
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2723
2723
|
*/
|
|
2724
|
-
child_notify(child_property: string
|
|
2724
|
+
child_notify(child_property: string): void
|
|
2725
2725
|
/**
|
|
2726
2726
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2727
2727
|
* [child property][child-properties] `child_property`
|
|
@@ -2732,7 +2732,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
2732
2732
|
* Also see gtk_container_child_notify().
|
|
2733
2733
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2734
2734
|
*/
|
|
2735
|
-
child_notify(child_property: string
|
|
2735
|
+
child_notify(child_property: string): void
|
|
2736
2736
|
|
|
2737
2737
|
// Class property signals of Devhelp-3.0.Devhelp.Tab
|
|
2738
2738
|
|
|
@@ -2962,7 +2962,7 @@ export interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orien
|
|
|
2962
2962
|
* @param child the child widget
|
|
2963
2963
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2964
2964
|
*/
|
|
2965
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2965
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2966
2966
|
|
|
2967
2967
|
// Overloads of child_notify
|
|
2968
2968
|
|
|
@@ -2976,7 +2976,7 @@ export interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orien
|
|
|
2976
2976
|
* Also see gtk_container_child_notify().
|
|
2977
2977
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2978
2978
|
*/
|
|
2979
|
-
child_notify(child_property: string
|
|
2979
|
+
child_notify(child_property: string): void
|
|
2980
2980
|
/**
|
|
2981
2981
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2982
2982
|
* [child property][child-properties] `child_property`
|
|
@@ -2987,7 +2987,7 @@ export interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orien
|
|
|
2987
2987
|
* Also see gtk_container_child_notify().
|
|
2988
2988
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2989
2989
|
*/
|
|
2990
|
-
child_notify(child_property: string
|
|
2990
|
+
child_notify(child_property: string): void
|
|
2991
2991
|
|
|
2992
2992
|
// Class property signals of Devhelp-3.0.Devhelp.TabLabel
|
|
2993
2993
|
|
|
@@ -3221,7 +3221,7 @@ export interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3221
3221
|
* (translated).
|
|
3222
3222
|
* @returns the title of @view, suitable for a tab label or window title.
|
|
3223
3223
|
*/
|
|
3224
|
-
get_devhelp_title(): string
|
|
3224
|
+
get_devhelp_title(): string
|
|
3225
3225
|
get_profile(): Profile
|
|
3226
3226
|
/**
|
|
3227
3227
|
* Reset the text size to the normal size.
|
|
@@ -3306,7 +3306,7 @@ export interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3306
3306
|
* @param child the child widget
|
|
3307
3307
|
* @param child_property the name of a child property installed on the class of `container`
|
|
3308
3308
|
*/
|
|
3309
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
3309
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
3310
3310
|
|
|
3311
3311
|
// Overloads of child_notify
|
|
3312
3312
|
|
|
@@ -3320,7 +3320,7 @@ export interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3320
3320
|
* Also see gtk_container_child_notify().
|
|
3321
3321
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3322
3322
|
*/
|
|
3323
|
-
child_notify(child_property: string
|
|
3323
|
+
child_notify(child_property: string): void
|
|
3324
3324
|
/**
|
|
3325
3325
|
* Emits a #GtkWidget::child-notify signal for the
|
|
3326
3326
|
* [child property][child-properties] `child_property`
|
|
@@ -3331,11 +3331,11 @@ export interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3331
3331
|
* Also see gtk_container_child_notify().
|
|
3332
3332
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3333
3333
|
*/
|
|
3334
|
-
child_notify(child_property: string
|
|
3334
|
+
child_notify(child_property: string): void
|
|
3335
3335
|
|
|
3336
3336
|
// Own virtual methods of Devhelp-3.0.Devhelp.WebView
|
|
3337
3337
|
|
|
3338
|
-
vfunc_open_new_tab(uri: string
|
|
3338
|
+
vfunc_open_new_tab(uri: string): void
|
|
3339
3339
|
|
|
3340
3340
|
// Own signals of Devhelp-3.0.Devhelp.WebView
|
|
3341
3341
|
|
|
@@ -3779,7 +3779,7 @@ export interface Link {
|
|
|
3779
3779
|
* @param page_id a page ID, i.e. the filename without its extension.
|
|
3780
3780
|
* @returns whether @link belongs to @page_id.
|
|
3781
3781
|
*/
|
|
3782
|
-
belongs_to_page(page_id: string
|
|
3782
|
+
belongs_to_page(page_id: string): boolean
|
|
3783
3783
|
/**
|
|
3784
3784
|
* Compares the links `a` and `b`. This function is used to determine in which
|
|
3785
3785
|
* order the links should be displayed.
|
|
@@ -3787,18 +3787,18 @@ export interface Link {
|
|
|
3787
3787
|
* @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.
|
|
3788
3788
|
*/
|
|
3789
3789
|
compare(b: Link): number
|
|
3790
|
-
get_book_id(): string
|
|
3791
|
-
get_book_title(): string
|
|
3790
|
+
get_book_id(): string
|
|
3791
|
+
get_book_title(): string
|
|
3792
3792
|
get_flags(): LinkFlags
|
|
3793
3793
|
get_link_type(): LinkType
|
|
3794
|
-
get_name(): string
|
|
3794
|
+
get_name(): string
|
|
3795
3795
|
/**
|
|
3796
3796
|
* Gets the `link` URI, by concateneting the book base path with the `link`
|
|
3797
3797
|
* relative URL.
|
|
3798
3798
|
* @returns the @link URI, or %NULL if getting the URI failed. Free with g_free() when no longer needed.
|
|
3799
3799
|
*/
|
|
3800
3800
|
get_uri(): string | null
|
|
3801
|
-
match_relative_url(relative_url: string
|
|
3801
|
+
match_relative_url(relative_url: string): boolean
|
|
3802
3802
|
/**
|
|
3803
3803
|
* Increases the reference count of `link`.
|
|
3804
3804
|
*
|
|
@@ -3827,9 +3827,9 @@ export class Link {
|
|
|
3827
3827
|
|
|
3828
3828
|
// Constructors of Devhelp-3.0.Devhelp.Link
|
|
3829
3829
|
|
|
3830
|
-
constructor(type: LinkType, book_link: Link, name: string
|
|
3831
|
-
static new(type: LinkType, book_link: Link, name: string
|
|
3832
|
-
static new_book(base_path: string
|
|
3830
|
+
constructor(type: LinkType, book_link: Link, name: string, relative_url: string)
|
|
3831
|
+
static new(type: LinkType, book_link: Link, name: string, relative_url: string): Link
|
|
3832
|
+
static new_book(base_path: string, book_id: string, book_title: string, relative_url: string): Link
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
3835
3835
|
export interface NotebookClass {
|
|
@@ -4055,7 +4055,7 @@ export interface WebViewClass {
|
|
|
4055
4055
|
// Own fields of Devhelp-3.0.Devhelp.WebViewClass
|
|
4056
4056
|
|
|
4057
4057
|
parent_class: WebKit2.WebViewClass
|
|
4058
|
-
open_new_tab: (view: WebView, uri: string
|
|
4058
|
+
open_new_tab: (view: WebView, uri: string) => void
|
|
4059
4059
|
padding: any[]
|
|
4060
4060
|
}
|
|
4061
4061
|
|
package/devhelp-3.0.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ function finalize(): void
|
|
|
122
122
|
* webkit_web_context_set_sandbox_enabled() on the default #WebKitWebContext.
|
|
123
123
|
*/
|
|
124
124
|
function init(): void
|
|
125
|
-
function link_type_to_string(link_type: LinkType): string
|
|
125
|
+
function link_type_to_string(link_type: LinkType): string
|
|
126
126
|
module AssistantView {
|
|
127
127
|
|
|
128
128
|
// Signal callback interfaces
|
|
@@ -160,7 +160,7 @@ interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
160
160
|
* @param str the search query.
|
|
161
161
|
* @returns %TRUE if @str was found, %FALSE otherwise.
|
|
162
162
|
*/
|
|
163
|
-
search(str: string
|
|
163
|
+
search(str: string): boolean
|
|
164
164
|
/**
|
|
165
165
|
* Open `link` in the assistant view, if %NULL the view will be blanked.
|
|
166
166
|
* @param link a #DhLink to set or %NULL.
|
|
@@ -220,7 +220,7 @@ interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
220
220
|
* @param child the child widget
|
|
221
221
|
* @param child_property the name of a child property installed on the class of `container`
|
|
222
222
|
*/
|
|
223
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
223
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
224
224
|
|
|
225
225
|
// Overloads of child_notify
|
|
226
226
|
|
|
@@ -234,7 +234,7 @@ interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
234
234
|
* Also see gtk_container_child_notify().
|
|
235
235
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
236
236
|
*/
|
|
237
|
-
child_notify(child_property: string
|
|
237
|
+
child_notify(child_property: string): void
|
|
238
238
|
/**
|
|
239
239
|
* Emits a #GtkWidget::child-notify signal for the
|
|
240
240
|
* [child property][child-properties] `child_property`
|
|
@@ -245,7 +245,7 @@ interface AssistantView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
245
245
|
* Also see gtk_container_child_notify().
|
|
246
246
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
247
247
|
*/
|
|
248
|
-
child_notify(child_property: string
|
|
248
|
+
child_notify(child_property: string): void
|
|
249
249
|
|
|
250
250
|
// Own signals of Devhelp-3.0.Devhelp.AssistantView
|
|
251
251
|
|
|
@@ -527,11 +527,11 @@ interface Book {
|
|
|
527
527
|
* with the title.
|
|
528
528
|
* @returns the book ID.
|
|
529
529
|
*/
|
|
530
|
-
get_id(): string
|
|
530
|
+
get_id(): string
|
|
531
531
|
get_index_file(): Gio.File
|
|
532
|
-
get_language(): string
|
|
532
|
+
get_language(): string
|
|
533
533
|
get_links(): Link[]
|
|
534
|
-
get_title(): string
|
|
534
|
+
get_title(): string
|
|
535
535
|
/**
|
|
536
536
|
* Gets the general structure of the book, as a tree. The tree contains only
|
|
537
537
|
* #DhLink's of type %DH_LINK_TYPE_BOOK or %DH_LINK_TYPE_PAGE. The other
|
|
@@ -986,7 +986,7 @@ interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
986
986
|
* an anchor).
|
|
987
987
|
* @param uri the URI to select.
|
|
988
988
|
*/
|
|
989
|
-
select_uri(uri: string
|
|
989
|
+
select_uri(uri: string): void
|
|
990
990
|
|
|
991
991
|
// Conflicting methods
|
|
992
992
|
|
|
@@ -1001,7 +1001,7 @@ interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1001
1001
|
* @param child the child widget
|
|
1002
1002
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1003
1003
|
*/
|
|
1004
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1004
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1005
1005
|
|
|
1006
1006
|
// Overloads of child_notify
|
|
1007
1007
|
|
|
@@ -1015,7 +1015,7 @@ interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1015
1015
|
* Also see gtk_container_child_notify().
|
|
1016
1016
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1017
1017
|
*/
|
|
1018
|
-
child_notify(child_property: string
|
|
1018
|
+
child_notify(child_property: string): void
|
|
1019
1019
|
/**
|
|
1020
1020
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1021
1021
|
* [child property][child-properties] `child_property`
|
|
@@ -1026,7 +1026,7 @@ interface BookTree extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
1026
1026
|
* Also see gtk_container_child_notify().
|
|
1027
1027
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1028
1028
|
*/
|
|
1029
|
-
child_notify(child_property: string
|
|
1029
|
+
child_notify(child_property: string): void
|
|
1030
1030
|
|
|
1031
1031
|
// Own signals of Devhelp-3.0.Devhelp.BookTree
|
|
1032
1032
|
|
|
@@ -1285,7 +1285,7 @@ interface Completion {
|
|
|
1285
1285
|
* After adding all the strings you need to call dh_completion_sort().
|
|
1286
1286
|
* @param str a string.
|
|
1287
1287
|
*/
|
|
1288
|
-
add_string(str: string
|
|
1288
|
+
add_string(str: string): void
|
|
1289
1289
|
/**
|
|
1290
1290
|
* This function does the equivalent of:
|
|
1291
1291
|
* 1. Searches the data structure of `completion` to find all strings that have
|
|
@@ -1299,7 +1299,7 @@ interface Completion {
|
|
|
1299
1299
|
* @param prefix the string to complete.
|
|
1300
1300
|
* @returns the completed prefix, or %NULL if a longer prefix has not been found. Free with g_free() when no longer needed.
|
|
1301
1301
|
*/
|
|
1302
|
-
complete(prefix: string
|
|
1302
|
+
complete(prefix: string): string | null
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Sorts all the strings. It is required to call this function after adding
|
|
1305
1305
|
* strings with dh_completion_add_string().
|
|
@@ -1334,7 +1334,7 @@ class Completion extends GObject.Object {
|
|
|
1334
1334
|
* @param prefix the string to complete.
|
|
1335
1335
|
* @returns the completed prefix, or %NULL if a longer prefix has not been found. Free with g_free() when no longer needed.
|
|
1336
1336
|
*/
|
|
1337
|
-
static aggregate_complete(completion_objects: Completion[] | null, prefix: string
|
|
1337
|
+
static aggregate_complete(completion_objects: Completion[] | null, prefix: string): string | null
|
|
1338
1338
|
}
|
|
1339
1339
|
|
|
1340
1340
|
module KeywordModel {
|
|
@@ -1375,7 +1375,7 @@ interface KeywordModel extends Gtk.TreeModel {
|
|
|
1375
1375
|
* @param profile a #DhProfile, or %NULL for the default profile.
|
|
1376
1376
|
* @returns the #DhLink that matches exactly @search_string, or %NULL if no such #DhLink was found within the maximum number of matches.
|
|
1377
1377
|
*/
|
|
1378
|
-
filter(search_string: string
|
|
1378
|
+
filter(search_string: string, current_book_id: string | null, profile: Profile | null): Link | null
|
|
1379
1379
|
|
|
1380
1380
|
// Class property signals of Devhelp-3.0.Devhelp.KeywordModel
|
|
1381
1381
|
|
|
@@ -1460,7 +1460,7 @@ interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1460
1460
|
* @param child the child widget
|
|
1461
1461
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1462
1462
|
*/
|
|
1463
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1463
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1464
1464
|
|
|
1465
1465
|
// Overloads of child_notify
|
|
1466
1466
|
|
|
@@ -1474,7 +1474,7 @@ interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1474
1474
|
* Also see gtk_container_child_notify().
|
|
1475
1475
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1476
1476
|
*/
|
|
1477
|
-
child_notify(child_property: string
|
|
1477
|
+
child_notify(child_property: string): void
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1480
1480
|
* [child property][child-properties] `child_property`
|
|
@@ -1485,7 +1485,7 @@ interface Notebook extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1485
1485
|
* Also see gtk_container_child_notify().
|
|
1486
1486
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1487
1487
|
*/
|
|
1488
|
-
child_notify(child_property: string
|
|
1488
|
+
child_notify(child_property: string): void
|
|
1489
1489
|
|
|
1490
1490
|
// Class property signals of Devhelp-3.0.Devhelp.Notebook
|
|
1491
1491
|
|
|
@@ -1840,7 +1840,7 @@ interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1840
1840
|
* @param child the child widget
|
|
1841
1841
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1842
1842
|
*/
|
|
1843
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1843
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1844
1844
|
|
|
1845
1845
|
// Overloads of child_notify
|
|
1846
1846
|
|
|
@@ -1854,7 +1854,7 @@ interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1854
1854
|
* Also see gtk_container_child_notify().
|
|
1855
1855
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1856
1856
|
*/
|
|
1857
|
-
child_notify(child_property: string
|
|
1857
|
+
child_notify(child_property: string): void
|
|
1858
1858
|
/**
|
|
1859
1859
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1860
1860
|
* [child property][child-properties] `child_property`
|
|
@@ -1865,7 +1865,7 @@ interface SearchBar extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1865
1865
|
* Also see gtk_container_child_notify().
|
|
1866
1866
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1867
1867
|
*/
|
|
1868
|
-
child_notify(child_property: string
|
|
1868
|
+
child_notify(child_property: string): void
|
|
1869
1869
|
|
|
1870
1870
|
// Class property signals of Devhelp-3.0.Devhelp.SearchBar
|
|
1871
1871
|
|
|
@@ -2187,7 +2187,7 @@ interface Settings {
|
|
|
2187
2187
|
* property.
|
|
2188
2188
|
* @returns the value of the #DhSettings:fixed-font property.
|
|
2189
2189
|
*/
|
|
2190
|
-
get_fixed_font(): string
|
|
2190
|
+
get_fixed_font(): string
|
|
2191
2191
|
get_group_books_by_language(): boolean
|
|
2192
2192
|
/**
|
|
2193
2193
|
* If #DhSettings:use-system-fonts is %TRUE, returns the system fonts. Otherwise
|
|
@@ -2202,7 +2202,7 @@ interface Settings {
|
|
|
2202
2202
|
* property.
|
|
2203
2203
|
* @returns the value of the #DhSettings:variable-font property.
|
|
2204
2204
|
*/
|
|
2205
|
-
get_variable_font(): string
|
|
2205
|
+
get_variable_font(): string
|
|
2206
2206
|
/**
|
|
2207
2207
|
* Returns whether `book` is enabled according to the "books-disabled" #GSettings
|
|
2208
2208
|
* key. If the `book` ID is present in "books-disabled", this function returns
|
|
@@ -2222,7 +2222,7 @@ interface Settings {
|
|
|
2222
2222
|
* Sets the #DhSettings:fixed-font property.
|
|
2223
2223
|
* @param fixed_font the new value.
|
|
2224
2224
|
*/
|
|
2225
|
-
set_fixed_font(fixed_font: string
|
|
2225
|
+
set_fixed_font(fixed_font: string): void
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Sets the #DhSettings:group-books-by-language property.
|
|
2228
2228
|
* @param group_books_by_language the new value.
|
|
@@ -2237,7 +2237,7 @@ interface Settings {
|
|
|
2237
2237
|
* Sets the #DhSettings:variable-font property.
|
|
2238
2238
|
* @param variable_font the new value.
|
|
2239
2239
|
*/
|
|
2240
|
-
set_variable_font(variable_font: string
|
|
2240
|
+
set_variable_font(variable_font: string): void
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Stops the effect of dh_settings_freeze_books_disabled_changed(), and emits
|
|
2243
2243
|
* the #DhSettings::books-disabled-changed signal.
|
|
@@ -2325,7 +2325,7 @@ interface SettingsBuilder {
|
|
|
2325
2325
|
* used.
|
|
2326
2326
|
* @param contents_path the path for the "contents" schema.
|
|
2327
2327
|
*/
|
|
2328
|
-
set_contents_path(contents_path: string
|
|
2328
|
+
set_contents_path(contents_path: string): void
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Sets the path for the "fonts" schema.
|
|
2331
2331
|
*
|
|
@@ -2333,7 +2333,7 @@ interface SettingsBuilder {
|
|
|
2333
2333
|
* used.
|
|
2334
2334
|
* @param fonts_path the path for the "fonts" schema.
|
|
2335
2335
|
*/
|
|
2336
|
-
set_fonts_path(fonts_path: string
|
|
2336
|
+
set_fonts_path(fonts_path: string): void
|
|
2337
2337
|
|
|
2338
2338
|
// Class property signals of Devhelp-3.0.Devhelp.SettingsBuilder
|
|
2339
2339
|
|
|
@@ -2413,12 +2413,12 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2413
2413
|
* Calls dh_book_tree_select_uri().
|
|
2414
2414
|
* @param uri the URI to select.
|
|
2415
2415
|
*/
|
|
2416
|
-
select_uri(uri: string
|
|
2416
|
+
select_uri(uri: string): void
|
|
2417
2417
|
/**
|
|
2418
2418
|
* Gives the focus to the search entry.
|
|
2419
2419
|
*/
|
|
2420
2420
|
set_search_focus(): void
|
|
2421
|
-
set_search_string(str: string
|
|
2421
|
+
set_search_string(str: string): void
|
|
2422
2422
|
|
|
2423
2423
|
// Conflicting methods
|
|
2424
2424
|
|
|
@@ -2433,7 +2433,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2433
2433
|
* @param child the child widget
|
|
2434
2434
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2435
2435
|
*/
|
|
2436
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2436
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2437
2437
|
|
|
2438
2438
|
// Overloads of child_notify
|
|
2439
2439
|
|
|
@@ -2447,7 +2447,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2447
2447
|
* Also see gtk_container_child_notify().
|
|
2448
2448
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2449
2449
|
*/
|
|
2450
|
-
child_notify(child_property: string
|
|
2450
|
+
child_notify(child_property: string): void
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2453
2453
|
* [child property][child-properties] `child_property`
|
|
@@ -2458,7 +2458,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2458
2458
|
* Also see gtk_container_child_notify().
|
|
2459
2459
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2460
2460
|
*/
|
|
2461
|
-
child_notify(child_property: string
|
|
2461
|
+
child_notify(child_property: string): void
|
|
2462
2462
|
|
|
2463
2463
|
// Own virtual methods of Devhelp-3.0.Devhelp.Sidebar
|
|
2464
2464
|
|
|
@@ -2709,7 +2709,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2709
2709
|
* @param child the child widget
|
|
2710
2710
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2711
2711
|
*/
|
|
2712
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2712
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2713
2713
|
|
|
2714
2714
|
// Overloads of child_notify
|
|
2715
2715
|
|
|
@@ -2723,7 +2723,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2723
2723
|
* Also see gtk_container_child_notify().
|
|
2724
2724
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2725
2725
|
*/
|
|
2726
|
-
child_notify(child_property: string
|
|
2726
|
+
child_notify(child_property: string): void
|
|
2727
2727
|
/**
|
|
2728
2728
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2729
2729
|
* [child property][child-properties] `child_property`
|
|
@@ -2734,7 +2734,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2734
2734
|
* Also see gtk_container_child_notify().
|
|
2735
2735
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2736
2736
|
*/
|
|
2737
|
-
child_notify(child_property: string
|
|
2737
|
+
child_notify(child_property: string): void
|
|
2738
2738
|
|
|
2739
2739
|
// Class property signals of Devhelp-3.0.Devhelp.Tab
|
|
2740
2740
|
|
|
@@ -2964,7 +2964,7 @@ interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2964
2964
|
* @param child the child widget
|
|
2965
2965
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2966
2966
|
*/
|
|
2967
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2967
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2968
2968
|
|
|
2969
2969
|
// Overloads of child_notify
|
|
2970
2970
|
|
|
@@ -2978,7 +2978,7 @@ interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2978
2978
|
* Also see gtk_container_child_notify().
|
|
2979
2979
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2980
2980
|
*/
|
|
2981
|
-
child_notify(child_property: string
|
|
2981
|
+
child_notify(child_property: string): void
|
|
2982
2982
|
/**
|
|
2983
2983
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2984
2984
|
* [child property][child-properties] `child_property`
|
|
@@ -2989,7 +2989,7 @@ interface TabLabel extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2989
2989
|
* Also see gtk_container_child_notify().
|
|
2990
2990
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2991
2991
|
*/
|
|
2992
|
-
child_notify(child_property: string
|
|
2992
|
+
child_notify(child_property: string): void
|
|
2993
2993
|
|
|
2994
2994
|
// Class property signals of Devhelp-3.0.Devhelp.TabLabel
|
|
2995
2995
|
|
|
@@ -3223,7 +3223,7 @@ interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3223
3223
|
* (translated).
|
|
3224
3224
|
* @returns the title of @view, suitable for a tab label or window title.
|
|
3225
3225
|
*/
|
|
3226
|
-
get_devhelp_title(): string
|
|
3226
|
+
get_devhelp_title(): string
|
|
3227
3227
|
get_profile(): Profile
|
|
3228
3228
|
/**
|
|
3229
3229
|
* Reset the text size to the normal size.
|
|
@@ -3308,7 +3308,7 @@ interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3308
3308
|
* @param child the child widget
|
|
3309
3309
|
* @param child_property the name of a child property installed on the class of `container`
|
|
3310
3310
|
*/
|
|
3311
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
3311
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
3312
3312
|
|
|
3313
3313
|
// Overloads of child_notify
|
|
3314
3314
|
|
|
@@ -3322,7 +3322,7 @@ interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3322
3322
|
* Also see gtk_container_child_notify().
|
|
3323
3323
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3324
3324
|
*/
|
|
3325
|
-
child_notify(child_property: string
|
|
3325
|
+
child_notify(child_property: string): void
|
|
3326
3326
|
/**
|
|
3327
3327
|
* Emits a #GtkWidget::child-notify signal for the
|
|
3328
3328
|
* [child property][child-properties] `child_property`
|
|
@@ -3333,11 +3333,11 @@ interface WebView extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
3333
3333
|
* Also see gtk_container_child_notify().
|
|
3334
3334
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
3335
3335
|
*/
|
|
3336
|
-
child_notify(child_property: string
|
|
3336
|
+
child_notify(child_property: string): void
|
|
3337
3337
|
|
|
3338
3338
|
// Own virtual methods of Devhelp-3.0.Devhelp.WebView
|
|
3339
3339
|
|
|
3340
|
-
vfunc_open_new_tab(uri: string
|
|
3340
|
+
vfunc_open_new_tab(uri: string): void
|
|
3341
3341
|
|
|
3342
3342
|
// Own signals of Devhelp-3.0.Devhelp.WebView
|
|
3343
3343
|
|
|
@@ -3781,7 +3781,7 @@ interface Link {
|
|
|
3781
3781
|
* @param page_id a page ID, i.e. the filename without its extension.
|
|
3782
3782
|
* @returns whether @link belongs to @page_id.
|
|
3783
3783
|
*/
|
|
3784
|
-
belongs_to_page(page_id: string
|
|
3784
|
+
belongs_to_page(page_id: string): boolean
|
|
3785
3785
|
/**
|
|
3786
3786
|
* Compares the links `a` and `b`. This function is used to determine in which
|
|
3787
3787
|
* order the links should be displayed.
|
|
@@ -3789,18 +3789,18 @@ interface Link {
|
|
|
3789
3789
|
* @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.
|
|
3790
3790
|
*/
|
|
3791
3791
|
compare(b: Link): number
|
|
3792
|
-
get_book_id(): string
|
|
3793
|
-
get_book_title(): string
|
|
3792
|
+
get_book_id(): string
|
|
3793
|
+
get_book_title(): string
|
|
3794
3794
|
get_flags(): LinkFlags
|
|
3795
3795
|
get_link_type(): LinkType
|
|
3796
|
-
get_name(): string
|
|
3796
|
+
get_name(): string
|
|
3797
3797
|
/**
|
|
3798
3798
|
* Gets the `link` URI, by concateneting the book base path with the `link`
|
|
3799
3799
|
* relative URL.
|
|
3800
3800
|
* @returns the @link URI, or %NULL if getting the URI failed. Free with g_free() when no longer needed.
|
|
3801
3801
|
*/
|
|
3802
3802
|
get_uri(): string | null
|
|
3803
|
-
match_relative_url(relative_url: string
|
|
3803
|
+
match_relative_url(relative_url: string): boolean
|
|
3804
3804
|
/**
|
|
3805
3805
|
* Increases the reference count of `link`.
|
|
3806
3806
|
*
|
|
@@ -3829,9 +3829,9 @@ class Link {
|
|
|
3829
3829
|
|
|
3830
3830
|
// Constructors of Devhelp-3.0.Devhelp.Link
|
|
3831
3831
|
|
|
3832
|
-
constructor(type: LinkType, book_link: Link, name: string
|
|
3833
|
-
static new(type: LinkType, book_link: Link, name: string
|
|
3834
|
-
static new_book(base_path: string
|
|
3832
|
+
constructor(type: LinkType, book_link: Link, name: string, relative_url: string)
|
|
3833
|
+
static new(type: LinkType, book_link: Link, name: string, relative_url: string): Link
|
|
3834
|
+
static new_book(base_path: string, book_id: string, book_title: string, relative_url: string): Link
|
|
3835
3835
|
}
|
|
3836
3836
|
|
|
3837
3837
|
interface NotebookClass {
|
|
@@ -4057,7 +4057,7 @@ interface WebViewClass {
|
|
|
4057
4057
|
// Own fields of Devhelp-3.0.Devhelp.WebViewClass
|
|
4058
4058
|
|
|
4059
4059
|
parent_class: WebKit2.WebViewClass
|
|
4060
|
-
open_new_tab: (view: WebView, uri: string
|
|
4060
|
+
open_new_tab: (view: WebView, uri: string) => void
|
|
4061
4061
|
padding: any[]
|
|
4062
4062
|
}
|
|
4063
4063
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/devhelp-3.0",
|
|
3
|
-
"version": "3.0.0-3.2.
|
|
3
|
+
"version": "3.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Devhelp-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "devhelp-3.0.js",
|
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit devhelp-3.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.50.0-3.2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gdk-3.0": "^3.24.38-3.2.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
38
|
-
"@girs/gtk-3.0": "^3.24.38-3.2.
|
|
39
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
40
|
-
"@girs/javascriptcore-4.1": "^2.40.0-3.2.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/soup-3.0": "^3.4.4-3.2.
|
|
43
|
-
"@girs/webkit2-4.1": "^2.41.90-3.2.
|
|
44
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.7",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
30
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
31
|
+
"@girs/gdk-3.0": "^3.24.38-3.2.7",
|
|
32
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
33
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
34
|
+
"@girs/gjs": "^3.2.7",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
37
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
38
|
+
"@girs/gtk-3.0": "^3.24.38-3.2.7",
|
|
39
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
40
|
+
"@girs/javascriptcore-4.1": "^2.40.0-3.2.7",
|
|
41
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
42
|
+
"@girs/soup-3.0": "^3.4.4-3.2.7",
|
|
43
|
+
"@girs/webkit2-4.1": "^2.41.90-3.2.7",
|
|
44
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"typescript": "*"
|