+ public class Xcls_Box33 : Object
+ {
+ public Gtk.Box el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Box33(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
+
+ // my vars (dec)
+
+ // set gobject values
+ var child_1 = new Xcls_SearchBar34( _this );
+ child_1.ref();
+ this.el.append( child_1.el );
+ var child_2 = new Xcls_Box36( _this );
+ child_2.ref();
+ this.el.append( child_2.el );
+ var child_3 = new Xcls_Paned45( _this );
+ child_3.ref();
+ this.el.append( child_3.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SearchBar34 : Object
+ {
+ public Gtk.SearchBar el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SearchBar34(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.SearchBar();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ this.el.search_mode_enabled = true;
+ new Xcls_filesearch( _this );
+ this.el.child = _this.filesearch.el;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_filesearch : Object
+ {
+ public Gtk.SearchEntry el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_filesearch(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.filesearch = this;
+ this.el = new Gtk.SearchEntry();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ this.el.placeholder_text = "Search for file";
+
+ //listeners
+ this.el.search_changed.connect( ( ) => {
+
+ _this.windowsearch.el.set_search(this.el.get_text());
+ });
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_Box36 : Object
+ {
+ public Gtk.Box el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Box36(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ new Xcls_open_projects_btn( _this );
+ this.el.append( _this.open_projects_btn.el );
+ var child_2 = new Xcls_Button41( _this );
+ child_2.ref();
+ this.el.append( child_2.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_open_projects_btn : Object
+ {
+ public Gtk.Button el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_open_projects_btn(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.open_projects_btn = this;
+ this.el = new Gtk.Button();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ var child_1 = new Xcls_Box38( _this );
+ this.el.child = child_1.el;
+
+ //listeners
+ this.el.clicked.connect( ( ) => {
+ _this.windowstate.showPopoverFiles(this.el, _this.project, false);
+ });
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Box38 : Object
+ {
+ public Gtk.Box el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Box38(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
+
+ // my vars (dec)
+
+ // set gobject values
+ var child_1 = new Xcls_Image39( _this );
+ child_1.ref();
+ this.el.append( child_1.el );
+ var child_2 = new Xcls_Label40( _this );
+ child_2.ref();
+ this.el.append( child_2.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Image39 : Object
+ {
+ public Gtk.Image el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Image39(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Image();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.icon_name = "document-open";
+ this.el.margin_end = 4;
+ }
+
+ // user defined functions
+ }
+
+ public class Xcls_Label40 : Object
+ {
+ public Gtk.Label el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Label40(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Label( "Open File" );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+
+ public class Xcls_Button41 : Object
+ {
+ public Gtk.Button el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Button41(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Button();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ var child_1 = new Xcls_Box42( _this );
+ this.el.child = child_1.el;
+
+ //listeners
+ this.el.clicked.connect( ( ) => {
+ _this.splitview.el.show_sidebar = false;
+ _this.windowstate.showPopoverFiles(_this.el, _this.project, true);
+ });
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Box42 : Object
+ {
+ public Gtk.Box el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Box42(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
+
+ // my vars (dec)
+
+ // set gobject values
+ var child_1 = new Xcls_Image43( _this );
+ child_1.ref();
+ this.el.append( child_1.el );
+ var child_2 = new Xcls_Label44( _this );
+ child_2.ref();
+ this.el.append( child_2.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Image43 : Object
+ {
+ public Gtk.Image el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Image43(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Image();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.icon_name = "window-new";
+ this.el.margin_end = 4;
+ }
+
+ // user defined functions
+ }
+
+ public class Xcls_Label44 : Object
+ {
+ public Gtk.Label el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Label44(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Label( "New Window" );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+
+
+ public class Xcls_Paned45 : Object
+ {
+ public Gtk.Paned el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Paned45(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.vexpand = true;
+ var child_1 = new Xcls_ScrolledWindow46( _this );
+ this.el.start_child = child_1.el;
+ var child_2 = new Xcls_ScrolledWindow60( _this );
+ this.el.end_child = child_2.el;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_ScrolledWindow46 : Object
+ {
+ public Gtk.ScrolledWindow el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ScrolledWindow46(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.ScrolledWindow();
+
+ // my vars (dec)
+
+ // set gobject values
+ var child_1 = new Xcls_ColumnView47( _this );
+ this.el.child = child_1.el;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_ColumnView47 : Object
+ {
+ public Gtk.ColumnView el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ColumnView47(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ new Xcls_winsel( _this );
+ this.el = new Gtk.ColumnView( _this.winsel.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ new Xcls_projcol( _this );
+ this.el.append_column( _this.projcol.el );
+ new Xcls_filecol( _this );
+ this.el.append_column ( _this.filecol.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_winsel : Object
+ {
+ public Gtk.SingleSelection el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+ public bool selecting;
+
+ // ctor
+ public Xcls_winsel(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.winsel = this;
+ var child_1 = new Xcls_SortListModel49( _this );
+ child_1.ref();
+ this.el = new Gtk.SingleSelection( child_1.el );
+
+ // my vars (dec)
+ this.selecting = false;
+
+ // set gobject values
+ this.el.can_unselect = false;
+ this.el.autoselect = false;
+
+ //listeners
+ this.el.notify["selected"].connect( () => {
+ if (_this.winloading || this.selecting || this.el.selected == Gtk.INVALID_LIST_POSITION) {
+ return;
+ }
+ var ws = this.el.selected_item as WindowState;
+ if (ws == null) {
+ return;
+ }
+ if (ws.file.path != _this.windowstate.file.path) {
+ _this.windowstate.fileViewOpen(ws.file, ws.file_details.new_window, -1);
+ _this.splitview.el.show_sidebar = false;
+ }
+
+ this.selectCurrent();
+ });
+ }
+
+ // user defined functions
+ public void selectCurrent () {
+ this.selecting = true;
+
+ for(var i = 0;i < this.el.get_n_items(); i++) {
+ var ws = this.el.get_item(i) as WindowState;
+ if (ws.file.path == _this.windowstate.file.path) {
+ this.el.selected = i;
+ break;
+ }
+ }
+ this.selecting = false;
+
+
+ }
+ }
+ public class Xcls_SortListModel49 : Object
+ {
+ public Gtk.SortListModel el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SortListModel49(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ new Xcls_winfilter( _this );
+ var child_2 = new Xcls_StringSorter54( _this );
+ child_2.ref();
+ this.el = new Gtk.SortListModel( _this.winfilter.el, child_2.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+ public class Xcls_winfilter : Object
+ {
+ public Gtk.FilterListModel el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_winfilter(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.winfilter = this;
+ new Xcls_winmodel( _this );
+ new Xcls_windowsearch( _this );
+ this.el = new Gtk.FilterListModel( _this.winmodel.el, _this.windowsearch.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+ public class Xcls_windowsearch : Object
+ {
+ public Gtk.StringFilter el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_windowsearch(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.windowsearch = this;
+ var child_1 = new Xcls_PropertyExpression52( _this );
+ child_1.ref();
+ this.el = new Gtk.StringFilter( child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+ public class Xcls_PropertyExpression52 : Object
+ {
+ public Gtk.PropertyExpression el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_PropertyExpression52(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_winmodel : Object
+ {
+ public GLib.ListStore el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_winmodel(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.winmodel = this;
+ this.el = new GLib.ListStore( typeof(WindowState) );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_StringSorter54 : Object
+ {
+ public Gtk.StringSorter el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_StringSorter54(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_PropertyExpression55( _this );
+ child_1.ref();
+ this.el = new Gtk.StringSorter( child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.ignore_case = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_PropertyExpression55 : Object
+ {
+ public Gtk.PropertyExpression el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_PropertyExpression55(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+
+
+ public class Xcls_projcol : Object
+ {
+ public Gtk.ColumnViewColumn el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_projcol(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.projcol = this;
+ var child_1 = new Xcls_SignalListItemFactory57( _this );
+ child_1.ref();
+ this.el = new Gtk.ColumnViewColumn( "Project", child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.id = "projcol";
+ this.el.expand = true;
+ this.el.resizable = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SignalListItemFactory57 : Object
+ {
+ public Gtk.SignalListItemFactory el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SignalListItemFactory57(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.SignalListItemFactory();
+
+ // my vars (dec)
+
+ // set gobject values
+
+ //listeners
+ this.el.setup.connect( (listitem) => {
+ var lbl = new Gtk.Label("");
+ (listitem as Gtk.ListItem).set_child(lbl);
+ lbl.justify = Gtk.Justification.LEFT;
+ lbl.xalign = 0;
+ lbl.use_markup = true;
+ lbl.ellipsize = Pango.EllipsizeMode.START;
+
+ (listitem as Gtk.ListItem).activatable = true;
+ });
+ this.el.bind.connect( (listitem) => {
+ var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();
+ var item = (listitem as Gtk.ListItem).get_item() as WindowState;
+
+ lb.label = item.project.name;
+
+
+
+
+ });
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_filecol : Object
+ {
+ public Gtk.ColumnViewColumn el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_filecol(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.filecol = this;
+ var child_1 = new Xcls_SignalListItemFactory59( _this );
+ child_1.ref();
+ this.el = new Gtk.ColumnViewColumn( "File", child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.id = "filecol";
+ this.el.expand = true;
+ this.el.resizable = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SignalListItemFactory59 : Object
+ {
+ public Gtk.SignalListItemFactory el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SignalListItemFactory59(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.SignalListItemFactory();
+
+ // my vars (dec)
+
+ // set gobject values
+
+ //listeners
+ this.el.setup.connect( (listitem) => {
+ var lbl = new Gtk.Label("");
+ (listitem as Gtk.ListItem).set_child(lbl);
+ lbl.justify = Gtk.Justification.LEFT;
+ lbl.xalign = 0;
+ lbl.use_markup = true;
+ lbl.ellipsize = Pango.EllipsizeMode.START;
+
+ (listitem as Gtk.ListItem).activatable = true;
+ });
+ this.el.bind.connect( (listitem) => {
+ var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();
+ var item = (listitem as Gtk.ListItem).get_item() as WindowState;
+
+ lb.label = item.file.relpath;
+
+
+
+
+ });
+ }
+
+ // user defined functions
+ }
+
+
+
+
+ public class Xcls_ScrolledWindow60 : Object
+ {
+ public Gtk.ScrolledWindow el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ScrolledWindow60(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.ScrolledWindow();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ this.el.vexpand = true;
+ var child_1 = new Xcls_ColumnView61( _this );
+ this.el.child = child_1.el;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_ColumnView61 : Object
+ {
+ public Gtk.ColumnView el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ColumnView61(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_SingleSelection62( _this );
+ child_1.ref();
+ this.el = new Gtk.ColumnView( child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ this.el.vexpand = true;
+ var child_2 = new Xcls_ColumnViewColumn70( _this );
+ child_2.ref();
+ this.el.append_column( child_2.el );
+ var child_3 = new Xcls_ColumnViewColumn72( _this );
+ child_3.ref();
+ this.el.append_column ( child_3.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SingleSelection62 : Object
+ {
+ public Gtk.SingleSelection el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SingleSelection62(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_SortListModel63( _this );
+ child_1.ref();
+ this.el = new Gtk.SingleSelection( child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.can_unselect = true;
+ this.el.autoselect = false;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SortListModel63 : Object
+ {
+ public Gtk.SortListModel el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SortListModel63(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_FilterListModel64( _this );
+ child_1.ref();
+ var child_2 = new Xcls_StringSorter68( _this );
+ child_2.ref();
+ this.el = new Gtk.SortListModel( child_1.el, child_2.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+ public class Xcls_FilterListModel64 : Object
+ {
+ public Gtk.FilterListModel el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_FilterListModel64(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ new Xcls_histmodel( _this );
+ new Xcls_histsearch( _this );
+ this.el = new Gtk.FilterListModel( _this.histmodel.el, _this.histsearch.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+ public class Xcls_histmodel : Object
+ {
+ public GLib.ListStore el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_histmodel(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.histmodel = this;
+ this.el = new GLib.ListStore( typeof(WindowState) );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+ public class Xcls_histsearch : Object
+ {
+ public Gtk.StringFilter el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_histsearch(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.histsearch = this;
+ var child_1 = new Xcls_PropertyExpression67( _this );
+ child_1.ref();
+ this.el = new Gtk.StringFilter( child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+ public class Xcls_PropertyExpression67 : Object
+ {
+ public Gtk.PropertyExpression el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_PropertyExpression67(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+
+ public class Xcls_StringSorter68 : Object
+ {
+ public Gtk.StringSorter el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_StringSorter68(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_PropertyExpression69( _this );
+ child_1.ref();
+ this.el = new Gtk.StringSorter( child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.ignore_case = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_PropertyExpression69 : Object
+ {
+ public Gtk.PropertyExpression el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_PropertyExpression69(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
+
+ // my vars (dec)
+
+ // set gobject values
+ }
+
+ // user defined functions
+ }
+
+
+
+
+ public class Xcls_ColumnViewColumn70 : Object
+ {
+ public Gtk.ColumnViewColumn el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ColumnViewColumn70(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_SignalListItemFactory71( _this );
+ child_1.ref();
+ this.el = new Gtk.ColumnViewColumn( "Project", child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.expand = true;
+ this.el.resizable = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SignalListItemFactory71 : Object
+ {
+ public Gtk.SignalListItemFactory el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SignalListItemFactory71(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.SignalListItemFactory();
+
+ // my vars (dec)
+
+ // set gobject values
+
+ //listeners
+ this.el.setup.connect( (listitem) => {
+ var lbl = new Gtk.Label("");
+ (listitem as Gtk.ListItem).set_child(lbl);
+ lbl.justify = Gtk.Justification.LEFT;
+ lbl.xalign = 1;
+ lbl.use_markup = true;
+ lbl.ellipsize = Pango.EllipsizeMode.START;
+
+ (listitem as Gtk.ListItem).activatable = true;
+ });
+ this.el.bind.connect( (listitem) => {
+ var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();
+ var item = (listitem as Gtk.ListItem).get_item() as WindowState;
+
+ lb.label = item.project.name;
+
+
+
+
+ });
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_ColumnViewColumn72 : Object
+ {
+ public Gtk.ColumnViewColumn el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ColumnViewColumn72(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ var child_1 = new Xcls_SignalListItemFactory73( _this );
+ child_1.ref();
+ this.el = new Gtk.ColumnViewColumn( "File", child_1.el );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.expand = true;
+ this.el.resizable = true;
+ }
+
+ // user defined functions
+ }
+ public class Xcls_SignalListItemFactory73 : Object
+ {
+ public Gtk.SignalListItemFactory el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_SignalListItemFactory73(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.SignalListItemFactory();
+
+ // my vars (dec)
+
+ // set gobject values
+
+ //listeners
+ this.el.setup.connect( (listitem) => {
+ var lbl = new Gtk.Label("");
+ (listitem as Gtk.ListItem).set_child(lbl);
+ lbl.justify = Gtk.Justification.LEFT;
+ lbl.xalign = 1;
+ lbl.use_markup = true;
+ lbl.ellipsize = Pango.EllipsizeMode.START;
+
+ (listitem as Gtk.ListItem).activatable = true;
+ });
+ this.el.bind.connect( (listitem) => {
+ var lb = (Gtk.Label) (listitem as Gtk.ListItem).get_child();
+ var item = (listitem as Gtk.ListItem).get_item() as WindowState;
+
+ lb.label = item.file.relpath;
+
+
+
+
+ });
+ }
+
+ // user defined functions
+ }
+
+
+
+
+
+
+