@girs/gedit-3.0 3.0.0-3.2.6 → 3.0.0-3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gedit-3.0-ambient.js +2 -0
- package/gedit-3.0-import.js +3 -0
- package/gedit-3.0.d.cts +49 -85
- package/gedit-3.0.d.ts +49 -85
- package/package.json +25 -19
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gedit-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 Gedit-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
Official text editor of the GNOME desktop environment.
|
|
11
11
|
|
package/gedit-3.0.d.cts
CHANGED
|
@@ -155,7 +155,7 @@ export function commands_save_document_finish(document: Document, result: Gio.As
|
|
|
155
155
|
* @param line line number.
|
|
156
156
|
* @param function_ name of the function that is calling gedit_debug().
|
|
157
157
|
*/
|
|
158
|
-
export function debug(section: DebugSection, file: string
|
|
158
|
+
export function debug(section: DebugSection, file: string, line: number, function_: string): void
|
|
159
159
|
/**
|
|
160
160
|
* Initializes the debugging subsystem of gedit.
|
|
161
161
|
*
|
|
@@ -197,7 +197,7 @@ export function debug_init(): void
|
|
|
197
197
|
* @param function_ name of the function that is calling gedit_debug_plugin_message().
|
|
198
198
|
* @param message a message.
|
|
199
199
|
*/
|
|
200
|
-
export function debug_plugin_message(file: string
|
|
200
|
+
export function debug_plugin_message(file: string, line: number, function_: string, message: string): void
|
|
201
201
|
export function utils_basename_for_display(location: Gio.File): string | null
|
|
202
202
|
/**
|
|
203
203
|
* Create a list of valid uri's from a uri-list drop.
|
|
@@ -205,7 +205,7 @@ export function utils_basename_for_display(location: Gio.File): string | null
|
|
|
205
205
|
* @returns a string array which will hold the uris or %NULL if there were no valid uris. g_strfreev should be used when the string array is no longer used
|
|
206
206
|
*/
|
|
207
207
|
export function utils_drop_get_uris(selection_data: Gtk.SelectionData): string[]
|
|
208
|
-
export function utils_get_compression_type_from_content_type(content_type: string
|
|
208
|
+
export function utils_get_compression_type_from_content_type(content_type: string): GtkSource.CompressionType
|
|
209
209
|
export function utils_is_valid_location(location: Gio.File): boolean
|
|
210
210
|
/**
|
|
211
211
|
* Returns a string suitable to be displayed in the UI indicating
|
|
@@ -217,7 +217,7 @@ export function utils_is_valid_location(location: Gio.File): boolean
|
|
|
217
217
|
*/
|
|
218
218
|
export function utils_location_get_dirname_for_display(location: Gio.File): string | null
|
|
219
219
|
export function utils_menu_position_under_tree_view(tree_view: Gtk.TreeView, rect: Gdk.Rectangle): boolean
|
|
220
|
-
export function utils_newline_type_to_string(newline_type: GtkSource.NewlineType): string
|
|
220
|
+
export function utils_newline_type_to_string(newline_type: GtkSource.NewlineType): string
|
|
221
221
|
/**
|
|
222
222
|
* This function sets up name and description
|
|
223
223
|
* for a specified gtk widget.
|
|
@@ -225,10 +225,10 @@ export function utils_newline_type_to_string(newline_type: GtkSource.NewlineType
|
|
|
225
225
|
* @param name Atk name string
|
|
226
226
|
* @param description Atk description string
|
|
227
227
|
*/
|
|
228
|
-
export function utils_set_atk_name_description(widget: Gtk.Widget, name: string
|
|
228
|
+
export function utils_set_atk_name_description(widget: Gtk.Widget, name: string, description: string): void
|
|
229
229
|
export function utils_set_direct_save_filename(context: Gdk.DragContext): string | null
|
|
230
230
|
export interface MessageBusForeach {
|
|
231
|
-
(object_path: string
|
|
231
|
+
(object_path: string, method: string): void
|
|
232
232
|
}
|
|
233
233
|
/**
|
|
234
234
|
* Callback signature used for connecting callback functions to be called
|
|
@@ -284,7 +284,7 @@ export interface AppActivatable {
|
|
|
284
284
|
* @param extension_point the extension point section of the menu to get.
|
|
285
285
|
* @returns a #GeditMenuExtension for the specific section or %NULL if not found.
|
|
286
286
|
*/
|
|
287
|
-
extend_menu(extension_point: string
|
|
287
|
+
extend_menu(extension_point: string): MenuExtension
|
|
288
288
|
|
|
289
289
|
// Own virtual methods of Gedit-3.0.Gedit.AppActivatable
|
|
290
290
|
|
|
@@ -525,15 +525,15 @@ export interface App extends Gio.ActionGroup, Gio.ActionMap {
|
|
|
525
525
|
*/
|
|
526
526
|
get_views(): View[]
|
|
527
527
|
process_window_event(window: Window, event: Gdk.Event): boolean
|
|
528
|
-
set_window_title(window: Window, title: string
|
|
529
|
-
show_help(parent: Gtk.Window, name: string
|
|
528
|
+
set_window_title(window: Window, title: string): void
|
|
529
|
+
show_help(parent: Gtk.Window, name: string, link_id: string): boolean
|
|
530
530
|
|
|
531
531
|
// Own virtual methods of Gedit-3.0.Gedit.App
|
|
532
532
|
|
|
533
|
-
vfunc_help_link_id(name: string
|
|
533
|
+
vfunc_help_link_id(name: string, link_id: string): string | null
|
|
534
534
|
vfunc_process_window_event(window: Window, event: Gdk.Event): boolean
|
|
535
|
-
vfunc_set_window_title(window: Window, title: string
|
|
536
|
-
vfunc_show_help(parent: Gtk.Window, name: string
|
|
535
|
+
vfunc_set_window_title(window: Window, title: string): void
|
|
536
|
+
vfunc_show_help(parent: Gtk.Window, name: string, link_id: string): boolean
|
|
537
537
|
|
|
538
538
|
// Class property signals of Gedit-3.0.Gedit.App
|
|
539
539
|
|
|
@@ -638,10 +638,6 @@ export module Document {
|
|
|
638
638
|
|
|
639
639
|
// Own constructor properties of Gedit-3.0.Gedit.Document
|
|
640
640
|
|
|
641
|
-
/**
|
|
642
|
-
* The document's content type.
|
|
643
|
-
*/
|
|
644
|
-
content_type?: string | null
|
|
645
641
|
/**
|
|
646
642
|
* The document's content type.
|
|
647
643
|
*/
|
|
@@ -654,21 +650,10 @@ export interface Document {
|
|
|
654
650
|
|
|
655
651
|
// Own properties of Gedit-3.0.Gedit.Document
|
|
656
652
|
|
|
657
|
-
/**
|
|
658
|
-
* The document's content type.
|
|
659
|
-
*/
|
|
660
|
-
content_type: string | null
|
|
661
653
|
/**
|
|
662
654
|
* The document's content type.
|
|
663
655
|
*/
|
|
664
656
|
contentType: string | null
|
|
665
|
-
/**
|
|
666
|
-
* <warning>
|
|
667
|
-
* The property is used internally by gedit. It must not be used in a
|
|
668
|
-
* gedit plugin. The property can be modified or removed at any time.
|
|
669
|
-
* </warning>
|
|
670
|
-
*/
|
|
671
|
-
readonly empty_search: boolean
|
|
672
657
|
/**
|
|
673
658
|
* <warning>
|
|
674
659
|
* The property is used internally by gedit. It must not be used in a
|
|
@@ -676,10 +661,6 @@ export interface Document {
|
|
|
676
661
|
* </warning>
|
|
677
662
|
*/
|
|
678
663
|
readonly emptySearch: boolean
|
|
679
|
-
/**
|
|
680
|
-
* The document's MIME type.
|
|
681
|
-
*/
|
|
682
|
-
readonly mime_type: string | null
|
|
683
664
|
/**
|
|
684
665
|
* The document's MIME type.
|
|
685
666
|
*/
|
|
@@ -721,7 +702,7 @@ export interface Document {
|
|
|
721
702
|
* @param key name of the key
|
|
722
703
|
* @returns the value assigned to @key. Free with g_free().
|
|
723
704
|
*/
|
|
724
|
-
get_metadata(key: string
|
|
705
|
+
get_metadata(key: string): string | null
|
|
725
706
|
/**
|
|
726
707
|
* Note: this never returns %NULL.
|
|
727
708
|
*/
|
|
@@ -879,12 +860,6 @@ export module EncodingsComboBox {
|
|
|
879
860
|
|
|
880
861
|
// Own constructor properties of Gedit-3.0.Gedit.EncodingsComboBox
|
|
881
862
|
|
|
882
|
-
/**
|
|
883
|
-
* Whether the combo box should be used for saving a content. If
|
|
884
|
-
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
885
|
-
* and the row "Automatically Detected" is added.
|
|
886
|
-
*/
|
|
887
|
-
save_mode?: boolean | null
|
|
888
863
|
/**
|
|
889
864
|
* Whether the combo box should be used for saving a content. If
|
|
890
865
|
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
@@ -899,12 +874,6 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
899
874
|
|
|
900
875
|
// Own properties of Gedit-3.0.Gedit.EncodingsComboBox
|
|
901
876
|
|
|
902
|
-
/**
|
|
903
|
-
* Whether the combo box should be used for saving a content. If
|
|
904
|
-
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
905
|
-
* and the row "Automatically Detected" is added.
|
|
906
|
-
*/
|
|
907
|
-
save_mode: boolean
|
|
908
877
|
/**
|
|
909
878
|
* Whether the combo box should be used for saving a content. If
|
|
910
879
|
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
@@ -937,7 +906,7 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
937
906
|
* Also see gtk_container_child_notify().
|
|
938
907
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
939
908
|
*/
|
|
940
|
-
child_notify(child_property: string
|
|
909
|
+
child_notify(child_property: string): void
|
|
941
910
|
/**
|
|
942
911
|
* Emits a #GtkWidget::child-notify signal for the
|
|
943
912
|
* [child property][child-properties]
|
|
@@ -949,7 +918,7 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
949
918
|
* @param child the child widget
|
|
950
919
|
* @param child_property the name of a child property installed on the class of `container`
|
|
951
920
|
*/
|
|
952
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
921
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
953
922
|
|
|
954
923
|
// Overloads of child_notify
|
|
955
924
|
|
|
@@ -963,7 +932,7 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
963
932
|
* Also see gtk_container_child_notify().
|
|
964
933
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
965
934
|
*/
|
|
966
|
-
child_notify(child_property: string
|
|
935
|
+
child_notify(child_property: string): void
|
|
967
936
|
|
|
968
937
|
// Class property signals of Gedit-3.0.Gedit.EncodingsComboBox
|
|
969
938
|
|
|
@@ -1258,7 +1227,6 @@ export module Message {
|
|
|
1258
1227
|
* The messages method.
|
|
1259
1228
|
*/
|
|
1260
1229
|
method?: string | null
|
|
1261
|
-
object_path?: string | null
|
|
1262
1230
|
objectPath?: string | null
|
|
1263
1231
|
}
|
|
1264
1232
|
|
|
@@ -1272,7 +1240,6 @@ export interface Message {
|
|
|
1272
1240
|
* The messages method.
|
|
1273
1241
|
*/
|
|
1274
1242
|
method: string | null
|
|
1275
|
-
object_path: string | null
|
|
1276
1243
|
objectPath: string | null
|
|
1277
1244
|
|
|
1278
1245
|
// Own fields of Gedit-3.0.Gedit.Message
|
|
@@ -1286,18 +1253,18 @@ export interface Message {
|
|
|
1286
1253
|
* Get the message method.
|
|
1287
1254
|
* @returns the message method
|
|
1288
1255
|
*/
|
|
1289
|
-
get_method(): string
|
|
1256
|
+
get_method(): string
|
|
1290
1257
|
/**
|
|
1291
1258
|
* Get the message object path.
|
|
1292
1259
|
* @returns the message object path
|
|
1293
1260
|
*/
|
|
1294
|
-
get_object_path(): string
|
|
1261
|
+
get_object_path(): string
|
|
1295
1262
|
/**
|
|
1296
1263
|
* Check if a message has a certain property.
|
|
1297
1264
|
* @param propname the property name
|
|
1298
1265
|
* @returns %TRUE if message has @propname, %FALSE otherwise
|
|
1299
1266
|
*/
|
|
1300
|
-
has(propname: string
|
|
1267
|
+
has(propname: string): boolean
|
|
1301
1268
|
|
|
1302
1269
|
// Class property signals of Gedit-3.0.Gedit.Message
|
|
1303
1270
|
|
|
@@ -1330,8 +1297,8 @@ export class Message extends GObject.Object {
|
|
|
1330
1297
|
* @returns %TRUE if @object_path is a valid object path
|
|
1331
1298
|
*/
|
|
1332
1299
|
static is_valid_object_path(object_path: string | null): boolean
|
|
1333
|
-
static type_check(gtype: GObject.GType, propname: string
|
|
1334
|
-
static type_has(gtype: GObject.GType, propname: string
|
|
1300
|
+
static type_check(gtype: GObject.GType, propname: string, value_type: GObject.GType): boolean
|
|
1301
|
+
static type_has(gtype: GObject.GType, propname: string): boolean
|
|
1335
1302
|
/**
|
|
1336
1303
|
* Get the string identifier for `method` at `object_path`.
|
|
1337
1304
|
* @param object_path the object path
|
|
@@ -1396,7 +1363,7 @@ export interface MessageBus {
|
|
|
1396
1363
|
* @param method the method
|
|
1397
1364
|
* @param callback the callback to block
|
|
1398
1365
|
*/
|
|
1399
|
-
block_by_func(object_path: string
|
|
1366
|
+
block_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1400
1367
|
/**
|
|
1401
1368
|
* Connect a callback handler to be evoked when message `method` at `object_path`
|
|
1402
1369
|
* is sent over the bus.
|
|
@@ -1405,7 +1372,7 @@ export interface MessageBus {
|
|
|
1405
1372
|
* @param callback function to be called when message `method` at `object_path` is sent
|
|
1406
1373
|
* @returns the callback identifier
|
|
1407
1374
|
*/
|
|
1408
|
-
connect(object_path: string
|
|
1375
|
+
connect(object_path: string, method: string, callback: MessageCallback): number
|
|
1409
1376
|
/**
|
|
1410
1377
|
* Disconnects a previously connected message callback.
|
|
1411
1378
|
* @param id the callback id as returned by gedit_message_bus_connect()
|
|
@@ -1419,7 +1386,7 @@ export interface MessageBus {
|
|
|
1419
1386
|
* @param method the method
|
|
1420
1387
|
* @param callback the connected callback
|
|
1421
1388
|
*/
|
|
1422
|
-
disconnect_by_func(object_path: string
|
|
1389
|
+
disconnect_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1423
1390
|
/**
|
|
1424
1391
|
* Calls `func` for each message type registered on the bus
|
|
1425
1392
|
* @param func the callback function
|
|
@@ -1432,7 +1399,7 @@ export interface MessageBus {
|
|
|
1432
1399
|
* @param method the method
|
|
1433
1400
|
* @returns %TRUE if the @method at @object_path is a registered message type on the bus
|
|
1434
1401
|
*/
|
|
1435
|
-
is_registered(object_path: string
|
|
1402
|
+
is_registered(object_path: string, method: string): boolean
|
|
1436
1403
|
/**
|
|
1437
1404
|
* Get the registered #GeditMessageType for `method` at `object_path`. The
|
|
1438
1405
|
* returned #GeditMessageType is owned by the bus and should not be unreffed.
|
|
@@ -1440,7 +1407,7 @@ export interface MessageBus {
|
|
|
1440
1407
|
* @param method the method
|
|
1441
1408
|
* @returns the registered #GeditMessageType or %NULL if no message type is registered for @method at @object_path
|
|
1442
1409
|
*/
|
|
1443
|
-
lookup(object_path: string
|
|
1410
|
+
lookup(object_path: string, method: string): GObject.GType
|
|
1444
1411
|
/**
|
|
1445
1412
|
* Register a message on the bus. A message must be registered on the bus before
|
|
1446
1413
|
* it can be send. This function registers the type for `method` at
|
|
@@ -1451,7 +1418,7 @@ export interface MessageBus {
|
|
|
1451
1418
|
* @param object_path the object path
|
|
1452
1419
|
* @param method the method to register
|
|
1453
1420
|
*/
|
|
1454
|
-
register(message_type: GObject.GType, object_path: string
|
|
1421
|
+
register(message_type: GObject.GType, object_path: string, method: string): void
|
|
1455
1422
|
/**
|
|
1456
1423
|
* This sends the provided `message` asynchronously over the bus. To send
|
|
1457
1424
|
* a message synchronously, use gedit_message_bus_send_message_sync(). The
|
|
@@ -1479,7 +1446,7 @@ export interface MessageBus {
|
|
|
1479
1446
|
* @param method the method
|
|
1480
1447
|
* @param callback the callback to block
|
|
1481
1448
|
*/
|
|
1482
|
-
unblock_by_func(object_path: string
|
|
1449
|
+
unblock_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1483
1450
|
/**
|
|
1484
1451
|
* Unregisters a previously registered message type. This is especially useful
|
|
1485
1452
|
* for plugins which should unregister message types when they are deactivated.
|
|
@@ -1488,7 +1455,7 @@ export interface MessageBus {
|
|
|
1488
1455
|
* @param object_path the object path
|
|
1489
1456
|
* @param method the method
|
|
1490
1457
|
*/
|
|
1491
|
-
unregister(object_path: string
|
|
1458
|
+
unregister(object_path: string, method: string): void
|
|
1492
1459
|
/**
|
|
1493
1460
|
* Unregisters all message types for `object_path`. This is especially useful for
|
|
1494
1461
|
* plugins which should unregister message types when they are deactivated.
|
|
@@ -1497,13 +1464,13 @@ export interface MessageBus {
|
|
|
1497
1464
|
* unregistered message types.
|
|
1498
1465
|
* @param object_path the object path
|
|
1499
1466
|
*/
|
|
1500
|
-
unregister_all(object_path: string
|
|
1467
|
+
unregister_all(object_path: string): void
|
|
1501
1468
|
|
|
1502
1469
|
// Own virtual methods of Gedit-3.0.Gedit.MessageBus
|
|
1503
1470
|
|
|
1504
1471
|
vfunc_dispatch(message: Message): void
|
|
1505
|
-
vfunc_registered(object_path: string
|
|
1506
|
-
vfunc_unregistered(object_path: string
|
|
1472
|
+
vfunc_registered(object_path: string, method: string): void
|
|
1473
|
+
vfunc_unregistered(object_path: string, method: string): void
|
|
1507
1474
|
|
|
1508
1475
|
// Own signals of Gedit-3.0.Gedit.MessageBus
|
|
1509
1476
|
|
|
@@ -1629,7 +1596,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
1629
1596
|
* @param child the child widget
|
|
1630
1597
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1631
1598
|
*/
|
|
1632
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1599
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1633
1600
|
|
|
1634
1601
|
// Overloads of child_notify
|
|
1635
1602
|
|
|
@@ -1643,7 +1610,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
1643
1610
|
* Also see gtk_container_child_notify().
|
|
1644
1611
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1645
1612
|
*/
|
|
1646
|
-
child_notify(child_property: string
|
|
1613
|
+
child_notify(child_property: string): void
|
|
1647
1614
|
/**
|
|
1648
1615
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1649
1616
|
* [child property][child-properties] `child_property`
|
|
@@ -1654,7 +1621,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
1654
1621
|
* Also see gtk_container_child_notify().
|
|
1655
1622
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1656
1623
|
*/
|
|
1657
|
-
child_notify(child_property: string
|
|
1624
|
+
child_notify(child_property: string): void
|
|
1658
1625
|
|
|
1659
1626
|
// Class property signals of Gedit-3.0.Gedit.Statusbar
|
|
1660
1627
|
|
|
@@ -1863,7 +1830,6 @@ export module Tab {
|
|
|
1863
1830
|
// Own constructor properties of Gedit-3.0.Gedit.Tab
|
|
1864
1831
|
|
|
1865
1832
|
autosave?: boolean | null
|
|
1866
|
-
autosave_interval?: number | null
|
|
1867
1833
|
autosaveInterval?: number | null
|
|
1868
1834
|
}
|
|
1869
1835
|
|
|
@@ -1874,9 +1840,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1874
1840
|
// Own properties of Gedit-3.0.Gedit.Tab
|
|
1875
1841
|
|
|
1876
1842
|
autosave: boolean
|
|
1877
|
-
autosave_interval: number
|
|
1878
1843
|
autosaveInterval: number
|
|
1879
|
-
readonly can_close: boolean
|
|
1880
1844
|
readonly canClose: boolean
|
|
1881
1845
|
readonly name: any
|
|
1882
1846
|
readonly state: TabState
|
|
@@ -1942,7 +1906,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1942
1906
|
* @param child the child widget
|
|
1943
1907
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1944
1908
|
*/
|
|
1945
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1909
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1946
1910
|
|
|
1947
1911
|
// Overloads of child_notify
|
|
1948
1912
|
|
|
@@ -1956,7 +1920,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1956
1920
|
* Also see gtk_container_child_notify().
|
|
1957
1921
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1958
1922
|
*/
|
|
1959
|
-
child_notify(child_property: string
|
|
1923
|
+
child_notify(child_property: string): void
|
|
1960
1924
|
/**
|
|
1961
1925
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1962
1926
|
* [child property][child-properties] `child_property`
|
|
@@ -1967,7 +1931,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1967
1931
|
* Also see gtk_container_child_notify().
|
|
1968
1932
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1969
1933
|
*/
|
|
1970
|
-
child_notify(child_property: string
|
|
1934
|
+
child_notify(child_property: string): void
|
|
1971
1935
|
|
|
1972
1936
|
// Own signals of Gedit-3.0.Gedit.Tab
|
|
1973
1937
|
|
|
@@ -2215,7 +2179,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2215
2179
|
* @param child the child widget
|
|
2216
2180
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2217
2181
|
*/
|
|
2218
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2182
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2219
2183
|
|
|
2220
2184
|
// Overloads of child_notify
|
|
2221
2185
|
|
|
@@ -2229,7 +2193,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2229
2193
|
* Also see gtk_container_child_notify().
|
|
2230
2194
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2231
2195
|
*/
|
|
2232
|
-
child_notify(child_property: string
|
|
2196
|
+
child_notify(child_property: string): void
|
|
2233
2197
|
/**
|
|
2234
2198
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2235
2199
|
* [child property][child-properties] `child_property`
|
|
@@ -2240,7 +2204,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2240
2204
|
* Also see gtk_container_child_notify().
|
|
2241
2205
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2242
2206
|
*/
|
|
2243
|
-
child_notify(child_property: string
|
|
2207
|
+
child_notify(child_property: string): void
|
|
2244
2208
|
|
|
2245
2209
|
// Own virtual methods of Gedit-3.0.Gedit.View
|
|
2246
2210
|
|
|
@@ -2771,7 +2735,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
|
|
|
2771
2735
|
* @param child the child widget
|
|
2772
2736
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2773
2737
|
*/
|
|
2774
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2738
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2775
2739
|
|
|
2776
2740
|
// Overloads of child_notify
|
|
2777
2741
|
|
|
@@ -2785,7 +2749,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
|
|
|
2785
2749
|
* Also see gtk_container_child_notify().
|
|
2786
2750
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2787
2751
|
*/
|
|
2788
|
-
child_notify(child_property: string
|
|
2752
|
+
child_notify(child_property: string): void
|
|
2789
2753
|
/**
|
|
2790
2754
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2791
2755
|
* [child property][child-properties] `child_property`
|
|
@@ -2796,7 +2760,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
|
|
|
2796
2760
|
* Also see gtk_container_child_notify().
|
|
2797
2761
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2798
2762
|
*/
|
|
2799
|
-
child_notify(child_property: string
|
|
2763
|
+
child_notify(child_property: string): void
|
|
2800
2764
|
|
|
2801
2765
|
// Own virtual methods of Gedit-3.0.Gedit.Window
|
|
2802
2766
|
|
|
@@ -3101,9 +3065,9 @@ export interface AppClass {
|
|
|
3101
3065
|
// Own fields of Gedit-3.0.Gedit.AppClass
|
|
3102
3066
|
|
|
3103
3067
|
parent_class: Gtk.ApplicationClass
|
|
3104
|
-
show_help: (app: App, parent: Gtk.Window, name: string
|
|
3105
|
-
help_link_id: (app: App, name: string
|
|
3106
|
-
set_window_title: (app: App, window: Window, title: string
|
|
3068
|
+
show_help: (app: App, parent: Gtk.Window, name: string, link_id: string) => boolean
|
|
3069
|
+
help_link_id: (app: App, name: string, link_id: string) => string | null
|
|
3070
|
+
set_window_title: (app: App, window: Window, title: string) => void
|
|
3107
3071
|
process_window_event: (app: App, window: Window, event: Gdk.Event) => boolean
|
|
3108
3072
|
}
|
|
3109
3073
|
|
|
@@ -3165,8 +3129,8 @@ export interface MessageBusClass {
|
|
|
3165
3129
|
|
|
3166
3130
|
parent_class: GObject.ObjectClass
|
|
3167
3131
|
dispatch: (bus: MessageBus, message: Message) => void
|
|
3168
|
-
registered: (bus: MessageBus, object_path: string
|
|
3169
|
-
unregistered: (bus: MessageBus, object_path: string
|
|
3132
|
+
registered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3133
|
+
unregistered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3170
3134
|
}
|
|
3171
3135
|
|
|
3172
3136
|
export abstract class MessageBusClass {
|
package/gedit-3.0.d.ts
CHANGED
|
@@ -157,7 +157,7 @@ function commands_save_document_finish(document: Document, result: Gio.AsyncResu
|
|
|
157
157
|
* @param line line number.
|
|
158
158
|
* @param function_ name of the function that is calling gedit_debug().
|
|
159
159
|
*/
|
|
160
|
-
function debug(section: DebugSection, file: string
|
|
160
|
+
function debug(section: DebugSection, file: string, line: number, function_: string): void
|
|
161
161
|
/**
|
|
162
162
|
* Initializes the debugging subsystem of gedit.
|
|
163
163
|
*
|
|
@@ -199,7 +199,7 @@ function debug_init(): void
|
|
|
199
199
|
* @param function_ name of the function that is calling gedit_debug_plugin_message().
|
|
200
200
|
* @param message a message.
|
|
201
201
|
*/
|
|
202
|
-
function debug_plugin_message(file: string
|
|
202
|
+
function debug_plugin_message(file: string, line: number, function_: string, message: string): void
|
|
203
203
|
function utils_basename_for_display(location: Gio.File): string | null
|
|
204
204
|
/**
|
|
205
205
|
* Create a list of valid uri's from a uri-list drop.
|
|
@@ -207,7 +207,7 @@ function utils_basename_for_display(location: Gio.File): string | null
|
|
|
207
207
|
* @returns a string array which will hold the uris or %NULL if there were no valid uris. g_strfreev should be used when the string array is no longer used
|
|
208
208
|
*/
|
|
209
209
|
function utils_drop_get_uris(selection_data: Gtk.SelectionData): string[]
|
|
210
|
-
function utils_get_compression_type_from_content_type(content_type: string
|
|
210
|
+
function utils_get_compression_type_from_content_type(content_type: string): GtkSource.CompressionType
|
|
211
211
|
function utils_is_valid_location(location: Gio.File): boolean
|
|
212
212
|
/**
|
|
213
213
|
* Returns a string suitable to be displayed in the UI indicating
|
|
@@ -219,7 +219,7 @@ function utils_is_valid_location(location: Gio.File): boolean
|
|
|
219
219
|
*/
|
|
220
220
|
function utils_location_get_dirname_for_display(location: Gio.File): string | null
|
|
221
221
|
function utils_menu_position_under_tree_view(tree_view: Gtk.TreeView, rect: Gdk.Rectangle): boolean
|
|
222
|
-
function utils_newline_type_to_string(newline_type: GtkSource.NewlineType): string
|
|
222
|
+
function utils_newline_type_to_string(newline_type: GtkSource.NewlineType): string
|
|
223
223
|
/**
|
|
224
224
|
* This function sets up name and description
|
|
225
225
|
* for a specified gtk widget.
|
|
@@ -227,10 +227,10 @@ function utils_newline_type_to_string(newline_type: GtkSource.NewlineType): stri
|
|
|
227
227
|
* @param name Atk name string
|
|
228
228
|
* @param description Atk description string
|
|
229
229
|
*/
|
|
230
|
-
function utils_set_atk_name_description(widget: Gtk.Widget, name: string
|
|
230
|
+
function utils_set_atk_name_description(widget: Gtk.Widget, name: string, description: string): void
|
|
231
231
|
function utils_set_direct_save_filename(context: Gdk.DragContext): string | null
|
|
232
232
|
interface MessageBusForeach {
|
|
233
|
-
(object_path: string
|
|
233
|
+
(object_path: string, method: string): void
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* Callback signature used for connecting callback functions to be called
|
|
@@ -286,7 +286,7 @@ interface AppActivatable {
|
|
|
286
286
|
* @param extension_point the extension point section of the menu to get.
|
|
287
287
|
* @returns a #GeditMenuExtension for the specific section or %NULL if not found.
|
|
288
288
|
*/
|
|
289
|
-
extend_menu(extension_point: string
|
|
289
|
+
extend_menu(extension_point: string): MenuExtension
|
|
290
290
|
|
|
291
291
|
// Own virtual methods of Gedit-3.0.Gedit.AppActivatable
|
|
292
292
|
|
|
@@ -527,15 +527,15 @@ interface App extends Gio.ActionGroup, Gio.ActionMap {
|
|
|
527
527
|
*/
|
|
528
528
|
get_views(): View[]
|
|
529
529
|
process_window_event(window: Window, event: Gdk.Event): boolean
|
|
530
|
-
set_window_title(window: Window, title: string
|
|
531
|
-
show_help(parent: Gtk.Window, name: string
|
|
530
|
+
set_window_title(window: Window, title: string): void
|
|
531
|
+
show_help(parent: Gtk.Window, name: string, link_id: string): boolean
|
|
532
532
|
|
|
533
533
|
// Own virtual methods of Gedit-3.0.Gedit.App
|
|
534
534
|
|
|
535
|
-
vfunc_help_link_id(name: string
|
|
535
|
+
vfunc_help_link_id(name: string, link_id: string): string | null
|
|
536
536
|
vfunc_process_window_event(window: Window, event: Gdk.Event): boolean
|
|
537
|
-
vfunc_set_window_title(window: Window, title: string
|
|
538
|
-
vfunc_show_help(parent: Gtk.Window, name: string
|
|
537
|
+
vfunc_set_window_title(window: Window, title: string): void
|
|
538
|
+
vfunc_show_help(parent: Gtk.Window, name: string, link_id: string): boolean
|
|
539
539
|
|
|
540
540
|
// Class property signals of Gedit-3.0.Gedit.App
|
|
541
541
|
|
|
@@ -640,10 +640,6 @@ module Document {
|
|
|
640
640
|
|
|
641
641
|
// Own constructor properties of Gedit-3.0.Gedit.Document
|
|
642
642
|
|
|
643
|
-
/**
|
|
644
|
-
* The document's content type.
|
|
645
|
-
*/
|
|
646
|
-
content_type?: string | null
|
|
647
643
|
/**
|
|
648
644
|
* The document's content type.
|
|
649
645
|
*/
|
|
@@ -656,21 +652,10 @@ interface Document {
|
|
|
656
652
|
|
|
657
653
|
// Own properties of Gedit-3.0.Gedit.Document
|
|
658
654
|
|
|
659
|
-
/**
|
|
660
|
-
* The document's content type.
|
|
661
|
-
*/
|
|
662
|
-
content_type: string | null
|
|
663
655
|
/**
|
|
664
656
|
* The document's content type.
|
|
665
657
|
*/
|
|
666
658
|
contentType: string | null
|
|
667
|
-
/**
|
|
668
|
-
* <warning>
|
|
669
|
-
* The property is used internally by gedit. It must not be used in a
|
|
670
|
-
* gedit plugin. The property can be modified or removed at any time.
|
|
671
|
-
* </warning>
|
|
672
|
-
*/
|
|
673
|
-
readonly empty_search: boolean
|
|
674
659
|
/**
|
|
675
660
|
* <warning>
|
|
676
661
|
* The property is used internally by gedit. It must not be used in a
|
|
@@ -678,10 +663,6 @@ interface Document {
|
|
|
678
663
|
* </warning>
|
|
679
664
|
*/
|
|
680
665
|
readonly emptySearch: boolean
|
|
681
|
-
/**
|
|
682
|
-
* The document's MIME type.
|
|
683
|
-
*/
|
|
684
|
-
readonly mime_type: string | null
|
|
685
666
|
/**
|
|
686
667
|
* The document's MIME type.
|
|
687
668
|
*/
|
|
@@ -723,7 +704,7 @@ interface Document {
|
|
|
723
704
|
* @param key name of the key
|
|
724
705
|
* @returns the value assigned to @key. Free with g_free().
|
|
725
706
|
*/
|
|
726
|
-
get_metadata(key: string
|
|
707
|
+
get_metadata(key: string): string | null
|
|
727
708
|
/**
|
|
728
709
|
* Note: this never returns %NULL.
|
|
729
710
|
*/
|
|
@@ -881,12 +862,6 @@ module EncodingsComboBox {
|
|
|
881
862
|
|
|
882
863
|
// Own constructor properties of Gedit-3.0.Gedit.EncodingsComboBox
|
|
883
864
|
|
|
884
|
-
/**
|
|
885
|
-
* Whether the combo box should be used for saving a content. If
|
|
886
|
-
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
887
|
-
* and the row "Automatically Detected" is added.
|
|
888
|
-
*/
|
|
889
|
-
save_mode?: boolean | null
|
|
890
865
|
/**
|
|
891
866
|
* Whether the combo box should be used for saving a content. If
|
|
892
867
|
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
@@ -901,12 +876,6 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
901
876
|
|
|
902
877
|
// Own properties of Gedit-3.0.Gedit.EncodingsComboBox
|
|
903
878
|
|
|
904
|
-
/**
|
|
905
|
-
* Whether the combo box should be used for saving a content. If
|
|
906
|
-
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
907
|
-
* and the row "Automatically Detected" is added.
|
|
908
|
-
*/
|
|
909
|
-
save_mode: boolean
|
|
910
879
|
/**
|
|
911
880
|
* Whether the combo box should be used for saving a content. If
|
|
912
881
|
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
@@ -939,7 +908,7 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
939
908
|
* Also see gtk_container_child_notify().
|
|
940
909
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
941
910
|
*/
|
|
942
|
-
child_notify(child_property: string
|
|
911
|
+
child_notify(child_property: string): void
|
|
943
912
|
/**
|
|
944
913
|
* Emits a #GtkWidget::child-notify signal for the
|
|
945
914
|
* [child property][child-properties]
|
|
@@ -951,7 +920,7 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
951
920
|
* @param child the child widget
|
|
952
921
|
* @param child_property the name of a child property installed on the class of `container`
|
|
953
922
|
*/
|
|
954
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
923
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
955
924
|
|
|
956
925
|
// Overloads of child_notify
|
|
957
926
|
|
|
@@ -965,7 +934,7 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
965
934
|
* Also see gtk_container_child_notify().
|
|
966
935
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
967
936
|
*/
|
|
968
|
-
child_notify(child_property: string
|
|
937
|
+
child_notify(child_property: string): void
|
|
969
938
|
|
|
970
939
|
// Class property signals of Gedit-3.0.Gedit.EncodingsComboBox
|
|
971
940
|
|
|
@@ -1260,7 +1229,6 @@ module Message {
|
|
|
1260
1229
|
* The messages method.
|
|
1261
1230
|
*/
|
|
1262
1231
|
method?: string | null
|
|
1263
|
-
object_path?: string | null
|
|
1264
1232
|
objectPath?: string | null
|
|
1265
1233
|
}
|
|
1266
1234
|
|
|
@@ -1274,7 +1242,6 @@ interface Message {
|
|
|
1274
1242
|
* The messages method.
|
|
1275
1243
|
*/
|
|
1276
1244
|
method: string | null
|
|
1277
|
-
object_path: string | null
|
|
1278
1245
|
objectPath: string | null
|
|
1279
1246
|
|
|
1280
1247
|
// Own fields of Gedit-3.0.Gedit.Message
|
|
@@ -1288,18 +1255,18 @@ interface Message {
|
|
|
1288
1255
|
* Get the message method.
|
|
1289
1256
|
* @returns the message method
|
|
1290
1257
|
*/
|
|
1291
|
-
get_method(): string
|
|
1258
|
+
get_method(): string
|
|
1292
1259
|
/**
|
|
1293
1260
|
* Get the message object path.
|
|
1294
1261
|
* @returns the message object path
|
|
1295
1262
|
*/
|
|
1296
|
-
get_object_path(): string
|
|
1263
|
+
get_object_path(): string
|
|
1297
1264
|
/**
|
|
1298
1265
|
* Check if a message has a certain property.
|
|
1299
1266
|
* @param propname the property name
|
|
1300
1267
|
* @returns %TRUE if message has @propname, %FALSE otherwise
|
|
1301
1268
|
*/
|
|
1302
|
-
has(propname: string
|
|
1269
|
+
has(propname: string): boolean
|
|
1303
1270
|
|
|
1304
1271
|
// Class property signals of Gedit-3.0.Gedit.Message
|
|
1305
1272
|
|
|
@@ -1332,8 +1299,8 @@ class Message extends GObject.Object {
|
|
|
1332
1299
|
* @returns %TRUE if @object_path is a valid object path
|
|
1333
1300
|
*/
|
|
1334
1301
|
static is_valid_object_path(object_path: string | null): boolean
|
|
1335
|
-
static type_check(gtype: GObject.GType, propname: string
|
|
1336
|
-
static type_has(gtype: GObject.GType, propname: string
|
|
1302
|
+
static type_check(gtype: GObject.GType, propname: string, value_type: GObject.GType): boolean
|
|
1303
|
+
static type_has(gtype: GObject.GType, propname: string): boolean
|
|
1337
1304
|
/**
|
|
1338
1305
|
* Get the string identifier for `method` at `object_path`.
|
|
1339
1306
|
* @param object_path the object path
|
|
@@ -1398,7 +1365,7 @@ interface MessageBus {
|
|
|
1398
1365
|
* @param method the method
|
|
1399
1366
|
* @param callback the callback to block
|
|
1400
1367
|
*/
|
|
1401
|
-
block_by_func(object_path: string
|
|
1368
|
+
block_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1402
1369
|
/**
|
|
1403
1370
|
* Connect a callback handler to be evoked when message `method` at `object_path`
|
|
1404
1371
|
* is sent over the bus.
|
|
@@ -1407,7 +1374,7 @@ interface MessageBus {
|
|
|
1407
1374
|
* @param callback function to be called when message `method` at `object_path` is sent
|
|
1408
1375
|
* @returns the callback identifier
|
|
1409
1376
|
*/
|
|
1410
|
-
connect(object_path: string
|
|
1377
|
+
connect(object_path: string, method: string, callback: MessageCallback): number
|
|
1411
1378
|
/**
|
|
1412
1379
|
* Disconnects a previously connected message callback.
|
|
1413
1380
|
* @param id the callback id as returned by gedit_message_bus_connect()
|
|
@@ -1421,7 +1388,7 @@ interface MessageBus {
|
|
|
1421
1388
|
* @param method the method
|
|
1422
1389
|
* @param callback the connected callback
|
|
1423
1390
|
*/
|
|
1424
|
-
disconnect_by_func(object_path: string
|
|
1391
|
+
disconnect_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1425
1392
|
/**
|
|
1426
1393
|
* Calls `func` for each message type registered on the bus
|
|
1427
1394
|
* @param func the callback function
|
|
@@ -1434,7 +1401,7 @@ interface MessageBus {
|
|
|
1434
1401
|
* @param method the method
|
|
1435
1402
|
* @returns %TRUE if the @method at @object_path is a registered message type on the bus
|
|
1436
1403
|
*/
|
|
1437
|
-
is_registered(object_path: string
|
|
1404
|
+
is_registered(object_path: string, method: string): boolean
|
|
1438
1405
|
/**
|
|
1439
1406
|
* Get the registered #GeditMessageType for `method` at `object_path`. The
|
|
1440
1407
|
* returned #GeditMessageType is owned by the bus and should not be unreffed.
|
|
@@ -1442,7 +1409,7 @@ interface MessageBus {
|
|
|
1442
1409
|
* @param method the method
|
|
1443
1410
|
* @returns the registered #GeditMessageType or %NULL if no message type is registered for @method at @object_path
|
|
1444
1411
|
*/
|
|
1445
|
-
lookup(object_path: string
|
|
1412
|
+
lookup(object_path: string, method: string): GObject.GType
|
|
1446
1413
|
/**
|
|
1447
1414
|
* Register a message on the bus. A message must be registered on the bus before
|
|
1448
1415
|
* it can be send. This function registers the type for `method` at
|
|
@@ -1453,7 +1420,7 @@ interface MessageBus {
|
|
|
1453
1420
|
* @param object_path the object path
|
|
1454
1421
|
* @param method the method to register
|
|
1455
1422
|
*/
|
|
1456
|
-
register(message_type: GObject.GType, object_path: string
|
|
1423
|
+
register(message_type: GObject.GType, object_path: string, method: string): void
|
|
1457
1424
|
/**
|
|
1458
1425
|
* This sends the provided `message` asynchronously over the bus. To send
|
|
1459
1426
|
* a message synchronously, use gedit_message_bus_send_message_sync(). The
|
|
@@ -1481,7 +1448,7 @@ interface MessageBus {
|
|
|
1481
1448
|
* @param method the method
|
|
1482
1449
|
* @param callback the callback to block
|
|
1483
1450
|
*/
|
|
1484
|
-
unblock_by_func(object_path: string
|
|
1451
|
+
unblock_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1485
1452
|
/**
|
|
1486
1453
|
* Unregisters a previously registered message type. This is especially useful
|
|
1487
1454
|
* for plugins which should unregister message types when they are deactivated.
|
|
@@ -1490,7 +1457,7 @@ interface MessageBus {
|
|
|
1490
1457
|
* @param object_path the object path
|
|
1491
1458
|
* @param method the method
|
|
1492
1459
|
*/
|
|
1493
|
-
unregister(object_path: string
|
|
1460
|
+
unregister(object_path: string, method: string): void
|
|
1494
1461
|
/**
|
|
1495
1462
|
* Unregisters all message types for `object_path`. This is especially useful for
|
|
1496
1463
|
* plugins which should unregister message types when they are deactivated.
|
|
@@ -1499,13 +1466,13 @@ interface MessageBus {
|
|
|
1499
1466
|
* unregistered message types.
|
|
1500
1467
|
* @param object_path the object path
|
|
1501
1468
|
*/
|
|
1502
|
-
unregister_all(object_path: string
|
|
1469
|
+
unregister_all(object_path: string): void
|
|
1503
1470
|
|
|
1504
1471
|
// Own virtual methods of Gedit-3.0.Gedit.MessageBus
|
|
1505
1472
|
|
|
1506
1473
|
vfunc_dispatch(message: Message): void
|
|
1507
|
-
vfunc_registered(object_path: string
|
|
1508
|
-
vfunc_unregistered(object_path: string
|
|
1474
|
+
vfunc_registered(object_path: string, method: string): void
|
|
1475
|
+
vfunc_unregistered(object_path: string, method: string): void
|
|
1509
1476
|
|
|
1510
1477
|
// Own signals of Gedit-3.0.Gedit.MessageBus
|
|
1511
1478
|
|
|
@@ -1631,7 +1598,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1631
1598
|
* @param child the child widget
|
|
1632
1599
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1633
1600
|
*/
|
|
1634
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1601
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1635
1602
|
|
|
1636
1603
|
// Overloads of child_notify
|
|
1637
1604
|
|
|
@@ -1645,7 +1612,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1645
1612
|
* Also see gtk_container_child_notify().
|
|
1646
1613
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1647
1614
|
*/
|
|
1648
|
-
child_notify(child_property: string
|
|
1615
|
+
child_notify(child_property: string): void
|
|
1649
1616
|
/**
|
|
1650
1617
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1651
1618
|
* [child property][child-properties] `child_property`
|
|
@@ -1656,7 +1623,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1656
1623
|
* Also see gtk_container_child_notify().
|
|
1657
1624
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1658
1625
|
*/
|
|
1659
|
-
child_notify(child_property: string
|
|
1626
|
+
child_notify(child_property: string): void
|
|
1660
1627
|
|
|
1661
1628
|
// Class property signals of Gedit-3.0.Gedit.Statusbar
|
|
1662
1629
|
|
|
@@ -1865,7 +1832,6 @@ module Tab {
|
|
|
1865
1832
|
// Own constructor properties of Gedit-3.0.Gedit.Tab
|
|
1866
1833
|
|
|
1867
1834
|
autosave?: boolean | null
|
|
1868
|
-
autosave_interval?: number | null
|
|
1869
1835
|
autosaveInterval?: number | null
|
|
1870
1836
|
}
|
|
1871
1837
|
|
|
@@ -1876,9 +1842,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1876
1842
|
// Own properties of Gedit-3.0.Gedit.Tab
|
|
1877
1843
|
|
|
1878
1844
|
autosave: boolean
|
|
1879
|
-
autosave_interval: number
|
|
1880
1845
|
autosaveInterval: number
|
|
1881
|
-
readonly can_close: boolean
|
|
1882
1846
|
readonly canClose: boolean
|
|
1883
1847
|
readonly name: any
|
|
1884
1848
|
readonly state: TabState
|
|
@@ -1944,7 +1908,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1944
1908
|
* @param child the child widget
|
|
1945
1909
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1946
1910
|
*/
|
|
1947
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1911
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1948
1912
|
|
|
1949
1913
|
// Overloads of child_notify
|
|
1950
1914
|
|
|
@@ -1958,7 +1922,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1958
1922
|
* Also see gtk_container_child_notify().
|
|
1959
1923
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1960
1924
|
*/
|
|
1961
|
-
child_notify(child_property: string
|
|
1925
|
+
child_notify(child_property: string): void
|
|
1962
1926
|
/**
|
|
1963
1927
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1964
1928
|
* [child property][child-properties] `child_property`
|
|
@@ -1969,7 +1933,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1969
1933
|
* Also see gtk_container_child_notify().
|
|
1970
1934
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1971
1935
|
*/
|
|
1972
|
-
child_notify(child_property: string
|
|
1936
|
+
child_notify(child_property: string): void
|
|
1973
1937
|
|
|
1974
1938
|
// Own signals of Gedit-3.0.Gedit.Tab
|
|
1975
1939
|
|
|
@@ -2217,7 +2181,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2217
2181
|
* @param child the child widget
|
|
2218
2182
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2219
2183
|
*/
|
|
2220
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2184
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2221
2185
|
|
|
2222
2186
|
// Overloads of child_notify
|
|
2223
2187
|
|
|
@@ -2231,7 +2195,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2231
2195
|
* Also see gtk_container_child_notify().
|
|
2232
2196
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2233
2197
|
*/
|
|
2234
|
-
child_notify(child_property: string
|
|
2198
|
+
child_notify(child_property: string): void
|
|
2235
2199
|
/**
|
|
2236
2200
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2237
2201
|
* [child property][child-properties] `child_property`
|
|
@@ -2242,7 +2206,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2242
2206
|
* Also see gtk_container_child_notify().
|
|
2243
2207
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2244
2208
|
*/
|
|
2245
|
-
child_notify(child_property: string
|
|
2209
|
+
child_notify(child_property: string): void
|
|
2246
2210
|
|
|
2247
2211
|
// Own virtual methods of Gedit-3.0.Gedit.View
|
|
2248
2212
|
|
|
@@ -2773,7 +2737,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
|
|
|
2773
2737
|
* @param child the child widget
|
|
2774
2738
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2775
2739
|
*/
|
|
2776
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2740
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2777
2741
|
|
|
2778
2742
|
// Overloads of child_notify
|
|
2779
2743
|
|
|
@@ -2787,7 +2751,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
|
|
|
2787
2751
|
* Also see gtk_container_child_notify().
|
|
2788
2752
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2789
2753
|
*/
|
|
2790
|
-
child_notify(child_property: string
|
|
2754
|
+
child_notify(child_property: string): void
|
|
2791
2755
|
/**
|
|
2792
2756
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2793
2757
|
* [child property][child-properties] `child_property`
|
|
@@ -2798,7 +2762,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
|
|
|
2798
2762
|
* Also see gtk_container_child_notify().
|
|
2799
2763
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2800
2764
|
*/
|
|
2801
|
-
child_notify(child_property: string
|
|
2765
|
+
child_notify(child_property: string): void
|
|
2802
2766
|
|
|
2803
2767
|
// Own virtual methods of Gedit-3.0.Gedit.Window
|
|
2804
2768
|
|
|
@@ -3103,9 +3067,9 @@ interface AppClass {
|
|
|
3103
3067
|
// Own fields of Gedit-3.0.Gedit.AppClass
|
|
3104
3068
|
|
|
3105
3069
|
parent_class: Gtk.ApplicationClass
|
|
3106
|
-
show_help: (app: App, parent: Gtk.Window, name: string
|
|
3107
|
-
help_link_id: (app: App, name: string
|
|
3108
|
-
set_window_title: (app: App, window: Window, title: string
|
|
3070
|
+
show_help: (app: App, parent: Gtk.Window, name: string, link_id: string) => boolean
|
|
3071
|
+
help_link_id: (app: App, name: string, link_id: string) => string | null
|
|
3072
|
+
set_window_title: (app: App, window: Window, title: string) => void
|
|
3109
3073
|
process_window_event: (app: App, window: Window, event: Gdk.Event) => boolean
|
|
3110
3074
|
}
|
|
3111
3075
|
|
|
@@ -3167,8 +3131,8 @@ interface MessageBusClass {
|
|
|
3167
3131
|
|
|
3168
3132
|
parent_class: GObject.ObjectClass
|
|
3169
3133
|
dispatch: (bus: MessageBus, message: Message) => void
|
|
3170
|
-
registered: (bus: MessageBus, object_path: string
|
|
3171
|
-
unregistered: (bus: MessageBus, object_path: string
|
|
3134
|
+
registered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3135
|
+
unregistered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3172
3136
|
}
|
|
3173
3137
|
|
|
3174
3138
|
abstract class MessageBusClass {
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gedit-3.0",
|
|
3
|
-
"version": "3.0.0-3.2.
|
|
3
|
+
"version": "3.0.0-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gedit-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gedit-3.0.js",
|
|
7
7
|
"main": "gedit-3.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./gedit-3.0-ambient.d.ts",
|
|
11
|
+
"default": "./gedit-3.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./gedit-3.0-import.d.ts",
|
|
15
|
+
"default": "./gedit-3.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./gedit-3.0.d.ts",
|
|
@@ -25,21 +31,21 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gedit-3.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^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.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.
|
|
38
|
-
"@girs/gtk-3.0": "^3.24.
|
|
39
|
-
"@girs/gtksource-4": "^4.0.0-3.2.
|
|
40
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
34
|
+
"@girs/atk-1.0": "^2.45.1-3.2.8",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
36
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
37
|
+
"@girs/gdk-3.0": "^3.24.39-3.2.8",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
39
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
40
|
+
"@girs/gjs": "^3.2.8",
|
|
41
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
43
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
44
|
+
"@girs/gtk-3.0": "^3.24.39-3.2.8",
|
|
45
|
+
"@girs/gtksource-4": "^4.0.0-3.2.8",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
47
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.8"
|
|
43
49
|
},
|
|
44
50
|
"devDependencies": {
|
|
45
51
|
"typescript": "*"
|
|
@@ -56,7 +62,7 @@
|
|
|
56
62
|
"license": "MIT",
|
|
57
63
|
"repository": {
|
|
58
64
|
"type": "git",
|
|
59
|
-
"url": "git+https://github.com/gjsify/
|
|
65
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
60
66
|
},
|
|
61
67
|
"bugs": {
|
|
62
68
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|