}
return _MainWindow;
}
- public Xcls_keystate keystate;
public Xcls_headerbar headerbar;
public Xcls_splitview splitview;
public Xcls_vbox vbox;
public Xcls_treemodel treemodel;
public Xcls_treefilter treefilter;
public Xcls_name name;
+ public Xcls_keystate keystate;
// my vars (def)
public WindowState windowstate;
this.el.title = "Roo Application Builder";
this.el.default_height = 850;
this.el.default_width = 1200;
- new Xcls_keystate( _this );
- this.el.add_controller( _this.keystate.el );
new Xcls_headerbar( _this );
this.el.set_titlebar ( _this.headerbar.el );
new Xcls_splitview( _this );
w.windowstate.showPopoverFiles(w.open_projects_btn.el, _this.project, false);
}
- public class Xcls_keystate : Object
- {
- public Gtk.EventControllerKey el;
- private Xcls_MainWindow _this;
-
-
- // my vars (def)
- public int is_shift;
-
- // ctor
- public Xcls_keystate(Xcls_MainWindow _owner )
- {
- _this = _owner;
- _this.keystate = this;
- this.el = new Gtk.EventControllerKey();
-
- // my vars (dec)
- this.is_shift = 0;
-
- // set gobject values
-
- //listeners
- this.el.key_released.connect( (keyval, keycode, state) => {
- GLib.debug("key release %d, %d, %d" , (int) keyval, (int) keycode, state);
- if (keyval == Gdk.Key.Shift_L || keyval == Gdk.Key.Shift_R) {
- this.is_shift = 0;
- }
- //GLib.debug("set state %d , shift = %d", (int)this.el.get_current_event_state(), Gdk.ModifierType.SHIFT_MASK);
-
-
-
- });
- this.el.key_pressed.connect( (keyval, keycode, state) => {
-
- if (keyval == Gdk.Key.Shift_L || keyval == Gdk.Key.Shift_R) {
- this.is_shift = 1;
- }
- return true;
- });
- }
-
- // user defined functions
- }
-
public class Xcls_headerbar : Object
{
public Gtk.HeaderBar el;
this.show_close_button = true;
// set gobject values
- var child_1 = new Xcls_Box4( _this );
+ var child_1 = new Xcls_Box3( _this );
child_1.ref();
this.el.pack_start ( child_1.el );
}
// user defined functions
}
- public class Xcls_Box4 : Object
+ public class Xcls_Box3 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box4(Xcls_MainWindow _owner )
+ public Xcls_Box3(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_Button5( _this );
+ var child_1 = new Xcls_Button4( _this );
child_1.ref();
this.el.append ( child_1.el );
}
// user defined functions
}
- public class Xcls_Button5 : Object
+ public class Xcls_Button4 : Object
{
public Gtk.Button el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Button5(Xcls_MainWindow _owner )
+ public Xcls_Button4(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Button();
// set gobject values
this.el.has_frame = false;
- var child_1 = new Xcls_ButtonContent6( _this );
+ var child_1 = new Xcls_ButtonContent5( _this );
this.el.child = child_1.el;
//listeners
// user defined functions
}
- public class Xcls_ButtonContent6 : Object
+ public class Xcls_ButtonContent5 : Object
{
public Adw.ButtonContent el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_ButtonContent6(Xcls_MainWindow _owner )
+ public Xcls_ButtonContent5(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Adw.ButtonContent();
this.el.show_sidebar = false;
new Xcls_vbox( _this );
this.el.content = _this.vbox.el;
- var child_2 = new Xcls_Box35( _this );
+ var child_2 = new Xcls_Box34( _this );
this.el.sidebar = child_2.el;
+ new Xcls_keystate( _this );
+ this.el.add_controller( _this.keystate.el );
}
// user defined functions
this.el.vexpand = false;
new Xcls_mainpane( _this );
this.el.append( _this.mainpane.el );
- var child_2 = new Xcls_Box17( _this );
+ var child_2 = new Xcls_Box16( _this );
child_2.ref();
this.el.append( child_2.el );
}
this.el.position = 400;
new Xcls_leftpane( _this );
this.el.start_child = _this.leftpane.el;
- var child_2 = new Xcls_Box14( _this );
+ var child_2 = new Xcls_Box13( _this );
this.el.end_child = child_2.el;
//listeners
- public class Xcls_Box14 : Object
+ public class Xcls_Box13 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box14(Xcls_MainWindow _owner )
+ public Xcls_Box13(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
- public class Xcls_Box17 : Object
+ public class Xcls_Box16 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box17(Xcls_MainWindow _owner )
+ public Xcls_Box16(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
// set gobject values
this.el.homogeneous = false;
this.el.vexpand = false;
- var child_1 = new Xcls_Button18( _this );
+ var child_1 = new Xcls_Button17( _this );
child_1.ref();
this.el.append( child_1.el );
- var child_2 = new Xcls_Button19( _this );
+ var child_2 = new Xcls_Button18( _this );
child_2.ref();
this.el.append( child_2.el );
- var child_3 = new Xcls_MenuButton20( _this );
+ var child_3 = new Xcls_MenuButton19( _this );
child_3.ref();
this.el.append( child_3.el );
- var child_4 = new Xcls_Label25( _this );
+ var child_4 = new Xcls_Label24( _this );
child_4.ref();
this.el.append( child_4.el );
new Xcls_statusbar( _this );
this.el.append( _this.statusbar.el );
- var child_6 = new Xcls_Box27( _this );
+ var child_6 = new Xcls_Box26( _this );
child_6.ref();
this.el.append( child_6.el );
new Xcls_statusbar_compile_spinner( _this );
// user defined functions
}
- public class Xcls_Button18 : Object
+ public class Xcls_Button17 : Object
{
public Gtk.Button el;
private Xcls_MainWindow _this;
public bool always_show_image;
// ctor
- public Xcls_Button18(Xcls_MainWindow _owner )
+ public Xcls_Button17(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Button();
// user defined functions
}
- public class Xcls_Button19 : Object
+ public class Xcls_Button18 : Object
{
public Gtk.Button el;
private Xcls_MainWindow _this;
public bool always_show_image;
// ctor
- public Xcls_Button19(Xcls_MainWindow _owner )
+ public Xcls_Button18(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Button();
// user defined functions
}
- public class Xcls_MenuButton20 : Object
+ public class Xcls_MenuButton19 : Object
{
public Gtk.MenuButton el;
private Xcls_MainWindow _this;
public bool always_show_image;
// ctor
- public Xcls_MenuButton20(Xcls_MainWindow _owner )
+ public Xcls_MenuButton19(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.MenuButton();
// my vars (dec)
// set gobject values
- var child_1 = new Xcls_Box22( _this );
+ var child_1 = new Xcls_Box21( _this );
child_1.ref();
this.el.set_child ( child_1.el );
// user defined functions
}
- public class Xcls_Box22 : Object
+ public class Xcls_Box21 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box22(Xcls_MainWindow _owner )
+ public Xcls_Box21(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_Button23( _this );
+ var child_1 = new Xcls_Button22( _this );
child_1.ref();
this.el.append( child_1.el );
- var child_2 = new Xcls_Button24( _this );
+ var child_2 = new Xcls_Button23( _this );
child_2.ref();
this.el.append( child_2.el );
}
// user defined functions
}
- public class Xcls_Button23 : Object
+ public class Xcls_Button22 : Object
{
public Gtk.Button el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Button23(Xcls_MainWindow _owner )
+ public Xcls_Button22(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Button();
// user defined functions
}
- public class Xcls_Button24 : Object
+ public class Xcls_Button23 : Object
{
public Gtk.Button el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Button24(Xcls_MainWindow _owner )
+ public Xcls_Button23(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Button();
- public class Xcls_Label25 : Object
+ public class Xcls_Label24 : Object
{
public Gtk.Label el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Label25(Xcls_MainWindow _owner )
+ public Xcls_Label24(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Label( " " );
// user defined functions
}
- public class Xcls_Box27 : Object
+ public class Xcls_Box26 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box27(Xcls_MainWindow _owner )
+ public Xcls_Box26(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
- public class Xcls_Box35 : Object
+ public class Xcls_Box34 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box35(Xcls_MainWindow _owner )
+ public Xcls_Box34(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_SearchBar36( _this );
+ var child_1 = new Xcls_SearchBar35( _this );
child_1.ref();
this.el.append( child_1.el );
- var child_2 = new Xcls_Box38( _this );
+ var child_2 = new Xcls_Box37( _this );
child_2.ref();
this.el.append( child_2.el );
- var child_3 = new Xcls_Paned47( _this );
+ var child_3 = new Xcls_Paned46( _this );
child_3.ref();
this.el.append( child_3.el );
}
// user defined functions
}
- public class Xcls_SearchBar36 : Object
+ public class Xcls_SearchBar35 : Object
{
public Gtk.SearchBar el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_SearchBar36(Xcls_MainWindow _owner )
+ public Xcls_SearchBar35(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.SearchBar();
}
- public class Xcls_Box38 : Object
+ public class Xcls_Box37 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box38(Xcls_MainWindow _owner )
+ public Xcls_Box37(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
this.el.hexpand = true;
new Xcls_open_projects_btn( _this );
this.el.append( _this.open_projects_btn.el );
- var child_2 = new Xcls_Button43( _this );
+ var child_2 = new Xcls_Button42( _this );
child_2.ref();
this.el.append( child_2.el );
}
// set gobject values
this.el.hexpand = true;
- var child_1 = new Xcls_Box40( _this );
+ var child_1 = new Xcls_Box39( _this );
this.el.child = child_1.el;
//listeners
// user defined functions
}
- public class Xcls_Box40 : Object
+ public class Xcls_Box39 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box40(Xcls_MainWindow _owner )
+ public Xcls_Box39(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_Image41( _this );
+ var child_1 = new Xcls_Image40( _this );
child_1.ref();
this.el.append( child_1.el );
- var child_2 = new Xcls_Label42( _this );
+ var child_2 = new Xcls_Label41( _this );
child_2.ref();
this.el.append( child_2.el );
}
// user defined functions
}
- public class Xcls_Image41 : Object
+ public class Xcls_Image40 : Object
{
public Gtk.Image el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Image41(Xcls_MainWindow _owner )
+ public Xcls_Image40(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Image();
// user defined functions
}
- public class Xcls_Label42 : Object
+ public class Xcls_Label41 : Object
{
public Gtk.Label el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Label42(Xcls_MainWindow _owner )
+ public Xcls_Label41(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Label( "Open File" );
- public class Xcls_Button43 : Object
+ public class Xcls_Button42 : Object
{
public Gtk.Button el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Button43(Xcls_MainWindow _owner )
+ public Xcls_Button42(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Button();
// set gobject values
this.el.hexpand = true;
- var child_1 = new Xcls_Box44( _this );
+ var child_1 = new Xcls_Box43( _this );
this.el.child = child_1.el;
//listeners
// user defined functions
}
- public class Xcls_Box44 : Object
+ public class Xcls_Box43 : Object
{
public Gtk.Box el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Box44(Xcls_MainWindow _owner )
+ public Xcls_Box43(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_Image45( _this );
+ var child_1 = new Xcls_Image44( _this );
child_1.ref();
this.el.append( child_1.el );
- var child_2 = new Xcls_Label46( _this );
+ var child_2 = new Xcls_Label45( _this );
child_2.ref();
this.el.append( child_2.el );
}
// user defined functions
}
- public class Xcls_Image45 : Object
+ public class Xcls_Image44 : Object
{
public Gtk.Image el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Image45(Xcls_MainWindow _owner )
+ public Xcls_Image44(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Image();
// user defined functions
}
- public class Xcls_Label46 : Object
+ public class Xcls_Label45 : Object
{
public Gtk.Label el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Label46(Xcls_MainWindow _owner )
+ public Xcls_Label45(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Label( "New Window" );
- public class Xcls_Paned47 : Object
+ public class Xcls_Paned46 : Object
{
public Gtk.Paned el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_Paned47(Xcls_MainWindow _owner )
+ public Xcls_Paned46(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.Paned( Gtk.Orientation.VERTICAL );
// set gobject values
this.el.vexpand = true;
- var child_1 = new Xcls_ScrolledWindow48( _this );
+ var child_1 = new Xcls_ScrolledWindow47( _this );
this.el.start_child = child_1.el;
new Xcls_treescroll( _this );
this.el.end_child = _this.treescroll.el;
// user defined functions
}
- public class Xcls_ScrolledWindow48 : Object
+ public class Xcls_ScrolledWindow47 : Object
{
public Gtk.ScrolledWindow el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_ScrolledWindow48(Xcls_MainWindow _owner )
+ public Xcls_ScrolledWindow47(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.ScrolledWindow();
// set gobject values
this.el.has_frame = true;
- var child_1 = new Xcls_ColumnView49( _this );
+ var child_1 = new Xcls_ColumnView48( _this );
this.el.child = child_1.el;
}
// user defined functions
}
- public class Xcls_ColumnView49 : Object
+ public class Xcls_ColumnView48 : Object
{
public Gtk.ColumnView el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_ColumnView49(Xcls_MainWindow _owner )
+ public Xcls_ColumnView48(Xcls_MainWindow _owner )
{
_this = _owner;
new Xcls_winsel( _this );
{
_this = _owner;
_this.winsel = this;
- var child_1 = new Xcls_SortListModel51( _this );
+ var child_1 = new Xcls_SortListModel50( _this );
child_1.ref();
this.el = new Gtk.SingleSelection( child_1.el );
}
}
- public class Xcls_SortListModel51 : Object
+ public class Xcls_SortListModel50 : Object
{
public Gtk.SortListModel el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_SortListModel51(Xcls_MainWindow _owner )
+ public Xcls_SortListModel50(Xcls_MainWindow _owner )
{
_this = _owner;
new Xcls_winfilter( _this );
- var child_2 = new Xcls_StringSorter56( _this );
+ var child_2 = new Xcls_StringSorter55( _this );
child_2.ref();
this.el = new Gtk.SortListModel( _this.winfilter.el, child_2.el );
{
_this = _owner;
_this.windowsearch = this;
- var child_1 = new Xcls_PropertyExpression54( _this );
+ var child_1 = new Xcls_PropertyExpression53( _this );
child_1.ref();
this.el = new Gtk.StringFilter( child_1.el );
// user defined functions
}
- public class Xcls_PropertyExpression54 : Object
+ public class Xcls_PropertyExpression53 : Object
{
public Gtk.PropertyExpression el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_PropertyExpression54(Xcls_MainWindow _owner )
+ public Xcls_PropertyExpression53(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
}
- public class Xcls_StringSorter56 : Object
+ public class Xcls_StringSorter55 : Object
{
public Gtk.StringSorter el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_StringSorter56(Xcls_MainWindow _owner )
+ public Xcls_StringSorter55(Xcls_MainWindow _owner )
{
_this = _owner;
- var child_1 = new Xcls_PropertyExpression57( _this );
+ var child_1 = new Xcls_PropertyExpression56( _this );
child_1.ref();
this.el = new Gtk.StringSorter( child_1.el );
// user defined functions
}
- public class Xcls_PropertyExpression57 : Object
+ public class Xcls_PropertyExpression56 : Object
{
public Gtk.PropertyExpression el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_PropertyExpression57(Xcls_MainWindow _owner )
+ public Xcls_PropertyExpression56(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.PropertyExpression( typeof(WindowState), null, "file_name" );
{
_this = _owner;
_this.projcol = this;
- var child_1 = new Xcls_SignalListItemFactory59( _this );
+ var child_1 = new Xcls_SignalListItemFactory58( _this );
child_1.ref();
this.el = new Gtk.ColumnViewColumn( "Project", child_1.el );
// user defined functions
}
- public class Xcls_SignalListItemFactory59 : Object
+ public class Xcls_SignalListItemFactory58 : Object
{
public Gtk.SignalListItemFactory el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_SignalListItemFactory59(Xcls_MainWindow _owner )
+ public Xcls_SignalListItemFactory58(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.SignalListItemFactory();
{
_this = _owner;
_this.filecol = this;
- var child_1 = new Xcls_SignalListItemFactory61( _this );
+ var child_1 = new Xcls_SignalListItemFactory60( _this );
child_1.ref();
this.el = new Gtk.ColumnViewColumn( "File", child_1.el );
// user defined functions
}
- public class Xcls_SignalListItemFactory61 : Object
+ public class Xcls_SignalListItemFactory60 : Object
{
public Gtk.SignalListItemFactory el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_SignalListItemFactory61(Xcls_MainWindow _owner )
+ public Xcls_SignalListItemFactory60(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.SignalListItemFactory();
// set gobject values
this.el.hexpand = true;
this.el.vexpand = true;
- var child_2 = new Xcls_GestureClick64( _this );
+ var child_2 = new Xcls_GestureClick63( _this );
child_2.ref();
this.el.add_controller( child_2.el );
new Xcls_name( _this );
// user defined functions
}
- public class Xcls_GestureClick64 : Object
+ public class Xcls_GestureClick63 : Object
{
public Gtk.GestureClick el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_GestureClick64(Xcls_MainWindow _owner )
+ public Xcls_GestureClick63(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.GestureClick();
{
_this = _owner;
_this.treeselmodel = this;
- var child_1 = new Xcls_FilterListModel66( _this );
+ var child_1 = new Xcls_FilterListModel65( _this );
child_1.ref();
this.el = new Gtk.SingleSelection( child_1.el );
// user defined functions
}
- public class Xcls_FilterListModel66 : Object
+ public class Xcls_FilterListModel65 : Object
{
public Gtk.FilterListModel el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_FilterListModel66(Xcls_MainWindow _owner )
+ public Xcls_FilterListModel65(Xcls_MainWindow _owner )
{
_this = _owner;
new Xcls_treelistsort( _this );
_this = _owner;
_this.treelistsort = this;
new Xcls_treelistmodel( _this );
- var child_2 = new Xcls_TreeListRowSorter70( _this );
+ var child_2 = new Xcls_TreeListRowSorter69( _this );
child_2.ref();
this.el = new Gtk.SortListModel( _this.treelistmodel.el, child_2.el );
}
- public class Xcls_TreeListRowSorter70 : Object
+ public class Xcls_TreeListRowSorter69 : Object
{
public Gtk.TreeListRowSorter el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_TreeListRowSorter70(Xcls_MainWindow _owner )
+ public Xcls_TreeListRowSorter69(Xcls_MainWindow _owner )
{
_this = _owner;
- var child_1 = new Xcls_StringSorter71( _this );
+ var child_1 = new Xcls_StringSorter70( _this );
child_1.ref();
this.el = new Gtk.TreeListRowSorter( child_1.el );
// user defined functions
}
- public class Xcls_StringSorter71 : Object
+ public class Xcls_StringSorter70 : Object
{
public Gtk.StringSorter el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_StringSorter71(Xcls_MainWindow _owner )
+ public Xcls_StringSorter70(Xcls_MainWindow _owner )
{
_this = _owner;
- var child_1 = new Xcls_PropertyExpression72( _this );
+ var child_1 = new Xcls_PropertyExpression71( _this );
child_1.ref();
this.el = new Gtk.StringSorter( child_1.el );
// user defined functions
}
- public class Xcls_PropertyExpression72 : Object
+ public class Xcls_PropertyExpression71 : Object
{
public Gtk.PropertyExpression el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_PropertyExpression72(Xcls_MainWindow _owner )
+ public Xcls_PropertyExpression71(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.PropertyExpression( typeof(JsRender.JsRender) , null, "name" );
{
_this = _owner;
_this.name = this;
- var child_1 = new Xcls_SignalListItemFactory75( _this );
+ var child_1 = new Xcls_SignalListItemFactory74( _this );
child_1.ref();
this.el = new Gtk.ColumnViewColumn( "General Files", child_1.el );
// user defined functions
}
- public class Xcls_SignalListItemFactory75 : Object
+ public class Xcls_SignalListItemFactory74 : Object
{
public Gtk.SignalListItemFactory el;
private Xcls_MainWindow _this;
// my vars (def)
// ctor
- public Xcls_SignalListItemFactory75(Xcls_MainWindow _owner )
+ public Xcls_SignalListItemFactory74(Xcls_MainWindow _owner )
{
_this = _owner;
this.el = new Gtk.SignalListItemFactory();
+ public class Xcls_keystate : Object
+ {
+ public Gtk.EventControllerKey el;
+ private Xcls_MainWindow _this;
+
+
+ // my vars (def)
+ public int is_shift;
+
+ // ctor
+ public Xcls_keystate(Xcls_MainWindow _owner )
+ {
+ _this = _owner;
+ _this.keystate = this;
+ this.el = new Gtk.EventControllerKey();
+
+ // my vars (dec)
+ this.is_shift = 0;
+
+ // set gobject values
+
+ //listeners
+ this.el.key_released.connect( (keyval, keycode, state) => {
+ GLib.debug("key release %d, %d, %d" , (int) keyval, (int) keycode, state);
+ if (keyval == Gdk.Key.Shift_L || keyval == Gdk.Key.Shift_R) {
+ this.is_shift = 0;
+ }
+ //GLib.debug("set state %d , shift = %d", (int)this.el.get_current_event_state(), Gdk.ModifierType.SHIFT_MASK);
+
+
+
+ });
+ this.el.key_pressed.connect( (keyval, keycode, state) => {
+
+ if (keyval == Gdk.Key.Shift_L || keyval == Gdk.Key.Shift_R) {
+ this.is_shift = 1;
+ }
+ return true;
+
+ });
+ }
+
+ // user defined functions
+ }
+
}