svn path=/trunk/gtk-sharp/; revision=50316
This commit is contained in:
Miguel de Icaza 2005-09-20 18:16:16 +00:00
parent 9c7de775ce
commit b0c973ebe0

View file

@ -8,7 +8,36 @@
</AssemblyInfo> </AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement> <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs> <Docs>
<summary>Toplevel <paramref name="widget" /> which can contain other widgets.</summary> <summary>Toplevel <paramref name="widget" /> which can contain other widgets.
<example>
<code lang="C#">
using System;
using Gtk;
class WindowTester {
static void Main ()
{
Application.Init ();
Window myWindow = new Window ("This is a window");
myWindow.DeleteEvent += OnDelete;
myWindow.SetDefaultSize (200, 200);
//Put a button in the Window
Button button = new Button ("Click");
myWindow.Add (button);
myWindow.ShowAll ();
Application.Run ();
}
static void OnDelete (object o, DeleteEventArgs e)
{
Application.Quit ();
}
}
</code>
</example></summary>
<remarks>Toplevel <paramref name="widget" /> which can contain other widgets.</remarks> <remarks>Toplevel <paramref name="widget" /> which can contain other widgets.</remarks>
</Docs> </Docs>
<Base> <Base>
@ -1883,4 +1912,4 @@ Sometimes when you think you want to use allow_shrink, the real problem is that
</Attributes> </Attributes>
</Member> </Member>
</Members> </Members>
</Type> </Type>