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 MonoDevelop.VersionControl.Bazaar.Dialogs {
14
public partial class PasswordPromptDialog {
16
private Gtk.VBox vbox2;
18
private Gtk.Label promptLabel;
20
private Gtk.Entry passwordEntry;
22
private Gtk.Button buttonCancel;
24
private Gtk.Button buttonOk;
26
protected virtual void Build() {
27
Stetic.Gui.Initialize(this);
28
// Widget MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog
29
this.Name = "MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog";
30
this.Title = Mono.Unix.Catalog.GetString("Enter your password");
31
this.WindowPosition = ((Gtk.WindowPosition)(4));
33
// Internal child MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.VBox
34
Gtk.VBox w1 = this.VBox;
35
w1.Name = "dialog1_VBox";
36
w1.BorderWidth = ((uint)(2));
37
// Container child dialog1_VBox.Gtk.Box+BoxChild
38
this.vbox2 = new Gtk.VBox();
39
this.vbox2.Name = "vbox2";
40
this.vbox2.Spacing = 6;
41
// Container child vbox2.Gtk.Box+BoxChild
42
this.promptLabel = new Gtk.Label();
43
this.promptLabel.Name = "promptLabel";
44
this.promptLabel.LabelProp = Mono.Unix.Catalog.GetString("Password prompt:");
45
this.vbox2.Add(this.promptLabel);
46
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.promptLabel]));
50
w2.Padding = ((uint)(5));
51
// Container child vbox2.Gtk.Box+BoxChild
52
this.passwordEntry = new Gtk.Entry();
53
this.passwordEntry.CanFocus = true;
54
this.passwordEntry.Name = "passwordEntry";
55
this.passwordEntry.IsEditable = true;
56
this.passwordEntry.ActivatesDefault = true;
57
this.passwordEntry.Visibility = false;
58
this.passwordEntry.InvisibleChar = '●';
59
this.vbox2.Add(this.passwordEntry);
60
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.passwordEntry]));
64
w3.Padding = ((uint)(5));
66
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
70
// Internal child MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.ActionArea
71
Gtk.HButtonBox w5 = this.ActionArea;
72
w5.Name = "dialog1_ActionArea";
74
w5.BorderWidth = ((uint)(5));
75
w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
76
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
77
this.buttonCancel = new Gtk.Button();
78
this.buttonCancel.CanDefault = true;
79
this.buttonCancel.CanFocus = true;
80
this.buttonCancel.Name = "buttonCancel";
81
this.buttonCancel.UseStock = true;
82
this.buttonCancel.UseUnderline = true;
83
this.buttonCancel.Label = "gtk-cancel";
84
this.AddActionWidget(this.buttonCancel, -6);
85
Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
88
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
89
this.buttonOk = new Gtk.Button();
90
this.buttonOk.CanDefault = true;
91
this.buttonOk.CanFocus = true;
92
this.buttonOk.Name = "buttonOk";
93
this.buttonOk.UseStock = true;
94
this.buttonOk.UseUnderline = true;
95
this.buttonOk.Label = "gtk-ok";
96
this.AddActionWidget(this.buttonOk, -5);
97
Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
101
if ((this.Child != null)) {
102
this.Child.ShowAll();
104
this.DefaultWidth = 400;
105
this.DefaultHeight = 137;