@girs/bamf-3 3.0.0-4.0.0-beta.21 → 3.0.0-4.0.0-beta.23
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/bamf-3.d.ts +38 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Bamf-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Bamf-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/bamf-3.d.ts
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
import '@girs/gjs';
|
|
11
|
+
|
|
10
12
|
// Module dependencies
|
|
11
13
|
import type GObject from '@girs/gobject-2.0';
|
|
12
14
|
import type GLib from '@girs/glib-2.0';
|
|
@@ -679,11 +681,11 @@ export namespace Bamf {
|
|
|
679
681
|
|
|
680
682
|
vfunc_get_monitor(): number;
|
|
681
683
|
vfunc_get_pid(): number;
|
|
682
|
-
vfunc_get_transient(): Window
|
|
684
|
+
vfunc_get_transient(): Window;
|
|
683
685
|
vfunc_get_utf8_prop(prop: string): string;
|
|
684
686
|
vfunc_get_window_type(): WindowType;
|
|
685
687
|
vfunc_get_xid(): number;
|
|
686
|
-
vfunc_last_active():
|
|
688
|
+
vfunc_last_active(): number;
|
|
687
689
|
vfunc_maximized(): WindowMaximizationType;
|
|
688
690
|
vfunc_maximized_changed(old_value: number, new_value: number): void;
|
|
689
691
|
vfunc_monitor_changed(old_value: number, new_value: number): void;
|
|
@@ -692,15 +694,23 @@ export namespace Bamf {
|
|
|
692
694
|
|
|
693
695
|
get_monitor(): number;
|
|
694
696
|
get_pid(): number;
|
|
695
|
-
get_transient(): Window
|
|
697
|
+
get_transient(): Window;
|
|
696
698
|
get_utf8_prop(prop: string): string;
|
|
697
699
|
get_window_type(): WindowType;
|
|
698
700
|
get_xid(): number;
|
|
699
|
-
last_active():
|
|
701
|
+
last_active(): number;
|
|
700
702
|
maximized(): WindowMaximizationType;
|
|
701
703
|
}
|
|
702
704
|
|
|
703
705
|
type ApplicationClass = typeof Application;
|
|
706
|
+
abstract class ApplicationPrivate {
|
|
707
|
+
static $gtype: GObject.GType<ApplicationPrivate>;
|
|
708
|
+
|
|
709
|
+
// Constructors
|
|
710
|
+
|
|
711
|
+
_init(...args: any[]): void;
|
|
712
|
+
}
|
|
713
|
+
|
|
704
714
|
type ControlClass = typeof Control;
|
|
705
715
|
abstract class ControlPrivate {
|
|
706
716
|
static $gtype: GObject.GType<ControlPrivate>;
|
|
@@ -720,8 +730,32 @@ export namespace Bamf {
|
|
|
720
730
|
}
|
|
721
731
|
|
|
722
732
|
type TabClass = typeof Tab;
|
|
733
|
+
abstract class TabPrivate {
|
|
734
|
+
static $gtype: GObject.GType<TabPrivate>;
|
|
735
|
+
|
|
736
|
+
// Constructors
|
|
737
|
+
|
|
738
|
+
_init(...args: any[]): void;
|
|
739
|
+
}
|
|
740
|
+
|
|
723
741
|
type ViewClass = typeof View;
|
|
742
|
+
abstract class ViewPrivate {
|
|
743
|
+
static $gtype: GObject.GType<ViewPrivate>;
|
|
744
|
+
|
|
745
|
+
// Constructors
|
|
746
|
+
|
|
747
|
+
_init(...args: any[]): void;
|
|
748
|
+
}
|
|
749
|
+
|
|
724
750
|
type WindowClass = typeof Window;
|
|
751
|
+
abstract class WindowPrivate {
|
|
752
|
+
static $gtype: GObject.GType<WindowPrivate>;
|
|
753
|
+
|
|
754
|
+
// Constructors
|
|
755
|
+
|
|
756
|
+
_init(...args: any[]): void;
|
|
757
|
+
}
|
|
758
|
+
|
|
725
759
|
/**
|
|
726
760
|
* Name of the imported GIR library
|
|
727
761
|
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/bamf-3",
|
|
3
|
-
"version": "3.0.0-4.0.0-beta.
|
|
3
|
+
"version": "3.0.0-4.0.0-beta.23",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Bamf-3, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "bamf-3.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
35
|
-
"@girs/glib-2.0": "^2.
|
|
36
|
-
"@girs/gobject-2.0": "^2.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.23",
|
|
35
|
+
"@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
|
|
36
|
+
"@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "*"
|