This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gtk = imports.gi.Gtk; | |
const WebKit2 = imports.gi.WebKit2; | |
Gtk.init(null); | |
let scrolled_window = new Gtk.ScrolledWindow({ | |
width_request: 600, | |
height_request: 400, | |
}); | |
let mwindow = new Gtk.Window({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gtk = imports.gi.Gtk; | |
const WebKit2 = imports.gi.WebKit2; | |
Gtk.init(null); | |
let webview = new WebKit2.WebView(); | |
webview.load_uri('http://www.google.com'); | |
let mwindow = new Gtk.Window({ | |
default_width: 600, | |
default_height: 400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.foo .bar .baz { | |
color: red; | |
} | |
.foo.cap .baz { | |
color: blue; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gdk = imports.gi.Gdk; | |
const Gtk = imports.gi.Gtk; | |
Gtk.init(null); | |
let base_css = '.card .card-title {color: red;}'; | |
let provider = new Gtk.CssProvider(); | |
provider.load_from_data(base_css); | |
Gtk.StyleContext.add_provider_for_screen(Gdk.Screen.get_default(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gdk = imports.gi.Gdk; | |
const Gtk = imports.gi.Gtk; | |
Gtk.init(null); | |
let base_css = '.card.highlight {color: red;}'; | |
let provider = new Gtk.CssProvider(); | |
provider.load_from_data(base_css); | |
Gtk.StyleContext.add_provider_for_screen(Gdk.Screen.get_default(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gdk = imports.gi.Gdk; | |
const Gtk = imports.gi.Gtk; | |
Gtk.init(null); | |
let base_css = '.card .card-title {color: red;}'; | |
let provider = new Gtk.CssProvider(); | |
provider.load_from_data(base_css); | |
Gtk.StyleContext.add_provider_for_screen(Gdk.Screen.get_default(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gio = imports.gi.Gio; | |
let foo = Gio.File.new_for_path('foo'); | |
let [success, data] = foo.load_contents(null); | |
print(data); | |
print(typeof data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<app id="com.endlessm.scuba-diving-en" title="Scuba Diving", titleImageURI="resource:///com/endlessm/test/data/logo.svg" css="resource:///com/endlessm/test/data/overrides.css"> | |
<interaction type="mesh"></interaction> | |
<page type="home"> | |
<template type="three_vertical"></template> | |
<module type="app_banner" position="top"></module> | |
<module type="in_app_search" position="middle"></module> | |
</page> | |
<page type="search_result"> | |
<template type="single"></template> | |
<module type="bag_o_cards" position="single"></module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Initializing cgroup subsys cpuacct | |
[ 0.000000] Linux version 3.16.0-36-generic ([email protected]) (gcc version 4.9.2 (Endless 4.9.2-10ubuntu9bem1) ) #48+dev81.68e2822bem1-Endless SMP Mon May 11 20:38:34 UTC 2015 (Ubuntu 3.16.0-36.48+dev81.68e2822bem1-generic 3.16.7-ckt9) | |
[ 0.000000] KERNEL supported cpus: | |
[ 0.000000] Intel GenuineIntel | |
[ 0.000000] AMD AuthenticAMD | |
[ 0.000000] NSC Geode by NSC | |
[ 0.000000] Cyrix CyrixInstead | |
[ 0.000000] Centaur CentaurHauls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Initializing cgroup subsys cpuacct | |
[ 0.000000] Linux version 3.16.0-36-generic ([email protected]) (gcc version 4.9.2 (Endless 4.9.2-10ubuntu9bem1) ) #48+dev81.68e2822bem1-Endless SMP Mon May 11 20:38:34 UTC 2015 (Ubuntu 3.16.0-36.48+dev81.68e2822bem1-generic 3.16.7-ckt9) | |
[ 0.000000] KERNEL supported cpus: | |
[ 0.000000] Intel GenuineIntel | |
[ 0.000000] AMD AuthenticAMD | |
[ 0.000000] NSC Geode by NSC | |
[ 0.000000] Cyrix CyrixInstead | |
[ 0.000000] Centaur CentaurHauls |