@girs/gtksource-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.
@@ -414,7 +414,7 @@ function encoding_get_default_candidates(): Encoding[]
414
414
  * @param charset a character set.
415
415
  * @returns the corresponding #GtkSourceEncoding, or %NULL if not found.
416
416
  */
417
- function encoding_get_from_charset(charset: string | null): Encoding | null
417
+ function encoding_get_from_charset(charset: string): Encoding | null
418
418
  function encoding_get_utf8(): Encoding
419
419
  function file_loader_error_quark(): GLib.Quark
420
420
  function file_saver_error_quark(): GLib.Quark
@@ -438,7 +438,7 @@ function file_saver_error_quark(): GLib.Quark
438
438
  * @param text the text to escape.
439
439
  * @returns the escaped @text.
440
440
  */
441
- function utils_escape_search_text(text: string | null): string | null
441
+ function utils_escape_search_text(text: string): string | null
442
442
  /**
443
443
  * Use this function before gtk_source_search_settings_set_search_text(), to
444
444
  * unescape the following sequences of characters: `\n`, `\r`, `\t` and `\\`.
@@ -451,7 +451,7 @@ function utils_escape_search_text(text: string | null): string | null
451
451
  * @param text the text to unescape.
452
452
  * @returns the unescaped @text.
453
453
  */
454
- function utils_unescape_search_text(text: string | null): string | null
454
+ function utils_unescape_search_text(text: string): string | null
455
455
  module CompletionProposal {
456
456
 
457
457
  // Signal callback interfaces
@@ -955,12 +955,6 @@ module StyleSchemeChooser {
955
955
 
956
956
  // Own constructor properties of GtkSource-3.0.GtkSource.StyleSchemeChooser
957
957
 
958
- /**
959
- * The :style-scheme property contains the currently selected style
960
- * scheme. The property can be set to change
961
- * the current selection programmatically.
962
- */
963
- style_scheme?: StyleScheme | null
964
958
  /**
965
959
  * The :style-scheme property contains the currently selected style
966
960
  * scheme. The property can be set to change
@@ -975,12 +969,6 @@ interface StyleSchemeChooser {
975
969
 
976
970
  // Own properties of GtkSource-3.0.GtkSource.StyleSchemeChooser
977
971
 
978
- /**
979
- * The :style-scheme property contains the currently selected style
980
- * scheme. The property can be set to change
981
- * the current selection programmatically.
982
- */
983
- style_scheme: StyleScheme
984
972
  /**
985
973
  * The :style-scheme property contains the currently selected style
986
974
  * scheme. The property can be set to change
@@ -1238,32 +1226,6 @@ module Buffer {
1238
1226
 
1239
1227
  // Own constructor properties of GtkSource-3.0.GtkSource.Buffer
1240
1228
 
1241
- /**
1242
- * Whether to highlight matching brackets in the buffer.
1243
- */
1244
- highlight_matching_brackets?: boolean | null
1245
- /**
1246
- * Whether to highlight syntax in the buffer.
1247
- */
1248
- highlight_syntax?: boolean | null
1249
- /**
1250
- * Whether the buffer has an implicit trailing newline. See
1251
- * gtk_source_buffer_set_implicit_trailing_newline().
1252
- */
1253
- implicit_trailing_newline?: boolean | null
1254
- language?: Language | null
1255
- /**
1256
- * Number of undo levels for the buffer. -1 means no limit. This property
1257
- * will only affect the default undo manager.
1258
- */
1259
- max_undo_levels?: number | null
1260
- /**
1261
- * Style scheme. It contains styles for syntax highlighting, optionally
1262
- * foreground, background, cursor color, current line color, and matching
1263
- * brackets style.
1264
- */
1265
- style_scheme?: StyleScheme | null
1266
- undo_manager?: UndoManager | null
1267
1229
  /**
1268
1230
  * Whether to highlight matching brackets in the buffer.
1269
1231
  */
@@ -1277,6 +1239,7 @@ module Buffer {
1277
1239
  * gtk_source_buffer_set_implicit_trailing_newline().
1278
1240
  */
1279
1241
  implicitTrailingNewline?: boolean | null
1242
+ language?: Language | null
1280
1243
  /**
1281
1244
  * Number of undo levels for the buffer. -1 means no limit. This property
1282
1245
  * will only affect the default undo manager.
@@ -1297,60 +1260,33 @@ interface Buffer {
1297
1260
 
1298
1261
  // Own properties of GtkSource-3.0.GtkSource.Buffer
1299
1262
 
1300
- readonly can_redo: boolean
1301
1263
  readonly canRedo: boolean
1302
- readonly can_undo: boolean
1303
1264
  readonly canUndo: boolean
1304
- /**
1305
- * Whether to highlight matching brackets in the buffer.
1306
- */
1307
- highlight_matching_brackets: boolean
1308
1265
  /**
1309
1266
  * Whether to highlight matching brackets in the buffer.
1310
1267
  */
1311
1268
  highlightMatchingBrackets: boolean
1312
- /**
1313
- * Whether to highlight syntax in the buffer.
1314
- */
1315
- highlight_syntax: boolean
1316
1269
  /**
1317
1270
  * Whether to highlight syntax in the buffer.
1318
1271
  */
1319
1272
  highlightSyntax: boolean
1320
- /**
1321
- * Whether the buffer has an implicit trailing newline. See
1322
- * gtk_source_buffer_set_implicit_trailing_newline().
1323
- */
1324
- implicit_trailing_newline: boolean
1325
1273
  /**
1326
1274
  * Whether the buffer has an implicit trailing newline. See
1327
1275
  * gtk_source_buffer_set_implicit_trailing_newline().
1328
1276
  */
1329
1277
  implicitTrailingNewline: boolean
1330
1278
  language: Language
1331
- /**
1332
- * Number of undo levels for the buffer. -1 means no limit. This property
1333
- * will only affect the default undo manager.
1334
- */
1335
- max_undo_levels: number
1336
1279
  /**
1337
1280
  * Number of undo levels for the buffer. -1 means no limit. This property
1338
1281
  * will only affect the default undo manager.
1339
1282
  */
1340
1283
  maxUndoLevels: number
1341
- /**
1342
- * Style scheme. It contains styles for syntax highlighting, optionally
1343
- * foreground, background, cursor color, current line color, and matching
1344
- * brackets style.
1345
- */
1346
- style_scheme: StyleScheme
1347
1284
  /**
1348
1285
  * Style scheme. It contains styles for syntax highlighting, optionally
1349
1286
  * foreground, background, cursor color, current line color, and matching
1350
1287
  * brackets style.
1351
1288
  */
1352
1289
  styleScheme: StyleScheme
1353
- undo_manager: UndoManager
1354
1290
  undoManager: UndoManager
1355
1291
 
1356
1292
  // Own fields of GtkSource-3.0.GtkSource.Buffer
@@ -1368,7 +1304,7 @@ interface Buffer {
1368
1304
  * @param category category to search for, or %NULL
1369
1305
  * @returns whether @iter was moved.
1370
1306
  */
1371
- backward_iter_to_source_mark(iter: Gtk.TextIter, category: string | null): boolean
1307
+ backward_iter_to_source_mark(iter: Gtk.TextIter, category: string | null): [ /* returnType */ boolean, /* iter */ Gtk.TextIter ]
1372
1308
  /**
1373
1309
  * Marks the beginning of a not undoable action on the buffer,
1374
1310
  * disabling the undo manager. Typically you would call this function
@@ -1379,6 +1315,17 @@ interface Buffer {
1379
1315
  * gtk_source_buffer_end_not_undoable_action() blocks.
1380
1316
  */
1381
1317
  begin_not_undoable_action(): void
1318
+ /**
1319
+ * Determines whether a source buffer can redo the last action
1320
+ * (i.e. if the last operation was an undo).
1321
+ * @returns %TRUE if a redo is possible.
1322
+ */
1323
+ can_redo(): boolean
1324
+ /**
1325
+ * Determines whether a source buffer can undo the last action.
1326
+ * @returns %TRUE if it's possible to undo the last action.
1327
+ */
1328
+ can_undo(): boolean
1382
1329
  /**
1383
1330
  * Changes the case of the text between the specified iterators.
1384
1331
  * @param case_type how to change the case.
@@ -1405,7 +1352,7 @@ interface Buffer {
1405
1352
  * @param where location to place the mark.
1406
1353
  * @returns a new #GtkSourceMark, owned by the buffer.
1407
1354
  */
1408
- create_source_mark(name: string | null, category: string | null, where: Gtk.TextIter): Mark
1355
+ create_source_mark(name: string | null, category: string, where: Gtk.TextIter): Mark
1409
1356
  /**
1410
1357
  * Marks the end of a not undoable action on the buffer. When the
1411
1358
  * last not undoable block is closed through the call to this
@@ -1435,7 +1382,7 @@ interface Buffer {
1435
1382
  * @param category category to search for, or %NULL
1436
1383
  * @returns whether @iter was moved.
1437
1384
  */
1438
- forward_iter_to_source_mark(iter: Gtk.TextIter, category: string | null): boolean
1385
+ forward_iter_to_source_mark(iter: Gtk.TextIter, category: string | null): [ /* returnType */ boolean, /* iter */ Gtk.TextIter ]
1439
1386
  /**
1440
1387
  * Get all defined context classes at `iter`.
1441
1388
  *
@@ -1511,7 +1458,7 @@ interface Buffer {
1511
1458
  * @param context_class the context class.
1512
1459
  * @returns whether we found a context class toggle before @iter
1513
1460
  */
1514
- iter_backward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string | null): boolean
1461
+ iter_backward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string): [ /* returnType */ boolean, /* iter */ Gtk.TextIter ]
1515
1462
  /**
1516
1463
  * Moves forward to the next toggle (on or off) of the context class. If no
1517
1464
  * matching context class toggles are found, returns %FALSE, otherwise %TRUE.
@@ -1524,7 +1471,7 @@ interface Buffer {
1524
1471
  * @param context_class the context class.
1525
1472
  * @returns whether we found a context class toggle after @iter
1526
1473
  */
1527
- iter_forward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string | null): boolean
1474
+ iter_forward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string): [ /* returnType */ boolean, /* iter */ Gtk.TextIter ]
1528
1475
  /**
1529
1476
  * Check if the class `context_class` is set on `iter`.
1530
1477
  *
@@ -1533,7 +1480,7 @@ interface Buffer {
1533
1480
  * @param context_class class to search for.
1534
1481
  * @returns whether @iter has the context class.
1535
1482
  */
1536
- iter_has_context_class(iter: Gtk.TextIter, context_class: string | null): boolean
1483
+ iter_has_context_class(iter: Gtk.TextIter, context_class: string): boolean
1537
1484
  /**
1538
1485
  * Joins the lines of text between the specified iterators.
1539
1486
  * @param start a #GtkTextIter.
@@ -1854,52 +1801,6 @@ module Completion {
1854
1801
  * <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo>.
1855
1802
  */
1856
1803
  accelerators?: number | null
1857
- /**
1858
- * Determines the popup delay (in milliseconds) at which the completion
1859
- * will be shown for interactive completion.
1860
- */
1861
- auto_complete_delay?: number | null
1862
- /**
1863
- * The scroll page size of the proposals in the completion window. In
1864
- * other words, when <keycap>PageDown</keycap> or
1865
- * <keycap>PageUp</keycap> is pressed, the selected
1866
- * proposal becomes the one which is located one page size backward or
1867
- * forward.
1868
- *
1869
- * See also the #GtkSourceCompletion::move-cursor signal.
1870
- */
1871
- proposal_page_size?: number | null
1872
- /**
1873
- * The scroll page size of the provider pages in the completion window.
1874
- *
1875
- * See the #GtkSourceCompletion::move-page signal.
1876
- */
1877
- provider_page_size?: number | null
1878
- /**
1879
- * Determines whether the visibility of the info window should be
1880
- * saved when the completion is hidden, and restored when the completion
1881
- * is shown again.
1882
- */
1883
- remember_info_visibility?: boolean | null
1884
- /**
1885
- * Determines whether the first proposal should be selected when the
1886
- * completion is first shown.
1887
- */
1888
- select_on_show?: boolean | null
1889
- /**
1890
- * Determines whether provider headers should be shown in the proposal
1891
- * list. It can be useful to disable when there is only one provider.
1892
- */
1893
- show_headers?: boolean | null
1894
- /**
1895
- * Determines whether provider and proposal icons should be shown in
1896
- * the completion popup.
1897
- */
1898
- show_icons?: boolean | null
1899
- /**
1900
- * The #GtkSourceView bound to the completion object.
1901
- */
1902
- view?: View | null
1903
1804
  /**
1904
1805
  * Determines the popup delay (in milliseconds) at which the completion
1905
1806
  * will be shown for interactive completion.
@@ -1942,6 +1843,10 @@ module Completion {
1942
1843
  * the completion popup.
1943
1844
  */
1944
1845
  showIcons?: boolean | null
1846
+ /**
1847
+ * The #GtkSourceView bound to the completion object.
1848
+ */
1849
+ view?: View | null
1945
1850
  }
1946
1851
 
1947
1852
  }
@@ -1956,26 +1861,11 @@ interface Completion extends Gtk.Buildable {
1956
1861
  * <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo>.
1957
1862
  */
1958
1863
  accelerators: number
1959
- /**
1960
- * Determines the popup delay (in milliseconds) at which the completion
1961
- * will be shown for interactive completion.
1962
- */
1963
- auto_complete_delay: number
1964
1864
  /**
1965
1865
  * Determines the popup delay (in milliseconds) at which the completion
1966
1866
  * will be shown for interactive completion.
1967
1867
  */
1968
1868
  autoCompleteDelay: number
1969
- /**
1970
- * The scroll page size of the proposals in the completion window. In
1971
- * other words, when <keycap>PageDown</keycap> or
1972
- * <keycap>PageUp</keycap> is pressed, the selected
1973
- * proposal becomes the one which is located one page size backward or
1974
- * forward.
1975
- *
1976
- * See also the #GtkSourceCompletion::move-cursor signal.
1977
- */
1978
- proposal_page_size: number
1979
1869
  /**
1980
1870
  * The scroll page size of the proposals in the completion window. In
1981
1871
  * other words, when <keycap>PageDown</keycap> or
@@ -1986,55 +1876,28 @@ interface Completion extends Gtk.Buildable {
1986
1876
  * See also the #GtkSourceCompletion::move-cursor signal.
1987
1877
  */
1988
1878
  proposalPageSize: number
1989
- /**
1990
- * The scroll page size of the provider pages in the completion window.
1991
- *
1992
- * See the #GtkSourceCompletion::move-page signal.
1993
- */
1994
- provider_page_size: number
1995
1879
  /**
1996
1880
  * The scroll page size of the provider pages in the completion window.
1997
1881
  *
1998
1882
  * See the #GtkSourceCompletion::move-page signal.
1999
1883
  */
2000
1884
  providerPageSize: number
2001
- /**
2002
- * Determines whether the visibility of the info window should be
2003
- * saved when the completion is hidden, and restored when the completion
2004
- * is shown again.
2005
- */
2006
- remember_info_visibility: boolean
2007
1885
  /**
2008
1886
  * Determines whether the visibility of the info window should be
2009
1887
  * saved when the completion is hidden, and restored when the completion
2010
1888
  * is shown again.
2011
1889
  */
2012
1890
  rememberInfoVisibility: boolean
2013
- /**
2014
- * Determines whether the first proposal should be selected when the
2015
- * completion is first shown.
2016
- */
2017
- select_on_show: boolean
2018
1891
  /**
2019
1892
  * Determines whether the first proposal should be selected when the
2020
1893
  * completion is first shown.
2021
1894
  */
2022
1895
  selectOnShow: boolean
2023
- /**
2024
- * Determines whether provider headers should be shown in the proposal
2025
- * list. It can be useful to disable when there is only one provider.
2026
- */
2027
- show_headers: boolean
2028
1896
  /**
2029
1897
  * Determines whether provider headers should be shown in the proposal
2030
1898
  * list. It can be useful to disable when there is only one provider.
2031
1899
  */
2032
1900
  showHeaders: boolean
2033
- /**
2034
- * Determines whether provider and proposal icons should be shown in
2035
- * the completion popup.
2036
- */
2037
- show_icons: boolean
2038
1901
  /**
2039
1902
  * Determines whether provider and proposal icons should be shown in
2040
1903
  * the completion popup.
@@ -2424,7 +2287,7 @@ interface CompletionInfo extends Atk.ImplementorIface, Gtk.Buildable {
2424
2287
  * @param child the child widget
2425
2288
  * @param child_property the name of a child property installed on the class of `container`
2426
2289
  */
2427
- child_notify(child: Gtk.Widget, child_property: string | null): void
2290
+ child_notify(child: Gtk.Widget, child_property: string): void
2428
2291
 
2429
2292
  // Overloads of child_notify
2430
2293
 
@@ -2438,7 +2301,7 @@ interface CompletionInfo extends Atk.ImplementorIface, Gtk.Buildable {
2438
2301
  * Also see gtk_container_child_notify().
2439
2302
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2440
2303
  */
2441
- child_notify(child_property: string | null): void
2304
+ child_notify(child_property: string): void
2442
2305
  /**
2443
2306
  * Emits a #GtkWidget::child-notify signal for the
2444
2307
  * [child property][child-properties] `child_property`
@@ -2449,7 +2312,7 @@ interface CompletionInfo extends Atk.ImplementorIface, Gtk.Buildable {
2449
2312
  * Also see gtk_container_child_notify().
2450
2313
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2451
2314
  */
2452
- child_notify(child_property: string | null): void
2315
+ child_notify(child_property: string): void
2453
2316
 
2454
2317
  // Own virtual methods of GtkSource-3.0.GtkSource.CompletionInfo
2455
2318
 
@@ -2757,7 +2620,7 @@ module CompletionItem {
2757
2620
  /**
2758
2621
  * The icon name for the icon to be shown for this proposal.
2759
2622
  */
2760
- icon_name?: string | null
2623
+ iconName?: string | null
2761
2624
  /**
2762
2625
  * Optional extra information to be shown for this proposal.
2763
2626
  */
@@ -2774,10 +2637,6 @@ module CompletionItem {
2774
2637
  * Proposal text.
2775
2638
  */
2776
2639
  text?: string | null
2777
- /**
2778
- * The icon name for the icon to be shown for this proposal.
2779
- */
2780
- iconName?: string | null
2781
2640
  }
2782
2641
 
2783
2642
  }
@@ -2794,10 +2653,6 @@ interface CompletionItem extends CompletionProposal {
2794
2653
  * The #GdkPixbuf for the icon to be shown for this proposal.
2795
2654
  */
2796
2655
  icon: GdkPixbuf.Pixbuf
2797
- /**
2798
- * The icon name for the icon to be shown for this proposal.
2799
- */
2800
- icon_name: string | null
2801
2656
  /**
2802
2657
  * The icon name for the icon to be shown for this proposal.
2803
2658
  */
@@ -2884,7 +2739,7 @@ class CompletionItem extends GObject.Object {
2884
2739
  * @param info The item extra information.
2885
2740
  * @returns a new #GtkSourceCompletionItem.
2886
2741
  */
2887
- constructor(label: string | null, text: string | null, icon: GdkPixbuf.Pixbuf | null, info: string | null)
2742
+ constructor(label: string, text: string, icon: GdkPixbuf.Pixbuf | null, info: string | null)
2888
2743
  /**
2889
2744
  * Create a new #GtkSourceCompletionItem with label `label,` icon `icon` and
2890
2745
  * extra information `info`. Both `icon` and `info` can be %NULL in which case
@@ -2896,7 +2751,7 @@ class CompletionItem extends GObject.Object {
2896
2751
  * @param info The item extra information.
2897
2752
  * @returns a new #GtkSourceCompletionItem.
2898
2753
  */
2899
- static new(label: string | null, text: string | null, icon: GdkPixbuf.Pixbuf | null, info: string | null): CompletionItem
2754
+ static new(label: string, text: string, icon: GdkPixbuf.Pixbuf | null, info: string | null): CompletionItem
2900
2755
  /**
2901
2756
  * Creates a new #GtkSourceCompletionItem from a stock item. If `label` is %NULL,
2902
2757
  * the stock label will be used.
@@ -2907,7 +2762,7 @@ class CompletionItem extends GObject.Object {
2907
2762
  * @param info The item extra information.
2908
2763
  * @returns a new #GtkSourceCompletionItem.
2909
2764
  */
2910
- static new_from_stock(label: string | null, text: string | null, stock: string | null, info: string | null): CompletionItem
2765
+ static new_from_stock(label: string | null, text: string, stock: string, info: string | null): CompletionItem
2911
2766
  /**
2912
2767
  * Create a new #GtkSourceCompletionItem with markup label `markup,` icon
2913
2768
  * `icon` and extra information `info`. Both `icon` and `info` can be %NULL in
@@ -2919,7 +2774,7 @@ class CompletionItem extends GObject.Object {
2919
2774
  * @param info The item extra information.
2920
2775
  * @returns a new #GtkSourceCompletionItem.
2921
2776
  */
2922
- static new_with_markup(markup: string | null, text: string | null, icon: GdkPixbuf.Pixbuf | null, info: string | null): CompletionItem
2777
+ static new_with_markup(markup: string, text: string, icon: GdkPixbuf.Pixbuf | null, info: string | null): CompletionItem
2923
2778
  _init(config?: CompletionItem.ConstructorProperties): void
2924
2779
  /**
2925
2780
  * Creates a new #GtkSourceCompletionItem. The desired properties need to be set
@@ -2942,14 +2797,10 @@ module CompletionWords {
2942
2797
  */
2943
2798
  activation?: CompletionActivation | null
2944
2799
  icon?: GdkPixbuf.Pixbuf | null
2945
- interactive_delay?: number | null
2946
- minimum_word_size?: number | null
2947
- name?: string | null
2948
- priority?: number | null
2949
- proposals_batch_size?: number | null
2950
- scan_batch_size?: number | null
2951
2800
  interactiveDelay?: number | null
2952
2801
  minimumWordSize?: number | null
2802
+ name?: string | null
2803
+ priority?: number | null
2953
2804
  proposalsBatchSize?: number | null
2954
2805
  scanBatchSize?: number | null
2955
2806
  }
@@ -2965,15 +2816,11 @@ interface CompletionWords extends CompletionProvider {
2965
2816
  */
2966
2817
  activation: CompletionActivation
2967
2818
  icon: GdkPixbuf.Pixbuf
2968
- interactive_delay: number
2969
2819
  interactiveDelay: number
2970
- minimum_word_size: number
2971
2820
  minimumWordSize: number
2972
2821
  name: string | null
2973
2822
  priority: number
2974
- proposals_batch_size: number
2975
2823
  proposalsBatchSize: number
2976
- scan_batch_size: number
2977
2824
  scanBatchSize: number
2978
2825
 
2979
2826
  // Own fields of GtkSource-3.0.GtkSource.CompletionWords
@@ -3061,10 +2908,6 @@ interface File {
3061
2908
 
3062
2909
  // Own properties of GtkSource-3.0.GtkSource.File
3063
2910
 
3064
- /**
3065
- * The compression type.
3066
- */
3067
- readonly compression_type: CompressionType
3068
2911
  /**
3069
2912
  * The compression type.
3070
2913
  */
@@ -3078,19 +2921,10 @@ interface File {
3078
2921
  * The location.
3079
2922
  */
3080
2923
  location: Gio.File
3081
- /**
3082
- * The line ending type.
3083
- */
3084
- readonly newline_type: NewlineType
3085
2924
  /**
3086
2925
  * The line ending type.
3087
2926
  */
3088
2927
  readonly newlineType: NewlineType
3089
- /**
3090
- * Whether the file is read-only or not. The value of this property is
3091
- * not updated automatically (there is no file monitors).
3092
- */
3093
- readonly read_only: boolean
3094
2928
  /**
3095
2929
  * Whether the file is read-only or not. The value of this property is
3096
2930
  * not updated automatically (there is no file monitors).
@@ -3224,18 +3058,13 @@ module FileLoader {
3224
3058
  * The #GInputStream to load. Useful for reading stdin. If this property
3225
3059
  * is set, the #GtkSourceFileLoader:location property is ignored.
3226
3060
  */
3227
- input_stream?: Gio.InputStream | null
3061
+ inputStream?: Gio.InputStream | null
3228
3062
  /**
3229
3063
  * The #GFile to load. If the #GtkSourceFileLoader:input-stream is
3230
3064
  * %NULL, by default the location is taken from the #GtkSourceFile at
3231
3065
  * construction time.
3232
3066
  */
3233
3067
  location?: Gio.File | null
3234
- /**
3235
- * The #GInputStream to load. Useful for reading stdin. If this property
3236
- * is set, the #GtkSourceFileLoader:location property is ignored.
3237
- */
3238
- inputStream?: Gio.InputStream | null
3239
3068
  }
3240
3069
 
3241
3070
  }
@@ -3254,11 +3083,6 @@ interface FileLoader {
3254
3083
  * reference to the file.
3255
3084
  */
3256
3085
  readonly file: File
3257
- /**
3258
- * The #GInputStream to load. Useful for reading stdin. If this property
3259
- * is set, the #GtkSourceFileLoader:location property is ignored.
3260
- */
3261
- readonly input_stream: Gio.InputStream
3262
3086
  /**
3263
3087
  * The #GInputStream to load. Useful for reading stdin. If this property
3264
3088
  * is set, the #GtkSourceFileLoader:location property is ignored.
@@ -3418,7 +3242,7 @@ module FileSaver {
3418
3242
  /**
3419
3243
  * The compression type.
3420
3244
  */
3421
- compression_type?: CompressionType | null
3245
+ compressionType?: CompressionType | null
3422
3246
  /**
3423
3247
  * The file's encoding.
3424
3248
  */
@@ -3437,14 +3261,6 @@ module FileSaver {
3437
3261
  * from the #GtkSourceFile at construction time.
3438
3262
  */
3439
3263
  location?: Gio.File | null
3440
- /**
3441
- * The newline type.
3442
- */
3443
- newline_type?: NewlineType | null
3444
- /**
3445
- * The compression type.
3446
- */
3447
- compressionType?: CompressionType | null
3448
3264
  /**
3449
3265
  * The newline type.
3450
3266
  */
@@ -3462,10 +3278,6 @@ interface FileSaver {
3462
3278
  * weak reference to the buffer.
3463
3279
  */
3464
3280
  readonly buffer: Buffer
3465
- /**
3466
- * The compression type.
3467
- */
3468
- compression_type: CompressionType
3469
3281
  /**
3470
3282
  * The compression type.
3471
3283
  */
@@ -3488,10 +3300,6 @@ interface FileSaver {
3488
3300
  * from the #GtkSourceFile at construction time.
3489
3301
  */
3490
3302
  readonly location: Gio.File
3491
- /**
3492
- * The newline type.
3493
- */
3494
- newline_type: NewlineType
3495
3303
  /**
3496
3304
  * The newline type.
3497
3305
  */
@@ -3663,7 +3471,7 @@ module Gutter {
3663
3471
  /**
3664
3472
  * The text window type on which the window is placed.
3665
3473
  */
3666
- window_type?: Gtk.TextWindowType | null
3474
+ windowType?: Gtk.TextWindowType | null
3667
3475
  /**
3668
3476
  * The x-padding.
3669
3477
  */
@@ -3672,10 +3480,6 @@ module Gutter {
3672
3480
  * The y-padding.
3673
3481
  */
3674
3482
  ypad?: number | null
3675
- /**
3676
- * The text window type on which the window is placed.
3677
- */
3678
- windowType?: Gtk.TextWindowType | null
3679
3483
  }
3680
3484
 
3681
3485
  }
@@ -3688,10 +3492,6 @@ interface Gutter {
3688
3492
  * The #GtkSourceView of the gutter.
3689
3493
  */
3690
3494
  readonly view: View
3691
- /**
3692
- * The text window type on which the window is placed.
3693
- */
3694
- readonly window_type: Gtk.TextWindowType
3695
3495
  /**
3696
3496
  * The text window type on which the window is placed.
3697
3497
  */
@@ -3840,9 +3640,9 @@ module GutterRenderer {
3840
3640
  * the alignment should work on either the full cell, the first line
3841
3641
  * or the last line.
3842
3642
  */
3843
- alignment_mode?: GutterRendererAlignmentMode | null
3844
- background_rgba?: Gdk.RGBA | null
3845
- background_set?: boolean | null
3643
+ alignmentMode?: GutterRendererAlignmentMode | null
3644
+ backgroundRgba?: Gdk.RGBA | null
3645
+ backgroundSet?: boolean | null
3846
3646
  size?: number | null
3847
3647
  /**
3848
3648
  * The visibility of the renderer.
@@ -3868,15 +3668,6 @@ module GutterRenderer {
3868
3668
  * The top and bottom padding of the renderer.
3869
3669
  */
3870
3670
  ypad?: number | null
3871
- /**
3872
- * The alignment mode of the renderer. This can be used to indicate
3873
- * that in the case a cell spans multiple lines (due to text wrapping)
3874
- * the alignment should work on either the full cell, the first line
3875
- * or the last line.
3876
- */
3877
- alignmentMode?: GutterRendererAlignmentMode | null
3878
- backgroundRgba?: Gdk.RGBA | null
3879
- backgroundSet?: boolean | null
3880
3671
  }
3881
3672
 
3882
3673
  }
@@ -3885,13 +3676,6 @@ interface GutterRenderer {
3885
3676
 
3886
3677
  // Own properties of GtkSource-3.0.GtkSource.GutterRenderer
3887
3678
 
3888
- /**
3889
- * The alignment mode of the renderer. This can be used to indicate
3890
- * that in the case a cell spans multiple lines (due to text wrapping)
3891
- * the alignment should work on either the full cell, the first line
3892
- * or the last line.
3893
- */
3894
- alignment_mode: GutterRendererAlignmentMode
3895
3679
  /**
3896
3680
  * The alignment mode of the renderer. This can be used to indicate
3897
3681
  * that in the case a cell spans multiple lines (due to text wrapping)
@@ -3899,9 +3683,7 @@ interface GutterRenderer {
3899
3683
  * or the last line.
3900
3684
  */
3901
3685
  alignmentMode: GutterRendererAlignmentMode
3902
- background_rgba: Gdk.RGBA
3903
3686
  backgroundRgba: Gdk.RGBA
3904
- background_set: boolean
3905
3687
  backgroundSet: boolean
3906
3688
  size: number
3907
3689
  /**
@@ -3912,11 +3694,6 @@ interface GutterRenderer {
3912
3694
  * The visibility of the renderer.
3913
3695
  */
3914
3696
  visible: boolean
3915
- /**
3916
- * The window type of the view on which the renderer is placed (left,
3917
- * or right).
3918
- */
3919
- readonly window_type: Gtk.TextWindowType
3920
3697
  /**
3921
3698
  * The window type of the view on which the renderer is placed (left,
3922
3699
  * or right).
@@ -4306,13 +4083,8 @@ module GutterRendererPixbuf {
4306
4083
  // Own constructor properties of GtkSource-3.0.GtkSource.GutterRendererPixbuf
4307
4084
 
4308
4085
  gicon?: Gio.Icon | null
4309
- icon_name?: string | null
4310
- pixbuf?: GdkPixbuf.Pixbuf | null
4311
- /**
4312
- * The stock id.
4313
- */
4314
- stock_id?: string | null
4315
4086
  iconName?: string | null
4087
+ pixbuf?: GdkPixbuf.Pixbuf | null
4316
4088
  /**
4317
4089
  * The stock id.
4318
4090
  */
@@ -4326,13 +4098,8 @@ interface GutterRendererPixbuf {
4326
4098
  // Own properties of GtkSource-3.0.GtkSource.GutterRendererPixbuf
4327
4099
 
4328
4100
  gicon: Gio.Icon
4329
- icon_name: string | null
4330
4101
  iconName: string | null
4331
4102
  pixbuf: GdkPixbuf.Pixbuf
4332
- /**
4333
- * The stock id.
4334
- */
4335
- stock_id: string | null
4336
4103
  /**
4337
4104
  * The stock id.
4338
4105
  */
@@ -4345,13 +4112,13 @@ interface GutterRendererPixbuf {
4345
4112
  * @returns a #GIcon
4346
4113
  */
4347
4114
  get_gicon(): Gio.Icon
4348
- get_icon_name(): string | null
4115
+ get_icon_name(): string
4349
4116
  /**
4350
4117
  * Get the pixbuf of the renderer.
4351
4118
  * @returns a #GdkPixbuf
4352
4119
  */
4353
4120
  get_pixbuf(): GdkPixbuf.Pixbuf
4354
- get_stock_id(): string | null
4121
+ get_stock_id(): string
4355
4122
  set_gicon(icon: Gio.Icon | null): void
4356
4123
  set_icon_name(icon_name: string | null): void
4357
4124
  set_pixbuf(pixbuf: GdkPixbuf.Pixbuf | null): void
@@ -4463,15 +4230,15 @@ interface GutterRendererText {
4463
4230
  * #GtkSourceGutterRendererText.
4464
4231
  * @param text the text to measure.
4465
4232
  */
4466
- measure(text: string | null): [ /* width */ number, /* height */ number ]
4233
+ measure(text: string): [ /* width */ number, /* height */ number ]
4467
4234
  /**
4468
4235
  * Measures the pango markup provided using the pango layout used by the
4469
4236
  * #GtkSourceGutterRendererText.
4470
4237
  * @param markup the pango markup to measure.
4471
4238
  */
4472
- measure_markup(markup: string | null): [ /* width */ number, /* height */ number ]
4473
- set_markup(markup: string | null, length: number): void
4474
- set_text(text: string | null, length: number): void
4239
+ measure_markup(markup: string): [ /* width */ number, /* height */ number ]
4240
+ set_markup(markup: string, length: number): void
4241
+ set_text(text: string, length: number): void
4475
4242
 
4476
4243
  // Class property signals of GtkSource-3.0.GtkSource.GutterRendererText
4477
4244
 
@@ -4588,8 +4355,8 @@ interface Language {
4588
4355
  * or modified.
4589
4356
  * @returns the ID of @language.
4590
4357
  */
4591
- get_id(): string | null
4592
- get_metadata(name: string | null): string | null
4358
+ get_id(): string
4359
+ get_metadata(name: string): string | null
4593
4360
  /**
4594
4361
  * Returns the mime types associated to this language. This is just
4595
4362
  * an utility wrapper around gtk_source_language_get_metadata() to
@@ -4604,7 +4371,7 @@ interface Language {
4604
4371
  * or modified.
4605
4372
  * @returns the name of @language.
4606
4373
  */
4607
- get_name(): string | null
4374
+ get_name(): string
4608
4375
  /**
4609
4376
  * Returns the localized section of the language.
4610
4377
  * Each language belong to a section (ex. HTML belogs to the
@@ -4613,14 +4380,14 @@ interface Language {
4613
4380
  * or modified.
4614
4381
  * @returns the section of @language.
4615
4382
  */
4616
- get_section(): string | null
4383
+ get_section(): string
4617
4384
  /**
4618
4385
  * Returns the ID of the style to use if the specified `style_id`
4619
4386
  * is not present in the current style scheme.
4620
4387
  * @param style_id a style ID.
4621
4388
  * @returns the ID of the style to use if the specified @style_id is not present in the current style scheme or %NULL if the style has no fallback defined. The returned string is owned by the @language and must not be modified.
4622
4389
  */
4623
- get_style_fallback(style_id: string | null): string | null
4390
+ get_style_fallback(style_id: string): string | null
4624
4391
  /**
4625
4392
  * Returns the ids of the styles defined by this `language`.
4626
4393
  * @returns a newly-allocated %NULL terminated array containing ids of the styles defined by this @language or %NULL if no style is defined. The returned array must be freed with g_strfreev().
@@ -4631,7 +4398,7 @@ interface Language {
4631
4398
  * @param style_id a style ID.
4632
4399
  * @returns the name of the style with ID @style_id defined by this @language or %NULL if the style has no name or there is no style with ID @style_id defined by this @language. The returned string is owned by the @language and must not be modified.
4633
4400
  */
4634
- get_style_name(style_id: string | null): string | null
4401
+ get_style_name(style_id: string): string | null
4635
4402
 
4636
4403
  // Class property signals of GtkSource-3.0.GtkSource.Language
4637
4404
 
@@ -4674,7 +4441,6 @@ module LanguageManager {
4674
4441
 
4675
4442
  // Own constructor properties of GtkSource-3.0.GtkSource.LanguageManager
4676
4443
 
4677
- search_path?: string[] | null
4678
4444
  searchPath?: string[] | null
4679
4445
  }
4680
4446
 
@@ -4684,9 +4450,7 @@ interface LanguageManager {
4684
4450
 
4685
4451
  // Own properties of GtkSource-3.0.GtkSource.LanguageManager
4686
4452
 
4687
- readonly language_ids: string[]
4688
4453
  readonly languageIds: string[]
4689
- search_path: string[]
4690
4454
  searchPath: string[]
4691
4455
 
4692
4456
  // Own fields of GtkSource-3.0.GtkSource.LanguageManager
@@ -4702,7 +4466,7 @@ interface LanguageManager {
4702
4466
  * @param id a language id.
4703
4467
  * @returns a #GtkSourceLanguage, or %NULL if there is no language identified by the given @id. Return value is owned by @lm and should not be freed.
4704
4468
  */
4705
- get_language(id: string | null): Language | null
4469
+ get_language(id: string): Language | null
4706
4470
  /**
4707
4471
  * Returns the ids of the available languages.
4708
4472
  * @returns a %NULL-terminated array of strings containing the ids of the available languages or %NULL if no language is available. The array is sorted alphabetically according to the language name. The array is owned by @lm and must not be modified.
@@ -4824,9 +4588,8 @@ module Map {
4824
4588
 
4825
4589
  // Own constructor properties of GtkSource-3.0.GtkSource.Map
4826
4590
 
4827
- font_desc?: Pango.FontDescription | null
4828
- view?: View | null
4829
4591
  fontDesc?: Pango.FontDescription | null
4592
+ view?: View | null
4830
4593
  }
4831
4594
 
4832
4595
  }
@@ -4835,7 +4598,6 @@ interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
4835
4598
 
4836
4599
  // Own properties of GtkSource-3.0.GtkSource.Map
4837
4600
 
4838
- font_desc: Pango.FontDescription
4839
4601
  fontDesc: Pango.FontDescription
4840
4602
  view: View
4841
4603
 
@@ -4897,7 +4659,7 @@ interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
4897
4659
  * @param child the child widget
4898
4660
  * @param child_property the name of a child property installed on the class of `container`
4899
4661
  */
4900
- child_notify(child: Gtk.Widget, child_property: string | null): void
4662
+ child_notify(child: Gtk.Widget, child_property: string): void
4901
4663
 
4902
4664
  // Overloads of child_notify
4903
4665
 
@@ -4911,7 +4673,7 @@ interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
4911
4673
  * Also see gtk_container_child_notify().
4912
4674
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4913
4675
  */
4914
- child_notify(child_property: string | null): void
4676
+ child_notify(child_property: string): void
4915
4677
  /**
4916
4678
  * Emits a #GtkWidget::child-notify signal for the
4917
4679
  * [child property][child-properties] `child_property`
@@ -4922,7 +4684,7 @@ interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
4922
4684
  * Also see gtk_container_child_notify().
4923
4685
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4924
4686
  */
4925
- child_notify(child_property: string | null): void
4687
+ child_notify(child_property: string): void
4926
4688
 
4927
4689
  // Class property signals of GtkSource-3.0.GtkSource.Map
4928
4690
 
@@ -5254,7 +5016,7 @@ interface Mark {
5254
5016
  * Returns the mark category.
5255
5017
  * @returns the category of the #GtkSourceMark.
5256
5018
  */
5257
- get_category(): string | null
5019
+ get_category(): string
5258
5020
  /**
5259
5021
  * Returns the next #GtkSourceMark in the buffer or %NULL if the mark
5260
5022
  * was not added to a buffer. If there is no next mark, %NULL will be returned.
@@ -5272,7 +5034,7 @@ interface Mark {
5272
5034
  * @param category a string specifying the mark category, or %NULL.
5273
5035
  * @returns the previous #GtkSourceMark, or %NULL.
5274
5036
  */
5275
- prev(category: string | null): Mark | null
5037
+ prev(category: string): Mark | null
5276
5038
 
5277
5039
  // Class property signals of GtkSource-3.0.GtkSource.Mark
5278
5040
 
@@ -5312,7 +5074,7 @@ class Mark extends Gtk.TextMark {
5312
5074
  * @param category is used to classify marks according to common characteristics (e.g. all the marks representing a bookmark could belong to the "bookmark" category, or all the marks representing a compilation error could belong to "error" category).
5313
5075
  * @returns a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().
5314
5076
  */
5315
- constructor(name: string | null, category: string | null)
5077
+ constructor(name: string, category: string)
5316
5078
  /**
5317
5079
  * Creates a text mark. Add it to a buffer using gtk_text_buffer_add_mark().
5318
5080
  * If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved
@@ -5324,7 +5086,7 @@ class Mark extends Gtk.TextMark {
5324
5086
  * @param category is used to classify marks according to common characteristics (e.g. all the marks representing a bookmark could belong to the "bookmark" category, or all the marks representing a compilation error could belong to "error" category).
5325
5087
  * @returns a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().
5326
5088
  */
5327
- static new(name: string | null, category: string | null): Mark
5089
+ static new(name: string, category: string): Mark
5328
5090
 
5329
5091
  // Overloads of new
5330
5092
 
@@ -5383,19 +5145,11 @@ module MarkAttributes {
5383
5145
  /**
5384
5146
  * An icon name that may be a base of a rendered icon.
5385
5147
  */
5386
- icon_name?: string | null
5148
+ iconName?: string | null
5387
5149
  /**
5388
5150
  * A #GdkPixbuf that may be a base of a rendered icon.
5389
5151
  */
5390
5152
  pixbuf?: GdkPixbuf.Pixbuf | null
5391
- /**
5392
- * A stock id that may be a base of a rendered icon.
5393
- */
5394
- stock_id?: string | null
5395
- /**
5396
- * An icon name that may be a base of a rendered icon.
5397
- */
5398
- iconName?: string | null
5399
5153
  /**
5400
5154
  * A stock id that may be a base of a rendered icon.
5401
5155
  */
@@ -5416,10 +5170,6 @@ interface MarkAttributes {
5416
5170
  * A #GIcon that may be a base of a rendered icon.
5417
5171
  */
5418
5172
  gicon: Gio.Icon
5419
- /**
5420
- * An icon name that may be a base of a rendered icon.
5421
- */
5422
- icon_name: string | null
5423
5173
  /**
5424
5174
  * An icon name that may be a base of a rendered icon.
5425
5175
  */
@@ -5428,10 +5178,6 @@ interface MarkAttributes {
5428
5178
  * A #GdkPixbuf that may be a base of a rendered icon.
5429
5179
  */
5430
5180
  pixbuf: GdkPixbuf.Pixbuf
5431
- /**
5432
- * A stock id that may be a base of a rendered icon.
5433
- */
5434
- stock_id: string | null
5435
5181
  /**
5436
5182
  * A stock id that may be a base of a rendered icon.
5437
5183
  */
@@ -5455,7 +5201,7 @@ interface MarkAttributes {
5455
5201
  * icon name can be %NULL if it wasn't set earlier.
5456
5202
  * @returns An icon name. The string belongs to @attributes and should not be freed.
5457
5203
  */
5458
- get_icon_name(): string | null
5204
+ get_icon_name(): string
5459
5205
  /**
5460
5206
  * Gets a #GdkPixbuf to be used as a base for rendered icon. Note that the
5461
5207
  * pixbuf can be %NULL if it wasn't set earlier.
@@ -5467,7 +5213,7 @@ interface MarkAttributes {
5467
5213
  * be %NULL if it wasn't set earlier.
5468
5214
  * @returns Stock id. Returned string is owned by @attributes and shouldn't be freed.
5469
5215
  */
5470
- get_stock_id(): string | null
5216
+ get_stock_id(): string
5471
5217
  /**
5472
5218
  * Queries for a tooltip by emitting
5473
5219
  * a #GtkSourceMarkAttributes::query-tooltip-markup signal. The tooltip may contain
@@ -5509,7 +5255,7 @@ interface MarkAttributes {
5509
5255
  * Sets a name of an icon to be used as a base for rendered icon.
5510
5256
  * @param icon_name name of an icon to be used.
5511
5257
  */
5512
- set_icon_name(icon_name: string | null): void
5258
+ set_icon_name(icon_name: string): void
5513
5259
  /**
5514
5260
  * Sets a pixbuf to be used as a base for rendered icon.
5515
5261
  * @param pixbuf a #GdkPixbuf to be used.
@@ -5519,7 +5265,7 @@ interface MarkAttributes {
5519
5265
  * Sets stock id to be used as a base for rendered icon.
5520
5266
  * @param stock_id a stock id.
5521
5267
  */
5522
- set_stock_id(stock_id: string | null): void
5268
+ set_stock_id(stock_id: string): void
5523
5269
 
5524
5270
  // Own signals of GtkSource-3.0.GtkSource.MarkAttributes
5525
5271
 
@@ -5596,7 +5342,7 @@ module PrintCompositor {
5596
5342
  * The value of this property cannot be changed anymore after the first
5597
5343
  * call to the gtk_source_print_compositor_paginate() function.
5598
5344
  */
5599
- body_font_name?: string | null
5345
+ bodyFontName?: string | null
5600
5346
  /**
5601
5347
  * The GtkSourceBuffer object to print.
5602
5348
  */
@@ -5612,7 +5358,7 @@ module PrintCompositor {
5612
5358
  * The value of this property cannot be changed anymore after the first
5613
5359
  * call to the gtk_source_print_compositor_paginate() function.
5614
5360
  */
5615
- footer_font_name?: string | null
5361
+ footerFontName?: string | null
5616
5362
  /**
5617
5363
  * Name of the font used to print page header.
5618
5364
  * If this property is unspecified, the text body font is used.
@@ -5624,14 +5370,14 @@ module PrintCompositor {
5624
5370
  * The value of this property cannot be changed anymore after the first
5625
5371
  * call to the gtk_source_print_compositor_paginate() function.
5626
5372
  */
5627
- header_font_name?: string | null
5373
+ headerFontName?: string | null
5628
5374
  /**
5629
5375
  * Whether to print the document with highlighted syntax.
5630
5376
  *
5631
5377
  * The value of this property cannot be changed anymore after the first
5632
5378
  * call to the gtk_source_print_compositor_paginate() function.
5633
5379
  */
5634
- highlight_syntax?: boolean | null
5380
+ highlightSyntax?: boolean | null
5635
5381
  /**
5636
5382
  * Name of the font used to print line numbers on the left margin.
5637
5383
  * If this property is unspecified, the text body font is used.
@@ -5643,7 +5389,7 @@ module PrintCompositor {
5643
5389
  * The value of this property cannot be changed anymore after the first
5644
5390
  * call to the gtk_source_print_compositor_paginate() function.
5645
5391
  */
5646
- line_numbers_font_name?: string | null
5392
+ lineNumbersFontName?: string | null
5647
5393
  /**
5648
5394
  * Whether to print a footer in each page.
5649
5395
  *
@@ -5654,7 +5400,7 @@ module PrintCompositor {
5654
5400
  * The value of this property cannot be changed anymore after the first
5655
5401
  * call to the gtk_source_print_compositor_paginate() function.
5656
5402
  */
5657
- print_footer?: boolean | null
5403
+ printFooter?: boolean | null
5658
5404
  /**
5659
5405
  * Whether to print a header in each page.
5660
5406
  *
@@ -5665,7 +5411,7 @@ module PrintCompositor {
5665
5411
  * The value of this property cannot be changed anymore after the first
5666
5412
  * call to the gtk_source_print_compositor_paginate() function.
5667
5413
  */
5668
- print_header?: boolean | null
5414
+ printHeader?: boolean | null
5669
5415
  /**
5670
5416
  * Interval of printed line numbers. If this property is set to 0 no
5671
5417
  * numbers will be printed. If greater than 0, a number will be
@@ -5674,113 +5420,14 @@ module PrintCompositor {
5674
5420
  * The value of this property cannot be changed anymore after the first
5675
5421
  * call to the gtk_source_print_compositor_paginate() function.
5676
5422
  */
5677
- print_line_numbers?: number | null
5423
+ printLineNumbers?: number | null
5678
5424
  /**
5679
5425
  * Width of a tab character expressed in spaces.
5680
5426
  *
5681
5427
  * The value of this property cannot be changed anymore after the first
5682
5428
  * call to the gtk_source_print_compositor_paginate() function.
5683
5429
  */
5684
- tab_width?: number | null
5685
- /**
5686
- * Whether to wrap lines never, at word boundaries, or at character boundaries.
5687
- *
5688
- * The value of this property cannot be changed anymore after the first
5689
- * call to the gtk_source_print_compositor_paginate() function.
5690
- */
5691
- wrap_mode?: Gtk.WrapMode | null
5692
- /**
5693
- * Name of the font used for the text body.
5694
- *
5695
- * Accepted values are strings representing a font description Pango can understand.
5696
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5697
- * for a description of the format of the string representation.
5698
- *
5699
- * The value of this property cannot be changed anymore after the first
5700
- * call to the gtk_source_print_compositor_paginate() function.
5701
- */
5702
- bodyFontName?: string | null
5703
- /**
5704
- * Name of the font used to print page footer.
5705
- * If this property is unspecified, the text body font is used.
5706
- *
5707
- * Accepted values are strings representing a font description Pango can understand.
5708
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5709
- * for a description of the format of the string representation.
5710
- *
5711
- * The value of this property cannot be changed anymore after the first
5712
- * call to the gtk_source_print_compositor_paginate() function.
5713
- */
5714
- footerFontName?: string | null
5715
- /**
5716
- * Name of the font used to print page header.
5717
- * If this property is unspecified, the text body font is used.
5718
- *
5719
- * Accepted values are strings representing a font description Pango can understand.
5720
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5721
- * for a description of the format of the string representation.
5722
- *
5723
- * The value of this property cannot be changed anymore after the first
5724
- * call to the gtk_source_print_compositor_paginate() function.
5725
- */
5726
- headerFontName?: string | null
5727
- /**
5728
- * Whether to print the document with highlighted syntax.
5729
- *
5730
- * The value of this property cannot be changed anymore after the first
5731
- * call to the gtk_source_print_compositor_paginate() function.
5732
- */
5733
- highlightSyntax?: boolean | null
5734
- /**
5735
- * Name of the font used to print line numbers on the left margin.
5736
- * If this property is unspecified, the text body font is used.
5737
- *
5738
- * Accepted values are strings representing a font description Pango can understand.
5739
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5740
- * for a description of the format of the string representation.
5741
- *
5742
- * The value of this property cannot be changed anymore after the first
5743
- * call to the gtk_source_print_compositor_paginate() function.
5744
- */
5745
- lineNumbersFontName?: string | null
5746
- /**
5747
- * Whether to print a footer in each page.
5748
- *
5749
- * Note that by default the footer format is unspecified, and if it is
5750
- * unspecified the footer will not be printed, regardless of the value of
5751
- * this property.
5752
- *
5753
- * The value of this property cannot be changed anymore after the first
5754
- * call to the gtk_source_print_compositor_paginate() function.
5755
- */
5756
- printFooter?: boolean | null
5757
- /**
5758
- * Whether to print a header in each page.
5759
- *
5760
- * Note that by default the header format is unspecified, and if it is
5761
- * unspecified the header will not be printed, regardless of the value of
5762
- * this property.
5763
- *
5764
- * The value of this property cannot be changed anymore after the first
5765
- * call to the gtk_source_print_compositor_paginate() function.
5766
- */
5767
- printHeader?: boolean | null
5768
- /**
5769
- * Interval of printed line numbers. If this property is set to 0 no
5770
- * numbers will be printed. If greater than 0, a number will be
5771
- * printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
5772
- *
5773
- * The value of this property cannot be changed anymore after the first
5774
- * call to the gtk_source_print_compositor_paginate() function.
5775
- */
5776
- printLineNumbers?: number | null
5777
- /**
5778
- * Width of a tab character expressed in spaces.
5779
- *
5780
- * The value of this property cannot be changed anymore after the first
5781
- * call to the gtk_source_print_compositor_paginate() function.
5782
- */
5783
- tabWidth?: number | null
5430
+ tabWidth?: number | null
5784
5431
  /**
5785
5432
  * Whether to wrap lines never, at word boundaries, or at character boundaries.
5786
5433
  *
@@ -5796,17 +5443,6 @@ interface PrintCompositor {
5796
5443
 
5797
5444
  // Own properties of GtkSource-3.0.GtkSource.PrintCompositor
5798
5445
 
5799
- /**
5800
- * Name of the font used for the text body.
5801
- *
5802
- * Accepted values are strings representing a font description Pango can understand.
5803
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5804
- * for a description of the format of the string representation.
5805
- *
5806
- * The value of this property cannot be changed anymore after the first
5807
- * call to the gtk_source_print_compositor_paginate() function.
5808
- */
5809
- body_font_name: string | null
5810
5446
  /**
5811
5447
  * Name of the font used for the text body.
5812
5448
  *
@@ -5822,18 +5458,6 @@ interface PrintCompositor {
5822
5458
  * The GtkSourceBuffer object to print.
5823
5459
  */
5824
5460
  readonly buffer: Buffer
5825
- /**
5826
- * Name of the font used to print page footer.
5827
- * If this property is unspecified, the text body font is used.
5828
- *
5829
- * Accepted values are strings representing a font description Pango can understand.
5830
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5831
- * for a description of the format of the string representation.
5832
- *
5833
- * The value of this property cannot be changed anymore after the first
5834
- * call to the gtk_source_print_compositor_paginate() function.
5835
- */
5836
- footer_font_name: string | null
5837
5461
  /**
5838
5462
  * Name of the font used to print page footer.
5839
5463
  * If this property is unspecified, the text body font is used.
@@ -5846,18 +5470,6 @@ interface PrintCompositor {
5846
5470
  * call to the gtk_source_print_compositor_paginate() function.
5847
5471
  */
5848
5472
  footerFontName: string | null
5849
- /**
5850
- * Name of the font used to print page header.
5851
- * If this property is unspecified, the text body font is used.
5852
- *
5853
- * Accepted values are strings representing a font description Pango can understand.
5854
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5855
- * for a description of the format of the string representation.
5856
- *
5857
- * The value of this property cannot be changed anymore after the first
5858
- * call to the gtk_source_print_compositor_paginate() function.
5859
- */
5860
- header_font_name: string | null
5861
5473
  /**
5862
5474
  * Name of the font used to print page header.
5863
5475
  * If this property is unspecified, the text body font is used.
@@ -5870,13 +5482,6 @@ interface PrintCompositor {
5870
5482
  * call to the gtk_source_print_compositor_paginate() function.
5871
5483
  */
5872
5484
  headerFontName: string | null
5873
- /**
5874
- * Whether to print the document with highlighted syntax.
5875
- *
5876
- * The value of this property cannot be changed anymore after the first
5877
- * call to the gtk_source_print_compositor_paginate() function.
5878
- */
5879
- highlight_syntax: boolean
5880
5485
  /**
5881
5486
  * Whether to print the document with highlighted syntax.
5882
5487
  *
@@ -5884,18 +5489,6 @@ interface PrintCompositor {
5884
5489
  * call to the gtk_source_print_compositor_paginate() function.
5885
5490
  */
5886
5491
  highlightSyntax: boolean
5887
- /**
5888
- * Name of the font used to print line numbers on the left margin.
5889
- * If this property is unspecified, the text body font is used.
5890
- *
5891
- * Accepted values are strings representing a font description Pango can understand.
5892
- * (e.g. &quot;Monospace 10&quot;). See pango_font_description_from_string()
5893
- * for a description of the format of the string representation.
5894
- *
5895
- * The value of this property cannot be changed anymore after the first
5896
- * call to the gtk_source_print_compositor_paginate() function.
5897
- */
5898
- line_numbers_font_name: string | null
5899
5492
  /**
5900
5493
  * Name of the font used to print line numbers on the left margin.
5901
5494
  * If this property is unspecified, the text body font is used.
@@ -5908,27 +5501,11 @@ interface PrintCompositor {
5908
5501
  * call to the gtk_source_print_compositor_paginate() function.
5909
5502
  */
5910
5503
  lineNumbersFontName: string | null
5911
- /**
5912
- * The number of pages in the document or <code>-1</code> if the
5913
- * document has not been completely paginated.
5914
- */
5915
- readonly n_pages: number
5916
5504
  /**
5917
5505
  * The number of pages in the document or <code>-1</code> if the
5918
5506
  * document has not been completely paginated.
5919
5507
  */
5920
5508
  readonly nPages: number
5921
- /**
5922
- * Whether to print a footer in each page.
5923
- *
5924
- * Note that by default the footer format is unspecified, and if it is
5925
- * unspecified the footer will not be printed, regardless of the value of
5926
- * this property.
5927
- *
5928
- * The value of this property cannot be changed anymore after the first
5929
- * call to the gtk_source_print_compositor_paginate() function.
5930
- */
5931
- print_footer: boolean
5932
5509
  /**
5933
5510
  * Whether to print a footer in each page.
5934
5511
  *
@@ -5940,17 +5517,6 @@ interface PrintCompositor {
5940
5517
  * call to the gtk_source_print_compositor_paginate() function.
5941
5518
  */
5942
5519
  printFooter: boolean
5943
- /**
5944
- * Whether to print a header in each page.
5945
- *
5946
- * Note that by default the header format is unspecified, and if it is
5947
- * unspecified the header will not be printed, regardless of the value of
5948
- * this property.
5949
- *
5950
- * The value of this property cannot be changed anymore after the first
5951
- * call to the gtk_source_print_compositor_paginate() function.
5952
- */
5953
- print_header: boolean
5954
5520
  /**
5955
5521
  * Whether to print a header in each page.
5956
5522
  *
@@ -5962,15 +5528,6 @@ interface PrintCompositor {
5962
5528
  * call to the gtk_source_print_compositor_paginate() function.
5963
5529
  */
5964
5530
  printHeader: boolean
5965
- /**
5966
- * Interval of printed line numbers. If this property is set to 0 no
5967
- * numbers will be printed. If greater than 0, a number will be
5968
- * printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
5969
- *
5970
- * The value of this property cannot be changed anymore after the first
5971
- * call to the gtk_source_print_compositor_paginate() function.
5972
- */
5973
- print_line_numbers: number
5974
5531
  /**
5975
5532
  * Interval of printed line numbers. If this property is set to 0 no
5976
5533
  * numbers will be printed. If greater than 0, a number will be
@@ -5980,13 +5537,6 @@ interface PrintCompositor {
5980
5537
  * call to the gtk_source_print_compositor_paginate() function.
5981
5538
  */
5982
5539
  printLineNumbers: number
5983
- /**
5984
- * Width of a tab character expressed in spaces.
5985
- *
5986
- * The value of this property cannot be changed anymore after the first
5987
- * call to the gtk_source_print_compositor_paginate() function.
5988
- */
5989
- tab_width: number
5990
5540
  /**
5991
5541
  * Width of a tab character expressed in spaces.
5992
5542
  *
@@ -5994,13 +5544,6 @@ interface PrintCompositor {
5994
5544
  * call to the gtk_source_print_compositor_paginate() function.
5995
5545
  */
5996
5546
  tabWidth: number
5997
- /**
5998
- * Whether to wrap lines never, at word boundaries, or at character boundaries.
5999
- *
6000
- * The value of this property cannot be changed anymore after the first
6001
- * call to the gtk_source_print_compositor_paginate() function.
6002
- */
6003
- wrap_mode: Gtk.WrapMode
6004
5547
  /**
6005
5548
  * Whether to wrap lines never, at word boundaries, or at character boundaries.
6006
5549
  *
@@ -6227,7 +5770,7 @@ interface PrintCompositor {
6227
5770
  * gtk_source_print_compositor_paginate() function.
6228
5771
  * @param font_name the name of the default font for the body text.
6229
5772
  */
6230
- set_body_font_name(font_name: string | null): void
5773
+ set_body_font_name(font_name: string): void
6231
5774
  /**
6232
5775
  * Sets the bottom margin used by `compositor`.
6233
5776
  * @param margin the new bottom margin in units of `unit`.
@@ -6625,15 +6168,11 @@ module SearchContext {
6625
6168
  /**
6626
6169
  * A #GtkSourceStyle, or %NULL for theme's scheme default style.
6627
6170
  */
6628
- match_style?: Style | null
6171
+ matchStyle?: Style | null
6629
6172
  /**
6630
6173
  * The #GtkSourceSearchSettings associated to the search context.
6631
6174
  */
6632
6175
  settings?: SearchSettings | null
6633
- /**
6634
- * A #GtkSourceStyle, or %NULL for theme's scheme default style.
6635
- */
6636
- matchStyle?: Style | null
6637
6176
  }
6638
6177
 
6639
6178
  }
@@ -6650,33 +6189,16 @@ interface SearchContext {
6650
6189
  * Highlight the search occurrences.
6651
6190
  */
6652
6191
  highlight: boolean
6653
- /**
6654
- * A #GtkSourceStyle, or %NULL for theme's scheme default style.
6655
- */
6656
- match_style: Style
6657
6192
  /**
6658
6193
  * A #GtkSourceStyle, or %NULL for theme's scheme default style.
6659
6194
  */
6660
6195
  matchStyle: Style
6661
- /**
6662
- * The total number of search occurrences. If the search is disabled,
6663
- * the value is 0. If the buffer is not already fully scanned, the value
6664
- * is -1.
6665
- */
6666
- readonly occurrences_count: number
6667
6196
  /**
6668
6197
  * The total number of search occurrences. If the search is disabled,
6669
6198
  * the value is 0. If the buffer is not already fully scanned, the value
6670
6199
  * is -1.
6671
6200
  */
6672
6201
  readonly occurrencesCount: number
6673
- /**
6674
- * If the regex search pattern doesn't follow all the rules, this
6675
- * property will be set. If the pattern is valid, the value is %NULL.
6676
- *
6677
- * Free with g_error_free().
6678
- */
6679
- readonly regex_error: any
6680
6202
  /**
6681
6203
  * If the regex search pattern doesn't follow all the rules, this
6682
6204
  * property will be set. If the pattern is valid, the value is %NULL.
@@ -6899,7 +6421,7 @@ interface SearchContext {
6899
6421
  * @param replace_length the length of `replace` in bytes, or -1.
6900
6422
  * @returns whether the match has been replaced.
6901
6423
  */
6902
- replace(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string | null, replace_length: number): boolean
6424
+ replace(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string, replace_length: number): boolean
6903
6425
  /**
6904
6426
  * Replaces a search match by another text. If `match_start` and `match_end`
6905
6427
  * doesn't correspond to a search match, %FALSE is returned.
@@ -6916,7 +6438,7 @@ interface SearchContext {
6916
6438
  * @param replace_length the length of `replace` in bytes, or -1.
6917
6439
  * @returns whether the match has been replaced.
6918
6440
  */
6919
- replace2(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string | null, replace_length: number): boolean
6441
+ replace2(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string, replace_length: number): boolean
6920
6442
  /**
6921
6443
  * Replaces all search matches by another text. It is a synchronous function, so
6922
6444
  * it can block the user interface.
@@ -6928,7 +6450,7 @@ interface SearchContext {
6928
6450
  * @param replace_length the length of `replace` in bytes, or -1.
6929
6451
  * @returns the number of replaced matches.
6930
6452
  */
6931
- replace_all(replace: string | null, replace_length: number): number
6453
+ replace_all(replace: string, replace_length: number): number
6932
6454
  /**
6933
6455
  * Enables or disables the search occurrences highlighting.
6934
6456
  * @param highlight the setting.
@@ -7020,32 +6542,6 @@ module SearchSettings {
7020
6542
 
7021
6543
  // Own constructor properties of GtkSource-3.0.GtkSource.SearchSettings
7022
6544
 
7023
- /**
7024
- * If %TRUE, a search match must start and end a word. The match can
7025
- * span multiple words.
7026
- */
7027
- at_word_boundaries?: boolean | null
7028
- /**
7029
- * Whether the search is case sensitive.
7030
- */
7031
- case_sensitive?: boolean | null
7032
- /**
7033
- * Search by regular expressions with
7034
- * #GtkSourceSearchSettings:search-text as the pattern.
7035
- */
7036
- regex_enabled?: boolean | null
7037
- /**
7038
- * A search string, or %NULL if the search is disabled. If the regular
7039
- * expression search is enabled, #GtkSourceSearchSettings:search-text is
7040
- * the pattern.
7041
- */
7042
- search_text?: string | null
7043
- /**
7044
- * For a forward search, continue at the beginning of the buffer if no
7045
- * search occurrence is found. For a backward search, continue at the
7046
- * end of the buffer.
7047
- */
7048
- wrap_around?: boolean | null
7049
6545
  /**
7050
6546
  * If %TRUE, a search match must start and end a word. The match can
7051
6547
  * span multiple words.
@@ -7080,52 +6576,26 @@ interface SearchSettings {
7080
6576
 
7081
6577
  // Own properties of GtkSource-3.0.GtkSource.SearchSettings
7082
6578
 
7083
- /**
7084
- * If %TRUE, a search match must start and end a word. The match can
7085
- * span multiple words.
7086
- */
7087
- at_word_boundaries: boolean
7088
6579
  /**
7089
6580
  * If %TRUE, a search match must start and end a word. The match can
7090
6581
  * span multiple words.
7091
6582
  */
7092
6583
  atWordBoundaries: boolean
7093
- /**
7094
- * Whether the search is case sensitive.
7095
- */
7096
- case_sensitive: boolean
7097
6584
  /**
7098
6585
  * Whether the search is case sensitive.
7099
6586
  */
7100
6587
  caseSensitive: boolean
7101
- /**
7102
- * Search by regular expressions with
7103
- * #GtkSourceSearchSettings:search-text as the pattern.
7104
- */
7105
- regex_enabled: boolean
7106
6588
  /**
7107
6589
  * Search by regular expressions with
7108
6590
  * #GtkSourceSearchSettings:search-text as the pattern.
7109
6591
  */
7110
6592
  regexEnabled: boolean
7111
- /**
7112
- * A search string, or %NULL if the search is disabled. If the regular
7113
- * expression search is enabled, #GtkSourceSearchSettings:search-text is
7114
- * the pattern.
7115
- */
7116
- search_text: string | null
7117
6593
  /**
7118
6594
  * A search string, or %NULL if the search is disabled. If the regular
7119
6595
  * expression search is enabled, #GtkSourceSearchSettings:search-text is
7120
6596
  * the pattern.
7121
6597
  */
7122
6598
  searchText: string | null
7123
- /**
7124
- * For a forward search, continue at the beginning of the buffer if no
7125
- * search occurrence is found. For a backward search, continue at the
7126
- * end of the buffer.
7127
- */
7128
- wrap_around: boolean
7129
6599
  /**
7130
6600
  * For a forward search, continue at the beginning of the buffer if no
7131
6601
  * search occurrence is found. For a backward search, continue at the
@@ -7254,7 +6724,7 @@ module SpaceDrawer {
7254
6724
  /**
7255
6725
  * Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
7256
6726
  */
7257
- enable_matrix?: boolean | null
6727
+ enableMatrix?: boolean | null
7258
6728
  /**
7259
6729
  * The :matrix property is a #GVariant property to specify where and
7260
6730
  * what kind of white spaces to draw.
@@ -7271,10 +6741,6 @@ module SpaceDrawer {
7271
6741
  * By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.
7272
6742
  */
7273
6743
  matrix?: GLib.Variant | null
7274
- /**
7275
- * Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
7276
- */
7277
- enableMatrix?: boolean | null
7278
6744
  }
7279
6745
 
7280
6746
  }
@@ -7283,10 +6749,6 @@ interface SpaceDrawer {
7283
6749
 
7284
6750
  // Own properties of GtkSource-3.0.GtkSource.SpaceDrawer
7285
6751
 
7286
- /**
7287
- * Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
7288
- */
7289
- enable_matrix: boolean
7290
6752
  /**
7291
6753
  * Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
7292
6754
  */
@@ -7329,7 +6791,7 @@ interface SpaceDrawer {
7329
6791
  * @param key the `settings` key to bind.
7330
6792
  * @param flags flags for the binding.
7331
6793
  */
7332
- bind_matrix_setting(settings: Gio.Settings, key: string | null, flags: Gio.SettingsBindFlags): void
6794
+ bind_matrix_setting(settings: Gio.Settings, key: string, flags: Gio.SettingsBindFlags): void
7333
6795
  get_enable_matrix(): boolean
7334
6796
  /**
7335
6797
  * Gets the value of the #GtkSourceSpaceDrawer:matrix property, as a #GVariant.
@@ -7427,33 +6889,21 @@ module Style {
7427
6889
  // Own constructor properties of GtkSource-3.0.GtkSource.Style
7428
6890
 
7429
6891
  background?: string | null
7430
- background_set?: boolean | null
7431
- bold?: boolean | null
7432
- bold_set?: boolean | null
7433
- foreground?: string | null
7434
- foreground_set?: boolean | null
7435
- italic?: boolean | null
7436
- italic_set?: boolean | null
7437
- line_background?: string | null
7438
- line_background_set?: boolean | null
7439
- pango_underline?: Pango.Underline | null
7440
- scale?: string | null
7441
- scale_set?: boolean | null
7442
- strikethrough?: boolean | null
7443
- strikethrough_set?: boolean | null
7444
- underline?: boolean | null
7445
- underline_color?: string | null
7446
- underline_color_set?: boolean | null
7447
- underline_set?: boolean | null
7448
6892
  backgroundSet?: boolean | null
6893
+ bold?: boolean | null
7449
6894
  boldSet?: boolean | null
6895
+ foreground?: string | null
7450
6896
  foregroundSet?: boolean | null
6897
+ italic?: boolean | null
7451
6898
  italicSet?: boolean | null
7452
6899
  lineBackground?: string | null
7453
6900
  lineBackgroundSet?: boolean | null
7454
6901
  pangoUnderline?: Pango.Underline | null
6902
+ scale?: string | null
7455
6903
  scaleSet?: boolean | null
6904
+ strikethrough?: boolean | null
7456
6905
  strikethroughSet?: boolean | null
6906
+ underline?: boolean | null
7457
6907
  underlineColor?: string | null
7458
6908
  underlineColorSet?: boolean | null
7459
6909
  underlineSet?: boolean | null
@@ -7466,35 +6916,23 @@ interface Style {
7466
6916
  // Own properties of GtkSource-3.0.GtkSource.Style
7467
6917
 
7468
6918
  readonly background: string | null
7469
- readonly background_set: boolean
7470
6919
  readonly backgroundSet: boolean
7471
6920
  readonly bold: boolean
7472
- readonly bold_set: boolean
7473
6921
  readonly boldSet: boolean
7474
6922
  readonly foreground: string | null
7475
- readonly foreground_set: boolean
7476
6923
  readonly foregroundSet: boolean
7477
6924
  readonly italic: boolean
7478
- readonly italic_set: boolean
7479
6925
  readonly italicSet: boolean
7480
- readonly line_background: string | null
7481
6926
  readonly lineBackground: string | null
7482
- readonly line_background_set: boolean
7483
6927
  readonly lineBackgroundSet: boolean
7484
- readonly pango_underline: Pango.Underline
7485
6928
  readonly pangoUnderline: Pango.Underline
7486
6929
  readonly scale: string | null
7487
- readonly scale_set: boolean
7488
6930
  readonly scaleSet: boolean
7489
6931
  readonly strikethrough: boolean
7490
- readonly strikethrough_set: boolean
7491
6932
  readonly strikethroughSet: boolean
7492
6933
  readonly underline: boolean
7493
- readonly underline_color: string | null
7494
6934
  readonly underlineColor: string | null
7495
- readonly underline_color_set: boolean
7496
6935
  readonly underlineColorSet: boolean
7497
- readonly underline_set: boolean
7498
6936
  readonly underlineSet: boolean
7499
6937
 
7500
6938
  // Owm methods of GtkSource-3.0.GtkSource.Style
@@ -7644,9 +7082,9 @@ interface StyleScheme {
7644
7082
  get_authors(): string[] | null
7645
7083
  get_description(): string | null
7646
7084
  get_filename(): string | null
7647
- get_id(): string | null
7648
- get_name(): string | null
7649
- get_style(style_id: string | null): Style | null
7085
+ get_id(): string
7086
+ get_name(): string
7087
+ get_style(style_id: string): Style | null
7650
7088
 
7651
7089
  // Class property signals of GtkSource-3.0.GtkSource.StyleScheme
7652
7090
 
@@ -7708,7 +7146,7 @@ interface StyleSchemeChooserButton extends Atk.ImplementorIface, Gtk.Actionable,
7708
7146
  * Also see gtk_container_child_notify().
7709
7147
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7710
7148
  */
7711
- child_notify(child_property: string | null): void
7149
+ child_notify(child_property: string): void
7712
7150
  /**
7713
7151
  * Emits a #GtkWidget::child-notify signal for the
7714
7152
  * [child property][child-properties]
@@ -7720,7 +7158,7 @@ interface StyleSchemeChooserButton extends Atk.ImplementorIface, Gtk.Actionable,
7720
7158
  * @param child the child widget
7721
7159
  * @param child_property the name of a child property installed on the class of `container`
7722
7160
  */
7723
- child_notify(child: Gtk.Widget, child_property: string | null): void
7161
+ child_notify(child: Gtk.Widget, child_property: string): void
7724
7162
 
7725
7163
  // Overloads of child_notify
7726
7164
 
@@ -7734,7 +7172,7 @@ interface StyleSchemeChooserButton extends Atk.ImplementorIface, Gtk.Actionable,
7734
7172
  * Also see gtk_container_child_notify().
7735
7173
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7736
7174
  */
7737
- child_notify(child_property: string | null): void
7175
+ child_notify(child_property: string): void
7738
7176
 
7739
7177
  // Class property signals of GtkSource-3.0.GtkSource.StyleSchemeChooserButton
7740
7178
 
@@ -7965,7 +7403,7 @@ interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buildable,
7965
7403
  * @param child the child widget
7966
7404
  * @param child_property the name of a child property installed on the class of `container`
7967
7405
  */
7968
- child_notify(child: Gtk.Widget, child_property: string | null): void
7406
+ child_notify(child: Gtk.Widget, child_property: string): void
7969
7407
 
7970
7408
  // Overloads of child_notify
7971
7409
 
@@ -7979,7 +7417,7 @@ interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buildable,
7979
7417
  * Also see gtk_container_child_notify().
7980
7418
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7981
7419
  */
7982
- child_notify(child_property: string | null): void
7420
+ child_notify(child_property: string): void
7983
7421
  /**
7984
7422
  * Emits a #GtkWidget::child-notify signal for the
7985
7423
  * [child property][child-properties] `child_property`
@@ -7990,7 +7428,7 @@ interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buildable,
7990
7428
  * Also see gtk_container_child_notify().
7991
7429
  * @param child_property the name of a child property installed on the class of `widget’`s parent
7992
7430
  */
7993
- child_notify(child_property: string | null): void
7431
+ child_notify(child_property: string): void
7994
7432
 
7995
7433
  // Class property signals of GtkSource-3.0.GtkSource.StyleSchemeChooserWidget
7996
7434
 
@@ -8162,7 +7600,6 @@ module StyleSchemeManager {
8162
7600
 
8163
7601
  // Own constructor properties of GtkSource-3.0.GtkSource.StyleSchemeManager
8164
7602
 
8165
- search_path?: string[] | null
8166
7603
  searchPath?: string[] | null
8167
7604
  }
8168
7605
 
@@ -8172,9 +7609,7 @@ interface StyleSchemeManager {
8172
7609
 
8173
7610
  // Own properties of GtkSource-3.0.GtkSource.StyleSchemeManager
8174
7611
 
8175
- readonly scheme_ids: string[]
8176
7612
  readonly schemeIds: string[]
8177
- search_path: string[]
8178
7613
  searchPath: string[]
8179
7614
 
8180
7615
  // Own fields of GtkSource-3.0.GtkSource.StyleSchemeManager
@@ -8190,7 +7625,7 @@ interface StyleSchemeManager {
8190
7625
  * See gtk_source_style_scheme_manager_set_search_path() for details.
8191
7626
  * @param path a directory or a filename.
8192
7627
  */
8193
- append_search_path(path: string | null): void
7628
+ append_search_path(path: string): void
8194
7629
  /**
8195
7630
  * Mark any currently cached information about the available style scehems
8196
7631
  * as invalid. All the available style schemes will be reloaded next time
@@ -8202,7 +7637,7 @@ interface StyleSchemeManager {
8202
7637
  * @param scheme_id style scheme id to find.
8203
7638
  * @returns a #GtkSourceStyleScheme object. Returned value is owned by @manager and must not be unref'ed.
8204
7639
  */
8205
- get_scheme(scheme_id: string | null): StyleScheme
7640
+ get_scheme(scheme_id: string): StyleScheme
8206
7641
  /**
8207
7642
  * Returns the ids of the available style schemes.
8208
7643
  * @returns a %NULL-terminated array of strings containing the ids of the available style schemes or %NULL if no style scheme is available. The array is sorted alphabetically according to the scheme name. The array is owned by the @manager and must not be modified.
@@ -8220,7 +7655,7 @@ interface StyleSchemeManager {
8220
7655
  * See gtk_source_style_scheme_manager_set_search_path() for details.
8221
7656
  * @param path a directory or a filename.
8222
7657
  */
8223
- prepend_search_path(path: string | null): void
7658
+ prepend_search_path(path: string): void
8224
7659
  /**
8225
7660
  * Sets the list of directories where the `manager` looks for
8226
7661
  * style scheme files.
@@ -8283,20 +7718,6 @@ module Tag {
8283
7718
 
8284
7719
  // Own constructor properties of GtkSource-3.0.GtkSource.Tag
8285
7720
 
8286
- /**
8287
- * Whether to draw white spaces. This property takes precedence over the value
8288
- * defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
8289
- * (only where the tag is applied).
8290
- *
8291
- * Setting this property also changes #GtkSourceTag:draw-spaces-set to
8292
- * %TRUE.
8293
- */
8294
- draw_spaces?: boolean | null
8295
- /**
8296
- * Whether the #GtkSourceTag:draw-spaces property is set and must be
8297
- * taken into account.
8298
- */
8299
- draw_spaces_set?: boolean | null
8300
7721
  /**
8301
7722
  * Whether to draw white spaces. This property takes precedence over the value
8302
7723
  * defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
@@ -8319,15 +7740,6 @@ interface Tag {
8319
7740
 
8320
7741
  // Own properties of GtkSource-3.0.GtkSource.Tag
8321
7742
 
8322
- /**
8323
- * Whether to draw white spaces. This property takes precedence over the value
8324
- * defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
8325
- * (only where the tag is applied).
8326
- *
8327
- * Setting this property also changes #GtkSourceTag:draw-spaces-set to
8328
- * %TRUE.
8329
- */
8330
- draw_spaces: boolean
8331
7743
  /**
8332
7744
  * Whether to draw white spaces. This property takes precedence over the value
8333
7745
  * defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
@@ -8337,11 +7749,6 @@ interface Tag {
8337
7749
  * %TRUE.
8338
7750
  */
8339
7751
  drawSpaces: boolean
8340
- /**
8341
- * Whether the #GtkSourceTag:draw-spaces property is set and must be
8342
- * taken into account.
8343
- */
8344
- draw_spaces_set: boolean
8345
7752
  /**
8346
7753
  * Whether the #GtkSourceTag:draw-spaces property is set and must be
8347
7754
  * taken into account.
@@ -8711,53 +8118,6 @@ module View {
8711
8118
 
8712
8119
  // Own constructor properties of GtkSource-3.0.GtkSource.View
8713
8120
 
8714
- auto_indent?: boolean | null
8715
- /**
8716
- * Draw a specific background pattern on the view.
8717
- */
8718
- background_pattern?: BackgroundPatternType | null
8719
- /**
8720
- * Set if and how the spaces should be visualized.
8721
- *
8722
- * For a finer-grained method, there is also the GtkSourceTag's
8723
- * #GtkSourceTag:draw-spaces property.
8724
- */
8725
- draw_spaces?: DrawSpacesFlags | null
8726
- highlight_current_line?: boolean | null
8727
- indent_on_tab?: boolean | null
8728
- /**
8729
- * Width of an indentation step expressed in number of spaces.
8730
- */
8731
- indent_width?: number | null
8732
- insert_spaces_instead_of_tabs?: boolean | null
8733
- /**
8734
- * Position of the right margin.
8735
- */
8736
- right_margin_position?: number | null
8737
- /**
8738
- * Whether to display line mark pixbufs
8739
- */
8740
- show_line_marks?: boolean | null
8741
- /**
8742
- * Whether to display line numbers
8743
- */
8744
- show_line_numbers?: boolean | null
8745
- /**
8746
- * Whether to display the right margin.
8747
- */
8748
- show_right_margin?: boolean | null
8749
- /**
8750
- * Whether smart Backspace should be used.
8751
- */
8752
- smart_backspace?: boolean | null
8753
- /**
8754
- * Set the behavior of the HOME and END keys.
8755
- */
8756
- smart_home_end?: SmartHomeEndType | null
8757
- /**
8758
- * Width of a tab character expressed in number of spaces.
8759
- */
8760
- tab_width?: number | null
8761
8121
  autoIndent?: boolean | null
8762
8122
  /**
8763
8123
  * Draw a specific background pattern on the view.
@@ -8813,12 +8173,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
8813
8173
 
8814
8174
  // Own properties of GtkSource-3.0.GtkSource.View
8815
8175
 
8816
- auto_indent: boolean
8817
8176
  autoIndent: boolean
8818
- /**
8819
- * Draw a specific background pattern on the view.
8820
- */
8821
- background_pattern: BackgroundPatternType
8822
8177
  /**
8823
8178
  * Draw a specific background pattern on the view.
8824
8179
  */
@@ -8827,13 +8182,6 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
8827
8182
  * The completion object associated with the view
8828
8183
  */
8829
8184
  readonly completion: Completion
8830
- /**
8831
- * Set if and how the spaces should be visualized.
8832
- *
8833
- * For a finer-grained method, there is also the GtkSourceTag's
8834
- * #GtkSourceTag:draw-spaces property.
8835
- */
8836
- draw_spaces: DrawSpacesFlags
8837
8185
  /**
8838
8186
  * Set if and how the spaces should be visualized.
8839
8187
  *
@@ -8841,80 +8189,41 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
8841
8189
  * #GtkSourceTag:draw-spaces property.
8842
8190
  */
8843
8191
  drawSpaces: DrawSpacesFlags
8844
- highlight_current_line: boolean
8845
8192
  highlightCurrentLine: boolean
8846
- indent_on_tab: boolean
8847
8193
  indentOnTab: boolean
8848
- /**
8849
- * Width of an indentation step expressed in number of spaces.
8850
- */
8851
- indent_width: number
8852
8194
  /**
8853
8195
  * Width of an indentation step expressed in number of spaces.
8854
8196
  */
8855
8197
  indentWidth: number
8856
- insert_spaces_instead_of_tabs: boolean
8857
8198
  insertSpacesInsteadOfTabs: boolean
8858
- /**
8859
- * Position of the right margin.
8860
- */
8861
- right_margin_position: number
8862
8199
  /**
8863
8200
  * Position of the right margin.
8864
8201
  */
8865
8202
  rightMarginPosition: number
8866
- /**
8867
- * Whether to display line mark pixbufs
8868
- */
8869
- show_line_marks: boolean
8870
8203
  /**
8871
8204
  * Whether to display line mark pixbufs
8872
8205
  */
8873
8206
  showLineMarks: boolean
8874
- /**
8875
- * Whether to display line numbers
8876
- */
8877
- show_line_numbers: boolean
8878
8207
  /**
8879
8208
  * Whether to display line numbers
8880
8209
  */
8881
8210
  showLineNumbers: boolean
8882
- /**
8883
- * Whether to display the right margin.
8884
- */
8885
- show_right_margin: boolean
8886
8211
  /**
8887
8212
  * Whether to display the right margin.
8888
8213
  */
8889
8214
  showRightMargin: boolean
8890
- /**
8891
- * Whether smart Backspace should be used.
8892
- */
8893
- smart_backspace: boolean
8894
8215
  /**
8895
8216
  * Whether smart Backspace should be used.
8896
8217
  */
8897
8218
  smartBackspace: boolean
8898
- /**
8899
- * Set the behavior of the HOME and END keys.
8900
- */
8901
- smart_home_end: SmartHomeEndType
8902
8219
  /**
8903
8220
  * Set the behavior of the HOME and END keys.
8904
8221
  */
8905
8222
  smartHomeEnd: SmartHomeEndType
8906
- /**
8907
- * The #GtkSourceSpaceDrawer object associated with the view.
8908
- */
8909
- readonly space_drawer: SpaceDrawer
8910
8223
  /**
8911
8224
  * The #GtkSourceSpaceDrawer object associated with the view.
8912
8225
  */
8913
8226
  readonly spaceDrawer: SpaceDrawer
8914
- /**
8915
- * Width of a tab character expressed in number of spaces.
8916
- */
8917
- tab_width: number
8918
8227
  /**
8919
8228
  * Width of a tab character expressed in number of spaces.
8920
8229
  */
@@ -8993,7 +8302,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
8993
8302
  * @param priority place where priority of the category will be stored.
8994
8303
  * @returns #GtkSourceMarkAttributes for the @category. The object belongs to @view, so it must not be unreffed.
8995
8304
  */
8996
- get_mark_attributes(category: string | null, priority: number): MarkAttributes
8305
+ get_mark_attributes(category: string, priority: number): MarkAttributes
8997
8306
  /**
8998
8307
  * Gets the position of the right margin in the given `view`.
8999
8308
  * @returns the position of the right margin.
@@ -9131,7 +8440,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
9131
8440
  * @param attributes mark attributes.
9132
8441
  * @param priority priority of the category.
9133
8442
  */
9134
- set_mark_attributes(category: string | null, attributes: MarkAttributes, priority: number): void
8443
+ set_mark_attributes(category: string, attributes: MarkAttributes, priority: number): void
9135
8444
  /**
9136
8445
  * Sets the position of the right margin in the given `view`.
9137
8446
  * @param pos the width in characters where to position the right margin.
@@ -9216,7 +8525,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
9216
8525
  * @param child the child widget
9217
8526
  * @param child_property the name of a child property installed on the class of `container`
9218
8527
  */
9219
- child_notify(child: Gtk.Widget, child_property: string | null): void
8528
+ child_notify(child: Gtk.Widget, child_property: string): void
9220
8529
 
9221
8530
  // Overloads of child_notify
9222
8531
 
@@ -9230,7 +8539,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
9230
8539
  * Also see gtk_container_child_notify().
9231
8540
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9232
8541
  */
9233
- child_notify(child_property: string | null): void
8542
+ child_notify(child_property: string): void
9234
8543
  /**
9235
8544
  * Emits a #GtkWidget::child-notify signal for the
9236
8545
  * [child property][child-properties] `child_property`
@@ -9241,7 +8550,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
9241
8550
  * Also see gtk_container_child_notify().
9242
8551
  * @param child_property the name of a child property installed on the class of `widget’`s parent
9243
8552
  */
9244
- child_notify(child_property: string | null): void
8553
+ child_notify(child_property: string): void
9245
8554
 
9246
8555
  // Own virtual methods of GtkSource-3.0.GtkSource.View
9247
8556
 
@@ -9848,12 +9157,12 @@ interface Encoding {
9848
9157
  * "ISO-8859-1".
9849
9158
  * @returns the character set of the #GtkSourceEncoding.
9850
9159
  */
9851
- get_charset(): string | null
9160
+ get_charset(): string
9852
9161
  /**
9853
9162
  * Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".
9854
9163
  * @returns the name of the #GtkSourceEncoding.
9855
9164
  */
9856
- get_name(): string | null
9165
+ get_name(): string
9857
9166
  to_string(): string | null
9858
9167
  }
9859
9168
 
@@ -9891,7 +9200,7 @@ class Encoding {
9891
9200
  * @param charset a character set.
9892
9201
  * @returns the corresponding #GtkSourceEncoding, or %NULL if not found.
9893
9202
  */
9894
- static get_from_charset(charset: string | null): Encoding | null
9203
+ static get_from_charset(charset: string): Encoding | null
9895
9204
  static get_utf8(): Encoding
9896
9205
  }
9897
9206