const { GObject } = imports.gi; const { AppBase } = imports.src.appBase; const { HeaderBarRemote } = imports.src.headerbarRemote; const { WidgetRemote } = imports.src.widgetRemote; var AppRemote = GObject.registerClass( class ClapperAppRemote extends AppBase { vfunc_startup() { super.vfunc_startup(); const window = this.active_window; const clapperWidget = new WidgetRemote(); window.set_child(clapperWidget); const headerBar = new HeaderBarRemote(); window.set_titlebar(headerBar); window.maximize(); } });