~and471/+junk/do-with-docky

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace Do.UI {
    
    
    public partial class KeybindingsPreferencesWidget {
        
        private Gtk.VBox vbox2;
        
        private Gtk.ScrolledWindow action_scroll;
        
        private Gtk.HBox hbox1;
        
        private Gtk.Image help_icn;
        
        private Gtk.Label help_lbl;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget Do.UI.KeybindingsPreferencesWidget
            Stetic.BinContainer.Attach(this);
            this.Name = "Do.UI.KeybindingsPreferencesWidget";
            // Container child Do.UI.KeybindingsPreferencesWidget.Gtk.Container+ContainerChild
            this.vbox2 = new Gtk.VBox();
            this.vbox2.Name = "vbox2";
            this.vbox2.Spacing = 6;
            this.vbox2.BorderWidth = ((uint)(6));
            // Container child vbox2.Gtk.Box+BoxChild
            this.action_scroll = new Gtk.ScrolledWindow();
            this.action_scroll.CanFocus = true;
            this.action_scroll.Name = "action_scroll";
            this.action_scroll.ShadowType = ((Gtk.ShadowType)(1));
            this.vbox2.Add(this.action_scroll);
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.action_scroll]));
            w1.Position = 0;
            // Container child vbox2.Gtk.Box+BoxChild
            this.hbox1 = new Gtk.HBox();
            this.hbox1.Name = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.help_icn = new Gtk.Image();
            this.help_icn.Name = "help_icn";
            this.help_icn.Yalign = 0F;
            this.help_icn.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dnd, 32);
            this.hbox1.Add(this.help_icn);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.help_icn]));
            w2.Position = 0;
            w2.Expand = false;
            w2.Fill = false;
            // Container child hbox1.Gtk.Box+BoxChild
            this.help_lbl = new Gtk.Label();
            this.help_lbl.Name = "help_lbl";
            this.help_lbl.Ypad = 1;
            this.help_lbl.Xalign = 0F;
            this.help_lbl.LabelProp = Mono.Unix.Catalog.GetString("To edit a shortcut, double-click it and type a new one.\nTo restore a shortcut to the default, double click and press Backspace.");
            this.help_lbl.Wrap = true;
            this.hbox1.Add(this.help_lbl);
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.help_lbl]));
            w3.Position = 1;
            w3.Padding = ((uint)(10));
            this.vbox2.Add(this.hbox1);
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
            w4.Position = 1;
            w4.Expand = false;
            w4.Fill = false;
            w4.Padding = ((uint)(5));
            this.Add(this.vbox2);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
        }
    }
}