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

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gtef-2.d.cts
CHANGED
|
@@ -212,7 +212,7 @@ export function menu_item_get_long_description(menu_item: Gtk.MenuItem): string
|
|
|
212
212
|
* @param item a #GtkMenuItem.
|
|
213
213
|
* @param icon_name an icon name.
|
|
214
214
|
*/
|
|
215
|
-
export function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string
|
|
215
|
+
export function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string): void
|
|
216
216
|
/**
|
|
217
217
|
* Sets the long description of `menu_item`. A possible use-case is to display it
|
|
218
218
|
* in a #GtkStatusbar, or as a tooltip.
|
|
@@ -230,7 +230,7 @@ export function menu_item_set_long_description(menu_item: Gtk.MenuItem, long_des
|
|
|
230
230
|
* directory. See g_get_user_data_dir().
|
|
231
231
|
* @param metadata_path the filename where the metadata is stored.
|
|
232
232
|
*/
|
|
233
|
-
export function metadata_manager_init(metadata_path: string
|
|
233
|
+
export function metadata_manager_init(metadata_path: string): void
|
|
234
234
|
/**
|
|
235
235
|
* This function saves synchronously metadata if they need to be saved, and
|
|
236
236
|
* frees the internal data of the metadata manager.
|
|
@@ -266,7 +266,7 @@ export interface ActionInfoCentralStore {
|
|
|
266
266
|
|
|
267
267
|
// Owm methods of Gtef-2.Gtef.ActionInfoCentralStore
|
|
268
268
|
|
|
269
|
-
lookup(action_name: string
|
|
269
|
+
lookup(action_name: string): ActionInfo
|
|
270
270
|
|
|
271
271
|
// Class property signals of Gtef-2.Gtef.ActionInfoCentralStore
|
|
272
272
|
|
|
@@ -370,9 +370,9 @@ export interface ActionInfoStore {
|
|
|
370
370
|
* @param action_name an action name.
|
|
371
371
|
* @returns a new #GtkMenuItem for @action_name.
|
|
372
372
|
*/
|
|
373
|
-
create_menu_item(action_name: string
|
|
373
|
+
create_menu_item(action_name: string): Gtk.Widget
|
|
374
374
|
get_application(): Gtk.Application | null
|
|
375
|
-
lookup(action_name: string
|
|
375
|
+
lookup(action_name: string): ActionInfo
|
|
376
376
|
|
|
377
377
|
// Class property signals of Gtef-2.Gtef.ActionInfoStore
|
|
378
378
|
|
|
@@ -745,7 +745,7 @@ export interface Buffer {
|
|
|
745
745
|
* gtk_source_style_scheme_manager_get_default().
|
|
746
746
|
* @param style_scheme_id the new value.
|
|
747
747
|
*/
|
|
748
|
-
set_style_scheme_id(style_scheme_id: string
|
|
748
|
+
set_style_scheme_id(style_scheme_id: string): void
|
|
749
749
|
|
|
750
750
|
// Own virtual methods of Gtef-2.Gtef.Buffer
|
|
751
751
|
|
|
@@ -948,7 +948,7 @@ export interface File {
|
|
|
948
948
|
* released and can be used by a later untitled file.
|
|
949
949
|
* @returns the @file short name.
|
|
950
950
|
*/
|
|
951
|
-
get_short_name(): string
|
|
951
|
+
get_short_name(): string
|
|
952
952
|
/**
|
|
953
953
|
* Returns whether the file has been deleted. If the
|
|
954
954
|
* #GtefFile:location is %NULL, returns %FALSE.
|
|
@@ -1293,7 +1293,7 @@ export interface FileMetadata {
|
|
|
1293
1293
|
* @param key the name of the metadata.
|
|
1294
1294
|
* @returns the value of the metadata, or %NULL if the metadata doesn't exist. Free with g_free().
|
|
1295
1295
|
*/
|
|
1296
|
-
get(key: string
|
|
1296
|
+
get(key: string): string | null
|
|
1297
1297
|
get_file(): File
|
|
1298
1298
|
/**
|
|
1299
1299
|
* Loads synchronously the metadata from #GtefFile:location. The loaded
|
|
@@ -1402,7 +1402,7 @@ export interface FileMetadata {
|
|
|
1402
1402
|
* @param key the name of the metadata.
|
|
1403
1403
|
* @param value the value of the metadata, or %NULL to unset.
|
|
1404
1404
|
*/
|
|
1405
|
-
set(key: string
|
|
1405
|
+
set(key: string, value: string | null): void
|
|
1406
1406
|
|
|
1407
1407
|
// Class property signals of Gtef-2.Gtef.FileMetadata
|
|
1408
1408
|
|
|
@@ -1900,12 +1900,12 @@ export interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
1900
1900
|
* Adds a primary message.
|
|
1901
1901
|
* @param primary_msg a primary message.
|
|
1902
1902
|
*/
|
|
1903
|
-
add_primary_message(primary_msg: string
|
|
1903
|
+
add_primary_message(primary_msg: string): void
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Adds a secondary message.
|
|
1906
1906
|
* @param secondary_msg a secondary message.
|
|
1907
1907
|
*/
|
|
1908
|
-
add_secondary_message(secondary_msg: string
|
|
1908
|
+
add_secondary_message(secondary_msg: string): void
|
|
1909
1909
|
|
|
1910
1910
|
// Conflicting methods
|
|
1911
1911
|
|
|
@@ -1920,7 +1920,7 @@ export interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
1920
1920
|
* @param child the child widget
|
|
1921
1921
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1922
1922
|
*/
|
|
1923
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1923
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1924
1924
|
|
|
1925
1925
|
// Overloads of child_notify
|
|
1926
1926
|
|
|
@@ -1934,7 +1934,7 @@ export interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
1934
1934
|
* Also see gtk_container_child_notify().
|
|
1935
1935
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1936
1936
|
*/
|
|
1937
|
-
child_notify(child_property: string
|
|
1937
|
+
child_notify(child_property: string): void
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1940
1940
|
* [child property][child-properties] `child_property`
|
|
@@ -1945,7 +1945,7 @@ export interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
|
|
|
1945
1945
|
* Also see gtk_container_child_notify().
|
|
1946
1946
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1947
1947
|
*/
|
|
1948
|
-
child_notify(child_property: string
|
|
1948
|
+
child_notify(child_property: string): void
|
|
1949
1949
|
|
|
1950
1950
|
// Class property signals of Gtef-2.Gtef.InfoBar
|
|
1951
1951
|
|
|
@@ -2140,7 +2140,7 @@ export class InfoBar extends Gtk.InfoBar {
|
|
|
2140
2140
|
* @param secondary_msg the secondary message, or %NULL.
|
|
2141
2141
|
* @returns a new #GtefInfoBar.
|
|
2142
2142
|
*/
|
|
2143
|
-
static new_simple(msg_type: Gtk.MessageType, primary_msg: string
|
|
2143
|
+
static new_simple(msg_type: Gtk.MessageType, primary_msg: string, secondary_msg: string | null): InfoBar
|
|
2144
2144
|
_init(config?: InfoBar.ConstructorProperties): void
|
|
2145
2145
|
/**
|
|
2146
2146
|
* Utility function to create a #GtkLabel suitable for a #GtkInfoBar. The
|
|
@@ -2295,7 +2295,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
2295
2295
|
* @param child the child widget
|
|
2296
2296
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2297
2297
|
*/
|
|
2298
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2298
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2299
2299
|
|
|
2300
2300
|
// Overloads of child_notify
|
|
2301
2301
|
|
|
@@ -2309,7 +2309,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
2309
2309
|
* Also see gtk_container_child_notify().
|
|
2310
2310
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2311
2311
|
*/
|
|
2312
|
-
child_notify(child_property: string
|
|
2312
|
+
child_notify(child_property: string): void
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2315
2315
|
* [child property][child-properties] `child_property`
|
|
@@ -2320,7 +2320,7 @@ export interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
|
|
|
2320
2320
|
* Also see gtk_container_child_notify().
|
|
2321
2321
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2322
2322
|
*/
|
|
2323
|
-
child_notify(child_property: string
|
|
2323
|
+
child_notify(child_property: string): void
|
|
2324
2324
|
|
|
2325
2325
|
// Class property signals of Gtef-2.Gtef.Tab
|
|
2326
2326
|
|
|
@@ -2607,7 +2607,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2607
2607
|
* @param child the child widget
|
|
2608
2608
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2609
2609
|
*/
|
|
2610
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2610
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2611
2611
|
|
|
2612
2612
|
// Overloads of child_notify
|
|
2613
2613
|
|
|
@@ -2621,7 +2621,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2621
2621
|
* Also see gtk_container_child_notify().
|
|
2622
2622
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2623
2623
|
*/
|
|
2624
|
-
child_notify(child_property: string
|
|
2624
|
+
child_notify(child_property: string): void
|
|
2625
2625
|
/**
|
|
2626
2626
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2627
2627
|
* [child property][child-properties] `child_property`
|
|
@@ -2632,7 +2632,7 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
2632
2632
|
* Also see gtk_container_child_notify().
|
|
2633
2633
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2634
2634
|
*/
|
|
2635
|
-
child_notify(child_property: string
|
|
2635
|
+
child_notify(child_property: string): void
|
|
2636
2636
|
|
|
2637
2637
|
// Class property signals of Gtef-2.Gtef.View
|
|
2638
2638
|
|
|
@@ -2943,7 +2943,7 @@ export interface ActionInfo {
|
|
|
2943
2943
|
* Sets the action name, for example `"win.save"`.
|
|
2944
2944
|
* @param action_name the action name.
|
|
2945
2945
|
*/
|
|
2946
|
-
set_action_name(action_name: string
|
|
2946
|
+
set_action_name(action_name: string): void
|
|
2947
2947
|
set_icon_name(icon_name: string | null): void
|
|
2948
2948
|
set_label(label: string | null): void
|
|
2949
2949
|
set_tooltip(tooltip: string | null): void
|
|
@@ -3010,28 +3010,28 @@ export interface ActionInfoEntry {
|
|
|
3010
3010
|
* the action name.
|
|
3011
3011
|
* @field
|
|
3012
3012
|
*/
|
|
3013
|
-
action_name: string
|
|
3013
|
+
action_name: string
|
|
3014
3014
|
/**
|
|
3015
3015
|
* the icon name, or %NULL.
|
|
3016
3016
|
* @field
|
|
3017
3017
|
*/
|
|
3018
|
-
icon_name: string
|
|
3018
|
+
icon_name: string
|
|
3019
3019
|
/**
|
|
3020
3020
|
* the label (i.e. a short description), or %NULL.
|
|
3021
3021
|
* @field
|
|
3022
3022
|
*/
|
|
3023
|
-
label: string
|
|
3023
|
+
label: string
|
|
3024
3024
|
/**
|
|
3025
3025
|
* the accelerator, in the format understood by gtk_accelerator_parse().
|
|
3026
3026
|
* Or %NULL.
|
|
3027
3027
|
* @field
|
|
3028
3028
|
*/
|
|
3029
|
-
accel: string
|
|
3029
|
+
accel: string
|
|
3030
3030
|
/**
|
|
3031
3031
|
* the tooltip (i.e. a long description), or %NULL.
|
|
3032
3032
|
* @field
|
|
3033
3033
|
*/
|
|
3034
|
-
tooltip: string
|
|
3034
|
+
tooltip: string
|
|
3035
3035
|
}
|
|
3036
3036
|
|
|
3037
3037
|
/**
|
|
@@ -3152,12 +3152,12 @@ export interface Encoding {
|
|
|
3152
3152
|
* Gets the character set of the #GtefEncoding, such as "UTF-8" or "ISO-8859-1".
|
|
3153
3153
|
* @returns the character set of the #GtefEncoding.
|
|
3154
3154
|
*/
|
|
3155
|
-
get_charset(): string
|
|
3155
|
+
get_charset(): string
|
|
3156
3156
|
/**
|
|
3157
3157
|
* Gets the name of the #GtefEncoding such as "Unicode" or "Western".
|
|
3158
3158
|
* @returns the name of the #GtefEncoding.
|
|
3159
3159
|
*/
|
|
3160
|
-
get_name(): string
|
|
3160
|
+
get_name(): string
|
|
3161
3161
|
is_utf8(): boolean
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Returns the encoding name with the charset in parenthesis, for example
|
|
@@ -3182,7 +3182,7 @@ export class Encoding {
|
|
|
3182
3182
|
* @param charset a character set.
|
|
3183
3183
|
* @returns the new #GtefEncoding. Free with gtef_encoding_free().
|
|
3184
3184
|
*/
|
|
3185
|
-
constructor(charset: string
|
|
3185
|
+
constructor(charset: string)
|
|
3186
3186
|
/**
|
|
3187
3187
|
* Creates a new #GtefEncoding from a character set such as "UTF-8" or
|
|
3188
3188
|
* "ISO-8859-1".
|
|
@@ -3190,7 +3190,7 @@ export class Encoding {
|
|
|
3190
3190
|
* @param charset a character set.
|
|
3191
3191
|
* @returns the new #GtefEncoding. Free with gtef_encoding_free().
|
|
3192
3192
|
*/
|
|
3193
|
-
static new(charset: string
|
|
3193
|
+
static new(charset: string): Encoding
|
|
3194
3194
|
/**
|
|
3195
3195
|
* Creates a new #GtefEncoding from the current locale, as returned by
|
|
3196
3196
|
* g_get_charset().
|
package/gtef-2.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ function menu_item_get_long_description(menu_item: Gtk.MenuItem): string | null
|
|
|
214
214
|
* @param item a #GtkMenuItem.
|
|
215
215
|
* @param icon_name an icon name.
|
|
216
216
|
*/
|
|
217
|
-
function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string
|
|
217
|
+
function menu_item_set_icon_name(item: Gtk.MenuItem, icon_name: string): void
|
|
218
218
|
/**
|
|
219
219
|
* Sets the long description of `menu_item`. A possible use-case is to display it
|
|
220
220
|
* in a #GtkStatusbar, or as a tooltip.
|
|
@@ -232,7 +232,7 @@ function menu_item_set_long_description(menu_item: Gtk.MenuItem, long_descriptio
|
|
|
232
232
|
* directory. See g_get_user_data_dir().
|
|
233
233
|
* @param metadata_path the filename where the metadata is stored.
|
|
234
234
|
*/
|
|
235
|
-
function metadata_manager_init(metadata_path: string
|
|
235
|
+
function metadata_manager_init(metadata_path: string): void
|
|
236
236
|
/**
|
|
237
237
|
* This function saves synchronously metadata if they need to be saved, and
|
|
238
238
|
* frees the internal data of the metadata manager.
|
|
@@ -268,7 +268,7 @@ interface ActionInfoCentralStore {
|
|
|
268
268
|
|
|
269
269
|
// Owm methods of Gtef-2.Gtef.ActionInfoCentralStore
|
|
270
270
|
|
|
271
|
-
lookup(action_name: string
|
|
271
|
+
lookup(action_name: string): ActionInfo
|
|
272
272
|
|
|
273
273
|
// Class property signals of Gtef-2.Gtef.ActionInfoCentralStore
|
|
274
274
|
|
|
@@ -372,9 +372,9 @@ interface ActionInfoStore {
|
|
|
372
372
|
* @param action_name an action name.
|
|
373
373
|
* @returns a new #GtkMenuItem for @action_name.
|
|
374
374
|
*/
|
|
375
|
-
create_menu_item(action_name: string
|
|
375
|
+
create_menu_item(action_name: string): Gtk.Widget
|
|
376
376
|
get_application(): Gtk.Application | null
|
|
377
|
-
lookup(action_name: string
|
|
377
|
+
lookup(action_name: string): ActionInfo
|
|
378
378
|
|
|
379
379
|
// Class property signals of Gtef-2.Gtef.ActionInfoStore
|
|
380
380
|
|
|
@@ -747,7 +747,7 @@ interface Buffer {
|
|
|
747
747
|
* gtk_source_style_scheme_manager_get_default().
|
|
748
748
|
* @param style_scheme_id the new value.
|
|
749
749
|
*/
|
|
750
|
-
set_style_scheme_id(style_scheme_id: string
|
|
750
|
+
set_style_scheme_id(style_scheme_id: string): void
|
|
751
751
|
|
|
752
752
|
// Own virtual methods of Gtef-2.Gtef.Buffer
|
|
753
753
|
|
|
@@ -950,7 +950,7 @@ interface File {
|
|
|
950
950
|
* released and can be used by a later untitled file.
|
|
951
951
|
* @returns the @file short name.
|
|
952
952
|
*/
|
|
953
|
-
get_short_name(): string
|
|
953
|
+
get_short_name(): string
|
|
954
954
|
/**
|
|
955
955
|
* Returns whether the file has been deleted. If the
|
|
956
956
|
* #GtefFile:location is %NULL, returns %FALSE.
|
|
@@ -1295,7 +1295,7 @@ interface FileMetadata {
|
|
|
1295
1295
|
* @param key the name of the metadata.
|
|
1296
1296
|
* @returns the value of the metadata, or %NULL if the metadata doesn't exist. Free with g_free().
|
|
1297
1297
|
*/
|
|
1298
|
-
get(key: string
|
|
1298
|
+
get(key: string): string | null
|
|
1299
1299
|
get_file(): File
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Loads synchronously the metadata from #GtefFile:location. The loaded
|
|
@@ -1404,7 +1404,7 @@ interface FileMetadata {
|
|
|
1404
1404
|
* @param key the name of the metadata.
|
|
1405
1405
|
* @param value the value of the metadata, or %NULL to unset.
|
|
1406
1406
|
*/
|
|
1407
|
-
set(key: string
|
|
1407
|
+
set(key: string, value: string | null): void
|
|
1408
1408
|
|
|
1409
1409
|
// Class property signals of Gtef-2.Gtef.FileMetadata
|
|
1410
1410
|
|
|
@@ -1902,12 +1902,12 @@ interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1902
1902
|
* Adds a primary message.
|
|
1903
1903
|
* @param primary_msg a primary message.
|
|
1904
1904
|
*/
|
|
1905
|
-
add_primary_message(primary_msg: string
|
|
1905
|
+
add_primary_message(primary_msg: string): void
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Adds a secondary message.
|
|
1908
1908
|
* @param secondary_msg a secondary message.
|
|
1909
1909
|
*/
|
|
1910
|
-
add_secondary_message(secondary_msg: string
|
|
1910
|
+
add_secondary_message(secondary_msg: string): void
|
|
1911
1911
|
|
|
1912
1912
|
// Conflicting methods
|
|
1913
1913
|
|
|
@@ -1922,7 +1922,7 @@ interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1922
1922
|
* @param child the child widget
|
|
1923
1923
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1924
1924
|
*/
|
|
1925
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1925
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1926
1926
|
|
|
1927
1927
|
// Overloads of child_notify
|
|
1928
1928
|
|
|
@@ -1936,7 +1936,7 @@ interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1936
1936
|
* Also see gtk_container_child_notify().
|
|
1937
1937
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1938
1938
|
*/
|
|
1939
|
-
child_notify(child_property: string
|
|
1939
|
+
child_notify(child_property: string): void
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1942
1942
|
* [child property][child-properties] `child_property`
|
|
@@ -1947,7 +1947,7 @@ interface InfoBar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
1947
1947
|
* Also see gtk_container_child_notify().
|
|
1948
1948
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1949
1949
|
*/
|
|
1950
|
-
child_notify(child_property: string
|
|
1950
|
+
child_notify(child_property: string): void
|
|
1951
1951
|
|
|
1952
1952
|
// Class property signals of Gtef-2.Gtef.InfoBar
|
|
1953
1953
|
|
|
@@ -2142,7 +2142,7 @@ class InfoBar extends Gtk.InfoBar {
|
|
|
2142
2142
|
* @param secondary_msg the secondary message, or %NULL.
|
|
2143
2143
|
* @returns a new #GtefInfoBar.
|
|
2144
2144
|
*/
|
|
2145
|
-
static new_simple(msg_type: Gtk.MessageType, primary_msg: string
|
|
2145
|
+
static new_simple(msg_type: Gtk.MessageType, primary_msg: string, secondary_msg: string | null): InfoBar
|
|
2146
2146
|
_init(config?: InfoBar.ConstructorProperties): void
|
|
2147
2147
|
/**
|
|
2148
2148
|
* Utility function to create a #GtkLabel suitable for a #GtkInfoBar. The
|
|
@@ -2297,7 +2297,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2297
2297
|
* @param child the child widget
|
|
2298
2298
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2299
2299
|
*/
|
|
2300
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2300
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2301
2301
|
|
|
2302
2302
|
// Overloads of child_notify
|
|
2303
2303
|
|
|
@@ -2311,7 +2311,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2311
2311
|
* Also see gtk_container_child_notify().
|
|
2312
2312
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2313
2313
|
*/
|
|
2314
|
-
child_notify(child_property: string
|
|
2314
|
+
child_notify(child_property: string): void
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2317
2317
|
* [child property][child-properties] `child_property`
|
|
@@ -2322,7 +2322,7 @@ interface Tab extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
|
|
|
2322
2322
|
* Also see gtk_container_child_notify().
|
|
2323
2323
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2324
2324
|
*/
|
|
2325
|
-
child_notify(child_property: string
|
|
2325
|
+
child_notify(child_property: string): void
|
|
2326
2326
|
|
|
2327
2327
|
// Class property signals of Gtef-2.Gtef.Tab
|
|
2328
2328
|
|
|
@@ -2609,7 +2609,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2609
2609
|
* @param child the child widget
|
|
2610
2610
|
* @param child_property the name of a child property installed on the class of `container`
|
|
2611
2611
|
*/
|
|
2612
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
2612
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
2613
2613
|
|
|
2614
2614
|
// Overloads of child_notify
|
|
2615
2615
|
|
|
@@ -2623,7 +2623,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2623
2623
|
* Also see gtk_container_child_notify().
|
|
2624
2624
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2625
2625
|
*/
|
|
2626
|
-
child_notify(child_property: string
|
|
2626
|
+
child_notify(child_property: string): void
|
|
2627
2627
|
/**
|
|
2628
2628
|
* Emits a #GtkWidget::child-notify signal for the
|
|
2629
2629
|
* [child property][child-properties] `child_property`
|
|
@@ -2634,7 +2634,7 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
2634
2634
|
* Also see gtk_container_child_notify().
|
|
2635
2635
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
2636
2636
|
*/
|
|
2637
|
-
child_notify(child_property: string
|
|
2637
|
+
child_notify(child_property: string): void
|
|
2638
2638
|
|
|
2639
2639
|
// Class property signals of Gtef-2.Gtef.View
|
|
2640
2640
|
|
|
@@ -2945,7 +2945,7 @@ interface ActionInfo {
|
|
|
2945
2945
|
* Sets the action name, for example `"win.save"`.
|
|
2946
2946
|
* @param action_name the action name.
|
|
2947
2947
|
*/
|
|
2948
|
-
set_action_name(action_name: string
|
|
2948
|
+
set_action_name(action_name: string): void
|
|
2949
2949
|
set_icon_name(icon_name: string | null): void
|
|
2950
2950
|
set_label(label: string | null): void
|
|
2951
2951
|
set_tooltip(tooltip: string | null): void
|
|
@@ -3012,28 +3012,28 @@ interface ActionInfoEntry {
|
|
|
3012
3012
|
* the action name.
|
|
3013
3013
|
* @field
|
|
3014
3014
|
*/
|
|
3015
|
-
action_name: string
|
|
3015
|
+
action_name: string
|
|
3016
3016
|
/**
|
|
3017
3017
|
* the icon name, or %NULL.
|
|
3018
3018
|
* @field
|
|
3019
3019
|
*/
|
|
3020
|
-
icon_name: string
|
|
3020
|
+
icon_name: string
|
|
3021
3021
|
/**
|
|
3022
3022
|
* the label (i.e. a short description), or %NULL.
|
|
3023
3023
|
* @field
|
|
3024
3024
|
*/
|
|
3025
|
-
label: string
|
|
3025
|
+
label: string
|
|
3026
3026
|
/**
|
|
3027
3027
|
* the accelerator, in the format understood by gtk_accelerator_parse().
|
|
3028
3028
|
* Or %NULL.
|
|
3029
3029
|
* @field
|
|
3030
3030
|
*/
|
|
3031
|
-
accel: string
|
|
3031
|
+
accel: string
|
|
3032
3032
|
/**
|
|
3033
3033
|
* the tooltip (i.e. a long description), or %NULL.
|
|
3034
3034
|
* @field
|
|
3035
3035
|
*/
|
|
3036
|
-
tooltip: string
|
|
3036
|
+
tooltip: string
|
|
3037
3037
|
}
|
|
3038
3038
|
|
|
3039
3039
|
/**
|
|
@@ -3154,12 +3154,12 @@ interface Encoding {
|
|
|
3154
3154
|
* Gets the character set of the #GtefEncoding, such as "UTF-8" or "ISO-8859-1".
|
|
3155
3155
|
* @returns the character set of the #GtefEncoding.
|
|
3156
3156
|
*/
|
|
3157
|
-
get_charset(): string
|
|
3157
|
+
get_charset(): string
|
|
3158
3158
|
/**
|
|
3159
3159
|
* Gets the name of the #GtefEncoding such as "Unicode" or "Western".
|
|
3160
3160
|
* @returns the name of the #GtefEncoding.
|
|
3161
3161
|
*/
|
|
3162
|
-
get_name(): string
|
|
3162
|
+
get_name(): string
|
|
3163
3163
|
is_utf8(): boolean
|
|
3164
3164
|
/**
|
|
3165
3165
|
* Returns the encoding name with the charset in parenthesis, for example
|
|
@@ -3184,7 +3184,7 @@ class Encoding {
|
|
|
3184
3184
|
* @param charset a character set.
|
|
3185
3185
|
* @returns the new #GtefEncoding. Free with gtef_encoding_free().
|
|
3186
3186
|
*/
|
|
3187
|
-
constructor(charset: string
|
|
3187
|
+
constructor(charset: string)
|
|
3188
3188
|
/**
|
|
3189
3189
|
* Creates a new #GtefEncoding from a character set such as "UTF-8" or
|
|
3190
3190
|
* "ISO-8859-1".
|
|
@@ -3192,7 +3192,7 @@ class Encoding {
|
|
|
3192
3192
|
* @param charset a character set.
|
|
3193
3193
|
* @returns the new #GtefEncoding. Free with gtef_encoding_free().
|
|
3194
3194
|
*/
|
|
3195
|
-
static new(charset: string
|
|
3195
|
+
static new(charset: string): Encoding
|
|
3196
3196
|
/**
|
|
3197
3197
|
* Creates a new #GtefEncoding from the current locale, as returned by
|
|
3198
3198
|
* g_get_charset().
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtef-2",
|
|
3
|
-
"version": "2.0.0-3.2.
|
|
3
|
+
"version": "2.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtef-2.js",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtef-2.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.50.0-3.2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gdk-3.0": "^3.24.38-3.2.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
38
|
-
"@girs/gtk-3.0": "^3.24.38-3.2.
|
|
39
|
-
"@girs/gtksource-3.0": "^3.0.0-3.2.
|
|
40
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.7",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
30
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
31
|
+
"@girs/gdk-3.0": "^3.24.38-3.2.7",
|
|
32
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
33
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
34
|
+
"@girs/gjs": "^3.2.7",
|
|
35
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
36
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
37
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
38
|
+
"@girs/gtk-3.0": "^3.24.38-3.2.7",
|
|
39
|
+
"@girs/gtksource-3.0": "^3.0.0-3.2.7",
|
|
40
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
41
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
42
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "*"
|