"# JsRender.NodeProp? prop" : "",
"$ xns" : "Gtk",
"@ void success" : "(Project.Project pr, JsRender.JsRender file)",
- "Gtk.PositionType position" : "Gtk.PositionType.LEFT",
+ "Gtk.PositionType position" : "Gtk.PositionType.RIGHT",
"JsRender.Node node" : "",
"Xcls_MainWindow mainwindow" : "null",
"bool done" : false,
"\tthis.el.set_modal(true);",
"\tthis.el.set_relative_to(btn);",
"\tif (y > -1) {",
+ "\t\t",
+ "\t",
"\t\tvar r = Gdk.Rectangle() {",
- "\t\t\tx = 0, // align left...",
+ "\t\t\tx = btn.get_allocated_width(), // align left...",
"\t\t\ty = y,",
"\t\t\twidth = 1,",
"\t\t\theight = 1",
// set gobject values
this.el.border_width = 0;
this.el.modal = true;
- this.el.position = Gtk.PositionType.LEFT;
+ this.el.position = Gtk.PositionType.RIGHT;
var child_0 = new Xcls_Box2( _this );
child_0.ref();
this.el.add( child_0.el );
this.el.set_modal(true);
this.el.set_relative_to(btn);
if (y > -1) {
+
+
var r = Gdk.Rectangle() {
- x = 0, // align left...
+ x = btn.get_allocated_width(), // align left...
y = y,
width = 1,
height = 1
{
_this = _owner;
_this.model = this;
- this.el = new Gtk.TreeStore( 5, typeof(JsRender.NodeProp), // 0 key type
+ this.el = new Gtk.TreeStore.newv( { typeof(JsRender.NodeProp), // 0 key type
typeof(string), // 1 display_key
typeof(string), // 2 display_value
typeof(string), // 3 display_tooltip
4, "0 " + prop.name
);
- */ );
+ */ } );
// my vars (dec)
{
_this = _owner;
_this.valrendermodel = this;
- this.el = new Gtk.ListStore( 1, typeof(string) );
+ this.el = new Gtk.ListStore.newv( { typeof(string) } );
// my vars (dec)