@girs/gtksource-4 4.0.0-3.2.6 → 4.0.0-3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gtksource-4-ambient.js +2 -0
- package/gtksource-4-import.js +3 -0
- package/gtksource-4.d.cts +97 -759
- package/gtksource-4.d.ts +97 -759
- package/package.json +24 -18
package/gtksource-4.d.cts
CHANGED
|
@@ -369,7 +369,7 @@ export function encoding_get_default_candidates(): Encoding[]
|
|
|
369
369
|
* @param charset a character set.
|
|
370
370
|
* @returns the corresponding #GtkSourceEncoding, or %NULL if not found.
|
|
371
371
|
*/
|
|
372
|
-
export function encoding_get_from_charset(charset: string
|
|
372
|
+
export function encoding_get_from_charset(charset: string): Encoding | null
|
|
373
373
|
export function encoding_get_utf8(): Encoding
|
|
374
374
|
export function file_loader_error_quark(): GLib.Quark
|
|
375
375
|
export function file_saver_error_quark(): GLib.Quark
|
|
@@ -409,7 +409,7 @@ export function init(): void
|
|
|
409
409
|
* @param text the text to escape.
|
|
410
410
|
* @returns the escaped @text.
|
|
411
411
|
*/
|
|
412
|
-
export function utils_escape_search_text(text: string
|
|
412
|
+
export function utils_escape_search_text(text: string): string | null
|
|
413
413
|
/**
|
|
414
414
|
* Use this function before gtk_source_search_settings_set_search_text(), to
|
|
415
415
|
* unescape the following sequences of characters: `\n`, `\r`, `\t` and `\\`.
|
|
@@ -422,7 +422,7 @@ export function utils_escape_search_text(text: string | null): string | null
|
|
|
422
422
|
* @param text the text to unescape.
|
|
423
423
|
* @returns the unescaped @text.
|
|
424
424
|
*/
|
|
425
|
-
export function utils_unescape_search_text(text: string
|
|
425
|
+
export function utils_unescape_search_text(text: string): string | null
|
|
426
426
|
export module CompletionProposal {
|
|
427
427
|
|
|
428
428
|
// Signal callback interfaces
|
|
@@ -926,12 +926,6 @@ export module StyleSchemeChooser {
|
|
|
926
926
|
|
|
927
927
|
// Own constructor properties of GtkSource-4.GtkSource.StyleSchemeChooser
|
|
928
928
|
|
|
929
|
-
/**
|
|
930
|
-
* The :style-scheme property contains the currently selected style
|
|
931
|
-
* scheme. The property can be set to change
|
|
932
|
-
* the current selection programmatically.
|
|
933
|
-
*/
|
|
934
|
-
style_scheme?: StyleScheme | null
|
|
935
929
|
/**
|
|
936
930
|
* The :style-scheme property contains the currently selected style
|
|
937
931
|
* scheme. The property can be set to change
|
|
@@ -946,12 +940,6 @@ export interface StyleSchemeChooser {
|
|
|
946
940
|
|
|
947
941
|
// Own properties of GtkSource-4.GtkSource.StyleSchemeChooser
|
|
948
942
|
|
|
949
|
-
/**
|
|
950
|
-
* The :style-scheme property contains the currently selected style
|
|
951
|
-
* scheme. The property can be set to change
|
|
952
|
-
* the current selection programmatically.
|
|
953
|
-
*/
|
|
954
|
-
style_scheme: StyleScheme
|
|
955
943
|
/**
|
|
956
944
|
* The :style-scheme property contains the currently selected style
|
|
957
945
|
* scheme. The property can be set to change
|
|
@@ -1209,32 +1197,6 @@ export module Buffer {
|
|
|
1209
1197
|
|
|
1210
1198
|
// Own constructor properties of GtkSource-4.GtkSource.Buffer
|
|
1211
1199
|
|
|
1212
|
-
/**
|
|
1213
|
-
* Whether to highlight matching brackets in the buffer.
|
|
1214
|
-
*/
|
|
1215
|
-
highlight_matching_brackets?: boolean | null
|
|
1216
|
-
/**
|
|
1217
|
-
* Whether to highlight syntax in the buffer.
|
|
1218
|
-
*/
|
|
1219
|
-
highlight_syntax?: boolean | null
|
|
1220
|
-
/**
|
|
1221
|
-
* Whether the buffer has an implicit trailing newline. See
|
|
1222
|
-
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1223
|
-
*/
|
|
1224
|
-
implicit_trailing_newline?: boolean | null
|
|
1225
|
-
language?: Language | null
|
|
1226
|
-
/**
|
|
1227
|
-
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1228
|
-
* will only affect the default undo manager.
|
|
1229
|
-
*/
|
|
1230
|
-
max_undo_levels?: number | null
|
|
1231
|
-
/**
|
|
1232
|
-
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1233
|
-
* foreground, background, cursor color, current line color, and matching
|
|
1234
|
-
* brackets style.
|
|
1235
|
-
*/
|
|
1236
|
-
style_scheme?: StyleScheme | null
|
|
1237
|
-
undo_manager?: UndoManager | null
|
|
1238
1200
|
/**
|
|
1239
1201
|
* Whether to highlight matching brackets in the buffer.
|
|
1240
1202
|
*/
|
|
@@ -1248,6 +1210,7 @@ export module Buffer {
|
|
|
1248
1210
|
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1249
1211
|
*/
|
|
1250
1212
|
implicitTrailingNewline?: boolean | null
|
|
1213
|
+
language?: Language | null
|
|
1251
1214
|
/**
|
|
1252
1215
|
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1253
1216
|
* will only affect the default undo manager.
|
|
@@ -1268,60 +1231,33 @@ export interface Buffer {
|
|
|
1268
1231
|
|
|
1269
1232
|
// Own properties of GtkSource-4.GtkSource.Buffer
|
|
1270
1233
|
|
|
1271
|
-
readonly can_redo: boolean
|
|
1272
1234
|
readonly canRedo: boolean
|
|
1273
|
-
readonly can_undo: boolean
|
|
1274
1235
|
readonly canUndo: boolean
|
|
1275
|
-
/**
|
|
1276
|
-
* Whether to highlight matching brackets in the buffer.
|
|
1277
|
-
*/
|
|
1278
|
-
highlight_matching_brackets: boolean
|
|
1279
1236
|
/**
|
|
1280
1237
|
* Whether to highlight matching brackets in the buffer.
|
|
1281
1238
|
*/
|
|
1282
1239
|
highlightMatchingBrackets: boolean
|
|
1283
|
-
/**
|
|
1284
|
-
* Whether to highlight syntax in the buffer.
|
|
1285
|
-
*/
|
|
1286
|
-
highlight_syntax: boolean
|
|
1287
1240
|
/**
|
|
1288
1241
|
* Whether to highlight syntax in the buffer.
|
|
1289
1242
|
*/
|
|
1290
1243
|
highlightSyntax: boolean
|
|
1291
|
-
/**
|
|
1292
|
-
* Whether the buffer has an implicit trailing newline. See
|
|
1293
|
-
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1294
|
-
*/
|
|
1295
|
-
implicit_trailing_newline: boolean
|
|
1296
1244
|
/**
|
|
1297
1245
|
* Whether the buffer has an implicit trailing newline. See
|
|
1298
1246
|
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1299
1247
|
*/
|
|
1300
1248
|
implicitTrailingNewline: boolean
|
|
1301
1249
|
language: Language
|
|
1302
|
-
/**
|
|
1303
|
-
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1304
|
-
* will only affect the default undo manager.
|
|
1305
|
-
*/
|
|
1306
|
-
max_undo_levels: number
|
|
1307
1250
|
/**
|
|
1308
1251
|
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1309
1252
|
* will only affect the default undo manager.
|
|
1310
1253
|
*/
|
|
1311
1254
|
maxUndoLevels: number
|
|
1312
|
-
/**
|
|
1313
|
-
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1314
|
-
* foreground, background, cursor color, current line color, and matching
|
|
1315
|
-
* brackets style.
|
|
1316
|
-
*/
|
|
1317
|
-
style_scheme: StyleScheme
|
|
1318
1255
|
/**
|
|
1319
1256
|
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1320
1257
|
* foreground, background, cursor color, current line color, and matching
|
|
1321
1258
|
* brackets style.
|
|
1322
1259
|
*/
|
|
1323
1260
|
styleScheme: StyleScheme
|
|
1324
|
-
undo_manager: UndoManager
|
|
1325
1261
|
undoManager: UndoManager
|
|
1326
1262
|
|
|
1327
1263
|
// Own fields of GtkSource-4.GtkSource.Buffer
|
|
@@ -1350,6 +1286,17 @@ export interface Buffer {
|
|
|
1350
1286
|
* gtk_source_buffer_end_not_undoable_action() blocks.
|
|
1351
1287
|
*/
|
|
1352
1288
|
begin_not_undoable_action(): void
|
|
1289
|
+
/**
|
|
1290
|
+
* Determines whether a source buffer can redo the last action
|
|
1291
|
+
* (i.e. if the last operation was an undo).
|
|
1292
|
+
* @returns %TRUE if a redo is possible.
|
|
1293
|
+
*/
|
|
1294
|
+
can_redo(): boolean
|
|
1295
|
+
/**
|
|
1296
|
+
* Determines whether a source buffer can undo the last action.
|
|
1297
|
+
* @returns %TRUE if it's possible to undo the last action.
|
|
1298
|
+
*/
|
|
1299
|
+
can_undo(): boolean
|
|
1353
1300
|
/**
|
|
1354
1301
|
* Changes the case of the text between the specified iterators.
|
|
1355
1302
|
* @param case_type how to change the case.
|
|
@@ -1376,7 +1323,7 @@ export interface Buffer {
|
|
|
1376
1323
|
* @param where location to place the mark.
|
|
1377
1324
|
* @returns a new #GtkSourceMark, owned by the buffer.
|
|
1378
1325
|
*/
|
|
1379
|
-
create_source_mark(name: string | null, category: string
|
|
1326
|
+
create_source_mark(name: string | null, category: string, where: Gtk.TextIter): Mark
|
|
1380
1327
|
/**
|
|
1381
1328
|
* Marks the end of a not undoable action on the buffer. When the
|
|
1382
1329
|
* last not undoable block is closed through the call to this
|
|
@@ -1482,7 +1429,7 @@ export interface Buffer {
|
|
|
1482
1429
|
* @param context_class the context class.
|
|
1483
1430
|
* @returns whether we found a context class toggle before @iter
|
|
1484
1431
|
*/
|
|
1485
|
-
iter_backward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string
|
|
1432
|
+
iter_backward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string): [ /* returnType */ boolean, /* iter */ Gtk.TextIter ]
|
|
1486
1433
|
/**
|
|
1487
1434
|
* Moves forward to the next toggle (on or off) of the context class. If no
|
|
1488
1435
|
* matching context class toggles are found, returns %FALSE, otherwise %TRUE.
|
|
@@ -1495,7 +1442,7 @@ export interface Buffer {
|
|
|
1495
1442
|
* @param context_class the context class.
|
|
1496
1443
|
* @returns whether we found a context class toggle after @iter
|
|
1497
1444
|
*/
|
|
1498
|
-
iter_forward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string
|
|
1445
|
+
iter_forward_to_context_class_toggle(iter: Gtk.TextIter, context_class: string): [ /* returnType */ boolean, /* iter */ Gtk.TextIter ]
|
|
1499
1446
|
/**
|
|
1500
1447
|
* Check if the class `context_class` is set on `iter`.
|
|
1501
1448
|
*
|
|
@@ -1504,7 +1451,7 @@ export interface Buffer {
|
|
|
1504
1451
|
* @param context_class class to search for.
|
|
1505
1452
|
* @returns whether @iter has the context class.
|
|
1506
1453
|
*/
|
|
1507
|
-
iter_has_context_class(iter: Gtk.TextIter, context_class: string
|
|
1454
|
+
iter_has_context_class(iter: Gtk.TextIter, context_class: string): boolean
|
|
1508
1455
|
/**
|
|
1509
1456
|
* Joins the lines of text between the specified iterators.
|
|
1510
1457
|
* @param start a #GtkTextIter.
|
|
@@ -1825,52 +1772,6 @@ export module Completion {
|
|
|
1825
1772
|
* <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo>.
|
|
1826
1773
|
*/
|
|
1827
1774
|
accelerators?: number | null
|
|
1828
|
-
/**
|
|
1829
|
-
* Determines the popup delay (in milliseconds) at which the completion
|
|
1830
|
-
* will be shown for interactive completion.
|
|
1831
|
-
*/
|
|
1832
|
-
auto_complete_delay?: number | null
|
|
1833
|
-
/**
|
|
1834
|
-
* The scroll page size of the proposals in the completion window. In
|
|
1835
|
-
* other words, when <keycap>PageDown</keycap> or
|
|
1836
|
-
* <keycap>PageUp</keycap> is pressed, the selected
|
|
1837
|
-
* proposal becomes the one which is located one page size backward or
|
|
1838
|
-
* forward.
|
|
1839
|
-
*
|
|
1840
|
-
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1841
|
-
*/
|
|
1842
|
-
proposal_page_size?: number | null
|
|
1843
|
-
/**
|
|
1844
|
-
* The scroll page size of the provider pages in the completion window.
|
|
1845
|
-
*
|
|
1846
|
-
* See the #GtkSourceCompletion::move-page signal.
|
|
1847
|
-
*/
|
|
1848
|
-
provider_page_size?: number | null
|
|
1849
|
-
/**
|
|
1850
|
-
* Determines whether the visibility of the info window should be
|
|
1851
|
-
* saved when the completion is hidden, and restored when the completion
|
|
1852
|
-
* is shown again.
|
|
1853
|
-
*/
|
|
1854
|
-
remember_info_visibility?: boolean | null
|
|
1855
|
-
/**
|
|
1856
|
-
* Determines whether the first proposal should be selected when the
|
|
1857
|
-
* completion is first shown.
|
|
1858
|
-
*/
|
|
1859
|
-
select_on_show?: boolean | null
|
|
1860
|
-
/**
|
|
1861
|
-
* Determines whether provider headers should be shown in the proposal
|
|
1862
|
-
* list. It can be useful to disable when there is only one provider.
|
|
1863
|
-
*/
|
|
1864
|
-
show_headers?: boolean | null
|
|
1865
|
-
/**
|
|
1866
|
-
* Determines whether provider and proposal icons should be shown in
|
|
1867
|
-
* the completion popup.
|
|
1868
|
-
*/
|
|
1869
|
-
show_icons?: boolean | null
|
|
1870
|
-
/**
|
|
1871
|
-
* The #GtkSourceView bound to the completion object.
|
|
1872
|
-
*/
|
|
1873
|
-
view?: View | null
|
|
1874
1775
|
/**
|
|
1875
1776
|
* Determines the popup delay (in milliseconds) at which the completion
|
|
1876
1777
|
* will be shown for interactive completion.
|
|
@@ -1913,6 +1814,10 @@ export module Completion {
|
|
|
1913
1814
|
* the completion popup.
|
|
1914
1815
|
*/
|
|
1915
1816
|
showIcons?: boolean | null
|
|
1817
|
+
/**
|
|
1818
|
+
* The #GtkSourceView bound to the completion object.
|
|
1819
|
+
*/
|
|
1820
|
+
view?: View | null
|
|
1916
1821
|
}
|
|
1917
1822
|
|
|
1918
1823
|
}
|
|
@@ -1927,26 +1832,11 @@ export interface Completion extends Gtk.Buildable {
|
|
|
1927
1832
|
* <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo>.
|
|
1928
1833
|
*/
|
|
1929
1834
|
accelerators: number
|
|
1930
|
-
/**
|
|
1931
|
-
* Determines the popup delay (in milliseconds) at which the completion
|
|
1932
|
-
* will be shown for interactive completion.
|
|
1933
|
-
*/
|
|
1934
|
-
auto_complete_delay: number
|
|
1935
1835
|
/**
|
|
1936
1836
|
* Determines the popup delay (in milliseconds) at which the completion
|
|
1937
1837
|
* will be shown for interactive completion.
|
|
1938
1838
|
*/
|
|
1939
1839
|
autoCompleteDelay: number
|
|
1940
|
-
/**
|
|
1941
|
-
* The scroll page size of the proposals in the completion window. In
|
|
1942
|
-
* other words, when <keycap>PageDown</keycap> or
|
|
1943
|
-
* <keycap>PageUp</keycap> is pressed, the selected
|
|
1944
|
-
* proposal becomes the one which is located one page size backward or
|
|
1945
|
-
* forward.
|
|
1946
|
-
*
|
|
1947
|
-
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1948
|
-
*/
|
|
1949
|
-
proposal_page_size: number
|
|
1950
1840
|
/**
|
|
1951
1841
|
* The scroll page size of the proposals in the completion window. In
|
|
1952
1842
|
* other words, when <keycap>PageDown</keycap> or
|
|
@@ -1957,55 +1847,28 @@ export interface Completion extends Gtk.Buildable {
|
|
|
1957
1847
|
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1958
1848
|
*/
|
|
1959
1849
|
proposalPageSize: number
|
|
1960
|
-
/**
|
|
1961
|
-
* The scroll page size of the provider pages in the completion window.
|
|
1962
|
-
*
|
|
1963
|
-
* See the #GtkSourceCompletion::move-page signal.
|
|
1964
|
-
*/
|
|
1965
|
-
provider_page_size: number
|
|
1966
1850
|
/**
|
|
1967
1851
|
* The scroll page size of the provider pages in the completion window.
|
|
1968
1852
|
*
|
|
1969
1853
|
* See the #GtkSourceCompletion::move-page signal.
|
|
1970
1854
|
*/
|
|
1971
1855
|
providerPageSize: number
|
|
1972
|
-
/**
|
|
1973
|
-
* Determines whether the visibility of the info window should be
|
|
1974
|
-
* saved when the completion is hidden, and restored when the completion
|
|
1975
|
-
* is shown again.
|
|
1976
|
-
*/
|
|
1977
|
-
remember_info_visibility: boolean
|
|
1978
1856
|
/**
|
|
1979
1857
|
* Determines whether the visibility of the info window should be
|
|
1980
1858
|
* saved when the completion is hidden, and restored when the completion
|
|
1981
1859
|
* is shown again.
|
|
1982
1860
|
*/
|
|
1983
1861
|
rememberInfoVisibility: boolean
|
|
1984
|
-
/**
|
|
1985
|
-
* Determines whether the first proposal should be selected when the
|
|
1986
|
-
* completion is first shown.
|
|
1987
|
-
*/
|
|
1988
|
-
select_on_show: boolean
|
|
1989
1862
|
/**
|
|
1990
1863
|
* Determines whether the first proposal should be selected when the
|
|
1991
1864
|
* completion is first shown.
|
|
1992
1865
|
*/
|
|
1993
1866
|
selectOnShow: boolean
|
|
1994
|
-
/**
|
|
1995
|
-
* Determines whether provider headers should be shown in the proposal
|
|
1996
|
-
* list. It can be useful to disable when there is only one provider.
|
|
1997
|
-
*/
|
|
1998
|
-
show_headers: boolean
|
|
1999
1867
|
/**
|
|
2000
1868
|
* Determines whether provider headers should be shown in the proposal
|
|
2001
1869
|
* list. It can be useful to disable when there is only one provider.
|
|
2002
1870
|
*/
|
|
2003
1871
|
showHeaders: boolean
|
|
2004
|
-
/**
|
|
2005
|
-
* Determines whether provider and proposal icons should be shown in
|
|
2006
|
-
* the completion popup.
|
|
2007
|
-
*/
|
|
2008
|
-
show_icons: boolean
|
|
2009
1872
|
/**
|
|
2010
1873
|
* Determines whether provider and proposal icons should be shown in
|
|
2011
1874
|
* the completion popup.
|
|
@@ -2368,7 +2231,7 @@ export interface CompletionInfo extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
2368
2231
|
* @param child the child widget
|
|
2369
2232
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2370
2233
|
*/
|
|
2371
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2234
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2372
2235
|
|
|
2373
2236
|
// Overloads of child_notify
|
|
2374
2237
|
|
|
@@ -2382,7 +2245,7 @@ export interface CompletionInfo extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
2382
2245
|
* Also see gtk_container_child_notify().
|
|
2383
2246
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2384
2247
|
*/
|
|
2385
|
-
child_notify(child_property: string
|
|
2248
|
+
child_notify(child_property: string): void
|
|
2386
2249
|
/**
|
|
2387
2250
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2388
2251
|
* [child property][child-properties] `child_property`
|
|
@@ -2393,7 +2256,7 @@ export interface CompletionInfo extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
2393
2256
|
* Also see gtk_container_child_notify().
|
|
2394
2257
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2395
2258
|
*/
|
|
2396
|
-
child_notify(child_property: string
|
|
2259
|
+
child_notify(child_property: string): void
|
|
2397
2260
|
|
|
2398
2261
|
// Class property signals of GtkSource-4.GtkSource.CompletionInfo
|
|
2399
2262
|
|
|
@@ -2691,7 +2554,7 @@ export module CompletionItem {
|
|
|
2691
2554
|
/**
|
|
2692
2555
|
* The icon name for the icon to be shown for this proposal.
|
|
2693
2556
|
*/
|
|
2694
|
-
|
|
2557
|
+
iconName?: string | null
|
|
2695
2558
|
/**
|
|
2696
2559
|
* Optional extra information to be shown for this proposal.
|
|
2697
2560
|
*/
|
|
@@ -2708,10 +2571,6 @@ export module CompletionItem {
|
|
|
2708
2571
|
* Proposal text.
|
|
2709
2572
|
*/
|
|
2710
2573
|
text?: string | null
|
|
2711
|
-
/**
|
|
2712
|
-
* The icon name for the icon to be shown for this proposal.
|
|
2713
|
-
*/
|
|
2714
|
-
iconName?: string | null
|
|
2715
2574
|
}
|
|
2716
2575
|
|
|
2717
2576
|
}
|
|
@@ -2728,10 +2587,6 @@ export interface CompletionItem extends CompletionProposal {
|
|
|
2728
2587
|
* The #GdkPixbuf for the icon to be shown for this proposal.
|
|
2729
2588
|
*/
|
|
2730
2589
|
icon: GdkPixbuf.Pixbuf
|
|
2731
|
-
/**
|
|
2732
|
-
* The icon name for the icon to be shown for this proposal.
|
|
2733
|
-
*/
|
|
2734
|
-
icon_name: string | null
|
|
2735
2590
|
/**
|
|
2736
2591
|
* The icon name for the icon to be shown for this proposal.
|
|
2737
2592
|
*/
|
|
@@ -2837,14 +2692,10 @@ export module CompletionWords {
|
|
|
2837
2692
|
*/
|
|
2838
2693
|
activation?: CompletionActivation | null
|
|
2839
2694
|
icon?: GdkPixbuf.Pixbuf | null
|
|
2840
|
-
interactive_delay?: number | null
|
|
2841
|
-
minimum_word_size?: number | null
|
|
2842
|
-
name?: string | null
|
|
2843
|
-
priority?: number | null
|
|
2844
|
-
proposals_batch_size?: number | null
|
|
2845
|
-
scan_batch_size?: number | null
|
|
2846
2695
|
interactiveDelay?: number | null
|
|
2847
2696
|
minimumWordSize?: number | null
|
|
2697
|
+
name?: string | null
|
|
2698
|
+
priority?: number | null
|
|
2848
2699
|
proposalsBatchSize?: number | null
|
|
2849
2700
|
scanBatchSize?: number | null
|
|
2850
2701
|
}
|
|
@@ -2860,15 +2711,11 @@ export interface CompletionWords extends CompletionProvider {
|
|
|
2860
2711
|
*/
|
|
2861
2712
|
activation: CompletionActivation
|
|
2862
2713
|
icon: GdkPixbuf.Pixbuf
|
|
2863
|
-
interactive_delay: number
|
|
2864
2714
|
interactiveDelay: number
|
|
2865
|
-
minimum_word_size: number
|
|
2866
2715
|
minimumWordSize: number
|
|
2867
2716
|
name: string | null
|
|
2868
2717
|
priority: number
|
|
2869
|
-
proposals_batch_size: number
|
|
2870
2718
|
proposalsBatchSize: number
|
|
2871
|
-
scan_batch_size: number
|
|
2872
2719
|
scanBatchSize: number
|
|
2873
2720
|
|
|
2874
2721
|
// Own fields of GtkSource-4.GtkSource.CompletionWords
|
|
@@ -2956,10 +2803,6 @@ export interface File {
|
|
|
2956
2803
|
|
|
2957
2804
|
// Own properties of GtkSource-4.GtkSource.File
|
|
2958
2805
|
|
|
2959
|
-
/**
|
|
2960
|
-
* The compression type.
|
|
2961
|
-
*/
|
|
2962
|
-
readonly compression_type: CompressionType
|
|
2963
2806
|
/**
|
|
2964
2807
|
* The compression type.
|
|
2965
2808
|
*/
|
|
@@ -2973,19 +2816,10 @@ export interface File {
|
|
|
2973
2816
|
* The location.
|
|
2974
2817
|
*/
|
|
2975
2818
|
location: Gio.File
|
|
2976
|
-
/**
|
|
2977
|
-
* The line ending type.
|
|
2978
|
-
*/
|
|
2979
|
-
readonly newline_type: NewlineType
|
|
2980
2819
|
/**
|
|
2981
2820
|
* The line ending type.
|
|
2982
2821
|
*/
|
|
2983
2822
|
readonly newlineType: NewlineType
|
|
2984
|
-
/**
|
|
2985
|
-
* Whether the file is read-only or not. The value of this property is
|
|
2986
|
-
* not updated automatically (there is no file monitors).
|
|
2987
|
-
*/
|
|
2988
|
-
readonly read_only: boolean
|
|
2989
2823
|
/**
|
|
2990
2824
|
* Whether the file is read-only or not. The value of this property is
|
|
2991
2825
|
* not updated automatically (there is no file monitors).
|
|
@@ -3119,18 +2953,13 @@ export module FileLoader {
|
|
|
3119
2953
|
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3120
2954
|
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3121
2955
|
*/
|
|
3122
|
-
|
|
2956
|
+
inputStream?: Gio.InputStream | null
|
|
3123
2957
|
/**
|
|
3124
2958
|
* The #GFile to load. If the #GtkSourceFileLoader:input-stream is
|
|
3125
2959
|
* %NULL, by default the location is taken from the #GtkSourceFile at
|
|
3126
2960
|
* construction time.
|
|
3127
2961
|
*/
|
|
3128
2962
|
location?: Gio.File | null
|
|
3129
|
-
/**
|
|
3130
|
-
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3131
|
-
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3132
|
-
*/
|
|
3133
|
-
inputStream?: Gio.InputStream | null
|
|
3134
2963
|
}
|
|
3135
2964
|
|
|
3136
2965
|
}
|
|
@@ -3149,11 +2978,6 @@ export interface FileLoader {
|
|
|
3149
2978
|
* reference to the file.
|
|
3150
2979
|
*/
|
|
3151
2980
|
readonly file: File
|
|
3152
|
-
/**
|
|
3153
|
-
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3154
|
-
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3155
|
-
*/
|
|
3156
|
-
readonly input_stream: Gio.InputStream
|
|
3157
2981
|
/**
|
|
3158
2982
|
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3159
2983
|
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
@@ -3313,7 +3137,7 @@ export module FileSaver {
|
|
|
3313
3137
|
/**
|
|
3314
3138
|
* The compression type.
|
|
3315
3139
|
*/
|
|
3316
|
-
|
|
3140
|
+
compressionType?: CompressionType | null
|
|
3317
3141
|
/**
|
|
3318
3142
|
* The file's encoding.
|
|
3319
3143
|
*/
|
|
@@ -3332,14 +3156,6 @@ export module FileSaver {
|
|
|
3332
3156
|
* from the #GtkSourceFile at construction time.
|
|
3333
3157
|
*/
|
|
3334
3158
|
location?: Gio.File | null
|
|
3335
|
-
/**
|
|
3336
|
-
* The newline type.
|
|
3337
|
-
*/
|
|
3338
|
-
newline_type?: NewlineType | null
|
|
3339
|
-
/**
|
|
3340
|
-
* The compression type.
|
|
3341
|
-
*/
|
|
3342
|
-
compressionType?: CompressionType | null
|
|
3343
3159
|
/**
|
|
3344
3160
|
* The newline type.
|
|
3345
3161
|
*/
|
|
@@ -3357,10 +3173,6 @@ export interface FileSaver {
|
|
|
3357
3173
|
* weak reference to the buffer.
|
|
3358
3174
|
*/
|
|
3359
3175
|
readonly buffer: Buffer
|
|
3360
|
-
/**
|
|
3361
|
-
* The compression type.
|
|
3362
|
-
*/
|
|
3363
|
-
compression_type: CompressionType
|
|
3364
3176
|
/**
|
|
3365
3177
|
* The compression type.
|
|
3366
3178
|
*/
|
|
@@ -3383,10 +3195,6 @@ export interface FileSaver {
|
|
|
3383
3195
|
* from the #GtkSourceFile at construction time.
|
|
3384
3196
|
*/
|
|
3385
3197
|
readonly location: Gio.File
|
|
3386
|
-
/**
|
|
3387
|
-
* The newline type.
|
|
3388
|
-
*/
|
|
3389
|
-
newline_type: NewlineType
|
|
3390
3198
|
/**
|
|
3391
3199
|
* The newline type.
|
|
3392
3200
|
*/
|
|
@@ -3555,10 +3363,6 @@ export module Gutter {
|
|
|
3555
3363
|
* The #GtkSourceView of the gutter.
|
|
3556
3364
|
*/
|
|
3557
3365
|
view?: View | null
|
|
3558
|
-
/**
|
|
3559
|
-
* The text window type on which the window is placed.
|
|
3560
|
-
*/
|
|
3561
|
-
window_type?: Gtk.TextWindowType | null
|
|
3562
3366
|
/**
|
|
3563
3367
|
* The text window type on which the window is placed.
|
|
3564
3368
|
*/
|
|
@@ -3575,10 +3379,6 @@ export interface Gutter {
|
|
|
3575
3379
|
* The #GtkSourceView of the gutter.
|
|
3576
3380
|
*/
|
|
3577
3381
|
readonly view: View
|
|
3578
|
-
/**
|
|
3579
|
-
* The text window type on which the window is placed.
|
|
3580
|
-
*/
|
|
3581
|
-
readonly window_type: Gtk.TextWindowType
|
|
3582
3382
|
/**
|
|
3583
3383
|
* The text window type on which the window is placed.
|
|
3584
3384
|
*/
|
|
@@ -3705,9 +3505,9 @@ export module GutterRenderer {
|
|
|
3705
3505
|
* the alignment should work on either the full cell, the first line
|
|
3706
3506
|
* or the last line.
|
|
3707
3507
|
*/
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3508
|
+
alignmentMode?: GutterRendererAlignmentMode | null
|
|
3509
|
+
backgroundRgba?: Gdk.RGBA | null
|
|
3510
|
+
backgroundSet?: boolean | null
|
|
3711
3511
|
size?: number | null
|
|
3712
3512
|
/**
|
|
3713
3513
|
* The visibility of the renderer.
|
|
@@ -3733,15 +3533,6 @@ export module GutterRenderer {
|
|
|
3733
3533
|
* The top and bottom padding of the renderer.
|
|
3734
3534
|
*/
|
|
3735
3535
|
ypad?: number | null
|
|
3736
|
-
/**
|
|
3737
|
-
* The alignment mode of the renderer. This can be used to indicate
|
|
3738
|
-
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
3739
|
-
* the alignment should work on either the full cell, the first line
|
|
3740
|
-
* or the last line.
|
|
3741
|
-
*/
|
|
3742
|
-
alignmentMode?: GutterRendererAlignmentMode | null
|
|
3743
|
-
backgroundRgba?: Gdk.RGBA | null
|
|
3744
|
-
backgroundSet?: boolean | null
|
|
3745
3536
|
}
|
|
3746
3537
|
|
|
3747
3538
|
}
|
|
@@ -3750,13 +3541,6 @@ export interface GutterRenderer {
|
|
|
3750
3541
|
|
|
3751
3542
|
// Own properties of GtkSource-4.GtkSource.GutterRenderer
|
|
3752
3543
|
|
|
3753
|
-
/**
|
|
3754
|
-
* The alignment mode of the renderer. This can be used to indicate
|
|
3755
|
-
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
3756
|
-
* the alignment should work on either the full cell, the first line
|
|
3757
|
-
* or the last line.
|
|
3758
|
-
*/
|
|
3759
|
-
alignment_mode: GutterRendererAlignmentMode
|
|
3760
3544
|
/**
|
|
3761
3545
|
* The alignment mode of the renderer. This can be used to indicate
|
|
3762
3546
|
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
@@ -3764,9 +3548,7 @@ export interface GutterRenderer {
|
|
|
3764
3548
|
* or the last line.
|
|
3765
3549
|
*/
|
|
3766
3550
|
alignmentMode: GutterRendererAlignmentMode
|
|
3767
|
-
background_rgba: Gdk.RGBA
|
|
3768
3551
|
backgroundRgba: Gdk.RGBA
|
|
3769
|
-
background_set: boolean
|
|
3770
3552
|
backgroundSet: boolean
|
|
3771
3553
|
size: number
|
|
3772
3554
|
/**
|
|
@@ -3777,11 +3559,6 @@ export interface GutterRenderer {
|
|
|
3777
3559
|
* The visibility of the renderer.
|
|
3778
3560
|
*/
|
|
3779
3561
|
visible: boolean
|
|
3780
|
-
/**
|
|
3781
|
-
* The window type of the view on which the renderer is placed (left,
|
|
3782
|
-
* or right).
|
|
3783
|
-
*/
|
|
3784
|
-
readonly window_type: Gtk.TextWindowType
|
|
3785
3562
|
/**
|
|
3786
3563
|
* The window type of the view on which the renderer is placed (left,
|
|
3787
3564
|
* or right).
|
|
@@ -4171,9 +3948,8 @@ export module GutterRendererPixbuf {
|
|
|
4171
3948
|
// Own constructor properties of GtkSource-4.GtkSource.GutterRendererPixbuf
|
|
4172
3949
|
|
|
4173
3950
|
gicon?: Gio.Icon | null
|
|
4174
|
-
icon_name?: string | null
|
|
4175
|
-
pixbuf?: GdkPixbuf.Pixbuf | null
|
|
4176
3951
|
iconName?: string | null
|
|
3952
|
+
pixbuf?: GdkPixbuf.Pixbuf | null
|
|
4177
3953
|
}
|
|
4178
3954
|
|
|
4179
3955
|
}
|
|
@@ -4183,7 +3959,6 @@ export interface GutterRendererPixbuf {
|
|
|
4183
3959
|
// Own properties of GtkSource-4.GtkSource.GutterRendererPixbuf
|
|
4184
3960
|
|
|
4185
3961
|
gicon: Gio.Icon
|
|
4186
|
-
icon_name: string | null
|
|
4187
3962
|
iconName: string | null
|
|
4188
3963
|
pixbuf: GdkPixbuf.Pixbuf
|
|
4189
3964
|
|
|
@@ -4194,7 +3969,7 @@ export interface GutterRendererPixbuf {
|
|
|
4194
3969
|
* @returns a #GIcon
|
|
4195
3970
|
*/
|
|
4196
3971
|
get_gicon(): Gio.Icon
|
|
4197
|
-
get_icon_name(): string
|
|
3972
|
+
get_icon_name(): string
|
|
4198
3973
|
/**
|
|
4199
3974
|
* Get the pixbuf of the renderer.
|
|
4200
3975
|
* @returns a #GdkPixbuf
|
|
@@ -4307,15 +4082,15 @@ export interface GutterRendererText {
|
|
|
4307
4082
|
* #GtkSourceGutterRendererText.
|
|
4308
4083
|
* @param text the text to measure.
|
|
4309
4084
|
*/
|
|
4310
|
-
measure(text: string
|
|
4085
|
+
measure(text: string): [ /* width */ number, /* height */ number ]
|
|
4311
4086
|
/**
|
|
4312
4087
|
* Measures the pango markup provided using the pango layout used by the
|
|
4313
4088
|
* #GtkSourceGutterRendererText.
|
|
4314
4089
|
* @param markup the pango markup to measure.
|
|
4315
4090
|
*/
|
|
4316
|
-
measure_markup(markup: string
|
|
4317
|
-
set_markup(markup: string
|
|
4318
|
-
set_text(text: string
|
|
4091
|
+
measure_markup(markup: string): [ /* width */ number, /* height */ number ]
|
|
4092
|
+
set_markup(markup: string, length: number): void
|
|
4093
|
+
set_text(text: string, length: number): void
|
|
4319
4094
|
|
|
4320
4095
|
// Class property signals of GtkSource-4.GtkSource.GutterRendererText
|
|
4321
4096
|
|
|
@@ -4432,8 +4207,8 @@ export interface Language {
|
|
|
4432
4207
|
* or modified.
|
|
4433
4208
|
* @returns the ID of @language.
|
|
4434
4209
|
*/
|
|
4435
|
-
get_id(): string
|
|
4436
|
-
get_metadata(name: string
|
|
4210
|
+
get_id(): string
|
|
4211
|
+
get_metadata(name: string): string | null
|
|
4437
4212
|
/**
|
|
4438
4213
|
* Returns the mime types associated to this language. This is just
|
|
4439
4214
|
* an utility wrapper around gtk_source_language_get_metadata() to
|
|
@@ -4448,7 +4223,7 @@ export interface Language {
|
|
|
4448
4223
|
* or modified.
|
|
4449
4224
|
* @returns the name of @language.
|
|
4450
4225
|
*/
|
|
4451
|
-
get_name(): string
|
|
4226
|
+
get_name(): string
|
|
4452
4227
|
/**
|
|
4453
4228
|
* Returns the localized section of the language.
|
|
4454
4229
|
* Each language belong to a section (ex. HTML belogs to the
|
|
@@ -4457,14 +4232,14 @@ export interface Language {
|
|
|
4457
4232
|
* or modified.
|
|
4458
4233
|
* @returns the section of @language.
|
|
4459
4234
|
*/
|
|
4460
|
-
get_section(): string
|
|
4235
|
+
get_section(): string
|
|
4461
4236
|
/**
|
|
4462
4237
|
* Returns the ID of the style to use if the specified `style_id`
|
|
4463
4238
|
* is not present in the current style scheme.
|
|
4464
4239
|
* @param style_id a style ID.
|
|
4465
4240
|
* @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.
|
|
4466
4241
|
*/
|
|
4467
|
-
get_style_fallback(style_id: string
|
|
4242
|
+
get_style_fallback(style_id: string): string | null
|
|
4468
4243
|
/**
|
|
4469
4244
|
* Returns the ids of the styles defined by this `language`.
|
|
4470
4245
|
* @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().
|
|
@@ -4475,7 +4250,7 @@ export interface Language {
|
|
|
4475
4250
|
* @param style_id a style ID.
|
|
4476
4251
|
* @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.
|
|
4477
4252
|
*/
|
|
4478
|
-
get_style_name(style_id: string
|
|
4253
|
+
get_style_name(style_id: string): string | null
|
|
4479
4254
|
|
|
4480
4255
|
// Class property signals of GtkSource-4.GtkSource.Language
|
|
4481
4256
|
|
|
@@ -4518,7 +4293,6 @@ export module LanguageManager {
|
|
|
4518
4293
|
|
|
4519
4294
|
// Own constructor properties of GtkSource-4.GtkSource.LanguageManager
|
|
4520
4295
|
|
|
4521
|
-
search_path?: string[] | null
|
|
4522
4296
|
searchPath?: string[] | null
|
|
4523
4297
|
}
|
|
4524
4298
|
|
|
@@ -4528,9 +4302,7 @@ export interface LanguageManager {
|
|
|
4528
4302
|
|
|
4529
4303
|
// Own properties of GtkSource-4.GtkSource.LanguageManager
|
|
4530
4304
|
|
|
4531
|
-
readonly language_ids: string[]
|
|
4532
4305
|
readonly languageIds: string[]
|
|
4533
|
-
search_path: string[]
|
|
4534
4306
|
searchPath: string[]
|
|
4535
4307
|
|
|
4536
4308
|
// Own fields of GtkSource-4.GtkSource.LanguageManager
|
|
@@ -4546,7 +4318,7 @@ export interface LanguageManager {
|
|
|
4546
4318
|
* @param id a language id.
|
|
4547
4319
|
* @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.
|
|
4548
4320
|
*/
|
|
4549
|
-
get_language(id: string
|
|
4321
|
+
get_language(id: string): Language | null
|
|
4550
4322
|
/**
|
|
4551
4323
|
* Returns the ids of the available languages.
|
|
4552
4324
|
* @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.
|
|
@@ -4668,9 +4440,8 @@ export module Map {
|
|
|
4668
4440
|
|
|
4669
4441
|
// Own constructor properties of GtkSource-4.GtkSource.Map
|
|
4670
4442
|
|
|
4671
|
-
font_desc?: Pango.FontDescription | null
|
|
4672
|
-
view?: View | null
|
|
4673
4443
|
fontDesc?: Pango.FontDescription | null
|
|
4444
|
+
view?: View | null
|
|
4674
4445
|
}
|
|
4675
4446
|
|
|
4676
4447
|
}
|
|
@@ -4679,7 +4450,6 @@ export interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
|
|
|
4679
4450
|
|
|
4680
4451
|
// Own properties of GtkSource-4.GtkSource.Map
|
|
4681
4452
|
|
|
4682
|
-
font_desc: Pango.FontDescription
|
|
4683
4453
|
fontDesc: Pango.FontDescription
|
|
4684
4454
|
view: View
|
|
4685
4455
|
|
|
@@ -4741,7 +4511,7 @@ export interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
|
|
|
4741
4511
|
* @param child the child widget
|
|
4742
4512
|
* @param child_property the name of a child property installed on the class of `container`
|
|
4743
4513
|
*/
|
|
4744
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
4514
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
4745
4515
|
|
|
4746
4516
|
// Overloads of child_notify
|
|
4747
4517
|
|
|
@@ -4755,7 +4525,7 @@ export interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
|
|
|
4755
4525
|
* Also see gtk_container_child_notify().
|
|
4756
4526
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4757
4527
|
*/
|
|
4758
|
-
child_notify(child_property: string
|
|
4528
|
+
child_notify(child_property: string): void
|
|
4759
4529
|
/**
|
|
4760
4530
|
* Emits a #GtkWidget::child-notify signal for the
|
|
4761
4531
|
* [child property][child-properties] `child_property`
|
|
@@ -4766,7 +4536,7 @@ export interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
|
|
|
4766
4536
|
* Also see gtk_container_child_notify().
|
|
4767
4537
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
4768
4538
|
*/
|
|
4769
|
-
child_notify(child_property: string
|
|
4539
|
+
child_notify(child_property: string): void
|
|
4770
4540
|
|
|
4771
4541
|
// Class property signals of GtkSource-4.GtkSource.Map
|
|
4772
4542
|
|
|
@@ -5095,7 +4865,7 @@ export interface Mark {
|
|
|
5095
4865
|
* Returns the mark category.
|
|
5096
4866
|
* @returns the category of the #GtkSourceMark.
|
|
5097
4867
|
*/
|
|
5098
|
-
get_category(): string
|
|
4868
|
+
get_category(): string
|
|
5099
4869
|
/**
|
|
5100
4870
|
* Returns the next #GtkSourceMark in the buffer or %NULL if the mark
|
|
5101
4871
|
* was not added to a buffer. If there is no next mark, %NULL will be returned.
|
|
@@ -5153,7 +4923,7 @@ export class Mark extends Gtk.TextMark {
|
|
|
5153
4923
|
* @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).
|
|
5154
4924
|
* @returns a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().
|
|
5155
4925
|
*/
|
|
5156
|
-
constructor(name: string | null, category: string
|
|
4926
|
+
constructor(name: string | null, category: string)
|
|
5157
4927
|
/**
|
|
5158
4928
|
* Creates a text mark. Add it to a buffer using gtk_text_buffer_add_mark().
|
|
5159
4929
|
* If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved
|
|
@@ -5165,7 +4935,7 @@ export class Mark extends Gtk.TextMark {
|
|
|
5165
4935
|
* @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).
|
|
5166
4936
|
* @returns a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().
|
|
5167
4937
|
*/
|
|
5168
|
-
static new(name: string | null, category: string
|
|
4938
|
+
static new(name: string | null, category: string): Mark
|
|
5169
4939
|
|
|
5170
4940
|
// Overloads of new
|
|
5171
4941
|
|
|
@@ -5224,15 +4994,11 @@ export module MarkAttributes {
|
|
|
5224
4994
|
/**
|
|
5225
4995
|
* An icon name that may be a base of a rendered icon.
|
|
5226
4996
|
*/
|
|
5227
|
-
|
|
4997
|
+
iconName?: string | null
|
|
5228
4998
|
/**
|
|
5229
4999
|
* A #GdkPixbuf that may be a base of a rendered icon.
|
|
5230
5000
|
*/
|
|
5231
5001
|
pixbuf?: GdkPixbuf.Pixbuf | null
|
|
5232
|
-
/**
|
|
5233
|
-
* An icon name that may be a base of a rendered icon.
|
|
5234
|
-
*/
|
|
5235
|
-
iconName?: string | null
|
|
5236
5002
|
}
|
|
5237
5003
|
|
|
5238
5004
|
}
|
|
@@ -5249,10 +5015,6 @@ export interface MarkAttributes {
|
|
|
5249
5015
|
* A #GIcon that may be a base of a rendered icon.
|
|
5250
5016
|
*/
|
|
5251
5017
|
gicon: Gio.Icon
|
|
5252
|
-
/**
|
|
5253
|
-
* An icon name that may be a base of a rendered icon.
|
|
5254
|
-
*/
|
|
5255
|
-
icon_name: string | null
|
|
5256
5018
|
/**
|
|
5257
5019
|
* An icon name that may be a base of a rendered icon.
|
|
5258
5020
|
*/
|
|
@@ -5280,7 +5042,7 @@ export interface MarkAttributes {
|
|
|
5280
5042
|
* icon name can be %NULL if it wasn't set earlier.
|
|
5281
5043
|
* @returns An icon name. The string belongs to @attributes and should not be freed.
|
|
5282
5044
|
*/
|
|
5283
|
-
get_icon_name(): string
|
|
5045
|
+
get_icon_name(): string
|
|
5284
5046
|
/**
|
|
5285
5047
|
* Gets a #GdkPixbuf to be used as a base for rendered icon. Note that the
|
|
5286
5048
|
* pixbuf can be %NULL if it wasn't set earlier.
|
|
@@ -5327,7 +5089,7 @@ export interface MarkAttributes {
|
|
|
5327
5089
|
* Sets a name of an icon to be used as a base for rendered icon.
|
|
5328
5090
|
* @param icon_name name of an icon to be used.
|
|
5329
5091
|
*/
|
|
5330
|
-
set_icon_name(icon_name: string
|
|
5092
|
+
set_icon_name(icon_name: string): void
|
|
5331
5093
|
/**
|
|
5332
5094
|
* Sets a pixbuf to be used as a base for rendered icon.
|
|
5333
5095
|
* @param pixbuf a #GdkPixbuf to be used.
|
|
@@ -5406,7 +5168,7 @@ export module PrintCompositor {
|
|
|
5406
5168
|
* The value of this property cannot be changed anymore after the first
|
|
5407
5169
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5408
5170
|
*/
|
|
5409
|
-
|
|
5171
|
+
bodyFontName?: string | null
|
|
5410
5172
|
/**
|
|
5411
5173
|
* The GtkSourceBuffer object to print.
|
|
5412
5174
|
*/
|
|
@@ -5422,7 +5184,7 @@ export module PrintCompositor {
|
|
|
5422
5184
|
* The value of this property cannot be changed anymore after the first
|
|
5423
5185
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5424
5186
|
*/
|
|
5425
|
-
|
|
5187
|
+
footerFontName?: string | null
|
|
5426
5188
|
/**
|
|
5427
5189
|
* Name of the font used to print page header.
|
|
5428
5190
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5434,14 +5196,14 @@ export module PrintCompositor {
|
|
|
5434
5196
|
* The value of this property cannot be changed anymore after the first
|
|
5435
5197
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5436
5198
|
*/
|
|
5437
|
-
|
|
5199
|
+
headerFontName?: string | null
|
|
5438
5200
|
/**
|
|
5439
5201
|
* Whether to print the document with highlighted syntax.
|
|
5440
5202
|
*
|
|
5441
5203
|
* The value of this property cannot be changed anymore after the first
|
|
5442
5204
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5443
5205
|
*/
|
|
5444
|
-
|
|
5206
|
+
highlightSyntax?: boolean | null
|
|
5445
5207
|
/**
|
|
5446
5208
|
* Name of the font used to print line numbers on the left margin.
|
|
5447
5209
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5453,7 +5215,7 @@ export module PrintCompositor {
|
|
|
5453
5215
|
* The value of this property cannot be changed anymore after the first
|
|
5454
5216
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5455
5217
|
*/
|
|
5456
|
-
|
|
5218
|
+
lineNumbersFontName?: string | null
|
|
5457
5219
|
/**
|
|
5458
5220
|
* Whether to print a footer in each page.
|
|
5459
5221
|
*
|
|
@@ -5464,7 +5226,7 @@ export module PrintCompositor {
|
|
|
5464
5226
|
* The value of this property cannot be changed anymore after the first
|
|
5465
5227
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5466
5228
|
*/
|
|
5467
|
-
|
|
5229
|
+
printFooter?: boolean | null
|
|
5468
5230
|
/**
|
|
5469
5231
|
* Whether to print a header in each page.
|
|
5470
5232
|
*
|
|
@@ -5475,7 +5237,7 @@ export module PrintCompositor {
|
|
|
5475
5237
|
* The value of this property cannot be changed anymore after the first
|
|
5476
5238
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5477
5239
|
*/
|
|
5478
|
-
|
|
5240
|
+
printHeader?: boolean | null
|
|
5479
5241
|
/**
|
|
5480
5242
|
* Interval of printed line numbers. If this property is set to 0 no
|
|
5481
5243
|
* numbers will be printed. If greater than 0, a number will be
|
|
@@ -5484,113 +5246,14 @@ export module PrintCompositor {
|
|
|
5484
5246
|
* The value of this property cannot be changed anymore after the first
|
|
5485
5247
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5486
5248
|
*/
|
|
5487
|
-
|
|
5249
|
+
printLineNumbers?: number | null
|
|
5488
5250
|
/**
|
|
5489
5251
|
* Width of a tab character expressed in spaces.
|
|
5490
5252
|
*
|
|
5491
5253
|
* The value of this property cannot be changed anymore after the first
|
|
5492
5254
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5493
5255
|
*/
|
|
5494
|
-
|
|
5495
|
-
/**
|
|
5496
|
-
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5497
|
-
*
|
|
5498
|
-
* The value of this property cannot be changed anymore after the first
|
|
5499
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5500
|
-
*/
|
|
5501
|
-
wrap_mode?: Gtk.WrapMode | null
|
|
5502
|
-
/**
|
|
5503
|
-
* Name of the font used for the text body.
|
|
5504
|
-
*
|
|
5505
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5506
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5507
|
-
* for a description of the format of the string representation.
|
|
5508
|
-
*
|
|
5509
|
-
* The value of this property cannot be changed anymore after the first
|
|
5510
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5511
|
-
*/
|
|
5512
|
-
bodyFontName?: string | null
|
|
5513
|
-
/**
|
|
5514
|
-
* Name of the font used to print page footer.
|
|
5515
|
-
* If this property is unspecified, the text body font is used.
|
|
5516
|
-
*
|
|
5517
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5518
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5519
|
-
* for a description of the format of the string representation.
|
|
5520
|
-
*
|
|
5521
|
-
* The value of this property cannot be changed anymore after the first
|
|
5522
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5523
|
-
*/
|
|
5524
|
-
footerFontName?: string | null
|
|
5525
|
-
/**
|
|
5526
|
-
* Name of the font used to print page header.
|
|
5527
|
-
* If this property is unspecified, the text body font is used.
|
|
5528
|
-
*
|
|
5529
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5530
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5531
|
-
* for a description of the format of the string representation.
|
|
5532
|
-
*
|
|
5533
|
-
* The value of this property cannot be changed anymore after the first
|
|
5534
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5535
|
-
*/
|
|
5536
|
-
headerFontName?: string | null
|
|
5537
|
-
/**
|
|
5538
|
-
* Whether to print the document with highlighted syntax.
|
|
5539
|
-
*
|
|
5540
|
-
* The value of this property cannot be changed anymore after the first
|
|
5541
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5542
|
-
*/
|
|
5543
|
-
highlightSyntax?: boolean | null
|
|
5544
|
-
/**
|
|
5545
|
-
* Name of the font used to print line numbers on the left margin.
|
|
5546
|
-
* If this property is unspecified, the text body font is used.
|
|
5547
|
-
*
|
|
5548
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5549
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5550
|
-
* for a description of the format of the string representation.
|
|
5551
|
-
*
|
|
5552
|
-
* The value of this property cannot be changed anymore after the first
|
|
5553
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5554
|
-
*/
|
|
5555
|
-
lineNumbersFontName?: string | null
|
|
5556
|
-
/**
|
|
5557
|
-
* Whether to print a footer in each page.
|
|
5558
|
-
*
|
|
5559
|
-
* Note that by default the footer format is unspecified, and if it is
|
|
5560
|
-
* unspecified the footer will not be printed, regardless of the value of
|
|
5561
|
-
* this property.
|
|
5562
|
-
*
|
|
5563
|
-
* The value of this property cannot be changed anymore after the first
|
|
5564
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5565
|
-
*/
|
|
5566
|
-
printFooter?: boolean | null
|
|
5567
|
-
/**
|
|
5568
|
-
* Whether to print a header in each page.
|
|
5569
|
-
*
|
|
5570
|
-
* Note that by default the header format is unspecified, and if it is
|
|
5571
|
-
* unspecified the header will not be printed, regardless of the value of
|
|
5572
|
-
* this property.
|
|
5573
|
-
*
|
|
5574
|
-
* The value of this property cannot be changed anymore after the first
|
|
5575
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5576
|
-
*/
|
|
5577
|
-
printHeader?: boolean | null
|
|
5578
|
-
/**
|
|
5579
|
-
* Interval of printed line numbers. If this property is set to 0 no
|
|
5580
|
-
* numbers will be printed. If greater than 0, a number will be
|
|
5581
|
-
* printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
|
5582
|
-
*
|
|
5583
|
-
* The value of this property cannot be changed anymore after the first
|
|
5584
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5585
|
-
*/
|
|
5586
|
-
printLineNumbers?: number | null
|
|
5587
|
-
/**
|
|
5588
|
-
* Width of a tab character expressed in spaces.
|
|
5589
|
-
*
|
|
5590
|
-
* The value of this property cannot be changed anymore after the first
|
|
5591
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5592
|
-
*/
|
|
5593
|
-
tabWidth?: number | null
|
|
5256
|
+
tabWidth?: number | null
|
|
5594
5257
|
/**
|
|
5595
5258
|
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5596
5259
|
*
|
|
@@ -5606,17 +5269,6 @@ export interface PrintCompositor {
|
|
|
5606
5269
|
|
|
5607
5270
|
// Own properties of GtkSource-4.GtkSource.PrintCompositor
|
|
5608
5271
|
|
|
5609
|
-
/**
|
|
5610
|
-
* Name of the font used for the text body.
|
|
5611
|
-
*
|
|
5612
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5613
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5614
|
-
* for a description of the format of the string representation.
|
|
5615
|
-
*
|
|
5616
|
-
* The value of this property cannot be changed anymore after the first
|
|
5617
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5618
|
-
*/
|
|
5619
|
-
body_font_name: string | null
|
|
5620
5272
|
/**
|
|
5621
5273
|
* Name of the font used for the text body.
|
|
5622
5274
|
*
|
|
@@ -5632,18 +5284,6 @@ export interface PrintCompositor {
|
|
|
5632
5284
|
* The GtkSourceBuffer object to print.
|
|
5633
5285
|
*/
|
|
5634
5286
|
readonly buffer: Buffer
|
|
5635
|
-
/**
|
|
5636
|
-
* Name of the font used to print page footer.
|
|
5637
|
-
* If this property is unspecified, the text body font is used.
|
|
5638
|
-
*
|
|
5639
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5640
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5641
|
-
* for a description of the format of the string representation.
|
|
5642
|
-
*
|
|
5643
|
-
* The value of this property cannot be changed anymore after the first
|
|
5644
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5645
|
-
*/
|
|
5646
|
-
footer_font_name: string | null
|
|
5647
5287
|
/**
|
|
5648
5288
|
* Name of the font used to print page footer.
|
|
5649
5289
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5656,18 +5296,6 @@ export interface PrintCompositor {
|
|
|
5656
5296
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5657
5297
|
*/
|
|
5658
5298
|
footerFontName: string | null
|
|
5659
|
-
/**
|
|
5660
|
-
* Name of the font used to print page header.
|
|
5661
|
-
* If this property is unspecified, the text body font is used.
|
|
5662
|
-
*
|
|
5663
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5664
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5665
|
-
* for a description of the format of the string representation.
|
|
5666
|
-
*
|
|
5667
|
-
* The value of this property cannot be changed anymore after the first
|
|
5668
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5669
|
-
*/
|
|
5670
|
-
header_font_name: string | null
|
|
5671
5299
|
/**
|
|
5672
5300
|
* Name of the font used to print page header.
|
|
5673
5301
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5680,13 +5308,6 @@ export interface PrintCompositor {
|
|
|
5680
5308
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5681
5309
|
*/
|
|
5682
5310
|
headerFontName: string | null
|
|
5683
|
-
/**
|
|
5684
|
-
* Whether to print the document with highlighted syntax.
|
|
5685
|
-
*
|
|
5686
|
-
* The value of this property cannot be changed anymore after the first
|
|
5687
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5688
|
-
*/
|
|
5689
|
-
highlight_syntax: boolean
|
|
5690
5311
|
/**
|
|
5691
5312
|
* Whether to print the document with highlighted syntax.
|
|
5692
5313
|
*
|
|
@@ -5694,18 +5315,6 @@ export interface PrintCompositor {
|
|
|
5694
5315
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5695
5316
|
*/
|
|
5696
5317
|
highlightSyntax: boolean
|
|
5697
|
-
/**
|
|
5698
|
-
* Name of the font used to print line numbers on the left margin.
|
|
5699
|
-
* If this property is unspecified, the text body font is used.
|
|
5700
|
-
*
|
|
5701
|
-
* Accepted values are strings representing a font description Pango can understand.
|
|
5702
|
-
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5703
|
-
* for a description of the format of the string representation.
|
|
5704
|
-
*
|
|
5705
|
-
* The value of this property cannot be changed anymore after the first
|
|
5706
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5707
|
-
*/
|
|
5708
|
-
line_numbers_font_name: string | null
|
|
5709
5318
|
/**
|
|
5710
5319
|
* Name of the font used to print line numbers on the left margin.
|
|
5711
5320
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5718,27 +5327,11 @@ export interface PrintCompositor {
|
|
|
5718
5327
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5719
5328
|
*/
|
|
5720
5329
|
lineNumbersFontName: string | null
|
|
5721
|
-
/**
|
|
5722
|
-
* The number of pages in the document or <code>-1</code> if the
|
|
5723
|
-
* document has not been completely paginated.
|
|
5724
|
-
*/
|
|
5725
|
-
readonly n_pages: number
|
|
5726
5330
|
/**
|
|
5727
5331
|
* The number of pages in the document or <code>-1</code> if the
|
|
5728
5332
|
* document has not been completely paginated.
|
|
5729
5333
|
*/
|
|
5730
5334
|
readonly nPages: number
|
|
5731
|
-
/**
|
|
5732
|
-
* Whether to print a footer in each page.
|
|
5733
|
-
*
|
|
5734
|
-
* Note that by default the footer format is unspecified, and if it is
|
|
5735
|
-
* unspecified the footer will not be printed, regardless of the value of
|
|
5736
|
-
* this property.
|
|
5737
|
-
*
|
|
5738
|
-
* The value of this property cannot be changed anymore after the first
|
|
5739
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5740
|
-
*/
|
|
5741
|
-
print_footer: boolean
|
|
5742
5335
|
/**
|
|
5743
5336
|
* Whether to print a footer in each page.
|
|
5744
5337
|
*
|
|
@@ -5750,17 +5343,6 @@ export interface PrintCompositor {
|
|
|
5750
5343
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5751
5344
|
*/
|
|
5752
5345
|
printFooter: boolean
|
|
5753
|
-
/**
|
|
5754
|
-
* Whether to print a header in each page.
|
|
5755
|
-
*
|
|
5756
|
-
* Note that by default the header format is unspecified, and if it is
|
|
5757
|
-
* unspecified the header will not be printed, regardless of the value of
|
|
5758
|
-
* this property.
|
|
5759
|
-
*
|
|
5760
|
-
* The value of this property cannot be changed anymore after the first
|
|
5761
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5762
|
-
*/
|
|
5763
|
-
print_header: boolean
|
|
5764
5346
|
/**
|
|
5765
5347
|
* Whether to print a header in each page.
|
|
5766
5348
|
*
|
|
@@ -5772,15 +5354,6 @@ export interface PrintCompositor {
|
|
|
5772
5354
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5773
5355
|
*/
|
|
5774
5356
|
printHeader: boolean
|
|
5775
|
-
/**
|
|
5776
|
-
* Interval of printed line numbers. If this property is set to 0 no
|
|
5777
|
-
* numbers will be printed. If greater than 0, a number will be
|
|
5778
|
-
* printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
|
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
|
-
print_line_numbers: number
|
|
5784
5357
|
/**
|
|
5785
5358
|
* Interval of printed line numbers. If this property is set to 0 no
|
|
5786
5359
|
* numbers will be printed. If greater than 0, a number will be
|
|
@@ -5790,13 +5363,6 @@ export interface PrintCompositor {
|
|
|
5790
5363
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5791
5364
|
*/
|
|
5792
5365
|
printLineNumbers: number
|
|
5793
|
-
/**
|
|
5794
|
-
* Width of a tab character expressed in spaces.
|
|
5795
|
-
*
|
|
5796
|
-
* The value of this property cannot be changed anymore after the first
|
|
5797
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5798
|
-
*/
|
|
5799
|
-
tab_width: number
|
|
5800
5366
|
/**
|
|
5801
5367
|
* Width of a tab character expressed in spaces.
|
|
5802
5368
|
*
|
|
@@ -5804,13 +5370,6 @@ export interface PrintCompositor {
|
|
|
5804
5370
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5805
5371
|
*/
|
|
5806
5372
|
tabWidth: number
|
|
5807
|
-
/**
|
|
5808
|
-
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5809
|
-
*
|
|
5810
|
-
* The value of this property cannot be changed anymore after the first
|
|
5811
|
-
* call to the gtk_source_print_compositor_paginate() function.
|
|
5812
|
-
*/
|
|
5813
|
-
wrap_mode: Gtk.WrapMode
|
|
5814
5373
|
/**
|
|
5815
5374
|
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5816
5375
|
*
|
|
@@ -6037,7 +5596,7 @@ export interface PrintCompositor {
|
|
|
6037
5596
|
* gtk_source_print_compositor_paginate() function.
|
|
6038
5597
|
* @param font_name the name of the default font for the body text.
|
|
6039
5598
|
*/
|
|
6040
|
-
set_body_font_name(font_name: string
|
|
5599
|
+
set_body_font_name(font_name: string): void
|
|
6041
5600
|
/**
|
|
6042
5601
|
* Sets the bottom margin used by `compositor`.
|
|
6043
5602
|
* @param margin the new bottom margin in units of `unit`.
|
|
@@ -6435,17 +5994,13 @@ export module SearchContext {
|
|
|
6435
5994
|
/**
|
|
6436
5995
|
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6437
5996
|
*/
|
|
6438
|
-
|
|
5997
|
+
matchStyle?: Style | null
|
|
6439
5998
|
/**
|
|
6440
5999
|
* The #GtkSourceSearchSettings associated to the search context.
|
|
6441
6000
|
*
|
|
6442
6001
|
* This property is construct-only since version 4.0.
|
|
6443
6002
|
*/
|
|
6444
6003
|
settings?: SearchSettings | null
|
|
6445
|
-
/**
|
|
6446
|
-
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6447
|
-
*/
|
|
6448
|
-
matchStyle?: Style | null
|
|
6449
6004
|
}
|
|
6450
6005
|
|
|
6451
6006
|
}
|
|
@@ -6462,34 +6017,16 @@ export interface SearchContext {
|
|
|
6462
6017
|
* Highlight the search occurrences.
|
|
6463
6018
|
*/
|
|
6464
6019
|
highlight: boolean
|
|
6465
|
-
/**
|
|
6466
|
-
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6467
|
-
*/
|
|
6468
|
-
match_style: Style
|
|
6469
6020
|
/**
|
|
6470
6021
|
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6471
6022
|
*/
|
|
6472
6023
|
matchStyle: Style
|
|
6473
|
-
/**
|
|
6474
|
-
* The total number of search occurrences. If the search is disabled,
|
|
6475
|
-
* the value is 0. If the buffer is not already fully scanned, the value
|
|
6476
|
-
* is -1.
|
|
6477
|
-
*/
|
|
6478
|
-
readonly occurrences_count: number
|
|
6479
6024
|
/**
|
|
6480
6025
|
* The total number of search occurrences. If the search is disabled,
|
|
6481
6026
|
* the value is 0. If the buffer is not already fully scanned, the value
|
|
6482
6027
|
* is -1.
|
|
6483
6028
|
*/
|
|
6484
6029
|
readonly occurrencesCount: number
|
|
6485
|
-
/**
|
|
6486
|
-
* If the regex search pattern doesn't follow all the rules, this
|
|
6487
|
-
* #GError property will be set. If the pattern is valid, the value is
|
|
6488
|
-
* %NULL.
|
|
6489
|
-
*
|
|
6490
|
-
* Free with g_error_free().
|
|
6491
|
-
*/
|
|
6492
|
-
readonly regex_error: any
|
|
6493
6030
|
/**
|
|
6494
6031
|
* If the regex search pattern doesn't follow all the rules, this
|
|
6495
6032
|
* #GError property will be set. If the pattern is valid, the value is
|
|
@@ -6682,7 +6219,7 @@ export interface SearchContext {
|
|
|
6682
6219
|
* @param replace_length the length of `replace` in bytes, or -1.
|
|
6683
6220
|
* @returns whether the match has been replaced.
|
|
6684
6221
|
*/
|
|
6685
|
-
replace(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string
|
|
6222
|
+
replace(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string, replace_length: number): boolean
|
|
6686
6223
|
/**
|
|
6687
6224
|
* Replaces all search matches by another text. It is a synchronous function, so
|
|
6688
6225
|
* it can block the user interface.
|
|
@@ -6694,7 +6231,7 @@ export interface SearchContext {
|
|
|
6694
6231
|
* @param replace_length the length of `replace` in bytes, or -1.
|
|
6695
6232
|
* @returns the number of replaced matches.
|
|
6696
6233
|
*/
|
|
6697
|
-
replace_all(replace: string
|
|
6234
|
+
replace_all(replace: string, replace_length: number): number
|
|
6698
6235
|
/**
|
|
6699
6236
|
* Enables or disables the search occurrences highlighting.
|
|
6700
6237
|
* @param highlight the setting.
|
|
@@ -6778,32 +6315,6 @@ export module SearchSettings {
|
|
|
6778
6315
|
|
|
6779
6316
|
// Own constructor properties of GtkSource-4.GtkSource.SearchSettings
|
|
6780
6317
|
|
|
6781
|
-
/**
|
|
6782
|
-
* If %TRUE, a search match must start and end a word. The match can
|
|
6783
|
-
* span multiple words.
|
|
6784
|
-
*/
|
|
6785
|
-
at_word_boundaries?: boolean | null
|
|
6786
|
-
/**
|
|
6787
|
-
* Whether the search is case sensitive.
|
|
6788
|
-
*/
|
|
6789
|
-
case_sensitive?: boolean | null
|
|
6790
|
-
/**
|
|
6791
|
-
* Search by regular expressions with
|
|
6792
|
-
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6793
|
-
*/
|
|
6794
|
-
regex_enabled?: boolean | null
|
|
6795
|
-
/**
|
|
6796
|
-
* A search string, or %NULL if the search is disabled. If the regular
|
|
6797
|
-
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6798
|
-
* the pattern.
|
|
6799
|
-
*/
|
|
6800
|
-
search_text?: string | null
|
|
6801
|
-
/**
|
|
6802
|
-
* For a forward search, continue at the beginning of the buffer if no
|
|
6803
|
-
* search occurrence is found. For a backward search, continue at the
|
|
6804
|
-
* end of the buffer.
|
|
6805
|
-
*/
|
|
6806
|
-
wrap_around?: boolean | null
|
|
6807
6318
|
/**
|
|
6808
6319
|
* If %TRUE, a search match must start and end a word. The match can
|
|
6809
6320
|
* span multiple words.
|
|
@@ -6838,52 +6349,26 @@ export interface SearchSettings {
|
|
|
6838
6349
|
|
|
6839
6350
|
// Own properties of GtkSource-4.GtkSource.SearchSettings
|
|
6840
6351
|
|
|
6841
|
-
/**
|
|
6842
|
-
* If %TRUE, a search match must start and end a word. The match can
|
|
6843
|
-
* span multiple words.
|
|
6844
|
-
*/
|
|
6845
|
-
at_word_boundaries: boolean
|
|
6846
6352
|
/**
|
|
6847
6353
|
* If %TRUE, a search match must start and end a word. The match can
|
|
6848
6354
|
* span multiple words.
|
|
6849
6355
|
*/
|
|
6850
6356
|
atWordBoundaries: boolean
|
|
6851
|
-
/**
|
|
6852
|
-
* Whether the search is case sensitive.
|
|
6853
|
-
*/
|
|
6854
|
-
case_sensitive: boolean
|
|
6855
6357
|
/**
|
|
6856
6358
|
* Whether the search is case sensitive.
|
|
6857
6359
|
*/
|
|
6858
6360
|
caseSensitive: boolean
|
|
6859
|
-
/**
|
|
6860
|
-
* Search by regular expressions with
|
|
6861
|
-
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6862
|
-
*/
|
|
6863
|
-
regex_enabled: boolean
|
|
6864
6361
|
/**
|
|
6865
6362
|
* Search by regular expressions with
|
|
6866
6363
|
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6867
6364
|
*/
|
|
6868
6365
|
regexEnabled: boolean
|
|
6869
|
-
/**
|
|
6870
|
-
* A search string, or %NULL if the search is disabled. If the regular
|
|
6871
|
-
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6872
|
-
* the pattern.
|
|
6873
|
-
*/
|
|
6874
|
-
search_text: string | null
|
|
6875
6366
|
/**
|
|
6876
6367
|
* A search string, or %NULL if the search is disabled. If the regular
|
|
6877
6368
|
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6878
6369
|
* the pattern.
|
|
6879
6370
|
*/
|
|
6880
6371
|
searchText: string | null
|
|
6881
|
-
/**
|
|
6882
|
-
* For a forward search, continue at the beginning of the buffer if no
|
|
6883
|
-
* search occurrence is found. For a backward search, continue at the
|
|
6884
|
-
* end of the buffer.
|
|
6885
|
-
*/
|
|
6886
|
-
wrap_around: boolean
|
|
6887
6372
|
/**
|
|
6888
6373
|
* For a forward search, continue at the beginning of the buffer if no
|
|
6889
6374
|
* search occurrence is found. For a backward search, continue at the
|
|
@@ -7012,7 +6497,7 @@ export module SpaceDrawer {
|
|
|
7012
6497
|
/**
|
|
7013
6498
|
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7014
6499
|
*/
|
|
7015
|
-
|
|
6500
|
+
enableMatrix?: boolean | null
|
|
7016
6501
|
/**
|
|
7017
6502
|
* The :matrix property is a #GVariant property to specify where and
|
|
7018
6503
|
* what kind of white spaces to draw.
|
|
@@ -7029,10 +6514,6 @@ export module SpaceDrawer {
|
|
|
7029
6514
|
* By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.
|
|
7030
6515
|
*/
|
|
7031
6516
|
matrix?: GLib.Variant | null
|
|
7032
|
-
/**
|
|
7033
|
-
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7034
|
-
*/
|
|
7035
|
-
enableMatrix?: boolean | null
|
|
7036
6517
|
}
|
|
7037
6518
|
|
|
7038
6519
|
}
|
|
@@ -7041,10 +6522,6 @@ export interface SpaceDrawer {
|
|
|
7041
6522
|
|
|
7042
6523
|
// Own properties of GtkSource-4.GtkSource.SpaceDrawer
|
|
7043
6524
|
|
|
7044
|
-
/**
|
|
7045
|
-
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7046
|
-
*/
|
|
7047
|
-
enable_matrix: boolean
|
|
7048
6525
|
/**
|
|
7049
6526
|
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7050
6527
|
*/
|
|
@@ -7087,7 +6564,7 @@ export interface SpaceDrawer {
|
|
|
7087
6564
|
* @param key the `settings` key to bind.
|
|
7088
6565
|
* @param flags flags for the binding.
|
|
7089
6566
|
*/
|
|
7090
|
-
bind_matrix_setting(settings: Gio.Settings, key: string
|
|
6567
|
+
bind_matrix_setting(settings: Gio.Settings, key: string, flags: Gio.SettingsBindFlags): void
|
|
7091
6568
|
get_enable_matrix(): boolean
|
|
7092
6569
|
/**
|
|
7093
6570
|
* Gets the value of the #GtkSourceSpaceDrawer:matrix property, as a #GVariant.
|
|
@@ -7185,31 +6662,19 @@ export module Style {
|
|
|
7185
6662
|
// Own constructor properties of GtkSource-4.GtkSource.Style
|
|
7186
6663
|
|
|
7187
6664
|
background?: string | null
|
|
7188
|
-
background_set?: boolean | null
|
|
7189
|
-
bold?: boolean | null
|
|
7190
|
-
bold_set?: boolean | null
|
|
7191
|
-
foreground?: string | null
|
|
7192
|
-
foreground_set?: boolean | null
|
|
7193
|
-
italic?: boolean | null
|
|
7194
|
-
italic_set?: boolean | null
|
|
7195
|
-
line_background?: string | null
|
|
7196
|
-
line_background_set?: boolean | null
|
|
7197
|
-
pango_underline?: Pango.Underline | null
|
|
7198
|
-
scale?: string | null
|
|
7199
|
-
scale_set?: boolean | null
|
|
7200
|
-
strikethrough?: boolean | null
|
|
7201
|
-
strikethrough_set?: boolean | null
|
|
7202
|
-
underline_color?: string | null
|
|
7203
|
-
underline_color_set?: boolean | null
|
|
7204
|
-
underline_set?: boolean | null
|
|
7205
6665
|
backgroundSet?: boolean | null
|
|
6666
|
+
bold?: boolean | null
|
|
7206
6667
|
boldSet?: boolean | null
|
|
6668
|
+
foreground?: string | null
|
|
7207
6669
|
foregroundSet?: boolean | null
|
|
6670
|
+
italic?: boolean | null
|
|
7208
6671
|
italicSet?: boolean | null
|
|
7209
6672
|
lineBackground?: string | null
|
|
7210
6673
|
lineBackgroundSet?: boolean | null
|
|
7211
6674
|
pangoUnderline?: Pango.Underline | null
|
|
6675
|
+
scale?: string | null
|
|
7212
6676
|
scaleSet?: boolean | null
|
|
6677
|
+
strikethrough?: boolean | null
|
|
7213
6678
|
strikethroughSet?: boolean | null
|
|
7214
6679
|
underlineColor?: string | null
|
|
7215
6680
|
underlineColorSet?: boolean | null
|
|
@@ -7223,34 +6688,22 @@ export interface Style {
|
|
|
7223
6688
|
// Own properties of GtkSource-4.GtkSource.Style
|
|
7224
6689
|
|
|
7225
6690
|
readonly background: string | null
|
|
7226
|
-
readonly background_set: boolean
|
|
7227
6691
|
readonly backgroundSet: boolean
|
|
7228
6692
|
readonly bold: boolean
|
|
7229
|
-
readonly bold_set: boolean
|
|
7230
6693
|
readonly boldSet: boolean
|
|
7231
6694
|
readonly foreground: string | null
|
|
7232
|
-
readonly foreground_set: boolean
|
|
7233
6695
|
readonly foregroundSet: boolean
|
|
7234
6696
|
readonly italic: boolean
|
|
7235
|
-
readonly italic_set: boolean
|
|
7236
6697
|
readonly italicSet: boolean
|
|
7237
|
-
readonly line_background: string | null
|
|
7238
6698
|
readonly lineBackground: string | null
|
|
7239
|
-
readonly line_background_set: boolean
|
|
7240
6699
|
readonly lineBackgroundSet: boolean
|
|
7241
|
-
readonly pango_underline: Pango.Underline
|
|
7242
6700
|
readonly pangoUnderline: Pango.Underline
|
|
7243
6701
|
readonly scale: string | null
|
|
7244
|
-
readonly scale_set: boolean
|
|
7245
6702
|
readonly scaleSet: boolean
|
|
7246
6703
|
readonly strikethrough: boolean
|
|
7247
|
-
readonly strikethrough_set: boolean
|
|
7248
6704
|
readonly strikethroughSet: boolean
|
|
7249
|
-
readonly underline_color: string | null
|
|
7250
6705
|
readonly underlineColor: string | null
|
|
7251
|
-
readonly underline_color_set: boolean
|
|
7252
6706
|
readonly underlineColorSet: boolean
|
|
7253
|
-
readonly underline_set: boolean
|
|
7254
6707
|
readonly underlineSet: boolean
|
|
7255
6708
|
|
|
7256
6709
|
// Owm methods of GtkSource-4.GtkSource.Style
|
|
@@ -7397,9 +6850,9 @@ export interface StyleScheme {
|
|
|
7397
6850
|
get_authors(): string[] | null
|
|
7398
6851
|
get_description(): string | null
|
|
7399
6852
|
get_filename(): string | null
|
|
7400
|
-
get_id(): string
|
|
7401
|
-
get_name(): string
|
|
7402
|
-
get_style(style_id: string
|
|
6853
|
+
get_id(): string
|
|
6854
|
+
get_name(): string
|
|
6855
|
+
get_style(style_id: string): Style | null
|
|
7403
6856
|
|
|
7404
6857
|
// Class property signals of GtkSource-4.GtkSource.StyleScheme
|
|
7405
6858
|
|
|
@@ -7461,7 +6914,7 @@ export interface StyleSchemeChooserButton extends Atk.ImplementorIface, Gtk.Acti
|
|
|
7461
6914
|
* Also see gtk_container_child_notify().
|
|
7462
6915
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7463
6916
|
*/
|
|
7464
|
-
child_notify(child_property: string
|
|
6917
|
+
child_notify(child_property: string): void
|
|
7465
6918
|
/**
|
|
7466
6919
|
* Emits a #GtkWidget::child-notify signal for the
|
|
7467
6920
|
* [child property][child-properties]
|
|
@@ -7473,7 +6926,7 @@ export interface StyleSchemeChooserButton extends Atk.ImplementorIface, Gtk.Acti
|
|
|
7473
6926
|
* @param child the child widget
|
|
7474
6927
|
* @param child_property the name of a child property installed on the class of `container`
|
|
7475
6928
|
*/
|
|
7476
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
6929
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
7477
6930
|
|
|
7478
6931
|
// Overloads of child_notify
|
|
7479
6932
|
|
|
@@ -7487,7 +6940,7 @@ export interface StyleSchemeChooserButton extends Atk.ImplementorIface, Gtk.Acti
|
|
|
7487
6940
|
* Also see gtk_container_child_notify().
|
|
7488
6941
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7489
6942
|
*/
|
|
7490
|
-
child_notify(child_property: string
|
|
6943
|
+
child_notify(child_property: string): void
|
|
7491
6944
|
|
|
7492
6945
|
// Class property signals of GtkSource-4.GtkSource.StyleSchemeChooserButton
|
|
7493
6946
|
|
|
@@ -7718,7 +7171,7 @@ export interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buil
|
|
|
7718
7171
|
* @param child the child widget
|
|
7719
7172
|
* @param child_property the name of a child property installed on the class of `container`
|
|
7720
7173
|
*/
|
|
7721
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
7174
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
7722
7175
|
|
|
7723
7176
|
// Overloads of child_notify
|
|
7724
7177
|
|
|
@@ -7732,7 +7185,7 @@ export interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buil
|
|
|
7732
7185
|
* Also see gtk_container_child_notify().
|
|
7733
7186
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7734
7187
|
*/
|
|
7735
|
-
child_notify(child_property: string
|
|
7188
|
+
child_notify(child_property: string): void
|
|
7736
7189
|
/**
|
|
7737
7190
|
* Emits a #GtkWidget::child-notify signal for the
|
|
7738
7191
|
* [child property][child-properties] `child_property`
|
|
@@ -7743,7 +7196,7 @@ export interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buil
|
|
|
7743
7196
|
* Also see gtk_container_child_notify().
|
|
7744
7197
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
7745
7198
|
*/
|
|
7746
|
-
child_notify(child_property: string
|
|
7199
|
+
child_notify(child_property: string): void
|
|
7747
7200
|
|
|
7748
7201
|
// Class property signals of GtkSource-4.GtkSource.StyleSchemeChooserWidget
|
|
7749
7202
|
|
|
@@ -7915,7 +7368,6 @@ export module StyleSchemeManager {
|
|
|
7915
7368
|
|
|
7916
7369
|
// Own constructor properties of GtkSource-4.GtkSource.StyleSchemeManager
|
|
7917
7370
|
|
|
7918
|
-
search_path?: string[] | null
|
|
7919
7371
|
searchPath?: string[] | null
|
|
7920
7372
|
}
|
|
7921
7373
|
|
|
@@ -7925,9 +7377,7 @@ export interface StyleSchemeManager {
|
|
|
7925
7377
|
|
|
7926
7378
|
// Own properties of GtkSource-4.GtkSource.StyleSchemeManager
|
|
7927
7379
|
|
|
7928
|
-
readonly scheme_ids: string[]
|
|
7929
7380
|
readonly schemeIds: string[]
|
|
7930
|
-
search_path: string[]
|
|
7931
7381
|
searchPath: string[]
|
|
7932
7382
|
|
|
7933
7383
|
// Own fields of GtkSource-4.GtkSource.StyleSchemeManager
|
|
@@ -7943,7 +7393,7 @@ export interface StyleSchemeManager {
|
|
|
7943
7393
|
* See gtk_source_style_scheme_manager_set_search_path() for details.
|
|
7944
7394
|
* @param path a directory or a filename.
|
|
7945
7395
|
*/
|
|
7946
|
-
append_search_path(path: string
|
|
7396
|
+
append_search_path(path: string): void
|
|
7947
7397
|
/**
|
|
7948
7398
|
* Mark any currently cached information about the available style scehems
|
|
7949
7399
|
* as invalid. All the available style schemes will be reloaded next time
|
|
@@ -7955,7 +7405,7 @@ export interface StyleSchemeManager {
|
|
|
7955
7405
|
* @param scheme_id style scheme id to find.
|
|
7956
7406
|
* @returns a #GtkSourceStyleScheme object. The returned value is owned by @manager and must not be unref'ed.
|
|
7957
7407
|
*/
|
|
7958
|
-
get_scheme(scheme_id: string
|
|
7408
|
+
get_scheme(scheme_id: string): StyleScheme | null
|
|
7959
7409
|
/**
|
|
7960
7410
|
* Returns the ids of the available style schemes.
|
|
7961
7411
|
* @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.
|
|
@@ -7973,7 +7423,7 @@ export interface StyleSchemeManager {
|
|
|
7973
7423
|
* See gtk_source_style_scheme_manager_set_search_path() for details.
|
|
7974
7424
|
* @param path a directory or a filename.
|
|
7975
7425
|
*/
|
|
7976
|
-
prepend_search_path(path: string
|
|
7426
|
+
prepend_search_path(path: string): void
|
|
7977
7427
|
/**
|
|
7978
7428
|
* Sets the list of directories where the `manager` looks for
|
|
7979
7429
|
* style scheme files.
|
|
@@ -8036,20 +7486,6 @@ export module Tag {
|
|
|
8036
7486
|
|
|
8037
7487
|
// Own constructor properties of GtkSource-4.GtkSource.Tag
|
|
8038
7488
|
|
|
8039
|
-
/**
|
|
8040
|
-
* Whether to draw white spaces. This property takes precedence over the value
|
|
8041
|
-
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
8042
|
-
* (only where the tag is applied).
|
|
8043
|
-
*
|
|
8044
|
-
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
|
8045
|
-
* %TRUE.
|
|
8046
|
-
*/
|
|
8047
|
-
draw_spaces?: boolean | null
|
|
8048
|
-
/**
|
|
8049
|
-
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8050
|
-
* taken into account.
|
|
8051
|
-
*/
|
|
8052
|
-
draw_spaces_set?: boolean | null
|
|
8053
7489
|
/**
|
|
8054
7490
|
* Whether to draw white spaces. This property takes precedence over the value
|
|
8055
7491
|
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
@@ -8072,15 +7508,6 @@ export interface Tag {
|
|
|
8072
7508
|
|
|
8073
7509
|
// Own properties of GtkSource-4.GtkSource.Tag
|
|
8074
7510
|
|
|
8075
|
-
/**
|
|
8076
|
-
* Whether to draw white spaces. This property takes precedence over the value
|
|
8077
|
-
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
8078
|
-
* (only where the tag is applied).
|
|
8079
|
-
*
|
|
8080
|
-
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
|
8081
|
-
* %TRUE.
|
|
8082
|
-
*/
|
|
8083
|
-
draw_spaces: boolean
|
|
8084
7511
|
/**
|
|
8085
7512
|
* Whether to draw white spaces. This property takes precedence over the value
|
|
8086
7513
|
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
@@ -8090,11 +7517,6 @@ export interface Tag {
|
|
|
8090
7517
|
* %TRUE.
|
|
8091
7518
|
*/
|
|
8092
7519
|
drawSpaces: boolean
|
|
8093
|
-
/**
|
|
8094
|
-
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8095
|
-
* taken into account.
|
|
8096
|
-
*/
|
|
8097
|
-
draw_spaces_set: boolean
|
|
8098
7520
|
/**
|
|
8099
7521
|
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8100
7522
|
* taken into account.
|
|
@@ -8464,46 +7886,6 @@ export module View {
|
|
|
8464
7886
|
|
|
8465
7887
|
// Own constructor properties of GtkSource-4.GtkSource.View
|
|
8466
7888
|
|
|
8467
|
-
auto_indent?: boolean | null
|
|
8468
|
-
/**
|
|
8469
|
-
* Draw a specific background pattern on the view.
|
|
8470
|
-
*/
|
|
8471
|
-
background_pattern?: BackgroundPatternType | null
|
|
8472
|
-
highlight_current_line?: boolean | null
|
|
8473
|
-
indent_on_tab?: boolean | null
|
|
8474
|
-
/**
|
|
8475
|
-
* Width of an indentation step expressed in number of spaces.
|
|
8476
|
-
*/
|
|
8477
|
-
indent_width?: number | null
|
|
8478
|
-
insert_spaces_instead_of_tabs?: boolean | null
|
|
8479
|
-
/**
|
|
8480
|
-
* Position of the right margin.
|
|
8481
|
-
*/
|
|
8482
|
-
right_margin_position?: number | null
|
|
8483
|
-
/**
|
|
8484
|
-
* Whether to display line mark pixbufs
|
|
8485
|
-
*/
|
|
8486
|
-
show_line_marks?: boolean | null
|
|
8487
|
-
/**
|
|
8488
|
-
* Whether to display line numbers
|
|
8489
|
-
*/
|
|
8490
|
-
show_line_numbers?: boolean | null
|
|
8491
|
-
/**
|
|
8492
|
-
* Whether to display the right margin.
|
|
8493
|
-
*/
|
|
8494
|
-
show_right_margin?: boolean | null
|
|
8495
|
-
/**
|
|
8496
|
-
* Whether smart Backspace should be used.
|
|
8497
|
-
*/
|
|
8498
|
-
smart_backspace?: boolean | null
|
|
8499
|
-
/**
|
|
8500
|
-
* Set the behavior of the HOME and END keys.
|
|
8501
|
-
*/
|
|
8502
|
-
smart_home_end?: SmartHomeEndType | null
|
|
8503
|
-
/**
|
|
8504
|
-
* Width of a tab character expressed in number of spaces.
|
|
8505
|
-
*/
|
|
8506
|
-
tab_width?: number | null
|
|
8507
7889
|
autoIndent?: boolean | null
|
|
8508
7890
|
/**
|
|
8509
7891
|
* Draw a specific background pattern on the view.
|
|
@@ -8552,12 +7934,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8552
7934
|
|
|
8553
7935
|
// Own properties of GtkSource-4.GtkSource.View
|
|
8554
7936
|
|
|
8555
|
-
auto_indent: boolean
|
|
8556
7937
|
autoIndent: boolean
|
|
8557
|
-
/**
|
|
8558
|
-
* Draw a specific background pattern on the view.
|
|
8559
|
-
*/
|
|
8560
|
-
background_pattern: BackgroundPatternType
|
|
8561
7938
|
/**
|
|
8562
7939
|
* Draw a specific background pattern on the view.
|
|
8563
7940
|
*/
|
|
@@ -8566,80 +7943,41 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8566
7943
|
* The completion object associated with the view
|
|
8567
7944
|
*/
|
|
8568
7945
|
readonly completion: Completion
|
|
8569
|
-
highlight_current_line: boolean
|
|
8570
7946
|
highlightCurrentLine: boolean
|
|
8571
|
-
indent_on_tab: boolean
|
|
8572
7947
|
indentOnTab: boolean
|
|
8573
|
-
/**
|
|
8574
|
-
* Width of an indentation step expressed in number of spaces.
|
|
8575
|
-
*/
|
|
8576
|
-
indent_width: number
|
|
8577
7948
|
/**
|
|
8578
7949
|
* Width of an indentation step expressed in number of spaces.
|
|
8579
7950
|
*/
|
|
8580
7951
|
indentWidth: number
|
|
8581
|
-
insert_spaces_instead_of_tabs: boolean
|
|
8582
7952
|
insertSpacesInsteadOfTabs: boolean
|
|
8583
|
-
/**
|
|
8584
|
-
* Position of the right margin.
|
|
8585
|
-
*/
|
|
8586
|
-
right_margin_position: number
|
|
8587
7953
|
/**
|
|
8588
7954
|
* Position of the right margin.
|
|
8589
7955
|
*/
|
|
8590
7956
|
rightMarginPosition: number
|
|
8591
|
-
/**
|
|
8592
|
-
* Whether to display line mark pixbufs
|
|
8593
|
-
*/
|
|
8594
|
-
show_line_marks: boolean
|
|
8595
7957
|
/**
|
|
8596
7958
|
* Whether to display line mark pixbufs
|
|
8597
7959
|
*/
|
|
8598
7960
|
showLineMarks: boolean
|
|
8599
|
-
/**
|
|
8600
|
-
* Whether to display line numbers
|
|
8601
|
-
*/
|
|
8602
|
-
show_line_numbers: boolean
|
|
8603
7961
|
/**
|
|
8604
7962
|
* Whether to display line numbers
|
|
8605
7963
|
*/
|
|
8606
7964
|
showLineNumbers: boolean
|
|
8607
|
-
/**
|
|
8608
|
-
* Whether to display the right margin.
|
|
8609
|
-
*/
|
|
8610
|
-
show_right_margin: boolean
|
|
8611
7965
|
/**
|
|
8612
7966
|
* Whether to display the right margin.
|
|
8613
7967
|
*/
|
|
8614
7968
|
showRightMargin: boolean
|
|
8615
|
-
/**
|
|
8616
|
-
* Whether smart Backspace should be used.
|
|
8617
|
-
*/
|
|
8618
|
-
smart_backspace: boolean
|
|
8619
7969
|
/**
|
|
8620
7970
|
* Whether smart Backspace should be used.
|
|
8621
7971
|
*/
|
|
8622
7972
|
smartBackspace: boolean
|
|
8623
|
-
/**
|
|
8624
|
-
* Set the behavior of the HOME and END keys.
|
|
8625
|
-
*/
|
|
8626
|
-
smart_home_end: SmartHomeEndType
|
|
8627
7973
|
/**
|
|
8628
7974
|
* Set the behavior of the HOME and END keys.
|
|
8629
7975
|
*/
|
|
8630
7976
|
smartHomeEnd: SmartHomeEndType
|
|
8631
|
-
/**
|
|
8632
|
-
* The #GtkSourceSpaceDrawer object associated with the view.
|
|
8633
|
-
*/
|
|
8634
|
-
readonly space_drawer: SpaceDrawer
|
|
8635
7977
|
/**
|
|
8636
7978
|
* The #GtkSourceSpaceDrawer object associated with the view.
|
|
8637
7979
|
*/
|
|
8638
7980
|
readonly spaceDrawer: SpaceDrawer
|
|
8639
|
-
/**
|
|
8640
|
-
* Width of a tab character expressed in number of spaces.
|
|
8641
|
-
*/
|
|
8642
|
-
tab_width: number
|
|
8643
7981
|
/**
|
|
8644
7982
|
* Width of a tab character expressed in number of spaces.
|
|
8645
7983
|
*/
|
|
@@ -8712,7 +8050,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8712
8050
|
* @param priority place where priority of the category will be stored.
|
|
8713
8051
|
* @returns #GtkSourceMarkAttributes for the @category. The object belongs to @view, so it must not be unreffed.
|
|
8714
8052
|
*/
|
|
8715
|
-
get_mark_attributes(category: string
|
|
8053
|
+
get_mark_attributes(category: string, priority: number): MarkAttributes
|
|
8716
8054
|
/**
|
|
8717
8055
|
* Gets the position of the right margin in the given `view`.
|
|
8718
8056
|
* @returns the position of the right margin.
|
|
@@ -8841,7 +8179,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8841
8179
|
* @param attributes mark attributes.
|
|
8842
8180
|
* @param priority priority of the category.
|
|
8843
8181
|
*/
|
|
8844
|
-
set_mark_attributes(category: string
|
|
8182
|
+
set_mark_attributes(category: string, attributes: MarkAttributes, priority: number): void
|
|
8845
8183
|
/**
|
|
8846
8184
|
* Sets the position of the right margin in the given `view`.
|
|
8847
8185
|
* @param pos the width in characters where to position the right margin.
|
|
@@ -8926,7 +8264,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8926
8264
|
* @param child the child widget
|
|
8927
8265
|
* @param child_property the name of a child property installed on the class of `container`
|
|
8928
8266
|
*/
|
|
8929
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
8267
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
8930
8268
|
|
|
8931
8269
|
// Overloads of child_notify
|
|
8932
8270
|
|
|
@@ -8940,7 +8278,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8940
8278
|
* Also see gtk_container_child_notify().
|
|
8941
8279
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
8942
8280
|
*/
|
|
8943
|
-
child_notify(child_property: string
|
|
8281
|
+
child_notify(child_property: string): void
|
|
8944
8282
|
/**
|
|
8945
8283
|
* Emits a #GtkWidget::child-notify signal for the
|
|
8946
8284
|
* [child property][child-properties] `child_property`
|
|
@@ -8951,7 +8289,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8951
8289
|
* Also see gtk_container_child_notify().
|
|
8952
8290
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
8953
8291
|
*/
|
|
8954
|
-
child_notify(child_property: string
|
|
8292
|
+
child_notify(child_property: string): void
|
|
8955
8293
|
|
|
8956
8294
|
// Own virtual methods of GtkSource-4.GtkSource.View
|
|
8957
8295
|
|
|
@@ -9559,12 +8897,12 @@ export interface Encoding {
|
|
|
9559
8897
|
* "ISO-8859-1".
|
|
9560
8898
|
* @returns the character set of the #GtkSourceEncoding.
|
|
9561
8899
|
*/
|
|
9562
|
-
get_charset(): string
|
|
8900
|
+
get_charset(): string
|
|
9563
8901
|
/**
|
|
9564
8902
|
* Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".
|
|
9565
8903
|
* @returns the name of the #GtkSourceEncoding.
|
|
9566
8904
|
*/
|
|
9567
|
-
get_name(): string
|
|
8905
|
+
get_name(): string
|
|
9568
8906
|
to_string(): string | null
|
|
9569
8907
|
}
|
|
9570
8908
|
|
|
@@ -9602,7 +8940,7 @@ export class Encoding {
|
|
|
9602
8940
|
* @param charset a character set.
|
|
9603
8941
|
* @returns the corresponding #GtkSourceEncoding, or %NULL if not found.
|
|
9604
8942
|
*/
|
|
9605
|
-
static get_from_charset(charset: string
|
|
8943
|
+
static get_from_charset(charset: string): Encoding | null
|
|
9606
8944
|
static get_utf8(): Encoding
|
|
9607
8945
|
}
|
|
9608
8946
|
|