diff options
author | Jeffrey Stedfast <fejj@gnome.org> | 2015-02-24 00:23:18 +0300 |
---|---|---|
committer | Jeffrey Stedfast <fejj@gnome.org> | 2015-02-24 00:23:18 +0300 |
commit | c4365353a775b147b85d1de0cf7151db9ba85f67 (patch) | |
tree | a469f551e98e0c7d9082b27bf449ec920e936aa1 /main/src/addins/MonoDevelop.Debugger/gtk-gui | |
parent | 4b13c74ce52b93e4c943f86f3f00ce74a0c34714 (diff) | |
parent | 1599394a4230b352071a02fe0479bafe3c32c1ae (diff) |
Merge pull request #717 from xplicit/debug_app
[Debugger] Add arguments passing to application
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/gtk-gui')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebugApplicationDialog.cs | 182 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/gtk-gui/gui.stetic | 226 |
2 files changed, 408 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebugApplicationDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebugApplicationDialog.cs new file mode 100644 index 0000000000..9d0772de25 --- /dev/null +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.DebugApplicationDialog.cs @@ -0,0 +1,182 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace MonoDevelop.Debugger +{ + internal partial class DebugApplicationDialog + { + private global::Gtk.VBox vbox5; + + private global::Gtk.Table table1; + + private global::Gtk.Entry argsEntry; + + private global::MonoDevelop.Components.FileEntry fileEntry; + + private global::MonoDevelop.Components.FolderEntry folderEntry; + + private global::Gtk.Label label7; + + private global::Gtk.Label label8; + + private global::Gtk.Label label9; + + private global::Gtk.Label label6; + + private global::MonoDevelop.Ide.Gui.Components.EnvVarList envVarList; + + private global::Gtk.Button buttonCancel; + + private global::Gtk.Button buttonOk; + + protected virtual void Build () + { + global::Stetic.Gui.Initialize (this); + // Widget MonoDevelop.Debugger.DebugApplicationDialog + this.Name = "MonoDevelop.Debugger.DebugApplicationDialog"; + this.Title = global::Mono.Unix.Catalog.GetString ("Debug Application"); + this.WindowPosition = ((global::Gtk.WindowPosition)(4)); + // Internal child MonoDevelop.Debugger.DebugApplicationDialog.VBox + global::Gtk.VBox w1 = this.VBox; + w1.Name = "dialog1_VBox"; + w1.BorderWidth = ((uint)(2)); + // Container child dialog1_VBox.Gtk.Box+BoxChild + this.vbox5 = new global::Gtk.VBox (); + this.vbox5.Name = "vbox5"; + this.vbox5.Spacing = 6; + this.vbox5.BorderWidth = ((uint)(9)); + // Container child vbox5.Gtk.Box+BoxChild + this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); + this.table1.Name = "table1"; + this.table1.RowSpacing = ((uint)(6)); + this.table1.ColumnSpacing = ((uint)(6)); + // Container child table1.Gtk.Table+TableChild + this.argsEntry = new global::Gtk.Entry (); + this.argsEntry.CanFocus = true; + this.argsEntry.Name = "argsEntry"; + this.argsEntry.IsEditable = true; + this.argsEntry.InvisibleChar = '•'; + this.table1.Add (this.argsEntry); + global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.argsEntry])); + w2.TopAttach = ((uint)(1)); + w2.BottomAttach = ((uint)(2)); + w2.LeftAttach = ((uint)(1)); + w2.RightAttach = ((uint)(2)); + w2.XOptions = ((global::Gtk.AttachOptions)(4)); + w2.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.fileEntry = new global::MonoDevelop.Components.FileEntry (); + this.fileEntry.Name = "fileEntry"; + this.fileEntry.DisplayAsRelativePath = false; + this.table1.Add (this.fileEntry); + global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.fileEntry])); + w3.LeftAttach = ((uint)(1)); + w3.RightAttach = ((uint)(2)); + w3.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.folderEntry = new global::MonoDevelop.Components.FolderEntry (); + this.folderEntry.Name = "folderEntry"; + this.folderEntry.DisplayAsRelativePath = false; + this.table1.Add (this.folderEntry); + global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.folderEntry])); + w4.TopAttach = ((uint)(2)); + w4.BottomAttach = ((uint)(3)); + w4.LeftAttach = ((uint)(1)); + w4.RightAttach = ((uint)(2)); + w4.XOptions = ((global::Gtk.AttachOptions)(4)); + w4.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label7 = new global::Gtk.Label (); + this.label7.Name = "label7"; + this.label7.Xalign = 0F; + this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Command"); + this.table1.Add (this.label7); + global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); + w5.XOptions = ((global::Gtk.AttachOptions)(4)); + w5.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label8 = new global::Gtk.Label (); + this.label8.Name = "label8"; + this.label8.Xalign = 0F; + this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Arguments"); + this.table1.Add (this.label8); + global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); + w6.TopAttach = ((uint)(1)); + w6.BottomAttach = ((uint)(2)); + w6.XOptions = ((global::Gtk.AttachOptions)(4)); + w6.YOptions = ((global::Gtk.AttachOptions)(4)); + // Container child table1.Gtk.Table+TableChild + this.label9 = new global::Gtk.Label (); + this.label9.Name = "label9"; + this.label9.Xalign = 0F; + this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Working Directory"); + this.table1.Add (this.label9); + global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); + w7.TopAttach = ((uint)(2)); + w7.BottomAttach = ((uint)(3)); + w7.XOptions = ((global::Gtk.AttachOptions)(4)); + w7.YOptions = ((global::Gtk.AttachOptions)(4)); + this.vbox5.Add (this.table1); + global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table1])); + w8.Position = 0; + w8.Expand = false; + w8.Fill = false; + // Container child vbox5.Gtk.Box+BoxChild + this.label6 = new global::Gtk.Label (); + this.label6.Name = "label6"; + this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Environment Variables"); + this.vbox5.Add (this.label6); + global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label6])); + w9.Position = 1; + w9.Expand = false; + w9.Fill = false; + // Container child vbox5.Gtk.Box+BoxChild + this.envVarList = new global::MonoDevelop.Ide.Gui.Components.EnvVarList (); + this.envVarList.CanFocus = true; + this.envVarList.Name = "envVarList"; + this.envVarList.ShadowType = ((global::Gtk.ShadowType)(1)); + this.vbox5.Add (this.envVarList); + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.envVarList])); + w10.Position = 2; + w1.Add (this.vbox5); + global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); + w11.Position = 0; + // Internal child MonoDevelop.Debugger.DebugApplicationDialog.ActionArea + global::Gtk.HButtonBox w12 = this.ActionArea; + w12.Name = "dialog1_ActionArea"; + w12.Spacing = 10; + w12.BorderWidth = ((uint)(5)); + w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); + // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild + this.buttonCancel = new global::Gtk.Button (); + this.buttonCancel.CanDefault = true; + this.buttonCancel.CanFocus = true; + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.UseStock = true; + this.buttonCancel.UseUnderline = true; + this.buttonCancel.Label = "gtk-cancel"; + this.AddActionWidget (this.buttonCancel, -6); + global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonCancel])); + w13.Expand = false; + w13.Fill = false; + // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild + this.buttonOk = new global::Gtk.Button (); + this.buttonOk.CanDefault = true; + this.buttonOk.CanFocus = true; + this.buttonOk.Name = "buttonOk"; + this.buttonOk.UseStock = true; + this.buttonOk.UseUnderline = true; + this.buttonOk.Label = "gtk-ok"; + this.AddActionWidget (this.buttonOk, -5); + global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOk])); + w14.Position = 1; + w14.Expand = false; + w14.Fill = false; + if ((this.Child != null)) { + this.Child.ShowAll (); + } + this.DefaultWidth = 656; + this.DefaultHeight = 300; + this.Show (); + } + } +} diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/gui.stetic b/main/src/addins/MonoDevelop.Debugger/gtk-gui/gui.stetic index 6ff3c53fd1..a78350eb13 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/gui.stetic +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/gui.stetic @@ -242,6 +242,7 @@ <property name="AllowPinning">False</property> <property name="RootPinAlwaysVisible">False</property> <property name="AllowExpanding">False</property> + <property name="AllowPopupMenu">False</property> <property name="PinnedWatchLine">0</property> <property name="CompactView">False</property> </widget> @@ -717,4 +718,229 @@ </widget> </child> </widget> + <widget class="Gtk.Dialog" id="MonoDevelop.Debugger.DebugApplicationDialog" design-size="656 300"> + <property name="MemberName" /> + <property name="GeneratePublic">False</property> + <property name="Title" translatable="yes">Debug Application</property> + <property name="WindowPosition">CenterOnParent</property> + <property name="Buttons">2</property> + <property name="HelpButton">False</property> + <child internal-child="VBox"> + <widget class="Gtk.VBox" id="dialog1_VBox"> + <property name="MemberName" /> + <property name="BorderWidth">2</property> + <child> + <widget class="Gtk.VBox" id="vbox5"> + <property name="MemberName" /> + <property name="Spacing">6</property> + <property name="BorderWidth">9</property> + <child> + <widget class="Gtk.Table" id="table1"> + <property name="MemberName" /> + <property name="NRows">3</property> + <property name="NColumns">2</property> + <property name="RowSpacing">6</property> + <property name="ColumnSpacing">6</property> + <child> + <widget class="Gtk.Entry" id="argsEntry"> + <property name="MemberName" /> + <property name="CanFocus">True</property> + <property name="IsEditable">True</property> + <property name="InvisibleChar">•</property> + </widget> + <packing> + <property name="TopAttach">1</property> + <property name="BottomAttach">2</property> + <property name="LeftAttach">1</property> + <property name="RightAttach">2</property> + <property name="AutoSize">True</property> + <property name="XOptions">Fill</property> + <property name="YOptions">Fill</property> + <property name="XExpand">False</property> + <property name="XFill">True</property> + <property name="XShrink">False</property> + <property name="YExpand">False</property> + <property name="YFill">True</property> + <property name="YShrink">False</property> + </packing> + </child> + <child> + <widget class="MonoDevelop.Components.FileEntry" id="fileEntry"> + <property name="MemberName" /> + <property name="DisplayAsRelativePath">False</property> + </widget> + <packing> + <property name="LeftAttach">1</property> + <property name="RightAttach">2</property> + <property name="AutoSize">False</property> + <property name="YOptions">Fill</property> + <property name="XExpand">True</property> + <property name="XFill">True</property> + <property name="XShrink">False</property> + <property name="YExpand">False</property> + <property name="YFill">True</property> + <property name="YShrink">False</property> + </packing> + </child> + <child> + <widget class="MonoDevelop.Components.FolderEntry" id="folderEntry"> + <property name="MemberName" /> + <property name="DisplayAsRelativePath">False</property> + </widget> + <packing> + <property name="TopAttach">2</property> + <property name="BottomAttach">3</property> + <property name="LeftAttach">1</property> + <property name="RightAttach">2</property> + <property name="AutoSize">True</property> + <property name="XOptions">Fill</property> + <property name="YOptions">Fill</property> + <property name="XExpand">False</property> + <property name="XFill">True</property> + <property name="XShrink">False</property> + <property name="YExpand">False</property> + <property name="YFill">True</property> + <property name="YShrink">False</property> + </packing> + </child> + <child> + <widget class="Gtk.Label" id="label7"> + <property name="MemberName" /> + <property name="Xalign">0</property> + <property name="LabelProp" translatable="yes">Command</property> + </widget> + <packing> + <property name="AutoSize">True</property> + <property name="XOptions">Fill</property> + <property name="YOptions">Fill</property> + <property name="XExpand">False</property> + <property name="XFill">True</property> + <property name="XShrink">False</property> + <property name="YExpand">False</property> + <property name="YFill">True</property> + <property name="YShrink">False</property> + </packing> + </child> + <child> + <widget class="Gtk.Label" id="label8"> + <property name="MemberName" /> + <property name="Xalign">0</property> + <property name="LabelProp" translatable="yes">Arguments</property> + </widget> + <packing> + <property name="TopAttach">1</property> + <property name="BottomAttach">2</property> + <property name="AutoSize">True</property> + <property name="XOptions">Fill</property> + <property name="YOptions">Fill</property> + <property name="XExpand">False</property> + <property name="XFill">True</property> + <property name="XShrink">False</property> + <property name="YExpand">False</property> + <property name="YFill">True</property> + <property name="YShrink">False</property> + </packing> + </child> + <child> + <widget class="Gtk.Label" id="label9"> + <property name="MemberName" /> + <property name="Xalign">0</property> + <property name="LabelProp" translatable="yes">Working Directory</property> + </widget> + <packing> + <property name="TopAttach">2</property> + <property name="BottomAttach">3</property> + <property name="AutoSize">True</property> + <property name="XOptions">Fill</property> + <property name="YOptions">Fill</property> + <property name="XExpand">False</property> + <property name="XFill">True</property> + <property name="XShrink">False</property> + <property name="YExpand">False</property> + <property name="YFill">True</property> + <property name="YShrink">False</property> + </packing> + </child> + </widget> + <packing> + <property name="Position">0</property> + <property name="AutoSize">True</property> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> + </child> + <child> + <widget class="Gtk.Label" id="label6"> + <property name="MemberName" /> + <property name="LabelProp" translatable="yes">Environment Variables</property> + </widget> + <packing> + <property name="Position">1</property> + <property name="AutoSize">True</property> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> + </child> + <child> + <widget class="MonoDevelop.Ide.Gui.Components.EnvVarList" id="envVarList"> + <property name="MemberName" /> + <property name="CanFocus">True</property> + <property name="ShadowType">In</property> + </widget> + <packing> + <property name="Position">2</property> + <property name="AutoSize">False</property> + </packing> + </child> + </widget> + <packing> + <property name="Position">0</property> + <property name="AutoSize">False</property> + </packing> + </child> + </widget> + </child> + <child internal-child="ActionArea"> + <widget class="Gtk.HButtonBox" id="dialog1_ActionArea"> + <property name="MemberName" /> + <property name="Spacing">10</property> + <property name="BorderWidth">5</property> + <property name="Size">2</property> + <property name="LayoutStyle">End</property> + <child> + <widget class="Gtk.Button" id="buttonCancel"> + <property name="MemberName" /> + <property name="CanDefault">True</property> + <property name="CanFocus">True</property> + <property name="UseStock">True</property> + <property name="Type">StockItem</property> + <property name="StockId">gtk-cancel</property> + <property name="ResponseId">-6</property> + <property name="label">gtk-cancel</property> + </widget> + <packing> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> + </child> + <child> + <widget class="Gtk.Button" id="buttonOk"> + <property name="MemberName" /> + <property name="CanDefault">True</property> + <property name="CanFocus">True</property> + <property name="UseStock">True</property> + <property name="Type">StockItem</property> + <property name="StockId">gtk-ok</property> + <property name="ResponseId">-5</property> + <property name="label">gtk-ok</property> + </widget> + <packing> + <property name="Position">1</property> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> + </child> + </widget> + </child> + </widget> </stetic-interface>
\ No newline at end of file |