diff options
author | Massimiliano Mantione <massi@mono-cvs.ximian.com> | 2008-08-11 13:39:46 +0400 |
---|---|---|
committer | Massimiliano Mantione <massi@mono-cvs.ximian.com> | 2008-08-11 13:39:46 +0400 |
commit | 66683eee2ec109a7389f2c1c184d48906080a9e7 (patch) | |
tree | 96ec4a889c97a9f94e80cea743da43f50ccc3bd2 /Mono.Profiler/heap-snapshot-viewer/gtk-gui | |
parent | 9c7daef20643c099f9ba9709e9613313e2f44d35 (diff) |
Moving the Mono.Profiler module inside mono-tools.
svn path=/trunk/mono-tools/; revision=110097
Diffstat (limited to 'Mono.Profiler/heap-snapshot-viewer/gtk-gui')
4 files changed, 98 insertions, 0 deletions
diff --git a/Mono.Profiler/heap-snapshot-viewer/gtk-gui/Mono.Profiler.MainWindow.cs b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/Mono.Profiler.MainWindow.cs new file mode 100644 index 00000000..d2eb0c9c --- /dev/null +++ b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/Mono.Profiler.MainWindow.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// <autogenerated> +// This code was generated by a tool. +// Mono Runtime Version: 2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </autogenerated> +// ------------------------------------------------------------------------------ + +namespace Mono.Profiler { + + + public partial class MainWindow { + + private Mono.Profiler.HeapSnapshotExplorer heapExplorer; + + protected virtual void Build() { + Stetic.Gui.Initialize(this); + // Widget Mono.Profiler.MainWindow + this.Name = "Mono.Profiler.MainWindow"; + this.Title = Mono.Unix.Catalog.GetString("MainWindow"); + this.WindowPosition = ((Gtk.WindowPosition)(4)); + // Container child Mono.Profiler.MainWindow.Gtk.Container+ContainerChild + this.heapExplorer = new Mono.Profiler.HeapSnapshotExplorer(); + this.heapExplorer.Events = ((Gdk.EventMask)(256)); + this.heapExplorer.Name = "heapExplorer"; + this.Add(this.heapExplorer); + if ((this.Child != null)) { + this.Child.ShowAll(); + } + this.DefaultWidth = 468; + this.DefaultHeight = 300; + this.Show(); + this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); + } + } +} diff --git a/Mono.Profiler/heap-snapshot-viewer/gtk-gui/generated.cs b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/generated.cs new file mode 100644 index 00000000..c6702308 --- /dev/null +++ b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/generated.cs @@ -0,0 +1,35 @@ +// ------------------------------------------------------------------------------ +// <autogenerated> +// This code was generated by a tool. +// Mono Runtime Version: 2.0.50727.42 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </autogenerated> +// ------------------------------------------------------------------------------ + +namespace Stetic { + + + internal class Gui { + + private static bool initialized; + + internal static void Initialize(Gtk.Widget iconRenderer) { + if ((Stetic.Gui.initialized == false)) { + Stetic.Gui.initialized = true; + } + } + } + + internal class ActionGroups { + + public static Gtk.ActionGroup GetActionGroup(System.Type type) { + return Stetic.ActionGroups.GetActionGroup(type.FullName); + } + + public static Gtk.ActionGroup GetActionGroup(string name) { + return null; + } + } +} diff --git a/Mono.Profiler/heap-snapshot-viewer/gtk-gui/gui.stetic b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/gui.stetic new file mode 100644 index 00000000..6404b11a --- /dev/null +++ b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/gui.stetic @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<stetic-interface> + <configuration> + <images-root-path>..</images-root-path> + <target-gtk-version>2.10.2</target-gtk-version> + </configuration> + <import> + <widget-library name="../../heap-snapshot-explorer/bin/Debug/heap-snapshot-explorer.dll" /> + <widget-library name="../bin/Debug/heap-snapshot-viewer.exe" internal="true" /> + </import> + <widget class="Gtk.Window" id="Mono.Profiler.MainWindow" design-size="468 300"> + <property name="MemberName" /> + <property name="Title" translatable="yes">MainWindow</property> + <property name="WindowPosition">CenterOnParent</property> + <signal name="DeleteEvent" handler="OnDeleteEvent" /> + <child> + <widget class="Mono.Profiler.HeapSnapshotExplorer" id="heapExplorer"> + <property name="MemberName" /> + <property name="Events">ButtonPressMask</property> + </widget> + </child> + </widget> +</stetic-interface>
\ No newline at end of file diff --git a/Mono.Profiler/heap-snapshot-viewer/gtk-gui/objects.xml b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/objects.xml new file mode 100644 index 00000000..0c550b40 --- /dev/null +++ b/Mono.Profiler/heap-snapshot-viewer/gtk-gui/objects.xml @@ -0,0 +1,2 @@ +<objects> +</objects>
\ No newline at end of file |