public Xcls_devmodel devmodel;
public Xcls_commit_message commit_message;
public Xcls_createbtn createbtn;
+ public Xcls_diff_view diff_view;
// my vars (def)
public GitRepo? repo;
var child_0 = new Xcls_Table52( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,false,0 );
+ var child_1 = new Xcls_ScrolledWindow56( _this );
+ child_1.ref();
+ this.el.add ( child_1.el );
}
// user defined functions
this.el.attach_defaults ( child_0.el , 0,1,0,1 );
var child_1 = new Xcls_commit_message( _this );
child_1.ref();
- this.el.attach_defaults ( child_1.el , 0,4,4,5 );
+ this.el.attach_defaults ( child_1.el , 0,4,1,2 );
var child_2 = new Xcls_createbtn( _this );
child_2.ref();
- this.el.attach_defaults ( child_2.el , 4,5,4,5 );
+ this.el.attach_defaults ( child_2.el , 4,5,1,2 );
}
// user defined functions
}
+ public class Xcls_ScrolledWindow56 : Object
+ {
+ public Gtk.ScrolledWindow el;
+ private NewBranch _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ScrolledWindow56(NewBranch _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.ScrolledWindow( null, null );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.height_request = 400;
+ this.el.vexpand = true;
+ var child_0 = new Xcls_diff_view( _this );
+ child_0.ref();
+ this.el.add ( child_0.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_diff_view : Object
+ {
+ public Gtk.SourceView el;
+ private NewBranch _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_diff_view(NewBranch _owner )
+ {
+ _this = _owner;
+ _this.diff_view = this;
+ this.el = new Gtk.SourceView();
+
+ // my vars (dec)
+
+ // init method
+
+ var description = Pango.FontDescription.from_string("monospace");
+ description.set_size(9000);
+ this.el.override_font(description);
+ var lm = Gtk.SourceLanguageManager.get_default();
+
+ ((Gtk.SourceBuffer)(this.el.get_buffer())).set_language(
+ lm.get_language("diff")
+ );
+ }
+
+ // user defined functions
+ }
+
+
}