this.view.el.get_selection().unselect_all();
+
+ /**
+
+ make outerpane = {current width of left pane} + width of props
+ make innerpane = {current width of left pane}
+
+
+
+
+
+ var outerpane = _this.main_window.leftpane.el;
var pane = _this.main_window.editpane.el;
+
+
+
var try_size = (i * 25) + 60; // est. 20px per line + 40px header
GLib.Timeout.add_seconds(1, () => {
// max 80%...
pane.max_position-try_size);
return GLib.Source.REMOVE;
});
+ */
}
public string keyFormat (string val, string type) {
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_Button3( _this );
- child_0.ref();
- this.el.add ( child_0.el );
- }
-
- // user defined functions
- }
- public class Xcls_Button3 : Object
- {
- public Gtk.Button el;
- private Xcls_LeftProps _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Button3(Xcls_LeftProps _owner )
- {
- _this = _owner;
- this.el = new Gtk.Button();
-
- // my vars (dec)
-
- // set gobject values
- this.el.hexpand = true;
- var child_0 = new Xcls_Box4( _this );
- child_0.ref();
- this.el.add ( child_0.el );
- var child_1 = new Xcls_AddPropertyPopup( _this );
- child_1.ref();
-
- //listeners
- this.el.button_press_event.connect( (self, ev) => {
- _this.before_edit();
-
-
- var p = _this.AddPropertyPopup;
- p.el.set_screen(Gdk.Screen.get_default());
- p.el.show_all();
- p.el.popup(null, null, null, ev.button, ev.time);
- return true;
- });
- }
-
- // user defined functions
- }
- public class Xcls_Box4 : Object
- {
- public Gtk.Box el;
- private Xcls_LeftProps _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Box4(Xcls_LeftProps _owner )
- {
- _this = _owner;
- this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
-
- // my vars (dec)
-
- // set gobject values
- var child_0 = new Xcls_Image5( _this );
+ var child_0 = new Xcls_Label3( _this );
child_0.ref();
this.el.add ( child_0.el );
- var child_1 = new Xcls_Label6( _this );
+ var child_1 = new Xcls_Button4( _this );
child_1.ref();
this.el.add ( child_1.el );
+ var child_2 = new Xcls_Button24( _this );
+ child_2.ref();
+ this.el.add ( child_2.el );
+ var child_3 = new Xcls_Button26( _this );
+ child_3.ref();
+ this.el.add ( child_3.el );
}
// user defined functions
}
- public class Xcls_Image5 : Object
+ public class Xcls_Label3 : Object
{
- public Gtk.Image el;
+ public Gtk.Label el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_Image5(Xcls_LeftProps _owner )
+ public Xcls_Label3(Xcls_LeftProps _owner )
{
_this = _owner;
- this.el = new Gtk.Image();
+ this.el = new Gtk.Label( "Add:" );
// my vars (dec)
// set gobject values
- this.el.stock = Gtk.Stock.ADD;
- this.el.icon_size = Gtk.IconSize.MENU;
+ this.el.margin_right = 5;
+ this.el.margin_left = 5;
}
// user defined functions
}
- public class Xcls_Label6 : Object
+ public class Xcls_Button4 : Object
{
- public Gtk.Label el;
+ public Gtk.Button el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_Label6(Xcls_LeftProps _owner )
+ public Xcls_Button4(Xcls_LeftProps _owner )
{
_this = _owner;
- this.el = new Gtk.Label( "Other" );
+ this.el = new Gtk.Button();
// my vars (dec)
// set gobject values
+ this.el.hexpand = true;
+ this.el.label = "Other";
+ var child_0 = new Xcls_AddPropertyPopup( _this );
+ child_0.ref();
+ var child_1 = new Xcls_Image23( _this );
+ child_1.ref();
+ this.el.set_image ( child_1.el );
+
+ //listeners
+ this.el.button_press_event.connect( (self, ev) => {
+ _this.before_edit();
+
+
+ var p = _this.AddPropertyPopup;
+ p.el.set_screen(Gdk.Screen.get_default());
+ p.el.show_all();
+ p.el.popup(null, null, null, ev.button, ev.time);
+ return true;
+ });
}
// user defined functions
}
-
-
public class Xcls_AddPropertyPopup : Object
{
public Gtk.Menu el;
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_MenuItem8( _this );
+ var child_0 = new Xcls_MenuItem6( _this );
child_0.ref();
this.el.append ( child_0.el );
- var child_1 = new Xcls_MenuItem9( _this );
+ var child_1 = new Xcls_MenuItem7( _this );
child_1.ref();
this.el.append ( child_1.el );
- var child_2 = new Xcls_MenuItem10( _this );
+ var child_2 = new Xcls_MenuItem8( _this );
child_2.ref();
this.el.append ( child_2.el );
- var child_3 = new Xcls_MenuItem11( _this );
+ var child_3 = new Xcls_MenuItem9( _this );
child_3.ref();
this.el.append ( child_3.el );
- var child_4 = new Xcls_MenuItem12( _this );
+ var child_4 = new Xcls_MenuItem10( _this );
child_4.ref();
this.el.append ( child_4.el );
- var child_5 = new Xcls_SeparatorMenuItem13( _this );
+ var child_5 = new Xcls_SeparatorMenuItem11( _this );
child_5.ref();
this.el.add ( child_5.el );
- var child_6 = new Xcls_MenuItem14( _this );
+ var child_6 = new Xcls_MenuItem12( _this );
child_6.ref();
this.el.append ( child_6.el );
- var child_7 = new Xcls_MenuItem15( _this );
+ var child_7 = new Xcls_MenuItem13( _this );
child_7.ref();
this.el.append ( child_7.el );
- var child_8 = new Xcls_MenuItem16( _this );
+ var child_8 = new Xcls_MenuItem14( _this );
child_8.ref();
this.el.append ( child_8.el );
- var child_9 = new Xcls_SeparatorMenuItem17( _this );
+ var child_9 = new Xcls_SeparatorMenuItem15( _this );
child_9.ref();
this.el.add ( child_9.el );
- var child_10 = new Xcls_MenuItem18( _this );
+ var child_10 = new Xcls_MenuItem16( _this );
child_10.ref();
this.el.append ( child_10.el );
- var child_11 = new Xcls_MenuItem19( _this );
+ var child_11 = new Xcls_MenuItem17( _this );
child_11.ref();
this.el.append ( child_11.el );
- var child_12 = new Xcls_MenuItem20( _this );
+ var child_12 = new Xcls_MenuItem18( _this );
child_12.ref();
this.el.append ( child_12.el );
- var child_13 = new Xcls_SeparatorMenuItem21( _this );
+ var child_13 = new Xcls_SeparatorMenuItem19( _this );
child_13.ref();
this.el.add ( child_13.el );
- var child_14 = new Xcls_MenuItem22( _this );
+ var child_14 = new Xcls_MenuItem20( _this );
child_14.ref();
this.el.append ( child_14.el );
- var child_15 = new Xcls_MenuItem23( _this );
+ var child_15 = new Xcls_MenuItem21( _this );
child_15.ref();
this.el.append ( child_15.el );
- var child_16 = new Xcls_MenuItem24( _this );
+ var child_16 = new Xcls_MenuItem22( _this );
child_16.ref();
this.el.append ( child_16.el );
}
// user defined functions
}
- public class Xcls_MenuItem8 : Object
+ public class Xcls_MenuItem6 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem8(Xcls_LeftProps _owner )
+ public Xcls_MenuItem6(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem9 : Object
+ public class Xcls_MenuItem7 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem9(Xcls_LeftProps _owner )
+ public Xcls_MenuItem7(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem10 : Object
+ public class Xcls_MenuItem8 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem10(Xcls_LeftProps _owner )
+ public Xcls_MenuItem8(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem11 : Object
+ public class Xcls_MenuItem9 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem11(Xcls_LeftProps _owner )
+ public Xcls_MenuItem9(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem12 : Object
+ public class Xcls_MenuItem10 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem12(Xcls_LeftProps _owner )
+ public Xcls_MenuItem10(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_SeparatorMenuItem13 : Object
+ public class Xcls_SeparatorMenuItem11 : Object
{
public Gtk.SeparatorMenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_SeparatorMenuItem13(Xcls_LeftProps _owner )
+ public Xcls_SeparatorMenuItem11(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.SeparatorMenuItem();
// user defined functions
}
- public class Xcls_MenuItem14 : Object
+ public class Xcls_MenuItem12 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem14(Xcls_LeftProps _owner )
+ public Xcls_MenuItem12(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem15 : Object
+ public class Xcls_MenuItem13 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem15(Xcls_LeftProps _owner )
+ public Xcls_MenuItem13(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem16 : Object
+ public class Xcls_MenuItem14 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem16(Xcls_LeftProps _owner )
+ public Xcls_MenuItem14(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_SeparatorMenuItem17 : Object
+ public class Xcls_SeparatorMenuItem15 : Object
{
public Gtk.SeparatorMenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_SeparatorMenuItem17(Xcls_LeftProps _owner )
+ public Xcls_SeparatorMenuItem15(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.SeparatorMenuItem();
// user defined functions
}
- public class Xcls_MenuItem18 : Object
+ public class Xcls_MenuItem16 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem18(Xcls_LeftProps _owner )
+ public Xcls_MenuItem16(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem19 : Object
+ public class Xcls_MenuItem17 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem19(Xcls_LeftProps _owner )
+ public Xcls_MenuItem17(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem20 : Object
+ public class Xcls_MenuItem18 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem20(Xcls_LeftProps _owner )
+ public Xcls_MenuItem18(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_SeparatorMenuItem21 : Object
+ public class Xcls_SeparatorMenuItem19 : Object
{
public Gtk.SeparatorMenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_SeparatorMenuItem21(Xcls_LeftProps _owner )
+ public Xcls_SeparatorMenuItem19(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.SeparatorMenuItem();
// user defined functions
}
- public class Xcls_MenuItem22 : Object
+ public class Xcls_MenuItem20 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem22(Xcls_LeftProps _owner )
+ public Xcls_MenuItem20(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem23 : Object
+ public class Xcls_MenuItem21 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem23(Xcls_LeftProps _owner )
+ public Xcls_MenuItem21(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_MenuItem24 : Object
+ public class Xcls_MenuItem22 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem24(Xcls_LeftProps _owner )
+ public Xcls_MenuItem22(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
}
+ public class Xcls_Image23 : Object
+ {
+ public Gtk.Image el;
+ private Xcls_LeftProps _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Image23(Xcls_LeftProps _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Image();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.stock = Gtk.Stock.ADD;
+ this.el.icon_size = Gtk.IconSize.MENU;
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_Button24 : Object
+ {
+ public Gtk.Button el;
+ private Xcls_LeftProps _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Button24(Xcls_LeftProps _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Button();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ this.el.always_show_image = true;
+ this.el.tooltip_text = "Add Property";
+ this.el.label = "Property";
+ var child_0 = new Xcls_Image25( _this );
+ child_0.ref();
+ this.el.set_image ( child_0.el );
+
+ //listeners
+ this.el.clicked.connect( ( ) => {
+
+ _this.main_window.windowstate.showProps(this.el, "props");
+
+
+ });
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Image25 : Object
+ {
+ public Gtk.Image el;
+ private Xcls_LeftProps _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Image25(Xcls_LeftProps _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Image();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.icon_name = "format-justify-left";
+ }
+
+ // user defined functions
+ }
+
+
+ public class Xcls_Button26 : Object
+ {
+ public Gtk.Button el;
+ private Xcls_LeftProps _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Button26(Xcls_LeftProps _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Button();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.hexpand = true;
+ this.el.always_show_image = true;
+ this.el.tooltip_text = "Add Event Code";
+ this.el.label = "Event";
+ var child_0 = new Xcls_Image27( _this );
+ child_0.ref();
+ this.el.set_image ( child_0.el );
+
+ //listeners
+ this.el.clicked.connect( ( ) => {
+
+
+ _this.main_window.windowstate.showProps(this.el, "signals");
+
+
+ });
+ }
+
+ // user defined functions
+ }
+ public class Xcls_Image27 : Object
+ {
+ public Gtk.Image el;
+ private Xcls_LeftProps _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_Image27(Xcls_LeftProps _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.Image();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.icon_name = "appointment-new";
+ }
+
+ // user defined functions
+ }
+
public class Xcls_EditProps : Object
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_MenuItem34( _this );
+ var child_0 = new Xcls_MenuItem37( _this );
child_0.ref();
this.el.append ( child_0.el );
- var child_1 = new Xcls_SeparatorMenuItem35( _this );
+ var child_1 = new Xcls_SeparatorMenuItem38( _this );
child_1.ref();
this.el.append ( child_1.el );
- var child_2 = new Xcls_MenuItem36( _this );
+ var child_2 = new Xcls_MenuItem39( _this );
child_2.ref();
this.el.append ( child_2.el );
}
// user defined functions
}
- public class Xcls_MenuItem34 : Object
+ public class Xcls_MenuItem37 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem34(Xcls_LeftProps _owner )
+ public Xcls_MenuItem37(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();
// user defined functions
}
- public class Xcls_SeparatorMenuItem35 : Object
+ public class Xcls_SeparatorMenuItem38 : Object
{
public Gtk.SeparatorMenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_SeparatorMenuItem35(Xcls_LeftProps _owner )
+ public Xcls_SeparatorMenuItem38(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.SeparatorMenuItem();
// user defined functions
}
- public class Xcls_MenuItem36 : Object
+ public class Xcls_MenuItem39 : Object
{
public Gtk.MenuItem el;
private Xcls_LeftProps _this;
// my vars (def)
// ctor
- public Xcls_MenuItem36(Xcls_LeftProps _owner )
+ public Xcls_MenuItem39(Xcls_LeftProps _owner )
{
_this = _owner;
this.el = new Gtk.MenuItem();