"$ xns" : "Gtk",
"* init" : [
"{",
+ " this.css = new Gtk.CssProvider();",
+ "\ttry {",
+ "\t\tthis.css.load_from_data(\"#left-tree-view { font-size: 10px;}\");",
+ "\t} catch (Error e) {}",
+ "\tthis.el.get_style_context().add_provider(this.css,",
+ "\t\tGtk.STYLE_PROVIDER_PRIORITY_APPLICATION);",
+ "\t ",
+ "\t ",
+ " ",
" var description = new Pango.FontDescription();",
" description.set_size(8000);",
" this.el.override_font(description);",
// init method
{
+ this.css = new Gtk.CssProvider();
+ try {
+ this.css.load_from_data("#left-tree-view { font-size: 10px;}");
+ } catch (Error e) {}
+ this.el.get_style_context().add_provider(this.css,
+ Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+
+
+
var description = new Pango.FontDescription();
description.set_size(8000);
this.el.override_font(description);