~do-win/do/test-paths

« back to all changes in this revision

Viewing changes to Do.Interface.Windows.AnimationBase/gtk-gui/Do.Interface.AnimationBase.AnimationBaseConfigurationWidget.cs

  • Committer: Hardeep S
  • Date: 2009-06-23 04:22:47 UTC
  • Revision ID: ootz0rz@gmail.com-20090623042247-ciyax78ykbtlx4ee
added Do.Interface.Windows.AnimationBase and Do.Interface.Windows.Classic

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      
 
5
// 
 
6
//      Changes to this file may cause incorrect behavior and will be lost if 
 
7
//      the code is regenerated.
 
8
//  </autogenerated>
 
9
// ------------------------------------------------------------------------------
 
10
 
 
11
namespace Do.Interface.AnimationBase {
 
12
    
 
13
    
 
14
    public partial class AnimationBaseConfigurationWidget {
 
15
        
 
16
        private Gtk.VBox vbox4;
 
17
        
 
18
        private Gtk.HBox hbox4;
 
19
        
 
20
        private Gtk.Label label8;
 
21
        
 
22
        private Gtk.ColorButton background_colorbutton;
 
23
        
 
24
        private Gtk.Button clear_background;
 
25
        
 
26
        private Gtk.CheckButton shadow_check;
 
27
        
 
28
        private Gtk.CheckButton animation_check;
 
29
        
 
30
        protected virtual void Build() {
 
31
            Stetic.Gui.Initialize(this);
 
32
            // Widget Do.Interface.AnimationBase.AnimationBaseConfigurationWidget
 
33
            Stetic.BinContainer.Attach(this);
 
34
            this.Name = "Do.Interface.AnimationBase.AnimationBaseConfigurationWidget";
 
35
            // Container child Do.Interface.AnimationBase.AnimationBaseConfigurationWidget.Gtk.Container+ContainerChild
 
36
            this.vbox4 = new Gtk.VBox();
 
37
            this.vbox4.Name = "vbox4";
 
38
            this.vbox4.Spacing = 6;
 
39
            // Container child vbox4.Gtk.Box+BoxChild
 
40
            this.hbox4 = new Gtk.HBox();
 
41
            this.hbox4.Name = "hbox4";
 
42
            this.hbox4.Spacing = 6;
 
43
            // Container child hbox4.Gtk.Box+BoxChild
 
44
            this.label8 = new Gtk.Label();
 
45
            this.label8.Name = "label8";
 
46
            this.label8.Xalign = 0F;
 
47
            this.label8.LabelProp = Mono.Unix.Catalog.GetString("Background Color:");
 
48
            this.hbox4.Add(this.label8);
 
49
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox4[this.label8]));
 
50
            w1.Position = 0;
 
51
            w1.Expand = false;
 
52
            w1.Fill = false;
 
53
            // Container child hbox4.Gtk.Box+BoxChild
 
54
            this.background_colorbutton = new Gtk.ColorButton();
 
55
            this.background_colorbutton.CanFocus = true;
 
56
            this.background_colorbutton.Events = ((Gdk.EventMask)(784));
 
57
            this.background_colorbutton.Name = "background_colorbutton";
 
58
            this.background_colorbutton.UseAlpha = true;
 
59
            this.background_colorbutton.Alpha = 65535;
 
60
            this.hbox4.Add(this.background_colorbutton);
 
61
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox4[this.background_colorbutton]));
 
62
            w2.Position = 1;
 
63
            w2.Expand = false;
 
64
            w2.Fill = false;
 
65
            // Container child hbox4.Gtk.Box+BoxChild
 
66
            this.clear_background = new Gtk.Button();
 
67
            this.clear_background.CanFocus = true;
 
68
            this.clear_background.Name = "clear_background";
 
69
            this.clear_background.UseUnderline = true;
 
70
            this.clear_background.Relief = ((Gtk.ReliefStyle)(2));
 
71
            // Container child clear_background.Gtk.Container+ContainerChild
 
72
            Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
 
73
            // Container child GtkAlignment.Gtk.Container+ContainerChild
 
74
            Gtk.HBox w4 = new Gtk.HBox();
 
75
            w4.Spacing = 2;
 
76
            // Container child GtkHBox.Gtk.Container+ContainerChild
 
77
            Gtk.Image w5 = new Gtk.Image();
 
78
            w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16);
 
79
            w4.Add(w5);
 
80
            // Container child GtkHBox.Gtk.Container+ContainerChild
 
81
            Gtk.Label w7 = new Gtk.Label();
 
82
            w7.LabelProp = Mono.Unix.Catalog.GetString("_Reset");
 
83
            w7.UseUnderline = true;
 
84
            w4.Add(w7);
 
85
            w3.Add(w4);
 
86
            this.clear_background.Add(w3);
 
87
            this.hbox4.Add(this.clear_background);
 
88
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox4[this.clear_background]));
 
89
            w11.Position = 2;
 
90
            w11.Expand = false;
 
91
            w11.Fill = false;
 
92
            this.vbox4.Add(this.hbox4);
 
93
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox4]));
 
94
            w12.Position = 0;
 
95
            w12.Expand = false;
 
96
            w12.Fill = false;
 
97
            // Container child vbox4.Gtk.Box+BoxChild
 
98
            this.shadow_check = new Gtk.CheckButton();
 
99
            this.shadow_check.CanFocus = true;
 
100
            this.shadow_check.Name = "shadow_check";
 
101
            this.shadow_check.Label = Mono.Unix.Catalog.GetString("Show window shadow");
 
102
            this.shadow_check.DrawIndicator = true;
 
103
            this.shadow_check.UseUnderline = true;
 
104
            this.vbox4.Add(this.shadow_check);
 
105
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox4[this.shadow_check]));
 
106
            w13.Position = 1;
 
107
            w13.Expand = false;
 
108
            w13.Fill = false;
 
109
            // Container child vbox4.Gtk.Box+BoxChild
 
110
            this.animation_check = new Gtk.CheckButton();
 
111
            this.animation_check.CanFocus = true;
 
112
            this.animation_check.Name = "animation_check";
 
113
            this.animation_check.Label = Mono.Unix.Catalog.GetString("Animate window");
 
114
            this.animation_check.Active = true;
 
115
            this.animation_check.DrawIndicator = true;
 
116
            this.animation_check.UseUnderline = true;
 
117
            this.vbox4.Add(this.animation_check);
 
118
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox4[this.animation_check]));
 
119
            w14.Position = 2;
 
120
            w14.Expand = false;
 
121
            w14.Fill = false;
 
122
            this.Add(this.vbox4);
 
123
            if ((this.Child != null)) {
 
124
                this.Child.ShowAll();
 
125
            }
 
126
            this.Hide();
 
127
            this.background_colorbutton.ColorSet += new System.EventHandler(this.OnBackgroundColorbuttonColorSet);
 
128
            this.clear_background.Clicked += new System.EventHandler(this.OnClearBackgroundClicked);
 
129
            this.shadow_check.Toggled += new System.EventHandler(this.OnShadowCheckToggled);
 
130
            this.animation_check.Toggled += new System.EventHandler(this.OnAnimationCheckToggled);
 
131
        }
 
132
    }
 
133
}