We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be3546 commit ee0dda6Copy full SHA for ee0dda6
src/Overlay/main.ts
@@ -1,6 +1,7 @@
1
import Gio from "gi://Gio";
2
+import Gtk from "gi://Gtk?version=4.0";
3
4
const file = Gio.File.new_for_uri(workbench.resolve("./image.png"));
5
-const picture = workbench.builder.get_object("picture");
6
+const picture = workbench.builder.get_object<Gtk.Picture>("picture");
7
picture.file = file;
0 commit comments