@girs/gitgext-1.0 1.0.0-3.0.0-beta.12

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.
@@ -0,0 +1,2061 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * GitgExt-1.0
10
+ */
11
+
12
+ import type Gitg from '@girs/gitg-1.0';
13
+ import type cairo from '@girs/cairo-1.0';
14
+ import type Pango from '@girs/pango-1.0';
15
+ import type HarfBuzz from '@girs/harfbuzz-0.0';
16
+ import type freetype2 from '@girs/freetype2-2.0';
17
+ import type GObject from '@girs/gobject-2.0';
18
+ import type GLib from '@girs/glib-2.0';
19
+ import type Gio from '@girs/gio-2.0';
20
+ import type Gee from '@girs/gee-0.8';
21
+ import type Gdk from '@girs/gdk-3.0';
22
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
23
+ import type GModule from '@girs/gmodule-2.0';
24
+ import type Ggit from '@girs/ggit-1.0';
25
+ import type Gtk from '@girs/gtk-3.0';
26
+ import type xlib from '@girs/xlib-2.0';
27
+ import type Atk from '@girs/atk-1.0';
28
+
29
+ export namespace GitgExt {
30
+
31
+ enum SelectionMode {
32
+ NORMAL,
33
+ SELECTION,
34
+ }
35
+ enum ExternalChangeHint {
36
+ NONE,
37
+ REFS,
38
+ INDEX,
39
+ }
40
+ interface ForeachCommitSelectionFunc {
41
+ (object: Ggit.Commit): boolean
42
+ }
43
+ interface MessageCallback {
44
+ (message: Message): void
45
+ }
46
+ interface RefNameEditingDone {
47
+ (new_name: string | null, cancelled: boolean): void
48
+ }
49
+ module Action {
50
+
51
+ // Constructor properties interface
52
+
53
+ interface ConstructorProperties extends UIElement.ConstructorProperties, GObject.Object.ConstructorProperties {
54
+ }
55
+
56
+ }
57
+
58
+ interface Action extends UIElement {
59
+
60
+ // Owm methods of GitgExt-1.0.GitgExt.Action
61
+
62
+ populate_menu(menu: Gtk.Menu): void
63
+ fetch(_callback_: Gio.AsyncReadyCallback<this> | null): void
64
+ fetch_finish(_res_: Gio.AsyncResult): boolean
65
+
66
+ // Own virtual methods of GitgExt-1.0.GitgExt.Action
67
+
68
+ vfunc_populate_menu(menu: Gtk.Menu): void
69
+ vfunc_fetch(_callback_: Gio.AsyncReadyCallback<this> | null): void
70
+ vfunc_fetch_finish(_res_: Gio.AsyncResult): boolean
71
+
72
+ // Class property signals of GitgExt-1.0.GitgExt.Action
73
+
74
+ connect(sigName: "notify::application", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
75
+ connect_after(sigName: "notify::application", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
76
+ emit(sigName: "notify::application", ...args: any[]): void
77
+ connect(sigName: "notify::id", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
78
+ connect_after(sigName: "notify::id", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
79
+ emit(sigName: "notify::id", ...args: any[]): void
80
+ connect(sigName: "notify::display-name", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
81
+ connect_after(sigName: "notify::display-name", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
82
+ emit(sigName: "notify::display-name", ...args: any[]): void
83
+ connect(sigName: "notify::description", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
84
+ connect_after(sigName: "notify::description", callback: (($obj: Action, pspec: GObject.ParamSpec) => void)): number
85
+ emit(sigName: "notify::description", ...args: any[]): void
86
+ connect(sigName: string, callback: (...args: any[]) => void): number
87
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
88
+ emit(sigName: string, ...args: any[]): void
89
+ disconnect(id: number): void
90
+ }
91
+
92
+ class Action extends GObject.Object {
93
+
94
+ // Own properties of GitgExt-1.0.GitgExt.Action
95
+
96
+ static name: string
97
+ static $gtype: GObject.GType<Action>
98
+
99
+ // Constructors of GitgExt-1.0.GitgExt.Action
100
+
101
+ constructor(config?: Action.ConstructorProperties)
102
+ _init(config?: Action.ConstructorProperties): void
103
+ }
104
+
105
+ module Activity {
106
+
107
+ // Constructor properties interface
108
+
109
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties, UIElement.ConstructorProperties {
110
+ }
111
+
112
+ }
113
+
114
+ interface Activity extends GObject.Object, UIElement {
115
+
116
+ // Owm methods of GitgExt-1.0.GitgExt.Activity
117
+
118
+ is_default_for(action: string | null): boolean
119
+ on_key_pressed(event: Gdk.EventKey): boolean
120
+
121
+ // Own virtual methods of GitgExt-1.0.GitgExt.Activity
122
+
123
+ vfunc_is_default_for(action: string | null): boolean
124
+ vfunc_on_key_pressed(event: Gdk.EventKey): boolean
125
+
126
+ // Class property signals of GitgExt-1.0.GitgExt.Activity
127
+
128
+ connect(sigName: "notify::application", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
129
+ connect_after(sigName: "notify::application", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
130
+ emit(sigName: "notify::application", ...args: any[]): void
131
+ connect(sigName: "notify::id", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
132
+ connect_after(sigName: "notify::id", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
133
+ emit(sigName: "notify::id", ...args: any[]): void
134
+ connect(sigName: "notify::display-name", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
135
+ connect_after(sigName: "notify::display-name", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
136
+ emit(sigName: "notify::display-name", ...args: any[]): void
137
+ connect(sigName: "notify::description", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
138
+ connect_after(sigName: "notify::description", callback: (($obj: Activity, pspec: GObject.ParamSpec) => void)): number
139
+ emit(sigName: "notify::description", ...args: any[]): void
140
+ connect(sigName: string, callback: (...args: any[]) => void): number
141
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
142
+ emit(sigName: string, ...args: any[]): void
143
+ disconnect(id: number): void
144
+ }
145
+
146
+ class Activity {
147
+
148
+ // Own properties of GitgExt-1.0.GitgExt.Activity
149
+
150
+ static name: string
151
+ static $gtype: GObject.GType<Activity>
152
+
153
+ // Constructors of GitgExt-1.0.GitgExt.Activity
154
+
155
+ constructor(config?: Activity.ConstructorProperties)
156
+ _init(config?: Activity.ConstructorProperties): void
157
+ }
158
+
159
+ module Application {
160
+
161
+ // Signal callback interfaces
162
+
163
+ /**
164
+ * Signal callback interface for `repository-changed-externally`
165
+ */
166
+ interface RepositoryChangedExternallySignalCallback {
167
+ ($obj: Application, hint: ExternalChangeHint): void
168
+ }
169
+
170
+ /**
171
+ * Signal callback interface for `repository-commits-changed`
172
+ */
173
+ interface RepositoryCommitsChangedSignalCallback {
174
+ ($obj: Application): void
175
+ }
176
+
177
+
178
+ // Constructor properties interface
179
+
180
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
181
+
182
+ // Own constructor properties of GitgExt-1.0.GitgExt.Application
183
+
184
+ repository?: Gitg.Repository | null
185
+ busy?: boolean | null
186
+ }
187
+
188
+ }
189
+
190
+ interface Application extends GObject.Object {
191
+
192
+ // Own properties of GitgExt-1.0.GitgExt.Application
193
+
194
+ repository: Gitg.Repository
195
+ readonly message_bus: MessageBus
196
+ readonly current_activity: Activity
197
+ readonly environment: Gee.Map
198
+ readonly notifications: Notifications
199
+ busy: boolean
200
+ readonly remote_lookup: RemoteLookup
201
+
202
+ // Owm methods of GitgExt-1.0.GitgExt.Application
203
+
204
+ get_verified_committer(): Ggit.Signature | null
205
+ get_activity_by_id(id: string | null): Activity | null
206
+ set_activity_by_id(id: string | null): Activity | null
207
+ user_query(query: UserQuery): void
208
+ user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
209
+ user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
210
+ show_infobar(primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType): void
211
+ open_new(repository: Ggit.Repository, hint: string | null): Application
212
+ open_repository(path: Gio.File): void
213
+ get_repository(): Gitg.Repository | null
214
+ set_repository(value: Gitg.Repository | null): void
215
+ get_message_bus(): MessageBus
216
+ get_current_activity(): Activity | null
217
+ get_environment(): Gee.Map
218
+ get_notifications(): Notifications
219
+ get_busy(): boolean
220
+ set_busy(value: boolean): void
221
+ get_remote_lookup(): RemoteLookup
222
+
223
+ // Own virtual methods of GitgExt-1.0.GitgExt.Application
224
+
225
+ vfunc_get_verified_committer(): Ggit.Signature | null
226
+ vfunc_get_activity_by_id(id: string | null): Activity | null
227
+ vfunc_set_activity_by_id(id: string | null): Activity | null
228
+ vfunc_user_query(query: UserQuery): void
229
+ vfunc_user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
230
+ vfunc_user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
231
+ vfunc_show_infobar(primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType): void
232
+ vfunc_open_new(repository: Ggit.Repository, hint: string | null): Application
233
+ vfunc_open_repository(path: Gio.File): void
234
+ vfunc_get_repository(): Gitg.Repository | null
235
+ vfunc_set_repository(value: Gitg.Repository | null): void
236
+ vfunc_get_message_bus(): MessageBus
237
+ vfunc_get_current_activity(): Activity | null
238
+ vfunc_get_environment(): Gee.Map
239
+ vfunc_get_notifications(): Notifications
240
+ vfunc_get_busy(): boolean
241
+ vfunc_set_busy(value: boolean): void
242
+ vfunc_get_remote_lookup(): RemoteLookup
243
+
244
+ // Own signals of GitgExt-1.0.GitgExt.Application
245
+
246
+ connect(sigName: "repository-changed-externally", callback: Application.RepositoryChangedExternallySignalCallback): number
247
+ connect_after(sigName: "repository-changed-externally", callback: Application.RepositoryChangedExternallySignalCallback): number
248
+ emit(sigName: "repository-changed-externally", hint: ExternalChangeHint, ...args: any[]): void
249
+ connect(sigName: "repository-commits-changed", callback: Application.RepositoryCommitsChangedSignalCallback): number
250
+ connect_after(sigName: "repository-commits-changed", callback: Application.RepositoryCommitsChangedSignalCallback): number
251
+ emit(sigName: "repository-commits-changed", ...args: any[]): void
252
+
253
+ // Class property signals of GitgExt-1.0.GitgExt.Application
254
+
255
+ connect(sigName: "notify::repository", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
256
+ connect_after(sigName: "notify::repository", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
257
+ emit(sigName: "notify::repository", ...args: any[]): void
258
+ connect(sigName: "notify::message-bus", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
259
+ connect_after(sigName: "notify::message-bus", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
260
+ emit(sigName: "notify::message-bus", ...args: any[]): void
261
+ connect(sigName: "notify::current-activity", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
262
+ connect_after(sigName: "notify::current-activity", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
263
+ emit(sigName: "notify::current-activity", ...args: any[]): void
264
+ connect(sigName: "notify::environment", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
265
+ connect_after(sigName: "notify::environment", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
266
+ emit(sigName: "notify::environment", ...args: any[]): void
267
+ connect(sigName: "notify::notifications", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
268
+ connect_after(sigName: "notify::notifications", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
269
+ emit(sigName: "notify::notifications", ...args: any[]): void
270
+ connect(sigName: "notify::busy", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
271
+ connect_after(sigName: "notify::busy", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
272
+ emit(sigName: "notify::busy", ...args: any[]): void
273
+ connect(sigName: "notify::remote-lookup", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
274
+ connect_after(sigName: "notify::remote-lookup", callback: (($obj: Application, pspec: GObject.ParamSpec) => void)): number
275
+ emit(sigName: "notify::remote-lookup", ...args: any[]): void
276
+ connect(sigName: string, callback: (...args: any[]) => void): number
277
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
278
+ emit(sigName: string, ...args: any[]): void
279
+ disconnect(id: number): void
280
+ }
281
+
282
+ class Application {
283
+
284
+ // Own properties of GitgExt-1.0.GitgExt.Application
285
+
286
+ static name: string
287
+ static $gtype: GObject.GType<Application>
288
+
289
+ // Constructors of GitgExt-1.0.GitgExt.Application
290
+
291
+ constructor(config?: Application.ConstructorProperties)
292
+ _init(config?: Application.ConstructorProperties): void
293
+ }
294
+
295
+ module CommandLine {
296
+
297
+ // Constructor properties interface
298
+
299
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
300
+ }
301
+
302
+ }
303
+
304
+ interface CommandLine extends GObject.Object {
305
+
306
+ // Owm methods of GitgExt-1.0.GitgExt.CommandLine
307
+
308
+ get_option_group(): GLib.OptionGroup
309
+ parse_finished(): void
310
+ apply(application: Application): void
311
+
312
+ // Own virtual methods of GitgExt-1.0.GitgExt.CommandLine
313
+
314
+ vfunc_get_option_group(): GLib.OptionGroup
315
+ vfunc_parse_finished(): void
316
+ vfunc_apply(application: Application): void
317
+
318
+ // Class property signals of GitgExt-1.0.GitgExt.CommandLine
319
+
320
+ connect(sigName: string, callback: (...args: any[]) => void): number
321
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
322
+ emit(sigName: string, ...args: any[]): void
323
+ disconnect(id: number): void
324
+ }
325
+
326
+ class CommandLine {
327
+
328
+ // Own properties of GitgExt-1.0.GitgExt.CommandLine
329
+
330
+ static name: string
331
+ static $gtype: GObject.GType<CommandLine>
332
+
333
+ // Constructors of GitgExt-1.0.GitgExt.CommandLine
334
+
335
+ constructor(config?: CommandLine.ConstructorProperties)
336
+ _init(config?: CommandLine.ConstructorProperties): void
337
+ }
338
+
339
+ module CommitAction {
340
+
341
+ // Signal callback interfaces
342
+
343
+ /**
344
+ * Signal callback interface for `finished`
345
+ */
346
+ interface FinishedSignalCallback {
347
+ ($obj: CommitAction): void
348
+ }
349
+
350
+
351
+ // Constructor properties interface
352
+
353
+ interface ConstructorProperties extends Action.ConstructorProperties, GObject.Object.ConstructorProperties {
354
+
355
+ // Own constructor properties of GitgExt-1.0.GitgExt.CommitAction
356
+
357
+ action_interface?: RefActionInterface | null
358
+ commit?: Gitg.Commit | null
359
+ }
360
+
361
+ }
362
+
363
+ interface CommitAction extends Action {
364
+
365
+ // Own properties of GitgExt-1.0.GitgExt.CommitAction
366
+
367
+ action_interface: RefActionInterface
368
+ commit: Gitg.Commit
369
+
370
+ // Owm methods of GitgExt-1.0.GitgExt.CommitAction
371
+
372
+ get_action_interface(): RefActionInterface
373
+ set_action_interface(value: RefActionInterface): void
374
+ get_commit(): Gitg.Commit
375
+ set_commit(value: Gitg.Commit): void
376
+
377
+ // Own virtual methods of GitgExt-1.0.GitgExt.CommitAction
378
+
379
+ vfunc_get_action_interface(): RefActionInterface
380
+ vfunc_set_action_interface(value: RefActionInterface): void
381
+ vfunc_get_commit(): Gitg.Commit
382
+ vfunc_set_commit(value: Gitg.Commit): void
383
+
384
+ // Own signals of GitgExt-1.0.GitgExt.CommitAction
385
+
386
+ connect(sigName: "finished", callback: CommitAction.FinishedSignalCallback): number
387
+ connect_after(sigName: "finished", callback: CommitAction.FinishedSignalCallback): number
388
+ emit(sigName: "finished", ...args: any[]): void
389
+
390
+ // Class property signals of GitgExt-1.0.GitgExt.CommitAction
391
+
392
+ connect(sigName: "notify::action-interface", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
393
+ connect_after(sigName: "notify::action-interface", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
394
+ emit(sigName: "notify::action-interface", ...args: any[]): void
395
+ connect(sigName: "notify::commit", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
396
+ connect_after(sigName: "notify::commit", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
397
+ emit(sigName: "notify::commit", ...args: any[]): void
398
+ connect(sigName: "notify::application", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
399
+ connect_after(sigName: "notify::application", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
400
+ emit(sigName: "notify::application", ...args: any[]): void
401
+ connect(sigName: "notify::id", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
402
+ connect_after(sigName: "notify::id", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
403
+ emit(sigName: "notify::id", ...args: any[]): void
404
+ connect(sigName: "notify::display-name", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
405
+ connect_after(sigName: "notify::display-name", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
406
+ emit(sigName: "notify::display-name", ...args: any[]): void
407
+ connect(sigName: "notify::description", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
408
+ connect_after(sigName: "notify::description", callback: (($obj: CommitAction, pspec: GObject.ParamSpec) => void)): number
409
+ emit(sigName: "notify::description", ...args: any[]): void
410
+ connect(sigName: string, callback: (...args: any[]) => void): number
411
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
412
+ emit(sigName: string, ...args: any[]): void
413
+ disconnect(id: number): void
414
+ }
415
+
416
+ class CommitAction extends GObject.Object {
417
+
418
+ // Own properties of GitgExt-1.0.GitgExt.CommitAction
419
+
420
+ static name: string
421
+ static $gtype: GObject.GType<CommitAction>
422
+
423
+ // Constructors of GitgExt-1.0.GitgExt.CommitAction
424
+
425
+ constructor(config?: CommitAction.ConstructorProperties)
426
+ _init(config?: CommitAction.ConstructorProperties): void
427
+ }
428
+
429
+ module HistoryPanel {
430
+
431
+ // Constructor properties interface
432
+
433
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties, UIElement.ConstructorProperties {
434
+
435
+ // Own constructor properties of GitgExt-1.0.GitgExt.HistoryPanel
436
+
437
+ history?: History | null
438
+ }
439
+
440
+ }
441
+
442
+ interface HistoryPanel extends GObject.Object, UIElement {
443
+
444
+ // Own properties of GitgExt-1.0.GitgExt.HistoryPanel
445
+
446
+ history: History
447
+
448
+ // Owm methods of GitgExt-1.0.GitgExt.HistoryPanel
449
+
450
+ get_history(): History | null
451
+ set_history(value: History | null): void
452
+
453
+ // Own virtual methods of GitgExt-1.0.GitgExt.HistoryPanel
454
+
455
+ vfunc_get_history(): History | null
456
+ vfunc_set_history(value: History | null): void
457
+
458
+ // Class property signals of GitgExt-1.0.GitgExt.HistoryPanel
459
+
460
+ connect(sigName: "notify::history", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
461
+ connect_after(sigName: "notify::history", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
462
+ emit(sigName: "notify::history", ...args: any[]): void
463
+ connect(sigName: "notify::application", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
464
+ connect_after(sigName: "notify::application", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
465
+ emit(sigName: "notify::application", ...args: any[]): void
466
+ connect(sigName: "notify::id", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
467
+ connect_after(sigName: "notify::id", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
468
+ emit(sigName: "notify::id", ...args: any[]): void
469
+ connect(sigName: "notify::display-name", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
470
+ connect_after(sigName: "notify::display-name", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
471
+ emit(sigName: "notify::display-name", ...args: any[]): void
472
+ connect(sigName: "notify::description", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
473
+ connect_after(sigName: "notify::description", callback: (($obj: HistoryPanel, pspec: GObject.ParamSpec) => void)): number
474
+ emit(sigName: "notify::description", ...args: any[]): void
475
+ connect(sigName: string, callback: (...args: any[]) => void): number
476
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
477
+ emit(sigName: string, ...args: any[]): void
478
+ disconnect(id: number): void
479
+ }
480
+
481
+ class HistoryPanel {
482
+
483
+ // Own properties of GitgExt-1.0.GitgExt.HistoryPanel
484
+
485
+ static name: string
486
+ static $gtype: GObject.GType<HistoryPanel>
487
+
488
+ // Constructors of GitgExt-1.0.GitgExt.HistoryPanel
489
+
490
+ constructor(config?: HistoryPanel.ConstructorProperties)
491
+ _init(config?: HistoryPanel.ConstructorProperties): void
492
+ }
493
+
494
+ module History {
495
+
496
+ // Signal callback interfaces
497
+
498
+ /**
499
+ * Signal callback interface for `selection-changed`
500
+ */
501
+ interface SelectionChangedSignalCallback {
502
+ ($obj: History): void
503
+ }
504
+
505
+
506
+ // Constructor properties interface
507
+
508
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties, Activity.ConstructorProperties {
509
+ }
510
+
511
+ }
512
+
513
+ interface History extends GObject.Object, Activity {
514
+
515
+ // Owm methods of GitgExt-1.0.GitgExt.History
516
+
517
+ foreach_selected(func: ForeachCommitSelectionFunc): void
518
+ select(commit: Gitg.Commit): void
519
+
520
+ // Own virtual methods of GitgExt-1.0.GitgExt.History
521
+
522
+ vfunc_foreach_selected(func: ForeachCommitSelectionFunc): void
523
+ vfunc_select(commit: Gitg.Commit): void
524
+
525
+ // Own signals of GitgExt-1.0.GitgExt.History
526
+
527
+ connect(sigName: "selection-changed", callback: History.SelectionChangedSignalCallback): number
528
+ connect_after(sigName: "selection-changed", callback: History.SelectionChangedSignalCallback): number
529
+ emit(sigName: "selection-changed", ...args: any[]): void
530
+
531
+ // Class property signals of GitgExt-1.0.GitgExt.History
532
+
533
+ connect(sigName: "notify::application", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
534
+ connect_after(sigName: "notify::application", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
535
+ emit(sigName: "notify::application", ...args: any[]): void
536
+ connect(sigName: "notify::id", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
537
+ connect_after(sigName: "notify::id", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
538
+ emit(sigName: "notify::id", ...args: any[]): void
539
+ connect(sigName: "notify::display-name", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
540
+ connect_after(sigName: "notify::display-name", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
541
+ emit(sigName: "notify::display-name", ...args: any[]): void
542
+ connect(sigName: "notify::description", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
543
+ connect_after(sigName: "notify::description", callback: (($obj: History, pspec: GObject.ParamSpec) => void)): number
544
+ emit(sigName: "notify::description", ...args: any[]): void
545
+ connect(sigName: string, callback: (...args: any[]) => void): number
546
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
547
+ emit(sigName: string, ...args: any[]): void
548
+ disconnect(id: number): void
549
+ }
550
+
551
+ class History {
552
+
553
+ // Own properties of GitgExt-1.0.GitgExt.History
554
+
555
+ static name: string
556
+ static $gtype: GObject.GType<History>
557
+
558
+ // Constructors of GitgExt-1.0.GitgExt.History
559
+
560
+ constructor(config?: History.ConstructorProperties)
561
+ _init(config?: History.ConstructorProperties): void
562
+ }
563
+
564
+ module Notification {
565
+
566
+ // Signal callback interfaces
567
+
568
+ /**
569
+ * Signal callback interface for `close`
570
+ */
571
+ interface CloseSignalCallback {
572
+ ($obj: Notification, delay: number): void
573
+ }
574
+
575
+
576
+ // Constructor properties interface
577
+
578
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
579
+ }
580
+
581
+ }
582
+
583
+ interface Notification extends GObject.Object {
584
+
585
+ // Own properties of GitgExt-1.0.GitgExt.Notification
586
+
587
+ readonly widget: Gtk.Widget
588
+
589
+ // Owm methods of GitgExt-1.0.GitgExt.Notification
590
+
591
+ get_widget(): Gtk.Widget | null
592
+
593
+ // Own virtual methods of GitgExt-1.0.GitgExt.Notification
594
+
595
+ vfunc_get_widget(): Gtk.Widget | null
596
+
597
+ // Own signals of GitgExt-1.0.GitgExt.Notification
598
+
599
+ connect(sigName: "close", callback: Notification.CloseSignalCallback): number
600
+ connect_after(sigName: "close", callback: Notification.CloseSignalCallback): number
601
+ emit(sigName: "close", delay: number, ...args: any[]): void
602
+
603
+ // Class property signals of GitgExt-1.0.GitgExt.Notification
604
+
605
+ connect(sigName: "notify::widget", callback: (($obj: Notification, pspec: GObject.ParamSpec) => void)): number
606
+ connect_after(sigName: "notify::widget", callback: (($obj: Notification, pspec: GObject.ParamSpec) => void)): number
607
+ emit(sigName: "notify::widget", ...args: any[]): void
608
+ connect(sigName: string, callback: (...args: any[]) => void): number
609
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
610
+ emit(sigName: string, ...args: any[]): void
611
+ disconnect(id: number): void
612
+ }
613
+
614
+ class Notification {
615
+
616
+ // Own properties of GitgExt-1.0.GitgExt.Notification
617
+
618
+ static name: string
619
+ static $gtype: GObject.GType<Notification>
620
+
621
+ // Constructors of GitgExt-1.0.GitgExt.Notification
622
+
623
+ constructor(config?: Notification.ConstructorProperties)
624
+ _init(config?: Notification.ConstructorProperties): void
625
+ }
626
+
627
+ module Notifications {
628
+
629
+ // Constructor properties interface
630
+
631
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
632
+ }
633
+
634
+ }
635
+
636
+ interface Notifications extends GObject.Object {
637
+
638
+ // Owm methods of GitgExt-1.0.GitgExt.Notifications
639
+
640
+ add(notification: Notification): void
641
+ remove(notification: Notification, delay: number): void
642
+
643
+ // Own virtual methods of GitgExt-1.0.GitgExt.Notifications
644
+
645
+ vfunc_add(notification: Notification): void
646
+ vfunc_remove(notification: Notification, delay: number): void
647
+
648
+ // Class property signals of GitgExt-1.0.GitgExt.Notifications
649
+
650
+ connect(sigName: string, callback: (...args: any[]) => void): number
651
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
652
+ emit(sigName: string, ...args: any[]): void
653
+ disconnect(id: number): void
654
+ }
655
+
656
+ class Notifications {
657
+
658
+ // Own properties of GitgExt-1.0.GitgExt.Notifications
659
+
660
+ static name: string
661
+ static $gtype: GObject.GType<Notifications>
662
+
663
+ // Constructors of GitgExt-1.0.GitgExt.Notifications
664
+
665
+ constructor(config?: Notifications.ConstructorProperties)
666
+ _init(config?: Notifications.ConstructorProperties): void
667
+ }
668
+
669
+ module Preferences {
670
+
671
+ // Constructor properties interface
672
+
673
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
674
+ }
675
+
676
+ }
677
+
678
+ interface Preferences extends GObject.Object {
679
+
680
+ // Own properties of GitgExt-1.0.GitgExt.Preferences
681
+
682
+ readonly id: string | null
683
+ readonly display_name: string | null
684
+ readonly widget: Gtk.Widget
685
+
686
+ // Owm methods of GitgExt-1.0.GitgExt.Preferences
687
+
688
+ get_id(): string | null
689
+ get_display_name(): string | null
690
+ get_widget(): Gtk.Widget
691
+
692
+ // Own virtual methods of GitgExt-1.0.GitgExt.Preferences
693
+
694
+ vfunc_get_id(): string | null
695
+ vfunc_get_display_name(): string | null
696
+ vfunc_get_widget(): Gtk.Widget
697
+
698
+ // Class property signals of GitgExt-1.0.GitgExt.Preferences
699
+
700
+ connect(sigName: "notify::id", callback: (($obj: Preferences, pspec: GObject.ParamSpec) => void)): number
701
+ connect_after(sigName: "notify::id", callback: (($obj: Preferences, pspec: GObject.ParamSpec) => void)): number
702
+ emit(sigName: "notify::id", ...args: any[]): void
703
+ connect(sigName: "notify::display-name", callback: (($obj: Preferences, pspec: GObject.ParamSpec) => void)): number
704
+ connect_after(sigName: "notify::display-name", callback: (($obj: Preferences, pspec: GObject.ParamSpec) => void)): number
705
+ emit(sigName: "notify::display-name", ...args: any[]): void
706
+ connect(sigName: "notify::widget", callback: (($obj: Preferences, pspec: GObject.ParamSpec) => void)): number
707
+ connect_after(sigName: "notify::widget", callback: (($obj: Preferences, pspec: GObject.ParamSpec) => void)): number
708
+ emit(sigName: "notify::widget", ...args: any[]): void
709
+ connect(sigName: string, callback: (...args: any[]) => void): number
710
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
711
+ emit(sigName: string, ...args: any[]): void
712
+ disconnect(id: number): void
713
+ }
714
+
715
+ class Preferences {
716
+
717
+ // Own properties of GitgExt-1.0.GitgExt.Preferences
718
+
719
+ static name: string
720
+ static $gtype: GObject.GType<Preferences>
721
+
722
+ // Constructors of GitgExt-1.0.GitgExt.Preferences
723
+
724
+ constructor(config?: Preferences.ConstructorProperties)
725
+ _init(config?: Preferences.ConstructorProperties): void
726
+ }
727
+
728
+ module RefActionInterface {
729
+
730
+ // Constructor properties interface
731
+
732
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
733
+
734
+ // Own constructor properties of GitgExt-1.0.GitgExt.RefActionInterface
735
+
736
+ application?: Application | null
737
+ }
738
+
739
+ }
740
+
741
+ interface RefActionInterface extends GObject.Object {
742
+
743
+ // Own properties of GitgExt-1.0.GitgExt.RefActionInterface
744
+
745
+ application: Application
746
+ readonly references: Gee.List
747
+
748
+ // Owm methods of GitgExt-1.0.GitgExt.RefActionInterface
749
+
750
+ add_ref(reference: Gitg.Ref): void
751
+ remove_ref(reference: Gitg.Ref): void
752
+ replace_ref(old_ref: Gitg.Ref, new_ref: Gitg.Ref): void
753
+ set_busy(reference: Gitg.Ref, busy: boolean): void
754
+ edit_ref_name(reference: Gitg.Ref, callback: RefNameEditingDone): void
755
+ refresh(): void
756
+ get_application(): Application
757
+ set_application(value: Application): void
758
+ get_references(): Gee.List
759
+
760
+ // Own virtual methods of GitgExt-1.0.GitgExt.RefActionInterface
761
+
762
+ vfunc_add_ref(reference: Gitg.Ref): void
763
+ vfunc_remove_ref(reference: Gitg.Ref): void
764
+ vfunc_replace_ref(old_ref: Gitg.Ref, new_ref: Gitg.Ref): void
765
+ vfunc_set_busy(reference: Gitg.Ref, busy: boolean): void
766
+ vfunc_edit_ref_name(reference: Gitg.Ref, callback: RefNameEditingDone): void
767
+ vfunc_refresh(): void
768
+ vfunc_get_application(): Application
769
+ vfunc_set_application(value: Application): void
770
+ vfunc_get_references(): Gee.List
771
+
772
+ // Class property signals of GitgExt-1.0.GitgExt.RefActionInterface
773
+
774
+ connect(sigName: "notify::application", callback: (($obj: RefActionInterface, pspec: GObject.ParamSpec) => void)): number
775
+ connect_after(sigName: "notify::application", callback: (($obj: RefActionInterface, pspec: GObject.ParamSpec) => void)): number
776
+ emit(sigName: "notify::application", ...args: any[]): void
777
+ connect(sigName: "notify::references", callback: (($obj: RefActionInterface, pspec: GObject.ParamSpec) => void)): number
778
+ connect_after(sigName: "notify::references", callback: (($obj: RefActionInterface, pspec: GObject.ParamSpec) => void)): number
779
+ emit(sigName: "notify::references", ...args: any[]): void
780
+ connect(sigName: string, callback: (...args: any[]) => void): number
781
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
782
+ emit(sigName: string, ...args: any[]): void
783
+ disconnect(id: number): void
784
+ }
785
+
786
+ class RefActionInterface {
787
+
788
+ // Own properties of GitgExt-1.0.GitgExt.RefActionInterface
789
+
790
+ static name: string
791
+ static $gtype: GObject.GType<RefActionInterface>
792
+
793
+ // Constructors of GitgExt-1.0.GitgExt.RefActionInterface
794
+
795
+ constructor(config?: RefActionInterface.ConstructorProperties)
796
+ _init(config?: RefActionInterface.ConstructorProperties): void
797
+ }
798
+
799
+ module RefAction {
800
+
801
+ // Signal callback interfaces
802
+
803
+ /**
804
+ * Signal callback interface for `finished`
805
+ */
806
+ interface FinishedSignalCallback {
807
+ ($obj: RefAction): void
808
+ }
809
+
810
+
811
+ // Constructor properties interface
812
+
813
+ interface ConstructorProperties extends Action.ConstructorProperties, GObject.Object.ConstructorProperties {
814
+
815
+ // Own constructor properties of GitgExt-1.0.GitgExt.RefAction
816
+
817
+ action_interface?: RefActionInterface | null
818
+ reference?: Gitg.Ref | null
819
+ }
820
+
821
+ }
822
+
823
+ interface RefAction extends Action {
824
+
825
+ // Own properties of GitgExt-1.0.GitgExt.RefAction
826
+
827
+ action_interface: RefActionInterface
828
+ reference: Gitg.Ref
829
+
830
+ // Owm methods of GitgExt-1.0.GitgExt.RefAction
831
+
832
+ get_action_interface(): RefActionInterface
833
+ set_action_interface(value: RefActionInterface): void
834
+ get_reference(): Gitg.Ref
835
+ set_reference(value: Gitg.Ref): void
836
+
837
+ // Own virtual methods of GitgExt-1.0.GitgExt.RefAction
838
+
839
+ vfunc_get_action_interface(): RefActionInterface
840
+ vfunc_set_action_interface(value: RefActionInterface): void
841
+ vfunc_get_reference(): Gitg.Ref
842
+ vfunc_set_reference(value: Gitg.Ref): void
843
+
844
+ // Own signals of GitgExt-1.0.GitgExt.RefAction
845
+
846
+ connect(sigName: "finished", callback: RefAction.FinishedSignalCallback): number
847
+ connect_after(sigName: "finished", callback: RefAction.FinishedSignalCallback): number
848
+ emit(sigName: "finished", ...args: any[]): void
849
+
850
+ // Class property signals of GitgExt-1.0.GitgExt.RefAction
851
+
852
+ connect(sigName: "notify::action-interface", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
853
+ connect_after(sigName: "notify::action-interface", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
854
+ emit(sigName: "notify::action-interface", ...args: any[]): void
855
+ connect(sigName: "notify::reference", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
856
+ connect_after(sigName: "notify::reference", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
857
+ emit(sigName: "notify::reference", ...args: any[]): void
858
+ connect(sigName: "notify::application", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
859
+ connect_after(sigName: "notify::application", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
860
+ emit(sigName: "notify::application", ...args: any[]): void
861
+ connect(sigName: "notify::id", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
862
+ connect_after(sigName: "notify::id", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
863
+ emit(sigName: "notify::id", ...args: any[]): void
864
+ connect(sigName: "notify::display-name", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
865
+ connect_after(sigName: "notify::display-name", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
866
+ emit(sigName: "notify::display-name", ...args: any[]): void
867
+ connect(sigName: "notify::description", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
868
+ connect_after(sigName: "notify::description", callback: (($obj: RefAction, pspec: GObject.ParamSpec) => void)): number
869
+ emit(sigName: "notify::description", ...args: any[]): void
870
+ connect(sigName: string, callback: (...args: any[]) => void): number
871
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
872
+ emit(sigName: string, ...args: any[]): void
873
+ disconnect(id: number): void
874
+ }
875
+
876
+ class RefAction extends GObject.Object {
877
+
878
+ // Own properties of GitgExt-1.0.GitgExt.RefAction
879
+
880
+ static name: string
881
+ static $gtype: GObject.GType<RefAction>
882
+
883
+ // Constructors of GitgExt-1.0.GitgExt.RefAction
884
+
885
+ constructor(config?: RefAction.ConstructorProperties)
886
+ _init(config?: RefAction.ConstructorProperties): void
887
+ }
888
+
889
+ module RemoteLookup {
890
+
891
+ // Constructor properties interface
892
+
893
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
894
+ }
895
+
896
+ }
897
+
898
+ interface RemoteLookup extends GObject.Object {
899
+
900
+ // Owm methods of GitgExt-1.0.GitgExt.RemoteLookup
901
+
902
+ lookup(name: string | null): Gitg.Remote | null
903
+
904
+ // Own virtual methods of GitgExt-1.0.GitgExt.RemoteLookup
905
+
906
+ vfunc_lookup(name: string | null): Gitg.Remote | null
907
+
908
+ // Class property signals of GitgExt-1.0.GitgExt.RemoteLookup
909
+
910
+ connect(sigName: string, callback: (...args: any[]) => void): number
911
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
912
+ emit(sigName: string, ...args: any[]): void
913
+ disconnect(id: number): void
914
+ }
915
+
916
+ class RemoteLookup {
917
+
918
+ // Own properties of GitgExt-1.0.GitgExt.RemoteLookup
919
+
920
+ static name: string
921
+ static $gtype: GObject.GType<RemoteLookup>
922
+
923
+ // Constructors of GitgExt-1.0.GitgExt.RemoteLookup
924
+
925
+ constructor(config?: RemoteLookup.ConstructorProperties)
926
+ _init(config?: RemoteLookup.ConstructorProperties): void
927
+ }
928
+
929
+ module Searchable {
930
+
931
+ // Constructor properties interface
932
+
933
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties, Activity.ConstructorProperties {
934
+
935
+ // Own constructor properties of GitgExt-1.0.GitgExt.Searchable
936
+
937
+ search_text?: string | null
938
+ search_visible?: boolean | null
939
+ search_entry?: Gtk.Entry | null
940
+ }
941
+
942
+ }
943
+
944
+ interface Searchable extends GObject.Object, Activity {
945
+
946
+ // Own properties of GitgExt-1.0.GitgExt.Searchable
947
+
948
+ search_text: string | null
949
+ search_visible: boolean
950
+ readonly search_available: boolean
951
+ search_entry: Gtk.Entry
952
+
953
+ // Owm methods of GitgExt-1.0.GitgExt.Searchable
954
+
955
+ get_search_text(): string | null
956
+ set_search_text(value: string | null): void
957
+ get_search_visible(): boolean
958
+ set_search_visible(value: boolean): void
959
+ get_search_available(): boolean
960
+ set_search_entry(value: Gtk.Entry | null): void
961
+
962
+ // Own virtual methods of GitgExt-1.0.GitgExt.Searchable
963
+
964
+ vfunc_get_search_text(): string | null
965
+ vfunc_set_search_text(value: string | null): void
966
+ vfunc_get_search_visible(): boolean
967
+ vfunc_set_search_visible(value: boolean): void
968
+ vfunc_get_search_available(): boolean
969
+ vfunc_set_search_entry(value: Gtk.Entry | null): void
970
+
971
+ // Class property signals of GitgExt-1.0.GitgExt.Searchable
972
+
973
+ connect(sigName: "notify::search-text", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
974
+ connect_after(sigName: "notify::search-text", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
975
+ emit(sigName: "notify::search-text", ...args: any[]): void
976
+ connect(sigName: "notify::search-visible", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
977
+ connect_after(sigName: "notify::search-visible", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
978
+ emit(sigName: "notify::search-visible", ...args: any[]): void
979
+ connect(sigName: "notify::search-available", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
980
+ connect_after(sigName: "notify::search-available", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
981
+ emit(sigName: "notify::search-available", ...args: any[]): void
982
+ connect(sigName: "notify::search-entry", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
983
+ connect_after(sigName: "notify::search-entry", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
984
+ emit(sigName: "notify::search-entry", ...args: any[]): void
985
+ connect(sigName: "notify::application", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
986
+ connect_after(sigName: "notify::application", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
987
+ emit(sigName: "notify::application", ...args: any[]): void
988
+ connect(sigName: "notify::id", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
989
+ connect_after(sigName: "notify::id", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
990
+ emit(sigName: "notify::id", ...args: any[]): void
991
+ connect(sigName: "notify::display-name", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
992
+ connect_after(sigName: "notify::display-name", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
993
+ emit(sigName: "notify::display-name", ...args: any[]): void
994
+ connect(sigName: "notify::description", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
995
+ connect_after(sigName: "notify::description", callback: (($obj: Searchable, pspec: GObject.ParamSpec) => void)): number
996
+ emit(sigName: "notify::description", ...args: any[]): void
997
+ connect(sigName: string, callback: (...args: any[]) => void): number
998
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
999
+ emit(sigName: string, ...args: any[]): void
1000
+ disconnect(id: number): void
1001
+ }
1002
+
1003
+ class Searchable {
1004
+
1005
+ // Own properties of GitgExt-1.0.GitgExt.Searchable
1006
+
1007
+ static name: string
1008
+ static $gtype: GObject.GType<Searchable>
1009
+
1010
+ // Constructors of GitgExt-1.0.GitgExt.Searchable
1011
+
1012
+ constructor(config?: Searchable.ConstructorProperties)
1013
+ _init(config?: Searchable.ConstructorProperties): void
1014
+ }
1015
+
1016
+ module Selectable {
1017
+
1018
+ // Constructor properties interface
1019
+
1020
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties, Activity.ConstructorProperties {
1021
+
1022
+ // Own constructor properties of GitgExt-1.0.GitgExt.Selectable
1023
+
1024
+ selectable_mode?: SelectionMode | null
1025
+ }
1026
+
1027
+ }
1028
+
1029
+ interface Selectable extends GObject.Object, Activity {
1030
+
1031
+ // Own properties of GitgExt-1.0.GitgExt.Selectable
1032
+
1033
+ selectable_mode: SelectionMode
1034
+ readonly selectable_available: boolean
1035
+ readonly selectable_mode_tooltip: string | null
1036
+ readonly action_widget: Gtk.Widget
1037
+
1038
+ // Owm methods of GitgExt-1.0.GitgExt.Selectable
1039
+
1040
+ get_selectable_mode(): SelectionMode
1041
+ set_selectable_mode(value: SelectionMode): void
1042
+ get_selectable_available(): boolean
1043
+ get_selectable_mode_tooltip(): string | null
1044
+ get_action_widget(): Gtk.Widget | null
1045
+
1046
+ // Own virtual methods of GitgExt-1.0.GitgExt.Selectable
1047
+
1048
+ vfunc_get_selectable_mode(): SelectionMode
1049
+ vfunc_set_selectable_mode(value: SelectionMode): void
1050
+ vfunc_get_selectable_available(): boolean
1051
+ vfunc_get_selectable_mode_tooltip(): string | null
1052
+ vfunc_get_action_widget(): Gtk.Widget | null
1053
+
1054
+ // Class property signals of GitgExt-1.0.GitgExt.Selectable
1055
+
1056
+ connect(sigName: "notify::selectable-mode", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1057
+ connect_after(sigName: "notify::selectable-mode", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1058
+ emit(sigName: "notify::selectable-mode", ...args: any[]): void
1059
+ connect(sigName: "notify::selectable-available", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1060
+ connect_after(sigName: "notify::selectable-available", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1061
+ emit(sigName: "notify::selectable-available", ...args: any[]): void
1062
+ connect(sigName: "notify::selectable-mode-tooltip", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1063
+ connect_after(sigName: "notify::selectable-mode-tooltip", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1064
+ emit(sigName: "notify::selectable-mode-tooltip", ...args: any[]): void
1065
+ connect(sigName: "notify::action-widget", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1066
+ connect_after(sigName: "notify::action-widget", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1067
+ emit(sigName: "notify::action-widget", ...args: any[]): void
1068
+ connect(sigName: "notify::application", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1069
+ connect_after(sigName: "notify::application", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1070
+ emit(sigName: "notify::application", ...args: any[]): void
1071
+ connect(sigName: "notify::id", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1072
+ connect_after(sigName: "notify::id", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1073
+ emit(sigName: "notify::id", ...args: any[]): void
1074
+ connect(sigName: "notify::display-name", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1075
+ connect_after(sigName: "notify::display-name", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1076
+ emit(sigName: "notify::display-name", ...args: any[]): void
1077
+ connect(sigName: "notify::description", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1078
+ connect_after(sigName: "notify::description", callback: (($obj: Selectable, pspec: GObject.ParamSpec) => void)): number
1079
+ emit(sigName: "notify::description", ...args: any[]): void
1080
+ connect(sigName: string, callback: (...args: any[]) => void): number
1081
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1082
+ emit(sigName: string, ...args: any[]): void
1083
+ disconnect(id: number): void
1084
+ }
1085
+
1086
+ class Selectable {
1087
+
1088
+ // Own properties of GitgExt-1.0.GitgExt.Selectable
1089
+
1090
+ static name: string
1091
+ static $gtype: GObject.GType<Selectable>
1092
+
1093
+ // Constructors of GitgExt-1.0.GitgExt.Selectable
1094
+
1095
+ constructor(config?: Selectable.ConstructorProperties)
1096
+ _init(config?: Selectable.ConstructorProperties): void
1097
+ }
1098
+
1099
+ module UIElement {
1100
+
1101
+ // Signal callback interfaces
1102
+
1103
+ /**
1104
+ * Signal callback interface for `activate`
1105
+ */
1106
+ interface ActivateSignalCallback {
1107
+ ($obj: UIElement): void
1108
+ }
1109
+
1110
+
1111
+ // Constructor properties interface
1112
+
1113
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1114
+
1115
+ // Own constructor properties of GitgExt-1.0.GitgExt.UIElement
1116
+
1117
+ application?: Application | null
1118
+ }
1119
+
1120
+ }
1121
+
1122
+ interface UIElement extends GObject.Object {
1123
+
1124
+ // Own properties of GitgExt-1.0.GitgExt.UIElement
1125
+
1126
+ application: Application
1127
+ readonly id: string | null
1128
+ readonly display_name: string | null
1129
+ readonly description: string | null
1130
+
1131
+ // Owm methods of GitgExt-1.0.GitgExt.UIElement
1132
+
1133
+ negotiate_order(other: UIElement): number
1134
+ get_application(): Application | null
1135
+ set_application(value: Application | null): void
1136
+ get_id(): string | null
1137
+ get_display_name(): string | null
1138
+ get_description(): string | null
1139
+ get_icon(): string | null
1140
+ get_widget(): Gtk.Widget | null
1141
+ get_shortcut(): number | null
1142
+ get_available(): boolean
1143
+ get_enabled(): boolean
1144
+
1145
+ // Own virtual methods of GitgExt-1.0.GitgExt.UIElement
1146
+
1147
+ vfunc_negotiate_order(other: UIElement): number
1148
+ vfunc_get_application(): Application | null
1149
+ vfunc_set_application(value: Application | null): void
1150
+ vfunc_get_id(): string | null
1151
+ vfunc_get_display_name(): string | null
1152
+ vfunc_get_description(): string | null
1153
+ vfunc_get_icon(): string | null
1154
+ vfunc_get_widget(): Gtk.Widget | null
1155
+ vfunc_get_shortcut(): number | null
1156
+ vfunc_get_available(): boolean
1157
+ vfunc_get_enabled(): boolean
1158
+ vfunc_activate(): void
1159
+
1160
+ // Own signals of GitgExt-1.0.GitgExt.UIElement
1161
+
1162
+ connect(sigName: "activate", callback: UIElement.ActivateSignalCallback): number
1163
+ connect_after(sigName: "activate", callback: UIElement.ActivateSignalCallback): number
1164
+ emit(sigName: "activate", ...args: any[]): void
1165
+
1166
+ // Class property signals of GitgExt-1.0.GitgExt.UIElement
1167
+
1168
+ connect(sigName: "notify::application", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1169
+ connect_after(sigName: "notify::application", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1170
+ emit(sigName: "notify::application", ...args: any[]): void
1171
+ connect(sigName: "notify::id", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1172
+ connect_after(sigName: "notify::id", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1173
+ emit(sigName: "notify::id", ...args: any[]): void
1174
+ connect(sigName: "notify::display-name", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1175
+ connect_after(sigName: "notify::display-name", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1176
+ emit(sigName: "notify::display-name", ...args: any[]): void
1177
+ connect(sigName: "notify::description", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1178
+ connect_after(sigName: "notify::description", callback: (($obj: UIElement, pspec: GObject.ParamSpec) => void)): number
1179
+ emit(sigName: "notify::description", ...args: any[]): void
1180
+ connect(sigName: string, callback: (...args: any[]) => void): number
1181
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1182
+ emit(sigName: string, ...args: any[]): void
1183
+ disconnect(id: number): void
1184
+ }
1185
+
1186
+ class UIElement {
1187
+
1188
+ // Own properties of GitgExt-1.0.GitgExt.UIElement
1189
+
1190
+ static name: string
1191
+ static $gtype: GObject.GType<UIElement>
1192
+
1193
+ // Constructors of GitgExt-1.0.GitgExt.UIElement
1194
+
1195
+ constructor(config?: UIElement.ConstructorProperties)
1196
+ _init(config?: UIElement.ConstructorProperties): void
1197
+ }
1198
+
1199
+ module CommandLines {
1200
+
1201
+ // Constructor properties interface
1202
+
1203
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1204
+ }
1205
+
1206
+ }
1207
+
1208
+ interface CommandLines {
1209
+
1210
+ // Owm methods of GitgExt-1.0.GitgExt.CommandLines
1211
+
1212
+ get_for(t_type: GObject.GType, t_dup_func: GObject.BoxedCopyFunc, t_destroy_func: GLib.DestroyNotify): any | null
1213
+ parse_finished(): void
1214
+ apply(application: Application): void
1215
+
1216
+ // Class property signals of GitgExt-1.0.GitgExt.CommandLines
1217
+
1218
+ connect(sigName: string, callback: (...args: any[]) => void): number
1219
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1220
+ emit(sigName: string, ...args: any[]): void
1221
+ disconnect(id: number): void
1222
+ }
1223
+
1224
+ class CommandLines extends GObject.Object {
1225
+
1226
+ // Own properties of GitgExt-1.0.GitgExt.CommandLines
1227
+
1228
+ static name: string
1229
+ static $gtype: GObject.GType<CommandLines>
1230
+
1231
+ // Constructors of GitgExt-1.0.GitgExt.CommandLines
1232
+
1233
+ constructor(config?: CommandLines.ConstructorProperties)
1234
+ constructor(command_lines: CommandLine[])
1235
+ static new(command_lines: CommandLine[]): CommandLines
1236
+ _init(config?: CommandLines.ConstructorProperties): void
1237
+ }
1238
+
1239
+ module MessageBus {
1240
+
1241
+ // Signal callback interfaces
1242
+
1243
+ /**
1244
+ * Signal callback interface for `registered`
1245
+ */
1246
+ interface RegisteredSignalCallback {
1247
+ ($obj: MessageBus, id: MessageId): void
1248
+ }
1249
+
1250
+ /**
1251
+ * Signal callback interface for `unregistered`
1252
+ */
1253
+ interface UnregisteredSignalCallback {
1254
+ ($obj: MessageBus, id: MessageId): void
1255
+ }
1256
+
1257
+ /**
1258
+ * Signal callback interface for `dispatch`
1259
+ */
1260
+ interface DispatchSignalCallback {
1261
+ ($obj: MessageBus, message: Message): void
1262
+ }
1263
+
1264
+
1265
+ // Constructor properties interface
1266
+
1267
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1268
+ }
1269
+
1270
+ }
1271
+
1272
+ interface MessageBus {
1273
+
1274
+ // Owm methods of GitgExt-1.0.GitgExt.MessageBus
1275
+
1276
+ lookup(id: MessageId): GObject.GType
1277
+ register(message_type: GObject.GType, id: MessageId): void
1278
+ unregister(id: MessageId): void
1279
+ unregister_all(object_path: string | null): void
1280
+ is_registered(id: MessageId): boolean
1281
+ connect(id: MessageId, callback: MessageCallback): number
1282
+ disconnect(id: number): void
1283
+ block(id: number): void
1284
+ unblock(id: number): void
1285
+ send_message(message: Message): Message
1286
+
1287
+ // Own virtual methods of GitgExt-1.0.GitgExt.MessageBus
1288
+
1289
+ vfunc_dispatch(message: Message): void
1290
+
1291
+ // Own signals of GitgExt-1.0.GitgExt.MessageBus
1292
+
1293
+ connect(sigName: "registered", callback: MessageBus.RegisteredSignalCallback): number
1294
+ connect_after(sigName: "registered", callback: MessageBus.RegisteredSignalCallback): number
1295
+ emit(sigName: "registered", id: MessageId, ...args: any[]): void
1296
+ connect(sigName: "unregistered", callback: MessageBus.UnregisteredSignalCallback): number
1297
+ connect_after(sigName: "unregistered", callback: MessageBus.UnregisteredSignalCallback): number
1298
+ emit(sigName: "unregistered", id: MessageId, ...args: any[]): void
1299
+ connect(sigName: "dispatch", callback: MessageBus.DispatchSignalCallback): number
1300
+ connect_after(sigName: "dispatch", callback: MessageBus.DispatchSignalCallback): number
1301
+ emit(sigName: "dispatch", message: Message, ...args: any[]): void
1302
+
1303
+ // Class property signals of GitgExt-1.0.GitgExt.MessageBus
1304
+
1305
+ connect(sigName: string, callback: (...args: any[]) => void): number
1306
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1307
+ emit(sigName: string, ...args: any[]): void
1308
+ disconnect(id: number): void
1309
+ }
1310
+
1311
+ class MessageBus extends GObject.Object {
1312
+
1313
+ // Own properties of GitgExt-1.0.GitgExt.MessageBus
1314
+
1315
+ static name: string
1316
+ static $gtype: GObject.GType<MessageBus>
1317
+
1318
+ // Constructors of GitgExt-1.0.GitgExt.MessageBus
1319
+
1320
+ constructor(config?: MessageBus.ConstructorProperties)
1321
+ constructor()
1322
+ static new(): MessageBus
1323
+ _init(config?: MessageBus.ConstructorProperties): void
1324
+ static get_default(): MessageBus
1325
+ }
1326
+
1327
+ module MessageId {
1328
+
1329
+ // Constructor properties interface
1330
+
1331
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1332
+
1333
+ // Own constructor properties of GitgExt-1.0.GitgExt.MessageId
1334
+
1335
+ object_path?: string | null
1336
+ method?: string | null
1337
+ }
1338
+
1339
+ }
1340
+
1341
+ interface MessageId {
1342
+
1343
+ // Own properties of GitgExt-1.0.GitgExt.MessageId
1344
+
1345
+ object_path: string | null
1346
+ method: string | null
1347
+ readonly id: string | null
1348
+
1349
+ // Owm methods of GitgExt-1.0.GitgExt.MessageId
1350
+
1351
+ hash(): number
1352
+ equal(other: MessageId): boolean
1353
+ copy(): MessageId
1354
+ get_object_path(): string | null
1355
+ set_object_path(value: string | null): void
1356
+ get_method(): string | null
1357
+ set_method(value: string | null): void
1358
+ get_id(): string | null
1359
+
1360
+ // Class property signals of GitgExt-1.0.GitgExt.MessageId
1361
+
1362
+ connect(sigName: "notify::object-path", callback: (($obj: MessageId, pspec: GObject.ParamSpec) => void)): number
1363
+ connect_after(sigName: "notify::object-path", callback: (($obj: MessageId, pspec: GObject.ParamSpec) => void)): number
1364
+ emit(sigName: "notify::object-path", ...args: any[]): void
1365
+ connect(sigName: "notify::method", callback: (($obj: MessageId, pspec: GObject.ParamSpec) => void)): number
1366
+ connect_after(sigName: "notify::method", callback: (($obj: MessageId, pspec: GObject.ParamSpec) => void)): number
1367
+ emit(sigName: "notify::method", ...args: any[]): void
1368
+ connect(sigName: "notify::id", callback: (($obj: MessageId, pspec: GObject.ParamSpec) => void)): number
1369
+ connect_after(sigName: "notify::id", callback: (($obj: MessageId, pspec: GObject.ParamSpec) => void)): number
1370
+ emit(sigName: "notify::id", ...args: any[]): void
1371
+ connect(sigName: string, callback: (...args: any[]) => void): number
1372
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1373
+ emit(sigName: string, ...args: any[]): void
1374
+ disconnect(id: number): void
1375
+ }
1376
+
1377
+ class MessageId extends GObject.Object {
1378
+
1379
+ // Own properties of GitgExt-1.0.GitgExt.MessageId
1380
+
1381
+ static name: string
1382
+ static $gtype: GObject.GType<MessageId>
1383
+
1384
+ // Constructors of GitgExt-1.0.GitgExt.MessageId
1385
+
1386
+ constructor(config?: MessageId.ConstructorProperties)
1387
+ constructor(object_path: string | null, method: string | null)
1388
+ static new(object_path: string | null, method: string | null): MessageId
1389
+ _init(config?: MessageId.ConstructorProperties): void
1390
+ static valid_object_path(path: string | null): boolean
1391
+ }
1392
+
1393
+ module Message {
1394
+
1395
+ // Constructor properties interface
1396
+
1397
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1398
+
1399
+ // Own constructor properties of GitgExt-1.0.GitgExt.Message
1400
+
1401
+ id?: MessageId | null
1402
+ }
1403
+
1404
+ }
1405
+
1406
+ interface Message {
1407
+
1408
+ // Own properties of GitgExt-1.0.GitgExt.Message
1409
+
1410
+ id: MessageId
1411
+
1412
+ // Owm methods of GitgExt-1.0.GitgExt.Message
1413
+
1414
+ has(propname: string | null): boolean
1415
+ get_id(): MessageId
1416
+ set_id(value: MessageId): void
1417
+
1418
+ // Class property signals of GitgExt-1.0.GitgExt.Message
1419
+
1420
+ connect(sigName: "notify::id", callback: (($obj: Message, pspec: GObject.ParamSpec) => void)): number
1421
+ connect_after(sigName: "notify::id", callback: (($obj: Message, pspec: GObject.ParamSpec) => void)): number
1422
+ emit(sigName: "notify::id", ...args: any[]): void
1423
+ connect(sigName: string, callback: (...args: any[]) => void): number
1424
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1425
+ emit(sigName: string, ...args: any[]): void
1426
+ disconnect(id: number): void
1427
+ }
1428
+
1429
+ class Message extends GObject.Object {
1430
+
1431
+ // Own properties of GitgExt-1.0.GitgExt.Message
1432
+
1433
+ static name: string
1434
+ static $gtype: GObject.GType<Message>
1435
+
1436
+ // Constructors of GitgExt-1.0.GitgExt.Message
1437
+
1438
+ constructor(config?: Message.ConstructorProperties)
1439
+ _init(config?: Message.ConstructorProperties): void
1440
+ static type_has(type: GObject.GType, propname: string | null): boolean
1441
+ static type_check(type: GObject.GType, propname: string | null, value_type: GObject.GType): boolean
1442
+ }
1443
+
1444
+ interface UI {
1445
+
1446
+ // Own fields of GitgExt-1.0.GitgExt.UI
1447
+
1448
+ ref_count: number
1449
+ }
1450
+
1451
+ class UI {
1452
+
1453
+ // Own properties of GitgExt-1.0.GitgExt.UI
1454
+
1455
+ static name: string
1456
+
1457
+ // Constructors of GitgExt-1.0.GitgExt.UI
1458
+
1459
+ constructor()
1460
+ static new(): UI
1461
+ }
1462
+
1463
+ module UserQueryResponse {
1464
+
1465
+ // Constructor properties interface
1466
+
1467
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1468
+ }
1469
+
1470
+ }
1471
+
1472
+ interface UserQueryResponse {
1473
+
1474
+ // Own fields of GitgExt-1.0.GitgExt.UserQueryResponse
1475
+
1476
+ text: string | null
1477
+ response_type: Gtk.ResponseType
1478
+
1479
+ // Class property signals of GitgExt-1.0.GitgExt.UserQueryResponse
1480
+
1481
+ connect(sigName: string, callback: (...args: any[]) => void): number
1482
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1483
+ emit(sigName: string, ...args: any[]): void
1484
+ disconnect(id: number): void
1485
+ }
1486
+
1487
+ class UserQueryResponse extends GObject.Object {
1488
+
1489
+ // Own properties of GitgExt-1.0.GitgExt.UserQueryResponse
1490
+
1491
+ static name: string
1492
+ static $gtype: GObject.GType<UserQueryResponse>
1493
+
1494
+ // Constructors of GitgExt-1.0.GitgExt.UserQueryResponse
1495
+
1496
+ constructor(config?: UserQueryResponse.ConstructorProperties)
1497
+ constructor(text: string | null, response_type: Gtk.ResponseType)
1498
+ static new(text: string | null, response_type: Gtk.ResponseType): UserQueryResponse
1499
+ _init(config?: UserQueryResponse.ConstructorProperties): void
1500
+ }
1501
+
1502
+ module UserQuery {
1503
+
1504
+ // Signal callback interfaces
1505
+
1506
+ /**
1507
+ * Signal callback interface for `quit`
1508
+ */
1509
+ interface QuitSignalCallback {
1510
+ ($obj: UserQuery): void
1511
+ }
1512
+
1513
+ /**
1514
+ * Signal callback interface for `response`
1515
+ */
1516
+ interface ResponseSignalCallback {
1517
+ ($obj: UserQuery, response_type: Gtk.ResponseType): boolean
1518
+ }
1519
+
1520
+
1521
+ // Constructor properties interface
1522
+
1523
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1524
+
1525
+ // Own constructor properties of GitgExt-1.0.GitgExt.UserQuery
1526
+
1527
+ title?: string | null
1528
+ message?: string | null
1529
+ message_type?: Gtk.MessageType | null
1530
+ default_response?: Gtk.ResponseType | null
1531
+ default_is_destructive?: boolean | null
1532
+ message_use_markup?: boolean | null
1533
+ }
1534
+
1535
+ }
1536
+
1537
+ interface UserQuery {
1538
+
1539
+ // Own properties of GitgExt-1.0.GitgExt.UserQuery
1540
+
1541
+ title: string | null
1542
+ message: string | null
1543
+ message_type: Gtk.MessageType
1544
+ default_response: Gtk.ResponseType
1545
+ default_is_destructive: boolean
1546
+ message_use_markup: boolean
1547
+
1548
+ // Own fields of GitgExt-1.0.GitgExt.UserQuery
1549
+
1550
+ _responses: UserQueryResponse[]
1551
+ _responses_length1: number
1552
+
1553
+ // Owm methods of GitgExt-1.0.GitgExt.UserQuery
1554
+
1555
+ get_responses(): UserQueryResponse[]
1556
+ set_responses(value: UserQueryResponse[]): void
1557
+ get_title(): string | null
1558
+ set_title(value: string | null): void
1559
+ get_message(): string | null
1560
+ set_message(value: string | null): void
1561
+ get_message_type(): Gtk.MessageType
1562
+ set_message_type(value: Gtk.MessageType): void
1563
+ get_default_response(): Gtk.ResponseType
1564
+ set_default_response(value: Gtk.ResponseType): void
1565
+ get_default_is_destructive(): boolean
1566
+ set_default_is_destructive(value: boolean): void
1567
+ get_message_use_markup(): boolean
1568
+ set_message_use_markup(value: boolean): void
1569
+
1570
+ // Own signals of GitgExt-1.0.GitgExt.UserQuery
1571
+
1572
+ connect(sigName: "quit", callback: UserQuery.QuitSignalCallback): number
1573
+ connect_after(sigName: "quit", callback: UserQuery.QuitSignalCallback): number
1574
+ emit(sigName: "quit", ...args: any[]): void
1575
+ connect(sigName: "response", callback: UserQuery.ResponseSignalCallback): number
1576
+ connect_after(sigName: "response", callback: UserQuery.ResponseSignalCallback): number
1577
+ emit(sigName: "response", response_type: Gtk.ResponseType, ...args: any[]): void
1578
+
1579
+ // Class property signals of GitgExt-1.0.GitgExt.UserQuery
1580
+
1581
+ connect(sigName: "notify::title", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1582
+ connect_after(sigName: "notify::title", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1583
+ emit(sigName: "notify::title", ...args: any[]): void
1584
+ connect(sigName: "notify::message", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1585
+ connect_after(sigName: "notify::message", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1586
+ emit(sigName: "notify::message", ...args: any[]): void
1587
+ connect(sigName: "notify::message-type", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1588
+ connect_after(sigName: "notify::message-type", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1589
+ emit(sigName: "notify::message-type", ...args: any[]): void
1590
+ connect(sigName: "notify::default-response", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1591
+ connect_after(sigName: "notify::default-response", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1592
+ emit(sigName: "notify::default-response", ...args: any[]): void
1593
+ connect(sigName: "notify::default-is-destructive", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1594
+ connect_after(sigName: "notify::default-is-destructive", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1595
+ emit(sigName: "notify::default-is-destructive", ...args: any[]): void
1596
+ connect(sigName: "notify::message-use-markup", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1597
+ connect_after(sigName: "notify::message-use-markup", callback: (($obj: UserQuery, pspec: GObject.ParamSpec) => void)): number
1598
+ emit(sigName: "notify::message-use-markup", ...args: any[]): void
1599
+ connect(sigName: string, callback: (...args: any[]) => void): number
1600
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1601
+ emit(sigName: string, ...args: any[]): void
1602
+ disconnect(id: number): void
1603
+ }
1604
+
1605
+ class UserQuery extends GObject.Object {
1606
+
1607
+ // Own properties of GitgExt-1.0.GitgExt.UserQuery
1608
+
1609
+ static name: string
1610
+ static $gtype: GObject.GType<UserQuery>
1611
+
1612
+ // Constructors of GitgExt-1.0.GitgExt.UserQuery
1613
+
1614
+ constructor(config?: UserQuery.ConstructorProperties)
1615
+ constructor()
1616
+ static new(): UserQuery
1617
+ _init(config?: UserQuery.ConstructorProperties): void
1618
+ }
1619
+
1620
+ interface CommandLinesClass {
1621
+ }
1622
+
1623
+ abstract class CommandLinesClass {
1624
+
1625
+ // Own properties of GitgExt-1.0.GitgExt.CommandLinesClass
1626
+
1627
+ static name: string
1628
+ }
1629
+
1630
+ interface CommandLinesPrivate {
1631
+ }
1632
+
1633
+ class CommandLinesPrivate {
1634
+
1635
+ // Own properties of GitgExt-1.0.GitgExt.CommandLinesPrivate
1636
+
1637
+ static name: string
1638
+ }
1639
+
1640
+ interface MessageBusClass {
1641
+
1642
+ // Own fields of GitgExt-1.0.GitgExt.MessageBusClass
1643
+
1644
+ dispatch: (self: MessageBus, message: Message) => void
1645
+ }
1646
+
1647
+ abstract class MessageBusClass {
1648
+
1649
+ // Own properties of GitgExt-1.0.GitgExt.MessageBusClass
1650
+
1651
+ static name: string
1652
+ }
1653
+
1654
+ interface MessageBusPrivate {
1655
+ }
1656
+
1657
+ class MessageBusPrivate {
1658
+
1659
+ // Own properties of GitgExt-1.0.GitgExt.MessageBusPrivate
1660
+
1661
+ static name: string
1662
+ }
1663
+
1664
+ interface MessageIdClass {
1665
+ }
1666
+
1667
+ abstract class MessageIdClass {
1668
+
1669
+ // Own properties of GitgExt-1.0.GitgExt.MessageIdClass
1670
+
1671
+ static name: string
1672
+ }
1673
+
1674
+ interface MessageIdPrivate {
1675
+ }
1676
+
1677
+ class MessageIdPrivate {
1678
+
1679
+ // Own properties of GitgExt-1.0.GitgExt.MessageIdPrivate
1680
+
1681
+ static name: string
1682
+ }
1683
+
1684
+ interface MessageClass {
1685
+ }
1686
+
1687
+ abstract class MessageClass {
1688
+
1689
+ // Own properties of GitgExt-1.0.GitgExt.MessageClass
1690
+
1691
+ static name: string
1692
+ }
1693
+
1694
+ interface MessagePrivate {
1695
+ }
1696
+
1697
+ class MessagePrivate {
1698
+
1699
+ // Own properties of GitgExt-1.0.GitgExt.MessagePrivate
1700
+
1701
+ static name: string
1702
+ }
1703
+
1704
+ interface UIClass {
1705
+ }
1706
+
1707
+ abstract class UIClass {
1708
+
1709
+ // Own properties of GitgExt-1.0.GitgExt.UIClass
1710
+
1711
+ static name: string
1712
+ }
1713
+
1714
+ interface UIPrivate {
1715
+ }
1716
+
1717
+ class UIPrivate {
1718
+
1719
+ // Own properties of GitgExt-1.0.GitgExt.UIPrivate
1720
+
1721
+ static name: string
1722
+ }
1723
+
1724
+ interface UserQueryResponseClass {
1725
+ }
1726
+
1727
+ abstract class UserQueryResponseClass {
1728
+
1729
+ // Own properties of GitgExt-1.0.GitgExt.UserQueryResponseClass
1730
+
1731
+ static name: string
1732
+ }
1733
+
1734
+ interface UserQueryResponsePrivate {
1735
+ }
1736
+
1737
+ class UserQueryResponsePrivate {
1738
+
1739
+ // Own properties of GitgExt-1.0.GitgExt.UserQueryResponsePrivate
1740
+
1741
+ static name: string
1742
+ }
1743
+
1744
+ interface UserQueryClass {
1745
+ }
1746
+
1747
+ abstract class UserQueryClass {
1748
+
1749
+ // Own properties of GitgExt-1.0.GitgExt.UserQueryClass
1750
+
1751
+ static name: string
1752
+ }
1753
+
1754
+ interface UserQueryPrivate {
1755
+ }
1756
+
1757
+ class UserQueryPrivate {
1758
+
1759
+ // Own properties of GitgExt-1.0.GitgExt.UserQueryPrivate
1760
+
1761
+ static name: string
1762
+ }
1763
+
1764
+ interface ActionIface {
1765
+
1766
+ // Own fields of GitgExt-1.0.GitgExt.ActionIface
1767
+
1768
+ populate_menu: (self: Action, menu: Gtk.Menu) => void
1769
+ fetch: (self: Action, _callback_: Gio.AsyncReadyCallback | null) => void
1770
+ fetch_finish: (self: Action, _res_: Gio.AsyncResult) => boolean
1771
+ }
1772
+
1773
+ abstract class ActionIface {
1774
+
1775
+ // Own properties of GitgExt-1.0.GitgExt.ActionIface
1776
+
1777
+ static name: string
1778
+ }
1779
+
1780
+ interface ActivityIface {
1781
+
1782
+ // Own fields of GitgExt-1.0.GitgExt.ActivityIface
1783
+
1784
+ is_default_for: (self: Activity, action: string | null) => boolean
1785
+ on_key_pressed: (self: Activity, event: Gdk.EventKey) => boolean
1786
+ }
1787
+
1788
+ abstract class ActivityIface {
1789
+
1790
+ // Own properties of GitgExt-1.0.GitgExt.ActivityIface
1791
+
1792
+ static name: string
1793
+ }
1794
+
1795
+ interface ApplicationIface {
1796
+
1797
+ // Own fields of GitgExt-1.0.GitgExt.ApplicationIface
1798
+
1799
+ get_verified_committer: (self: Application) => Ggit.Signature | null
1800
+ get_activity_by_id: (self: Application, id: string | null) => Activity | null
1801
+ set_activity_by_id: (self: Application, id: string | null) => Activity | null
1802
+ user_query: (self: Application, query: UserQuery) => void
1803
+ user_query_async: (self: Application, query: UserQuery, _callback_: Gio.AsyncReadyCallback | null) => void
1804
+ user_query_finish: (self: Application, _res_: Gio.AsyncResult) => Gtk.ResponseType
1805
+ show_infobar: (self: Application, primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType) => void
1806
+ open_new: (self: Application, repository: Ggit.Repository, hint: string | null) => Application
1807
+ open_repository: (self: Application, path: Gio.File) => void
1808
+ get_repository: (self: Application) => Gitg.Repository | null
1809
+ set_repository: (self: Application, value: Gitg.Repository | null) => void
1810
+ get_message_bus: (self: Application) => MessageBus
1811
+ get_current_activity: (self: Application) => Activity | null
1812
+ get_environment: (self: Application) => Gee.Map
1813
+ get_notifications: (self: Application) => Notifications
1814
+ get_busy: (self: Application) => boolean
1815
+ set_busy: (self: Application, value: boolean) => void
1816
+ get_remote_lookup: (self: Application) => RemoteLookup
1817
+ }
1818
+
1819
+ abstract class ApplicationIface {
1820
+
1821
+ // Own properties of GitgExt-1.0.GitgExt.ApplicationIface
1822
+
1823
+ static name: string
1824
+ }
1825
+
1826
+ interface CommandLineIface {
1827
+
1828
+ // Own fields of GitgExt-1.0.GitgExt.CommandLineIface
1829
+
1830
+ get_option_group: (self: CommandLine) => GLib.OptionGroup
1831
+ parse_finished: (self: CommandLine) => void
1832
+ apply: (self: CommandLine, application: Application) => void
1833
+ }
1834
+
1835
+ abstract class CommandLineIface {
1836
+
1837
+ // Own properties of GitgExt-1.0.GitgExt.CommandLineIface
1838
+
1839
+ static name: string
1840
+ }
1841
+
1842
+ interface CommitActionIface {
1843
+
1844
+ // Own fields of GitgExt-1.0.GitgExt.CommitActionIface
1845
+
1846
+ get_action_interface: (self: CommitAction) => RefActionInterface
1847
+ set_action_interface: (self: CommitAction, value: RefActionInterface) => void
1848
+ get_commit: (self: CommitAction) => Gitg.Commit
1849
+ set_commit: (self: CommitAction, value: Gitg.Commit) => void
1850
+ }
1851
+
1852
+ abstract class CommitActionIface {
1853
+
1854
+ // Own properties of GitgExt-1.0.GitgExt.CommitActionIface
1855
+
1856
+ static name: string
1857
+ }
1858
+
1859
+ interface HistoryPanelIface {
1860
+
1861
+ // Own fields of GitgExt-1.0.GitgExt.HistoryPanelIface
1862
+
1863
+ get_history: (self: HistoryPanel) => History | null
1864
+ set_history: (self: HistoryPanel, value: History | null) => void
1865
+ }
1866
+
1867
+ abstract class HistoryPanelIface {
1868
+
1869
+ // Own properties of GitgExt-1.0.GitgExt.HistoryPanelIface
1870
+
1871
+ static name: string
1872
+ }
1873
+
1874
+ interface HistoryIface {
1875
+
1876
+ // Own fields of GitgExt-1.0.GitgExt.HistoryIface
1877
+
1878
+ foreach_selected: (self: History, func: ForeachCommitSelectionFunc) => void
1879
+ select: (self: History, commit: Gitg.Commit) => void
1880
+ }
1881
+
1882
+ abstract class HistoryIface {
1883
+
1884
+ // Own properties of GitgExt-1.0.GitgExt.HistoryIface
1885
+
1886
+ static name: string
1887
+ }
1888
+
1889
+ interface NotificationIface {
1890
+
1891
+ // Own fields of GitgExt-1.0.GitgExt.NotificationIface
1892
+
1893
+ get_widget: (self: Notification) => Gtk.Widget | null
1894
+ }
1895
+
1896
+ abstract class NotificationIface {
1897
+
1898
+ // Own properties of GitgExt-1.0.GitgExt.NotificationIface
1899
+
1900
+ static name: string
1901
+ }
1902
+
1903
+ interface NotificationsIface {
1904
+
1905
+ // Own fields of GitgExt-1.0.GitgExt.NotificationsIface
1906
+
1907
+ add: (self: Notifications, notification: Notification) => void
1908
+ remove: (self: Notifications, notification: Notification, delay: number) => void
1909
+ }
1910
+
1911
+ abstract class NotificationsIface {
1912
+
1913
+ // Own properties of GitgExt-1.0.GitgExt.NotificationsIface
1914
+
1915
+ static name: string
1916
+ }
1917
+
1918
+ interface PreferencesIface {
1919
+
1920
+ // Own fields of GitgExt-1.0.GitgExt.PreferencesIface
1921
+
1922
+ get_id: (self: Preferences) => string | null
1923
+ get_display_name: (self: Preferences) => string | null
1924
+ get_widget: (self: Preferences) => Gtk.Widget
1925
+ }
1926
+
1927
+ abstract class PreferencesIface {
1928
+
1929
+ // Own properties of GitgExt-1.0.GitgExt.PreferencesIface
1930
+
1931
+ static name: string
1932
+ }
1933
+
1934
+ interface RefActionInterfaceIface {
1935
+
1936
+ // Own fields of GitgExt-1.0.GitgExt.RefActionInterfaceIface
1937
+
1938
+ add_ref: (self: RefActionInterface, reference: Gitg.Ref) => void
1939
+ remove_ref: (self: RefActionInterface, reference: Gitg.Ref) => void
1940
+ replace_ref: (self: RefActionInterface, old_ref: Gitg.Ref, new_ref: Gitg.Ref) => void
1941
+ set_busy: (self: RefActionInterface, reference: Gitg.Ref, busy: boolean) => void
1942
+ edit_ref_name: (self: RefActionInterface, reference: Gitg.Ref, callback: RefNameEditingDone) => void
1943
+ refresh: (self: RefActionInterface) => void
1944
+ get_application: (self: RefActionInterface) => Application
1945
+ set_application: (self: RefActionInterface, value: Application) => void
1946
+ get_references: (self: RefActionInterface) => Gee.List
1947
+ }
1948
+
1949
+ abstract class RefActionInterfaceIface {
1950
+
1951
+ // Own properties of GitgExt-1.0.GitgExt.RefActionInterfaceIface
1952
+
1953
+ static name: string
1954
+ }
1955
+
1956
+ interface RefActionIface {
1957
+
1958
+ // Own fields of GitgExt-1.0.GitgExt.RefActionIface
1959
+
1960
+ get_action_interface: (self: RefAction) => RefActionInterface
1961
+ set_action_interface: (self: RefAction, value: RefActionInterface) => void
1962
+ get_reference: (self: RefAction) => Gitg.Ref
1963
+ set_reference: (self: RefAction, value: Gitg.Ref) => void
1964
+ }
1965
+
1966
+ abstract class RefActionIface {
1967
+
1968
+ // Own properties of GitgExt-1.0.GitgExt.RefActionIface
1969
+
1970
+ static name: string
1971
+ }
1972
+
1973
+ interface RemoteLookupIface {
1974
+
1975
+ // Own fields of GitgExt-1.0.GitgExt.RemoteLookupIface
1976
+
1977
+ lookup: (self: RemoteLookup, name: string | null) => Gitg.Remote | null
1978
+ }
1979
+
1980
+ abstract class RemoteLookupIface {
1981
+
1982
+ // Own properties of GitgExt-1.0.GitgExt.RemoteLookupIface
1983
+
1984
+ static name: string
1985
+ }
1986
+
1987
+ interface SearchableIface {
1988
+
1989
+ // Own fields of GitgExt-1.0.GitgExt.SearchableIface
1990
+
1991
+ get_search_text: (self: Searchable) => string | null
1992
+ set_search_text: (self: Searchable, value: string | null) => void
1993
+ get_search_visible: (self: Searchable) => boolean
1994
+ set_search_visible: (self: Searchable, value: boolean) => void
1995
+ get_search_available: (self: Searchable) => boolean
1996
+ set_search_entry: (self: Searchable, value: Gtk.Entry | null) => void
1997
+ }
1998
+
1999
+ abstract class SearchableIface {
2000
+
2001
+ // Own properties of GitgExt-1.0.GitgExt.SearchableIface
2002
+
2003
+ static name: string
2004
+ }
2005
+
2006
+ interface SelectableIface {
2007
+
2008
+ // Own fields of GitgExt-1.0.GitgExt.SelectableIface
2009
+
2010
+ get_selectable_mode: (self: Selectable) => SelectionMode
2011
+ set_selectable_mode: (self: Selectable, value: SelectionMode) => void
2012
+ get_selectable_available: (self: Selectable) => boolean
2013
+ get_selectable_mode_tooltip: (self: Selectable) => string | null
2014
+ get_action_widget: (self: Selectable) => Gtk.Widget | null
2015
+ }
2016
+
2017
+ abstract class SelectableIface {
2018
+
2019
+ // Own properties of GitgExt-1.0.GitgExt.SelectableIface
2020
+
2021
+ static name: string
2022
+ }
2023
+
2024
+ interface UIElementIface {
2025
+
2026
+ // Own fields of GitgExt-1.0.GitgExt.UIElementIface
2027
+
2028
+ negotiate_order: (self: UIElement, other: UIElement) => number
2029
+ get_application: (self: UIElement) => Application | null
2030
+ set_application: (self: UIElement, value: Application | null) => void
2031
+ get_id: (self: UIElement) => string | null
2032
+ get_display_name: (self: UIElement) => string | null
2033
+ get_description: (self: UIElement) => string | null
2034
+ get_icon: (self: UIElement) => string | null
2035
+ get_widget: (self: UIElement) => Gtk.Widget | null
2036
+ get_shortcut: (self: UIElement) => number | null
2037
+ get_available: (self: UIElement) => boolean
2038
+ get_enabled: (self: UIElement) => boolean
2039
+ }
2040
+
2041
+ abstract class UIElementIface {
2042
+
2043
+ // Own properties of GitgExt-1.0.GitgExt.UIElementIface
2044
+
2045
+ static name: string
2046
+ }
2047
+
2048
+ /**
2049
+ * Name of the imported GIR library
2050
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
2051
+ */
2052
+ const __name__: string
2053
+ /**
2054
+ * Version of the imported GIR library
2055
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
2056
+ */
2057
+ const __version__: string
2058
+ }
2059
+
2060
+ export default GitgExt;
2061
+ // END