@girs/gedit-3.0 3.0.0-3.2.5 → 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/gedit-3.0.d.cts +85 -49
- package/gedit-3.0.d.ts +85 -49
- package/package.json +16 -16
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.7.
|
|
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
|
|
|
@@ -642,6 +642,10 @@ export module Document {
|
|
|
642
642
|
* The document's content type.
|
|
643
643
|
*/
|
|
644
644
|
content_type?: string | null
|
|
645
|
+
/**
|
|
646
|
+
* The document's content type.
|
|
647
|
+
*/
|
|
648
|
+
contentType?: string | null
|
|
645
649
|
}
|
|
646
650
|
|
|
647
651
|
}
|
|
@@ -654,6 +658,10 @@ export interface Document {
|
|
|
654
658
|
* The document's content type.
|
|
655
659
|
*/
|
|
656
660
|
content_type: string | null
|
|
661
|
+
/**
|
|
662
|
+
* The document's content type.
|
|
663
|
+
*/
|
|
664
|
+
contentType: string | null
|
|
657
665
|
/**
|
|
658
666
|
* <warning>
|
|
659
667
|
* The property is used internally by gedit. It must not be used in a
|
|
@@ -661,10 +669,21 @@ export interface Document {
|
|
|
661
669
|
* </warning>
|
|
662
670
|
*/
|
|
663
671
|
readonly empty_search: boolean
|
|
672
|
+
/**
|
|
673
|
+
* <warning>
|
|
674
|
+
* The property is used internally by gedit. It must not be used in a
|
|
675
|
+
* gedit plugin. The property can be modified or removed at any time.
|
|
676
|
+
* </warning>
|
|
677
|
+
*/
|
|
678
|
+
readonly emptySearch: boolean
|
|
664
679
|
/**
|
|
665
680
|
* The document's MIME type.
|
|
666
681
|
*/
|
|
667
682
|
readonly mime_type: string | null
|
|
683
|
+
/**
|
|
684
|
+
* The document's MIME type.
|
|
685
|
+
*/
|
|
686
|
+
readonly mimeType: string | null
|
|
668
687
|
|
|
669
688
|
// Conflicting properties
|
|
670
689
|
|
|
@@ -702,7 +721,7 @@ export interface Document {
|
|
|
702
721
|
* @param key name of the key
|
|
703
722
|
* @returns the value assigned to @key. Free with g_free().
|
|
704
723
|
*/
|
|
705
|
-
get_metadata(key: string
|
|
724
|
+
get_metadata(key: string): string | null
|
|
706
725
|
/**
|
|
707
726
|
* Note: this never returns %NULL.
|
|
708
727
|
*/
|
|
@@ -866,6 +885,12 @@ export module EncodingsComboBox {
|
|
|
866
885
|
* and the row "Automatically Detected" is added.
|
|
867
886
|
*/
|
|
868
887
|
save_mode?: boolean | null
|
|
888
|
+
/**
|
|
889
|
+
* Whether the combo box should be used for saving a content. If
|
|
890
|
+
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
891
|
+
* and the row "Automatically Detected" is added.
|
|
892
|
+
*/
|
|
893
|
+
saveMode?: boolean | null
|
|
869
894
|
}
|
|
870
895
|
|
|
871
896
|
}
|
|
@@ -880,6 +905,12 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
880
905
|
* and the row "Automatically Detected" is added.
|
|
881
906
|
*/
|
|
882
907
|
save_mode: boolean
|
|
908
|
+
/**
|
|
909
|
+
* Whether the combo box should be used for saving a content. If
|
|
910
|
+
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
911
|
+
* and the row "Automatically Detected" is added.
|
|
912
|
+
*/
|
|
913
|
+
saveMode: boolean
|
|
883
914
|
|
|
884
915
|
// Conflicting properties
|
|
885
916
|
|
|
@@ -906,7 +937,7 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
906
937
|
* Also see gtk_container_child_notify().
|
|
907
938
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
908
939
|
*/
|
|
909
|
-
child_notify(child_property: string
|
|
940
|
+
child_notify(child_property: string): void
|
|
910
941
|
/**
|
|
911
942
|
* Emits a #GtkWidget::child-notify signal for the
|
|
912
943
|
* [child property][child-properties]
|
|
@@ -918,7 +949,7 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
918
949
|
* @param child the child widget
|
|
919
950
|
* @param child_property the name of a child property installed on the class of `container`
|
|
920
951
|
*/
|
|
921
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
952
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
922
953
|
|
|
923
954
|
// Overloads of child_notify
|
|
924
955
|
|
|
@@ -932,7 +963,7 @@ export interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable,
|
|
|
932
963
|
* Also see gtk_container_child_notify().
|
|
933
964
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
934
965
|
*/
|
|
935
|
-
child_notify(child_property: string
|
|
966
|
+
child_notify(child_property: string): void
|
|
936
967
|
|
|
937
968
|
// Class property signals of Gedit-3.0.Gedit.EncodingsComboBox
|
|
938
969
|
|
|
@@ -1228,6 +1259,7 @@ export module Message {
|
|
|
1228
1259
|
*/
|
|
1229
1260
|
method?: string | null
|
|
1230
1261
|
object_path?: string | null
|
|
1262
|
+
objectPath?: string | null
|
|
1231
1263
|
}
|
|
1232
1264
|
|
|
1233
1265
|
}
|
|
@@ -1241,6 +1273,7 @@ export interface Message {
|
|
|
1241
1273
|
*/
|
|
1242
1274
|
method: string | null
|
|
1243
1275
|
object_path: string | null
|
|
1276
|
+
objectPath: string | null
|
|
1244
1277
|
|
|
1245
1278
|
// Own fields of Gedit-3.0.Gedit.Message
|
|
1246
1279
|
|
|
@@ -1253,18 +1286,18 @@ export interface Message {
|
|
|
1253
1286
|
* Get the message method.
|
|
1254
1287
|
* @returns the message method
|
|
1255
1288
|
*/
|
|
1256
|
-
get_method(): string
|
|
1289
|
+
get_method(): string
|
|
1257
1290
|
/**
|
|
1258
1291
|
* Get the message object path.
|
|
1259
1292
|
* @returns the message object path
|
|
1260
1293
|
*/
|
|
1261
|
-
get_object_path(): string
|
|
1294
|
+
get_object_path(): string
|
|
1262
1295
|
/**
|
|
1263
1296
|
* Check if a message has a certain property.
|
|
1264
1297
|
* @param propname the property name
|
|
1265
1298
|
* @returns %TRUE if message has @propname, %FALSE otherwise
|
|
1266
1299
|
*/
|
|
1267
|
-
has(propname: string
|
|
1300
|
+
has(propname: string): boolean
|
|
1268
1301
|
|
|
1269
1302
|
// Class property signals of Gedit-3.0.Gedit.Message
|
|
1270
1303
|
|
|
@@ -1297,8 +1330,8 @@ export class Message extends GObject.Object {
|
|
|
1297
1330
|
* @returns %TRUE if @object_path is a valid object path
|
|
1298
1331
|
*/
|
|
1299
1332
|
static is_valid_object_path(object_path: string | null): boolean
|
|
1300
|
-
static type_check(gtype: GObject.GType, propname: string
|
|
1301
|
-
static type_has(gtype: GObject.GType, propname: string
|
|
1333
|
+
static type_check(gtype: GObject.GType, propname: string, value_type: GObject.GType): boolean
|
|
1334
|
+
static type_has(gtype: GObject.GType, propname: string): boolean
|
|
1302
1335
|
/**
|
|
1303
1336
|
* Get the string identifier for `method` at `object_path`.
|
|
1304
1337
|
* @param object_path the object path
|
|
@@ -1363,7 +1396,7 @@ export interface MessageBus {
|
|
|
1363
1396
|
* @param method the method
|
|
1364
1397
|
* @param callback the callback to block
|
|
1365
1398
|
*/
|
|
1366
|
-
block_by_func(object_path: string
|
|
1399
|
+
block_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1367
1400
|
/**
|
|
1368
1401
|
* Connect a callback handler to be evoked when message `method` at `object_path`
|
|
1369
1402
|
* is sent over the bus.
|
|
@@ -1372,7 +1405,7 @@ export interface MessageBus {
|
|
|
1372
1405
|
* @param callback function to be called when message `method` at `object_path` is sent
|
|
1373
1406
|
* @returns the callback identifier
|
|
1374
1407
|
*/
|
|
1375
|
-
connect(object_path: string
|
|
1408
|
+
connect(object_path: string, method: string, callback: MessageCallback): number
|
|
1376
1409
|
/**
|
|
1377
1410
|
* Disconnects a previously connected message callback.
|
|
1378
1411
|
* @param id the callback id as returned by gedit_message_bus_connect()
|
|
@@ -1386,7 +1419,7 @@ export interface MessageBus {
|
|
|
1386
1419
|
* @param method the method
|
|
1387
1420
|
* @param callback the connected callback
|
|
1388
1421
|
*/
|
|
1389
|
-
disconnect_by_func(object_path: string
|
|
1422
|
+
disconnect_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1390
1423
|
/**
|
|
1391
1424
|
* Calls `func` for each message type registered on the bus
|
|
1392
1425
|
* @param func the callback function
|
|
@@ -1399,7 +1432,7 @@ export interface MessageBus {
|
|
|
1399
1432
|
* @param method the method
|
|
1400
1433
|
* @returns %TRUE if the @method at @object_path is a registered message type on the bus
|
|
1401
1434
|
*/
|
|
1402
|
-
is_registered(object_path: string
|
|
1435
|
+
is_registered(object_path: string, method: string): boolean
|
|
1403
1436
|
/**
|
|
1404
1437
|
* Get the registered #GeditMessageType for `method` at `object_path`. The
|
|
1405
1438
|
* returned #GeditMessageType is owned by the bus and should not be unreffed.
|
|
@@ -1407,7 +1440,7 @@ export interface MessageBus {
|
|
|
1407
1440
|
* @param method the method
|
|
1408
1441
|
* @returns the registered #GeditMessageType or %NULL if no message type is registered for @method at @object_path
|
|
1409
1442
|
*/
|
|
1410
|
-
lookup(object_path: string
|
|
1443
|
+
lookup(object_path: string, method: string): GObject.GType
|
|
1411
1444
|
/**
|
|
1412
1445
|
* Register a message on the bus. A message must be registered on the bus before
|
|
1413
1446
|
* it can be send. This function registers the type for `method` at
|
|
@@ -1418,7 +1451,7 @@ export interface MessageBus {
|
|
|
1418
1451
|
* @param object_path the object path
|
|
1419
1452
|
* @param method the method to register
|
|
1420
1453
|
*/
|
|
1421
|
-
register(message_type: GObject.GType, object_path: string
|
|
1454
|
+
register(message_type: GObject.GType, object_path: string, method: string): void
|
|
1422
1455
|
/**
|
|
1423
1456
|
* This sends the provided `message` asynchronously over the bus. To send
|
|
1424
1457
|
* a message synchronously, use gedit_message_bus_send_message_sync(). The
|
|
@@ -1446,7 +1479,7 @@ export interface MessageBus {
|
|
|
1446
1479
|
* @param method the method
|
|
1447
1480
|
* @param callback the callback to block
|
|
1448
1481
|
*/
|
|
1449
|
-
unblock_by_func(object_path: string
|
|
1482
|
+
unblock_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1450
1483
|
/**
|
|
1451
1484
|
* Unregisters a previously registered message type. This is especially useful
|
|
1452
1485
|
* for plugins which should unregister message types when they are deactivated.
|
|
@@ -1455,7 +1488,7 @@ export interface MessageBus {
|
|
|
1455
1488
|
* @param object_path the object path
|
|
1456
1489
|
* @param method the method
|
|
1457
1490
|
*/
|
|
1458
|
-
unregister(object_path: string
|
|
1491
|
+
unregister(object_path: string, method: string): void
|
|
1459
1492
|
/**
|
|
1460
1493
|
* Unregisters all message types for `object_path`. This is especially useful for
|
|
1461
1494
|
* plugins which should unregister message types when they are deactivated.
|
|
@@ -1464,13 +1497,13 @@ export interface MessageBus {
|
|
|
1464
1497
|
* unregistered message types.
|
|
1465
1498
|
* @param object_path the object path
|
|
1466
1499
|
*/
|
|
1467
|
-
unregister_all(object_path: string
|
|
1500
|
+
unregister_all(object_path: string): void
|
|
1468
1501
|
|
|
1469
1502
|
// Own virtual methods of Gedit-3.0.Gedit.MessageBus
|
|
1470
1503
|
|
|
1471
1504
|
vfunc_dispatch(message: Message): void
|
|
1472
|
-
vfunc_registered(object_path: string
|
|
1473
|
-
vfunc_unregistered(object_path: string
|
|
1505
|
+
vfunc_registered(object_path: string, method: string): void
|
|
1506
|
+
vfunc_unregistered(object_path: string, method: string): void
|
|
1474
1507
|
|
|
1475
1508
|
// Own signals of Gedit-3.0.Gedit.MessageBus
|
|
1476
1509
|
|
|
@@ -1596,7 +1629,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
1596
1629
|
* @param child the child widget
|
|
1597
1630
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1598
1631
|
*/
|
|
1599
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1632
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1600
1633
|
|
|
1601
1634
|
// Overloads of child_notify
|
|
1602
1635
|
|
|
@@ -1610,7 +1643,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
1610
1643
|
* Also see gtk_container_child_notify().
|
|
1611
1644
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1612
1645
|
*/
|
|
1613
|
-
child_notify(child_property: string
|
|
1646
|
+
child_notify(child_property: string): void
|
|
1614
1647
|
/**
|
|
1615
1648
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1616
1649
|
* [child property][child-properties] `child_property`
|
|
@@ -1621,7 +1654,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
|
|
|
1621
1654
|
* Also see gtk_container_child_notify().
|
|
1622
1655
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1623
1656
|
*/
|
|
1624
|
-
child_notify(child_property: string
|
|
1657
|
+
child_notify(child_property: string): void
|
|
1625
1658
|
|
|
1626
1659
|
// Class property signals of Gedit-3.0.Gedit.Statusbar
|
|
1627
1660
|
|
|
@@ -1831,6 +1864,7 @@ export module Tab {
|
|
|
1831
1864
|
|
|
1832
1865
|
autosave?: boolean | null
|
|
1833
1866
|
autosave_interval?: number | null
|
|
1867
|
+
autosaveInterval?: number | null
|
|
1834
1868
|
}
|
|
1835
1869
|
|
|
1836
1870
|
}
|
|
@@ -1841,7 +1875,9 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1841
1875
|
|
|
1842
1876
|
autosave: boolean
|
|
1843
1877
|
autosave_interval: number
|
|
1878
|
+
autosaveInterval: number
|
|
1844
1879
|
readonly can_close: boolean
|
|
1880
|
+
readonly canClose: boolean
|
|
1845
1881
|
readonly name: any
|
|
1846
1882
|
readonly state: TabState
|
|
1847
1883
|
|
|
@@ -1906,7 +1942,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1906
1942
|
* @param child the child widget
|
|
1907
1943
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1908
1944
|
*/
|
|
1909
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1945
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1910
1946
|
|
|
1911
1947
|
// Overloads of child_notify
|
|
1912
1948
|
|
|
@@ -1920,7 +1956,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1920
1956
|
* Also see gtk_container_child_notify().
|
|
1921
1957
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1922
1958
|
*/
|
|
1923
|
-
child_notify(child_property: string
|
|
1959
|
+
child_notify(child_property: string): void
|
|
1924
1960
|
/**
|
|
1925
1961
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1926
1962
|
* [child property][child-properties] `child_property`
|
|
@@ -1931,7 +1967,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1931
1967
|
* Also see gtk_container_child_notify().
|
|
1932
1968
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1933
1969
|
*/
|
|
1934
|
-
child_notify(child_property: string
|
|
1970
|
+
child_notify(child_property: string): void
|
|
1935
1971
|
|
|
1936
1972
|
// Own signals of Gedit-3.0.Gedit.Tab
|
|
1937
1973
|
|
|
@@ -2179,7 +2215,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2179
2215
|
* @param child the child widget
|
|
2180
2216
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2181
2217
|
*/
|
|
2182
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2218
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2183
2219
|
|
|
2184
2220
|
// Overloads of child_notify
|
|
2185
2221
|
|
|
@@ -2193,7 +2229,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2193
2229
|
* Also see gtk_container_child_notify().
|
|
2194
2230
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2195
2231
|
*/
|
|
2196
|
-
child_notify(child_property: string
|
|
2232
|
+
child_notify(child_property: string): void
|
|
2197
2233
|
/**
|
|
2198
2234
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2199
2235
|
* [child property][child-properties] `child_property`
|
|
@@ -2204,7 +2240,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2204
2240
|
* Also see gtk_container_child_notify().
|
|
2205
2241
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2206
2242
|
*/
|
|
2207
|
-
child_notify(child_property: string
|
|
2243
|
+
child_notify(child_property: string): void
|
|
2208
2244
|
|
|
2209
2245
|
// Own virtual methods of Gedit-3.0.Gedit.View
|
|
2210
2246
|
|
|
@@ -2735,7 +2771,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
|
|
|
2735
2771
|
* @param child the child widget
|
|
2736
2772
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2737
2773
|
*/
|
|
2738
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2774
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2739
2775
|
|
|
2740
2776
|
// Overloads of child_notify
|
|
2741
2777
|
|
|
@@ -2749,7 +2785,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
|
|
|
2749
2785
|
* Also see gtk_container_child_notify().
|
|
2750
2786
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2751
2787
|
*/
|
|
2752
|
-
child_notify(child_property: string
|
|
2788
|
+
child_notify(child_property: string): void
|
|
2753
2789
|
/**
|
|
2754
2790
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2755
2791
|
* [child property][child-properties] `child_property`
|
|
@@ -2760,7 +2796,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
|
|
|
2760
2796
|
* Also see gtk_container_child_notify().
|
|
2761
2797
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2762
2798
|
*/
|
|
2763
|
-
child_notify(child_property: string
|
|
2799
|
+
child_notify(child_property: string): void
|
|
2764
2800
|
|
|
2765
2801
|
// Own virtual methods of Gedit-3.0.Gedit.Window
|
|
2766
2802
|
|
|
@@ -3065,9 +3101,9 @@ export interface AppClass {
|
|
|
3065
3101
|
// Own fields of Gedit-3.0.Gedit.AppClass
|
|
3066
3102
|
|
|
3067
3103
|
parent_class: Gtk.ApplicationClass
|
|
3068
|
-
show_help: (app: App, parent: Gtk.Window, name: string
|
|
3069
|
-
help_link_id: (app: App, name: string
|
|
3070
|
-
set_window_title: (app: App, window: Window, title: string
|
|
3104
|
+
show_help: (app: App, parent: Gtk.Window, name: string, link_id: string) => boolean
|
|
3105
|
+
help_link_id: (app: App, name: string, link_id: string) => string | null
|
|
3106
|
+
set_window_title: (app: App, window: Window, title: string) => void
|
|
3071
3107
|
process_window_event: (app: App, window: Window, event: Gdk.Event) => boolean
|
|
3072
3108
|
}
|
|
3073
3109
|
|
|
@@ -3129,8 +3165,8 @@ export interface MessageBusClass {
|
|
|
3129
3165
|
|
|
3130
3166
|
parent_class: GObject.ObjectClass
|
|
3131
3167
|
dispatch: (bus: MessageBus, message: Message) => void
|
|
3132
|
-
registered: (bus: MessageBus, object_path: string
|
|
3133
|
-
unregistered: (bus: MessageBus, object_path: string
|
|
3168
|
+
registered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3169
|
+
unregistered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3134
3170
|
}
|
|
3135
3171
|
|
|
3136
3172
|
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
|
|
|
@@ -644,6 +644,10 @@ module Document {
|
|
|
644
644
|
* The document's content type.
|
|
645
645
|
*/
|
|
646
646
|
content_type?: string | null
|
|
647
|
+
/**
|
|
648
|
+
* The document's content type.
|
|
649
|
+
*/
|
|
650
|
+
contentType?: string | null
|
|
647
651
|
}
|
|
648
652
|
|
|
649
653
|
}
|
|
@@ -656,6 +660,10 @@ interface Document {
|
|
|
656
660
|
* The document's content type.
|
|
657
661
|
*/
|
|
658
662
|
content_type: string | null
|
|
663
|
+
/**
|
|
664
|
+
* The document's content type.
|
|
665
|
+
*/
|
|
666
|
+
contentType: string | null
|
|
659
667
|
/**
|
|
660
668
|
* <warning>
|
|
661
669
|
* The property is used internally by gedit. It must not be used in a
|
|
@@ -663,10 +671,21 @@ interface Document {
|
|
|
663
671
|
* </warning>
|
|
664
672
|
*/
|
|
665
673
|
readonly empty_search: boolean
|
|
674
|
+
/**
|
|
675
|
+
* <warning>
|
|
676
|
+
* The property is used internally by gedit. It must not be used in a
|
|
677
|
+
* gedit plugin. The property can be modified or removed at any time.
|
|
678
|
+
* </warning>
|
|
679
|
+
*/
|
|
680
|
+
readonly emptySearch: boolean
|
|
666
681
|
/**
|
|
667
682
|
* The document's MIME type.
|
|
668
683
|
*/
|
|
669
684
|
readonly mime_type: string | null
|
|
685
|
+
/**
|
|
686
|
+
* The document's MIME type.
|
|
687
|
+
*/
|
|
688
|
+
readonly mimeType: string | null
|
|
670
689
|
|
|
671
690
|
// Conflicting properties
|
|
672
691
|
|
|
@@ -704,7 +723,7 @@ interface Document {
|
|
|
704
723
|
* @param key name of the key
|
|
705
724
|
* @returns the value assigned to @key. Free with g_free().
|
|
706
725
|
*/
|
|
707
|
-
get_metadata(key: string
|
|
726
|
+
get_metadata(key: string): string | null
|
|
708
727
|
/**
|
|
709
728
|
* Note: this never returns %NULL.
|
|
710
729
|
*/
|
|
@@ -868,6 +887,12 @@ module EncodingsComboBox {
|
|
|
868
887
|
* and the row "Automatically Detected" is added.
|
|
869
888
|
*/
|
|
870
889
|
save_mode?: boolean | null
|
|
890
|
+
/**
|
|
891
|
+
* Whether the combo box should be used for saving a content. If
|
|
892
|
+
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
893
|
+
* and the row "Automatically Detected" is added.
|
|
894
|
+
*/
|
|
895
|
+
saveMode?: boolean | null
|
|
871
896
|
}
|
|
872
897
|
|
|
873
898
|
}
|
|
@@ -882,6 +907,12 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
882
907
|
* and the row "Automatically Detected" is added.
|
|
883
908
|
*/
|
|
884
909
|
save_mode: boolean
|
|
910
|
+
/**
|
|
911
|
+
* Whether the combo box should be used for saving a content. If
|
|
912
|
+
* %FALSE, the combo box is used for loading a content (e.g. a file)
|
|
913
|
+
* and the row "Automatically Detected" is added.
|
|
914
|
+
*/
|
|
915
|
+
saveMode: boolean
|
|
885
916
|
|
|
886
917
|
// Conflicting properties
|
|
887
918
|
|
|
@@ -908,7 +939,7 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
908
939
|
* Also see gtk_container_child_notify().
|
|
909
940
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
910
941
|
*/
|
|
911
|
-
child_notify(child_property: string
|
|
942
|
+
child_notify(child_property: string): void
|
|
912
943
|
/**
|
|
913
944
|
* Emits a #GtkWidget::child-notify signal for the
|
|
914
945
|
* [child property][child-properties]
|
|
@@ -920,7 +951,7 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
920
951
|
* @param child the child widget
|
|
921
952
|
* @param child_property the name of a child property installed on the class of `container`
|
|
922
953
|
*/
|
|
923
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
954
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
924
955
|
|
|
925
956
|
// Overloads of child_notify
|
|
926
957
|
|
|
@@ -934,7 +965,7 @@ interface EncodingsComboBox extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cel
|
|
|
934
965
|
* Also see gtk_container_child_notify().
|
|
935
966
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
936
967
|
*/
|
|
937
|
-
child_notify(child_property: string
|
|
968
|
+
child_notify(child_property: string): void
|
|
938
969
|
|
|
939
970
|
// Class property signals of Gedit-3.0.Gedit.EncodingsComboBox
|
|
940
971
|
|
|
@@ -1230,6 +1261,7 @@ module Message {
|
|
|
1230
1261
|
*/
|
|
1231
1262
|
method?: string | null
|
|
1232
1263
|
object_path?: string | null
|
|
1264
|
+
objectPath?: string | null
|
|
1233
1265
|
}
|
|
1234
1266
|
|
|
1235
1267
|
}
|
|
@@ -1243,6 +1275,7 @@ interface Message {
|
|
|
1243
1275
|
*/
|
|
1244
1276
|
method: string | null
|
|
1245
1277
|
object_path: string | null
|
|
1278
|
+
objectPath: string | null
|
|
1246
1279
|
|
|
1247
1280
|
// Own fields of Gedit-3.0.Gedit.Message
|
|
1248
1281
|
|
|
@@ -1255,18 +1288,18 @@ interface Message {
|
|
|
1255
1288
|
* Get the message method.
|
|
1256
1289
|
* @returns the message method
|
|
1257
1290
|
*/
|
|
1258
|
-
get_method(): string
|
|
1291
|
+
get_method(): string
|
|
1259
1292
|
/**
|
|
1260
1293
|
* Get the message object path.
|
|
1261
1294
|
* @returns the message object path
|
|
1262
1295
|
*/
|
|
1263
|
-
get_object_path(): string
|
|
1296
|
+
get_object_path(): string
|
|
1264
1297
|
/**
|
|
1265
1298
|
* Check if a message has a certain property.
|
|
1266
1299
|
* @param propname the property name
|
|
1267
1300
|
* @returns %TRUE if message has @propname, %FALSE otherwise
|
|
1268
1301
|
*/
|
|
1269
|
-
has(propname: string
|
|
1302
|
+
has(propname: string): boolean
|
|
1270
1303
|
|
|
1271
1304
|
// Class property signals of Gedit-3.0.Gedit.Message
|
|
1272
1305
|
|
|
@@ -1299,8 +1332,8 @@ class Message extends GObject.Object {
|
|
|
1299
1332
|
* @returns %TRUE if @object_path is a valid object path
|
|
1300
1333
|
*/
|
|
1301
1334
|
static is_valid_object_path(object_path: string | null): boolean
|
|
1302
|
-
static type_check(gtype: GObject.GType, propname: string
|
|
1303
|
-
static type_has(gtype: GObject.GType, propname: string
|
|
1335
|
+
static type_check(gtype: GObject.GType, propname: string, value_type: GObject.GType): boolean
|
|
1336
|
+
static type_has(gtype: GObject.GType, propname: string): boolean
|
|
1304
1337
|
/**
|
|
1305
1338
|
* Get the string identifier for `method` at `object_path`.
|
|
1306
1339
|
* @param object_path the object path
|
|
@@ -1365,7 +1398,7 @@ interface MessageBus {
|
|
|
1365
1398
|
* @param method the method
|
|
1366
1399
|
* @param callback the callback to block
|
|
1367
1400
|
*/
|
|
1368
|
-
block_by_func(object_path: string
|
|
1401
|
+
block_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1369
1402
|
/**
|
|
1370
1403
|
* Connect a callback handler to be evoked when message `method` at `object_path`
|
|
1371
1404
|
* is sent over the bus.
|
|
@@ -1374,7 +1407,7 @@ interface MessageBus {
|
|
|
1374
1407
|
* @param callback function to be called when message `method` at `object_path` is sent
|
|
1375
1408
|
* @returns the callback identifier
|
|
1376
1409
|
*/
|
|
1377
|
-
connect(object_path: string
|
|
1410
|
+
connect(object_path: string, method: string, callback: MessageCallback): number
|
|
1378
1411
|
/**
|
|
1379
1412
|
* Disconnects a previously connected message callback.
|
|
1380
1413
|
* @param id the callback id as returned by gedit_message_bus_connect()
|
|
@@ -1388,7 +1421,7 @@ interface MessageBus {
|
|
|
1388
1421
|
* @param method the method
|
|
1389
1422
|
* @param callback the connected callback
|
|
1390
1423
|
*/
|
|
1391
|
-
disconnect_by_func(object_path: string
|
|
1424
|
+
disconnect_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1392
1425
|
/**
|
|
1393
1426
|
* Calls `func` for each message type registered on the bus
|
|
1394
1427
|
* @param func the callback function
|
|
@@ -1401,7 +1434,7 @@ interface MessageBus {
|
|
|
1401
1434
|
* @param method the method
|
|
1402
1435
|
* @returns %TRUE if the @method at @object_path is a registered message type on the bus
|
|
1403
1436
|
*/
|
|
1404
|
-
is_registered(object_path: string
|
|
1437
|
+
is_registered(object_path: string, method: string): boolean
|
|
1405
1438
|
/**
|
|
1406
1439
|
* Get the registered #GeditMessageType for `method` at `object_path`. The
|
|
1407
1440
|
* returned #GeditMessageType is owned by the bus and should not be unreffed.
|
|
@@ -1409,7 +1442,7 @@ interface MessageBus {
|
|
|
1409
1442
|
* @param method the method
|
|
1410
1443
|
* @returns the registered #GeditMessageType or %NULL if no message type is registered for @method at @object_path
|
|
1411
1444
|
*/
|
|
1412
|
-
lookup(object_path: string
|
|
1445
|
+
lookup(object_path: string, method: string): GObject.GType
|
|
1413
1446
|
/**
|
|
1414
1447
|
* Register a message on the bus. A message must be registered on the bus before
|
|
1415
1448
|
* it can be send. This function registers the type for `method` at
|
|
@@ -1420,7 +1453,7 @@ interface MessageBus {
|
|
|
1420
1453
|
* @param object_path the object path
|
|
1421
1454
|
* @param method the method to register
|
|
1422
1455
|
*/
|
|
1423
|
-
register(message_type: GObject.GType, object_path: string
|
|
1456
|
+
register(message_type: GObject.GType, object_path: string, method: string): void
|
|
1424
1457
|
/**
|
|
1425
1458
|
* This sends the provided `message` asynchronously over the bus. To send
|
|
1426
1459
|
* a message synchronously, use gedit_message_bus_send_message_sync(). The
|
|
@@ -1448,7 +1481,7 @@ interface MessageBus {
|
|
|
1448
1481
|
* @param method the method
|
|
1449
1482
|
* @param callback the callback to block
|
|
1450
1483
|
*/
|
|
1451
|
-
unblock_by_func(object_path: string
|
|
1484
|
+
unblock_by_func(object_path: string, method: string, callback: MessageCallback): void
|
|
1452
1485
|
/**
|
|
1453
1486
|
* Unregisters a previously registered message type. This is especially useful
|
|
1454
1487
|
* for plugins which should unregister message types when they are deactivated.
|
|
@@ -1457,7 +1490,7 @@ interface MessageBus {
|
|
|
1457
1490
|
* @param object_path the object path
|
|
1458
1491
|
* @param method the method
|
|
1459
1492
|
*/
|
|
1460
|
-
unregister(object_path: string
|
|
1493
|
+
unregister(object_path: string, method: string): void
|
|
1461
1494
|
/**
|
|
1462
1495
|
* Unregisters all message types for `object_path`. This is especially useful for
|
|
1463
1496
|
* plugins which should unregister message types when they are deactivated.
|
|
@@ -1466,13 +1499,13 @@ interface MessageBus {
|
|
|
1466
1499
|
* unregistered message types.
|
|
1467
1500
|
* @param object_path the object path
|
|
1468
1501
|
*/
|
|
1469
|
-
unregister_all(object_path: string
|
|
1502
|
+
unregister_all(object_path: string): void
|
|
1470
1503
|
|
|
1471
1504
|
// Own virtual methods of Gedit-3.0.Gedit.MessageBus
|
|
1472
1505
|
|
|
1473
1506
|
vfunc_dispatch(message: Message): void
|
|
1474
|
-
vfunc_registered(object_path: string
|
|
1475
|
-
vfunc_unregistered(object_path: string
|
|
1507
|
+
vfunc_registered(object_path: string, method: string): void
|
|
1508
|
+
vfunc_unregistered(object_path: string, method: string): void
|
|
1476
1509
|
|
|
1477
1510
|
// Own signals of Gedit-3.0.Gedit.MessageBus
|
|
1478
1511
|
|
|
@@ -1598,7 +1631,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1598
1631
|
* @param child the child widget
|
|
1599
1632
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1600
1633
|
*/
|
|
1601
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1634
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1602
1635
|
|
|
1603
1636
|
// Overloads of child_notify
|
|
1604
1637
|
|
|
@@ -1612,7 +1645,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1612
1645
|
* Also see gtk_container_child_notify().
|
|
1613
1646
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1614
1647
|
*/
|
|
1615
|
-
child_notify(child_property: string
|
|
1648
|
+
child_notify(child_property: string): void
|
|
1616
1649
|
/**
|
|
1617
1650
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1618
1651
|
* [child property][child-properties] `child_property`
|
|
@@ -1623,7 +1656,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
1623
1656
|
* Also see gtk_container_child_notify().
|
|
1624
1657
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1625
1658
|
*/
|
|
1626
|
-
child_notify(child_property: string
|
|
1659
|
+
child_notify(child_property: string): void
|
|
1627
1660
|
|
|
1628
1661
|
// Class property signals of Gedit-3.0.Gedit.Statusbar
|
|
1629
1662
|
|
|
@@ -1833,6 +1866,7 @@ module Tab {
|
|
|
1833
1866
|
|
|
1834
1867
|
autosave?: boolean | null
|
|
1835
1868
|
autosave_interval?: number | null
|
|
1869
|
+
autosaveInterval?: number | null
|
|
1836
1870
|
}
|
|
1837
1871
|
|
|
1838
1872
|
}
|
|
@@ -1843,7 +1877,9 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1843
1877
|
|
|
1844
1878
|
autosave: boolean
|
|
1845
1879
|
autosave_interval: number
|
|
1880
|
+
autosaveInterval: number
|
|
1846
1881
|
readonly can_close: boolean
|
|
1882
|
+
readonly canClose: boolean
|
|
1847
1883
|
readonly name: any
|
|
1848
1884
|
readonly state: TabState
|
|
1849
1885
|
|
|
@@ -1908,7 +1944,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1908
1944
|
* @param child the child widget
|
|
1909
1945
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1910
1946
|
*/
|
|
1911
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1947
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1912
1948
|
|
|
1913
1949
|
// Overloads of child_notify
|
|
1914
1950
|
|
|
@@ -1922,7 +1958,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1922
1958
|
* Also see gtk_container_child_notify().
|
|
1923
1959
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1924
1960
|
*/
|
|
1925
|
-
child_notify(child_property: string
|
|
1961
|
+
child_notify(child_property: string): void
|
|
1926
1962
|
/**
|
|
1927
1963
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1928
1964
|
* [child property][child-properties] `child_property`
|
|
@@ -1933,7 +1969,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1933
1969
|
* Also see gtk_container_child_notify().
|
|
1934
1970
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1935
1971
|
*/
|
|
1936
|
-
child_notify(child_property: string
|
|
1972
|
+
child_notify(child_property: string): void
|
|
1937
1973
|
|
|
1938
1974
|
// Own signals of Gedit-3.0.Gedit.Tab
|
|
1939
1975
|
|
|
@@ -2181,7 +2217,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2181
2217
|
* @param child the child widget
|
|
2182
2218
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2183
2219
|
*/
|
|
2184
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2220
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2185
2221
|
|
|
2186
2222
|
// Overloads of child_notify
|
|
2187
2223
|
|
|
@@ -2195,7 +2231,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2195
2231
|
* Also see gtk_container_child_notify().
|
|
2196
2232
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2197
2233
|
*/
|
|
2198
|
-
child_notify(child_property: string
|
|
2234
|
+
child_notify(child_property: string): void
|
|
2199
2235
|
/**
|
|
2200
2236
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2201
2237
|
* [child property][child-properties] `child_property`
|
|
@@ -2206,7 +2242,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2206
2242
|
* Also see gtk_container_child_notify().
|
|
2207
2243
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2208
2244
|
*/
|
|
2209
|
-
child_notify(child_property: string
|
|
2245
|
+
child_notify(child_property: string): void
|
|
2210
2246
|
|
|
2211
2247
|
// Own virtual methods of Gedit-3.0.Gedit.View
|
|
2212
2248
|
|
|
@@ -2737,7 +2773,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
|
|
|
2737
2773
|
* @param child the child widget
|
|
2738
2774
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2739
2775
|
*/
|
|
2740
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2776
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2741
2777
|
|
|
2742
2778
|
// Overloads of child_notify
|
|
2743
2779
|
|
|
@@ -2751,7 +2787,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
|
|
|
2751
2787
|
* Also see gtk_container_child_notify().
|
|
2752
2788
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2753
2789
|
*/
|
|
2754
|
-
child_notify(child_property: string
|
|
2790
|
+
child_notify(child_property: string): void
|
|
2755
2791
|
/**
|
|
2756
2792
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2757
2793
|
* [child property][child-properties] `child_property`
|
|
@@ -2762,7 +2798,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
|
|
|
2762
2798
|
* Also see gtk_container_child_notify().
|
|
2763
2799
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2764
2800
|
*/
|
|
2765
|
-
child_notify(child_property: string
|
|
2801
|
+
child_notify(child_property: string): void
|
|
2766
2802
|
|
|
2767
2803
|
// Own virtual methods of Gedit-3.0.Gedit.Window
|
|
2768
2804
|
|
|
@@ -3067,9 +3103,9 @@ interface AppClass {
|
|
|
3067
3103
|
// Own fields of Gedit-3.0.Gedit.AppClass
|
|
3068
3104
|
|
|
3069
3105
|
parent_class: Gtk.ApplicationClass
|
|
3070
|
-
show_help: (app: App, parent: Gtk.Window, name: string
|
|
3071
|
-
help_link_id: (app: App, name: string
|
|
3072
|
-
set_window_title: (app: App, window: Window, title: string
|
|
3106
|
+
show_help: (app: App, parent: Gtk.Window, name: string, link_id: string) => boolean
|
|
3107
|
+
help_link_id: (app: App, name: string, link_id: string) => string | null
|
|
3108
|
+
set_window_title: (app: App, window: Window, title: string) => void
|
|
3073
3109
|
process_window_event: (app: App, window: Window, event: Gdk.Event) => boolean
|
|
3074
3110
|
}
|
|
3075
3111
|
|
|
@@ -3131,8 +3167,8 @@ interface MessageBusClass {
|
|
|
3131
3167
|
|
|
3132
3168
|
parent_class: GObject.ObjectClass
|
|
3133
3169
|
dispatch: (bus: MessageBus, message: Message) => void
|
|
3134
|
-
registered: (bus: MessageBus, object_path: string
|
|
3135
|
-
unregistered: (bus: MessageBus, object_path: string
|
|
3170
|
+
registered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3171
|
+
unregistered: (bus: MessageBus, object_path: string, method: string) => void
|
|
3136
3172
|
}
|
|
3137
3173
|
|
|
3138
3174
|
abstract class MessageBusClass {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gedit-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 Gedit-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gedit-3.0.js",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gedit-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/gtksource-4": "^4.0.0-3.2.
|
|
40
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@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/gtksource-4": "^4.0.0-3.2.7",
|
|
40
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
41
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
42
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "*"
|