" ",
" \tif (event.keyval == Gdk.Key.Return && this.el.text.length > 0) {",
"\t\tvar res = _this.search(this.el.text);",
- "\t\tif (res > 0) {",
- "\t\t\t_this.search_results.el.label = \"%d Matches\".printf(res);",
- "\t\t} else {",
- "\t\t\t_this.search_results.el.label = \"No Matches\";",
- "\t\t}",
+ "\t\t _this.search_results.updateResults();",
+ "",
+ "\t\tGLib.Timeout.add_seconds(2,() => {",
+ "\t\t\t _this.search_results.updateResults();",
+ "\t\t\t return false;",
+ "\t\t });",
+ "\t ",
"\t\t",
"\t return true;",
"",
{
"$ xns" : "Gtk",
"* pack" : "add",
- "Xcls_ValaCompileErrors popup" : "",
"bool always_show_image" : true,
+ "bool visible" : false,
"id" : "search_results",
- "items" : [
- {
- "$ xns" : "Gtk",
- "* pack" : "set_image",
- "bool sensitive" : false,
- "utf8 icon_name" : "system-search",
- "xtype" : "Image"
- }
- ],
"listeners" : {
"button_press_event" : [
"() => {",
"}"
]
},
- "string label" : "Matches",
- "xtype" : "ImageMenuItem"
+ "xtype" : "ImageMenuItem",
+ "| void updateResults" : [
+ "() {",
+ "\tthis.el.visible = true;",
+ "\t",
+ "\tvar res = _this.searchcontext.get_occurrences_count();",
+ "\tif (res < 0) {",
+ "\t\t_this.search_results.el.label = \"??? Matches\";\t\t",
+ "\t\treturn;",
+ "\t}",
+ "",
+ "\t_this.nextBtn.el.sensitive = false;",
+ "\t_this.backBtn.el.sensitive = false;\t",
+ "",
+ "\tif (res > 0) {",
+ "\t\t_this.search_results.el.label = \"%d Matches\".printf(res);",
+ "\t\t_this.nextBtn.el.sensitive = true;",
+ "\t\t_this.backBtn.el.sensitive = true;",
+ "\t\treturn;",
+ "\t} ",
+ "\t_this.search_results.el.label = \"No Matches\";",
+ "\t",
+ "}"
+ ]
}
],
"xtype" : "MenuBar"
{
"$ xns" : "Gtk",
"bool always_show_image" : true,
+ "bool sensitive" : false,
+ "id" : "nextBtn",
"items" : [
{
"$ xns" : "Gtk",
{
"$ xns" : "Gtk",
"bool always_show_image" : true,
+ "bool sensitive" : false,
+ "id" : "backBtn",
"items" : [
{
"$ xns" : "Gtk",
public Xcls_buffer buffer;
public Xcls_search_entry search_entry;
public Xcls_search_results search_results;
+ public Xcls_nextBtn nextBtn;
+ public Xcls_backBtn backBtn;
public Xcls_search_settings search_settings;
public Xcls_case_sensitive case_sensitive;
public Xcls_regex regex;
var child_1 = new Xcls_MenuBar14( _this );
child_1.ref();
this.el.add ( child_1.el );
- var child_2 = new Xcls_Button17( _this );
+ var child_2 = new Xcls_nextBtn( _this );
child_2.ref();
this.el.add( child_2.el );
- var child_3 = new Xcls_Button19( _this );
+ var child_3 = new Xcls_backBtn( _this );
child_3.ref();
this.el.add( child_3.el );
- var child_4 = new Xcls_MenuButton21( _this );
+ var child_4 = new Xcls_MenuButton20( _this );
child_4.ref();
this.el.add( child_4.el );
}
if (event.keyval == Gdk.Key.Return && this.el.text.length > 0) {
var res = _this.search(this.el.text);
- if (res > 0) {
- _this.search_results.el.label = "%d Matches".printf(res);
- } else {
- _this.search_results.el.label = "No Matches";
- }
+ _this.search_results.updateResults();
+
+ GLib.Timeout.add_seconds(2,() => {
+ _this.search_results.updateResults();
+ return false;
+ });
+
return true;
// my vars (def)
- public Xcls_ValaCompileErrors popup;
// ctor
public Xcls_search_results(Editor _owner )
// set gobject values
this.el.always_show_image = true;
- this.el.label = "Matches";
- var child_0 = new Xcls_Image16( _this );
- child_0.ref();
- this.el.set_image ( child_0.el );
+ this.el.visible = false;
//listeners
this.el.button_press_event.connect( () => {
}
// user defined functions
- }
- public class Xcls_Image16 : Object
- {
- public Gtk.Image el;
- private Editor _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Image16(Editor _owner )
- {
- _this = _owner;
- this.el = new Gtk.Image();
-
- // my vars (dec)
-
- // set gobject values
- this.el.icon_name = "system-search";
- this.el.sensitive = false;
+ public void updateResults () {
+ this.el.visible = true;
+
+ var res = _this.searchcontext.get_occurrences_count();
+ if (res < 0) {
+ _this.search_results.el.label = "??? Matches";
+ return;
+ }
+
+ _this.nextBtn.el.sensitive = false;
+ _this.backBtn.el.sensitive = false;
+
+ if (res > 0) {
+ _this.search_results.el.label = "%d Matches".printf(res);
+ _this.nextBtn.el.sensitive = true;
+ _this.backBtn.el.sensitive = true;
+ return;
+ }
+ _this.search_results.el.label = "No Matches";
+
}
-
- // user defined functions
}
-
- public class Xcls_Button17 : Object
+ public class Xcls_nextBtn : Object
{
public Gtk.Button el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_Button17(Editor _owner )
+ public Xcls_nextBtn(Editor _owner )
{
_this = _owner;
+ _this.nextBtn = this;
this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
this.el.always_show_image = true;
this.el.label = "Next";
- var child_0 = new Xcls_Image18( _this );
+ this.el.sensitive = false;
+ var child_0 = new Xcls_Image17( _this );
child_0.ref();
this.el.image = child_0.el;
// user defined functions
}
- public class Xcls_Image18 : Object
+ public class Xcls_Image17 : Object
{
public Gtk.Image el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_Image18(Editor _owner )
+ public Xcls_Image17(Editor _owner )
{
_this = _owner;
this.el = new Gtk.Image();
}
- public class Xcls_Button19 : Object
+ public class Xcls_backBtn : Object
{
public Gtk.Button el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_Button19(Editor _owner )
+ public Xcls_backBtn(Editor _owner )
{
_this = _owner;
+ _this.backBtn = this;
this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
this.el.always_show_image = true;
this.el.label = "Previous";
- var child_0 = new Xcls_Image20( _this );
+ this.el.sensitive = false;
+ var child_0 = new Xcls_Image19( _this );
child_0.ref();
this.el.image = child_0.el;
// user defined functions
}
- public class Xcls_Image20 : Object
+ public class Xcls_Image19 : Object
{
public Gtk.Image el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_Image20(Editor _owner )
+ public Xcls_Image19(Editor _owner )
{
_this = _owner;
this.el = new Gtk.Image();
}
- public class Xcls_MenuButton21 : Object
+ public class Xcls_MenuButton20 : Object
{
public Gtk.MenuButton el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_MenuButton21(Editor _owner )
+ public Xcls_MenuButton20(Editor _owner )
{
_this = _owner;
this.el = new Gtk.MenuButton();
// set gobject values
this.el.always_show_image = true;
this.el.label = "Settings";
- var child_0 = new Xcls_Image22( _this );
+ var child_0 = new Xcls_Image21( _this );
child_0.ref();
this.el.image = child_0.el;
var child_1 = new Xcls_search_settings( _this );
// user defined functions
}
- public class Xcls_Image22 : Object
+ public class Xcls_Image21 : Object
{
public Gtk.Image el;
private Editor _this;
// my vars (def)
// ctor
- public Xcls_Image22(Editor _owner )
+ public Xcls_Image21(Editor _owner )
{
_this = _owner;
this.el = new Gtk.Image();
],
"key_press_event" : [
"(event) => {",
- " ",
" if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {",
"\t GLib.debug(\"SAVE: ctrl-g pressed\");",
"\t\t_this.forwardSearch(true);",
"\t return true;",
"\t}",
" ",
- " ",
" ",
" \tif (event.keyval == Gdk.Key.Return && this.el.text.length > 0) {",
"\t\tvar res = _this.search(this.el.text);",
- "\t\tif (res > 0) {",
- "\t\t\t_this.search_results.el.label = \"%d Matches\".printf(res);",
- "\t\t} else {",
- "\t\t\t_this.search_results.el.label = \"No Matches\";",
- "\t\t}",
+ "\t\t _this.search_results.updateResults();",
+ "",
+ "\t\tGLib.Timeout.add_seconds(2,() => {",
+ "\t\t\t _this.search_results.updateResults();",
+ "\t\t\t return false;",
+ "\t\t });",
+ "\t ",
"\t\t",
"\t return true;",
"",
{
"$ xns" : "Gtk",
"* pack" : "add",
- "Xcls_ValaCompileErrors popup" : "",
"bool always_show_image" : true,
+ "bool visible" : false,
"id" : "search_results",
- "items" : [
- {
- "$ xns" : "Gtk",
- "* pack" : "set_image",
- "bool sensitive" : false,
- "utf8 icon_name" : "system-search",
- "xtype" : "Image"
- }
- ],
"listeners" : {
"button_press_event" : [
"() => {",
"}"
]
},
- "string label" : "Matches",
- "xtype" : "ImageMenuItem"
+ "xtype" : "ImageMenuItem",
+ "| void updateResults" : [
+ "() {",
+ "\tthis.el.visible = true;",
+ "\t",
+ "\tvar res = _this.searchcontext.get_occurrences_count();",
+ "\tif (res < 0) {",
+ "\t\t_this.search_results.el.label = \"??? Matches\";\t\t",
+ "\t\treturn;",
+ "\t}",
+ "",
+ "\t_this.nextBtn.el.sensitive = false;",
+ "\t_this.backBtn.el.sensitive = false;\t",
+ "",
+ "\tif (res > 0) {",
+ "\t\t_this.search_results.el.label = \"%d Matches\".printf(res);",
+ "\t\t_this.nextBtn.el.sensitive = true;",
+ "\t\t_this.backBtn.el.sensitive = true;",
+ "\t\treturn;",
+ "\t} ",
+ "\t_this.search_results.el.label = \"No Matches\";",
+ "\t",
+ "}"
+ ]
}
],
"xtype" : "MenuBar"
{
"$ xns" : "Gtk",
"bool always_show_image" : true,
+ "bool sensitive" : false,
+ "id" : "nextBtn",
"items" : [
{
"$ xns" : "Gtk",
{
"$ xns" : "Gtk",
"bool always_show_image" : true,
+ "bool sensitive" : false,
+ "id" : "backBtn",
"items" : [
{
"$ xns" : "Gtk",
public Xcls_buffer buffer;
public Xcls_search_entry search_entry;
public Xcls_search_results search_results;
+ public Xcls_nextBtn nextBtn;
+ public Xcls_backBtn backBtn;
public Xcls_search_settings search_settings;
public Xcls_case_sensitive case_sensitive;
public Xcls_regex regex;
var child_1 = new Xcls_MenuBar14( _this );
child_1.ref();
this.el.add ( child_1.el );
- var child_2 = new Xcls_Button17( _this );
+ var child_2 = new Xcls_nextBtn( _this );
child_2.ref();
this.el.add( child_2.el );
- var child_3 = new Xcls_Button19( _this );
+ var child_3 = new Xcls_backBtn( _this );
child_3.ref();
this.el.add( child_3.el );
- var child_4 = new Xcls_MenuButton21( _this );
+ var child_4 = new Xcls_MenuButton20( _this );
child_4.ref();
this.el.add( child_4.el );
}
//listeners
this.el.key_press_event.connect( (event) => {
-
if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
GLib.debug("SAVE: ctrl-g pressed");
_this.forwardSearch(true);
return true;
}
-
if (event.keyval == Gdk.Key.Return && this.el.text.length > 0) {
var res = _this.search(this.el.text);
- if (res > 0) {
- _this.search_results.el.label = "%d Matches".printf(res);
- } else {
- _this.search_results.el.label = "No Matches";
- }
+ _this.search_results.updateResults();
+
+ GLib.Timeout.add_seconds(2,() => {
+ _this.search_results.updateResults();
+ return false;
+ });
+
return true;
// my vars (def)
- public Xcls_ValaCompileErrors popup;
// ctor
public Xcls_search_results(Xcls_GtkView _owner )
// set gobject values
this.el.always_show_image = true;
- this.el.label = "Matches";
- var child_0 = new Xcls_Image16( _this );
- child_0.ref();
- this.el.set_image ( child_0.el );
+ this.el.visible = false;
//listeners
this.el.button_press_event.connect( () => {
}
// user defined functions
- }
- public class Xcls_Image16 : Object
- {
- public Gtk.Image el;
- private Xcls_GtkView _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Image16(Xcls_GtkView _owner )
- {
- _this = _owner;
- this.el = new Gtk.Image();
-
- // my vars (dec)
-
- // set gobject values
- this.el.icon_name = "system-search";
- this.el.sensitive = false;
+ public void updateResults () {
+ this.el.visible = true;
+
+ var res = _this.searchcontext.get_occurrences_count();
+ if (res < 0) {
+ _this.search_results.el.label = "??? Matches";
+ return;
+ }
+
+ _this.nextBtn.el.sensitive = false;
+ _this.backBtn.el.sensitive = false;
+
+ if (res > 0) {
+ _this.search_results.el.label = "%d Matches".printf(res);
+ _this.nextBtn.el.sensitive = true;
+ _this.backBtn.el.sensitive = true;
+ return;
+ }
+ _this.search_results.el.label = "No Matches";
+
}
-
- // user defined functions
}
-
- public class Xcls_Button17 : Object
+ public class Xcls_nextBtn : Object
{
public Gtk.Button el;
private Xcls_GtkView _this;
// my vars (def)
// ctor
- public Xcls_Button17(Xcls_GtkView _owner )
+ public Xcls_nextBtn(Xcls_GtkView _owner )
{
_this = _owner;
+ _this.nextBtn = this;
this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
this.el.always_show_image = true;
this.el.label = "Next";
- var child_0 = new Xcls_Image18( _this );
+ this.el.sensitive = false;
+ var child_0 = new Xcls_Image17( _this );
child_0.ref();
this.el.image = child_0.el;
// user defined functions
}
- public class Xcls_Image18 : Object
+ public class Xcls_Image17 : Object
{
public Gtk.Image el;
private Xcls_GtkView _this;
// my vars (def)
// ctor
- public Xcls_Image18(Xcls_GtkView _owner )
+ public Xcls_Image17(Xcls_GtkView _owner )
{
_this = _owner;
this.el = new Gtk.Image();
}
- public class Xcls_Button19 : Object
+ public class Xcls_backBtn : Object
{
public Gtk.Button el;
private Xcls_GtkView _this;
// my vars (def)
// ctor
- public Xcls_Button19(Xcls_GtkView _owner )
+ public Xcls_backBtn(Xcls_GtkView _owner )
{
_this = _owner;
+ _this.backBtn = this;
this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
this.el.always_show_image = true;
this.el.label = "Previous";
- var child_0 = new Xcls_Image20( _this );
+ this.el.sensitive = false;
+ var child_0 = new Xcls_Image19( _this );
child_0.ref();
this.el.image = child_0.el;
// user defined functions
}
- public class Xcls_Image20 : Object
+ public class Xcls_Image19 : Object
{
public Gtk.Image el;
private Xcls_GtkView _this;
// my vars (def)
// ctor
- public Xcls_Image20(Xcls_GtkView _owner )
+ public Xcls_Image19(Xcls_GtkView _owner )
{
_this = _owner;
this.el = new Gtk.Image();
}
- public class Xcls_MenuButton21 : Object
+ public class Xcls_MenuButton20 : Object
{
public Gtk.MenuButton el;
private Xcls_GtkView _this;
// my vars (def)
// ctor
- public Xcls_MenuButton21(Xcls_GtkView _owner )
+ public Xcls_MenuButton20(Xcls_GtkView _owner )
{
_this = _owner;
this.el = new Gtk.MenuButton();
// set gobject values
this.el.always_show_image = true;
this.el.label = "Settings";
- var child_0 = new Xcls_Image22( _this );
+ var child_0 = new Xcls_Image21( _this );
child_0.ref();
this.el.image = child_0.el;
var child_1 = new Xcls_search_settings( _this );
// user defined functions
}
- public class Xcls_Image22 : Object
+ public class Xcls_Image21 : Object
{
public Gtk.Image el;
private Xcls_GtkView _this;
// my vars (def)
// ctor
- public Xcls_Image22(Xcls_GtkView _owner )
+ public Xcls_Image21(Xcls_GtkView _owner )
{
_this = _owner;
this.el = new Gtk.Image();
],
"key_press_event" : [
"(event) => {",
- " ",
" if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {",
"\t GLib.debug(\"SAVE: ctrl-g pressed\");",
"\t\t_this.forwardSearch(true);",
"\t return true;",
"\t}",
" ",
- " ",
" ",
" \tif (event.keyval == Gdk.Key.Return && this.el.text.length > 0) {",
"\t\tvar res = _this.search(this.el.text);",
- "\t\tif (res > 0) {",
- "\t\t\t_this.search_results.el.label = \"%d Matches\".printf(res);",
- "\t\t} else {",
- "\t\t\t_this.search_results.el.label = \"No Matches\";",
- "\t\t}",
+ "\t\t _this.search_results.updateResults();",
+ "",
+ "\t\tGLib.Timeout.add_seconds(2,() => {",
+ "\t\t\t _this.search_results.updateResults();",
+ "\t\t\t return false;",
+ "\t\t });",
+ "\t ",
"\t\t",
"\t return true;",
"",
{
"$ xns" : "Gtk",
"* pack" : "add",
- "Xcls_ValaCompileErrors popup" : "",
"bool always_show_image" : true,
+ "bool visible" : false,
"id" : "search_results",
- "items" : [
- {
- "$ xns" : "Gtk",
- "* pack" : "set_image",
- "bool sensitive" : false,
- "utf8 icon_name" : "system-search",
- "xtype" : "Image"
- }
- ],
"listeners" : {
"button_press_event" : [
"() => {",
"}"
]
},
- "string label" : "Matches",
- "xtype" : "ImageMenuItem"
+ "xtype" : "ImageMenuItem",
+ "| void updateResults" : [
+ "() {",
+ "\tthis.el.visible = true;",
+ "\t",
+ "\tvar res = _this.searchcontext.get_occurrences_count();",
+ "\tif (res < 0) {",
+ "\t\t_this.search_results.el.label = \"??? Matches\";\t\t",
+ "\t\treturn;",
+ "\t}",
+ "",
+ "\t_this.nextBtn.el.sensitive = false;",
+ "\t_this.backBtn.el.sensitive = false;\t",
+ "",
+ "\tif (res > 0) {",
+ "\t\t_this.search_results.el.label = \"%d Matches\".printf(res);",
+ "\t\t_this.nextBtn.el.sensitive = true;",
+ "\t\t_this.backBtn.el.sensitive = true;",
+ "\t\treturn;",
+ "\t} ",
+ "\t_this.search_results.el.label = \"No Matches\";",
+ "\t",
+ "}"
+ ]
}
],
"xtype" : "MenuBar"
{
"$ xns" : "Gtk",
"bool always_show_image" : true,
+ "bool sensitive" : false,
+ "id" : "nextBtn",
"items" : [
{
"$ xns" : "Gtk",
{
"$ xns" : "Gtk",
"bool always_show_image" : true,
+ "bool sensitive" : false,
+ "id" : "backBtn",
"items" : [
{
"$ xns" : "Gtk",
public Xcls_buffer buffer;
public Xcls_search_entry search_entry;
public Xcls_search_results search_results;
+ public Xcls_nextBtn nextBtn;
+ public Xcls_backBtn backBtn;
public Xcls_search_settings search_settings;
public Xcls_case_sensitive case_sensitive;
public Xcls_regex regex;
var child_1 = new Xcls_MenuBar20( _this );
child_1.ref();
this.el.add ( child_1.el );
- var child_2 = new Xcls_Button23( _this );
+ var child_2 = new Xcls_nextBtn( _this );
child_2.ref();
this.el.add( child_2.el );
- var child_3 = new Xcls_Button25( _this );
+ var child_3 = new Xcls_backBtn( _this );
child_3.ref();
this.el.add( child_3.el );
- var child_4 = new Xcls_MenuButton27( _this );
+ var child_4 = new Xcls_MenuButton26( _this );
child_4.ref();
this.el.add( child_4.el );
}
//listeners
this.el.key_press_event.connect( (event) => {
-
if (event.keyval == Gdk.Key.g && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {
GLib.debug("SAVE: ctrl-g pressed");
_this.forwardSearch(true);
return true;
}
-
if (event.keyval == Gdk.Key.Return && this.el.text.length > 0) {
var res = _this.search(this.el.text);
- if (res > 0) {
- _this.search_results.el.label = "%d Matches".printf(res);
- } else {
- _this.search_results.el.label = "No Matches";
- }
+ _this.search_results.updateResults();
+
+ GLib.Timeout.add_seconds(2,() => {
+ _this.search_results.updateResults();
+ return false;
+ });
+
return true;
// my vars (def)
- public Xcls_ValaCompileErrors popup;
// ctor
public Xcls_search_results(Xcls_WindowRooView _owner )
// set gobject values
this.el.always_show_image = true;
- this.el.label = "Matches";
- var child_0 = new Xcls_Image22( _this );
- child_0.ref();
- this.el.set_image ( child_0.el );
+ this.el.visible = false;
//listeners
this.el.button_press_event.connect( () => {
}
// user defined functions
- }
- public class Xcls_Image22 : Object
- {
- public Gtk.Image el;
- private Xcls_WindowRooView _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Image22(Xcls_WindowRooView _owner )
- {
- _this = _owner;
- this.el = new Gtk.Image();
-
- // my vars (dec)
-
- // set gobject values
- this.el.icon_name = "system-search";
- this.el.sensitive = false;
+ public void updateResults () {
+ this.el.visible = true;
+
+ var res = _this.searchcontext.get_occurrences_count();
+ if (res < 0) {
+ _this.search_results.el.label = "??? Matches";
+ return;
+ }
+
+ _this.nextBtn.el.sensitive = false;
+ _this.backBtn.el.sensitive = false;
+
+ if (res > 0) {
+ _this.search_results.el.label = "%d Matches".printf(res);
+ _this.nextBtn.el.sensitive = true;
+ _this.backBtn.el.sensitive = true;
+ return;
+ }
+ _this.search_results.el.label = "No Matches";
+
}
-
- // user defined functions
}
-
- public class Xcls_Button23 : Object
+ public class Xcls_nextBtn : Object
{
public Gtk.Button el;
private Xcls_WindowRooView _this;
// my vars (def)
// ctor
- public Xcls_Button23(Xcls_WindowRooView _owner )
+ public Xcls_nextBtn(Xcls_WindowRooView _owner )
{
_this = _owner;
+ _this.nextBtn = this;
this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
this.el.always_show_image = true;
this.el.label = "Next";
- var child_0 = new Xcls_Image24( _this );
+ this.el.sensitive = false;
+ var child_0 = new Xcls_Image23( _this );
child_0.ref();
this.el.image = child_0.el;
// user defined functions
}
- public class Xcls_Image24 : Object
+ public class Xcls_Image23 : Object
{
public Gtk.Image el;
private Xcls_WindowRooView _this;
// my vars (def)
// ctor
- public Xcls_Image24(Xcls_WindowRooView _owner )
+ public Xcls_Image23(Xcls_WindowRooView _owner )
{
_this = _owner;
this.el = new Gtk.Image();
}
- public class Xcls_Button25 : Object
+ public class Xcls_backBtn : Object
{
public Gtk.Button el;
private Xcls_WindowRooView _this;
// my vars (def)
// ctor
- public Xcls_Button25(Xcls_WindowRooView _owner )
+ public Xcls_backBtn(Xcls_WindowRooView _owner )
{
_this = _owner;
+ _this.backBtn = this;
this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
this.el.always_show_image = true;
this.el.label = "Previous";
- var child_0 = new Xcls_Image26( _this );
+ this.el.sensitive = false;
+ var child_0 = new Xcls_Image25( _this );
child_0.ref();
this.el.image = child_0.el;
// user defined functions
}
- public class Xcls_Image26 : Object
+ public class Xcls_Image25 : Object
{
public Gtk.Image el;
private Xcls_WindowRooView _this;
// my vars (def)
// ctor
- public Xcls_Image26(Xcls_WindowRooView _owner )
+ public Xcls_Image25(Xcls_WindowRooView _owner )
{
_this = _owner;
this.el = new Gtk.Image();
}
- public class Xcls_MenuButton27 : Object
+ public class Xcls_MenuButton26 : Object
{
public Gtk.MenuButton el;
private Xcls_WindowRooView _this;
// my vars (def)
// ctor
- public Xcls_MenuButton27(Xcls_WindowRooView _owner )
+ public Xcls_MenuButton26(Xcls_WindowRooView _owner )
{
_this = _owner;
this.el = new Gtk.MenuButton();
// set gobject values
this.el.always_show_image = true;
this.el.label = "Settings";
- var child_0 = new Xcls_Image28( _this );
+ var child_0 = new Xcls_Image27( _this );
child_0.ref();
this.el.image = child_0.el;
var child_1 = new Xcls_search_settings( _this );
// user defined functions
}
- public class Xcls_Image28 : Object
+ public class Xcls_Image27 : Object
{
public Gtk.Image el;
private Xcls_WindowRooView _this;
// my vars (def)
// ctor
- public Xcls_Image28(Xcls_WindowRooView _owner )
+ public Xcls_Image27(Xcls_WindowRooView _owner )
{
_this = _owner;
this.el = new Gtk.Image();
PREVIEW,
CODE,
CODEONLY
-
}
public State state = State.NONE;
-
public bool children_loaded = false;
public Project.Project project;