~ubuntu-branches/ubuntu/trusty/gnome-do/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-03-26 11:12:21 UTC
  • mfrom: (0.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120326111221-1jk143fy37zxi3e4
Tags: 0.9-1
* New upstream version no longer uses deprecated internal glib headers.
  (Closes: #665537)
* [59fa37b9] Fix watch file
* [63486516] Imported Upstream version 0.9
* [8c636d84] Disable testsuite for now; requires running dbus and gconf daemons
* [e46de4b9] Remove inaccurate README.Source
* [4591d677] Add git-buildpackage configuration to default to pristine-tar

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