Add Clapper usage as GTK widget

This commit is contained in:
Rafostar
2020-10-21 12:24:42 +02:00
parent 0291377389
commit 0b1864378b
11 changed files with 159 additions and 64 deletions

View File

@@ -1,8 +1,12 @@
imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
imports.searchPath.unshift('@importspath@');
const CLAPPER_PATH = '@importspath@';
imports.searchPath.unshift(CLAPPER_PATH);
const ClapperSrc = imports.clapper_src;
ClapperSrc.misc.clapperPath = CLAPPER_PATH;
ClapperSrc.misc.clapperVersion = '@PACKAGE_VERSION@';
var { App } = ClapperSrc.app;
var { Widget } = ClapperSrc.widget;