1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace Do.Interface.AnimationBase {
14
public partial class AnimationBaseConfigurationWidget {
16
private Gtk.VBox vbox4;
18
private Gtk.HBox hbox4;
20
private Gtk.Label label8;
22
private Gtk.ColorButton background_colorbutton;
24
private Gtk.Button clear_background;
26
private Gtk.CheckButton shadow_check;
28
private Gtk.CheckButton animation_check;
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]));
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]));
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();
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);
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;
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]));
92
this.vbox4.Add(this.hbox4);
93
Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox4]));
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]));
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]));
122
this.Add(this.vbox4);
123
if ((this.Child != null)) {
124
this.Child.ShowAll();
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);