2003-02-12 02:00:12 +00:00
<Type Name= "Dialog" FullName= "Gtk.Dialog" >
2003-02-18 01:46:37 +00:00
<TypeSignature Language= "C#" Value= "public class Dialog : Gtk.Window, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "Duncan Mak" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:00:12 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:00:12 +00:00
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 01:46:37 +00:00
<summary > Creates popup windows.</summary>
<remarks >
2003-07-17 06:38:40 +00:00
<para >
<see cref= "T:Gtk.Dialog" /> boxes are a convenient way to prompt the user for a small amount of input, eg. to display a message, ask a question, or anything else that does not require extensive effort by the user.</para>
2003-06-15 16:44:25 +00:00
<para > Gtk# treats a dialog as a window split vertically. The top section is a <see cref= "T:Gtk.VBox" /> , and is where widgets such as a <see cref= "T:Gtk.Label" /> or an <see cref= "T:Gtk.Entry" /> should be packed. The bottom area is known as the <see cref= "P:Gtk.Dialog.ActionArea" /> . This is generally used for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two areas are separated by a <see cref= "T:Gtk.HSeparator" /> .</para>
<para > The two primary areas of a dialog can be accessed as the <see cref= "P:Gtk.Dialog.Vbox" /> property and the <see cref= "P:Gtk.Dialog.ActionArea" /> property. To set the dialog to be modal, use the <see cref= "P:Gtk.Window.Modal" /> property.</para>
2003-07-17 06:38:40 +00:00
<para > If you want to block waiting for a dialog to return before returning control flow to your code, you can call <see cref= "M:Gtk.Dialog.Run" /> . This function enters a recursive main loop and waits for the user to respond to the dialog, returning the <see cref= "T:Gtk.ResponseType" /> corresponding to the <see cref= "T:Gtk.Button" /> the user clicked.</para>
<para > For a simple dialog, you would probably use <see cref= "T:Gtk.MessageDialog" /> to save yourself some effort. However, you would need to create the <see cref= "T:Gtk.Dialog" /> contents manually if you had more than a simple message in the <see cref= "T:Gtk.Dialog" /> .</para>
2003-06-16 02:44:35 +00:00
<example >
<code lang= "C#" >
using System;
using Gtk;
namespace GtkDialogSample
{
public class GtkDialogSample
{
Dialog dialog;
Window win;
static void Main()
{
new GtkDialogSample ();
}
GtkDialogSample ()
{
Application.Init ();
win = new Window ("Test");
win.SetDefaultSize (250, 250);
win.DeleteEvent += new DeleteEventHandler (on_win_delete);
Button btn = new Button ("Show About");
btn.Clicked += new EventHandler (on_btn_clicked);
win.Add (btn);
win.ShowAll ();
Application.Run ();
}
void on_btn_clicked (object obj, EventArgs args)
{
dialog = new Dialog
("Sample", win, Gtk.DialogFlags.DestroyWithParent);
dialog.Modal = true;
2004-06-19 18:25:02 +00:00
dialog.AddButton ("Close", ResponseType.Close);
2003-06-16 02:44:35 +00:00
dialog.Response += new ResponseHandler (on_dialog_response);
dialog.Run ();
dialog.Destroy ();
}
void on_dialog_response (object obj, ResponseArgs args)
{
Console.WriteLine (args.ResponseId);
}
void on_win_delete (object obj, DeleteEventArgs args)
{
Application.Quit ();
}
}
}
</code>
</example>
2003-02-23 07:26:30 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Window</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Atk.Implementor</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "AddActionWidget" >
<MemberSignature Language= "C#" Value= "public void AddActionWidget (Gtk.Widget child, int response_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "response_id" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Adds an activatable widget to the <see cref= "T:Gtk.Dialog.ActionArea" /> of a <see cref= "T:Gtk.Dialog" /> .</summary>
<param name= "child" > an object of type <see cref= "T:Gtk.Widget" /> .</param>
<param name= "response_id" > an object of type <see cref= "T:System.UInt32" /> .</param>
2003-06-15 16:44:25 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
Adds an activatable <see cref= "T:Gtk.Widget" /> to the <see cref= "T:Gtk.Dialog.ActionArea" /> of a <see cref= "T:Gtk.Dialog" /> , connecting a signal handler that will <see cref= "E:Gtk.Dialog.Response" /> on the <see cref= "T:Gtk.Dialog" /> when the <see cref= "T:Gtk.Widget" /> is activated.
The <see cref= "T:Gtk.Widget" /> is appended to the end of the <see cref= "T:Gtk.Dialog.ActionArea" /> . If you want to add a non-activatable <see cref= "T:Gtk.Widget" /> , simply pack it into the <see cref= "T:Gtk.Dialog.ActionArea" /> field of the <see cref= "T:Gtk.Dialog" /> .
2003-06-15 16:44:25 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Run" >
<MemberSignature Language= "C#" Value= "public int Run ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Waits for the <see cref= "E:Gtk.Dialog.Response" /> event or the <see cref= "T:Gtk.Dialog" /> to be detroyed.</summary>
<returns > an object of type <see cref= "T:System.UInt32" /> .</returns>
2003-06-15 16:44:25 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
<para >
Waits for the <see cref= "E:Gtk.Dialog.Response" /> event or the <see cref= "T:Gtk.Dialog" /> to be destroyed.
If the <see cref= "T:Gtk.Dialog" /> is destroyed during the call to <see cref= "M:Gtk.Dialog.Run()" /> , <see cref= "T:Gtk.Dialog" /> returns <see cref= "F:Gtk.ResponseType.None" /> .
Otherwise, it returns the response ID from the <see cref= "E:Gtk.Dialog.Response" /> event.
Before entering the recursive main loop, <see cref= "M:Gtk.Dialog.Run()" /> calls <see cref= "M:Gtk.Widget.Show()" /> on the <see cref= "T:Gtk.Dialog" /> for you.
Note that you still need to show any children of the <see cref= "T:Gtk.Dialog" /> yourself.
2003-06-15 16:44:25 +00:00
</para>
2003-07-17 06:38:40 +00:00
<para >
During <see cref= "M:Gtk.Dialog.Run()" /> , the default behavior of <see cref= "E:Gtk.Window.DeleteEvent" /> is disabled;
if the <see cref= "T:Gtk.Dialog" /> receives <see cref= "E:Gtk.Window.DeleteEvent" /> , it will not be destroyed as usual, and <see cref= "M:Gtk.Dialog.Run()" /> will return <see cref= "F:Gtk.ResponseType.DeleteEvent" /> .
Also, during <see cref= "M:Gtk.Dialog.Run()" /> the <see cref= "T:Gtk.Dialog" /> will be modal.
You can force <see cref= "M:Gtk.Dialog.Run()" /> to return at any time by calling <see cref= "M:Gtk.Dialog.Respond" /> to emit the <see cref= "E:Gtk.Dialog.Response" /> event.
Destroying the <see cref= "T:Gtk.Dialog" /> during <see cref= "M:Gtk.Dialog.Run()" /> is a very bad idea, because your post-run code will not know whether the <see cref= "T:Gtk.Dialog" /> was destroyed or not.
2003-06-15 16:44:25 +00:00
</para>
2003-07-17 06:38:40 +00:00
<para >
After <see cref= "M:Gtk.Dialog.Run()" /> returns, you are responsible for hiding or destroying the <see cref= "T:Gtk.Dialog" /> if you wish to do so.
2003-06-15 16:44:25 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Respond" >
<MemberSignature Language= "C#" Value= "public void Respond (int response_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "response_id" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Emits the <see cref= "E:Gtk.Dialog.Response" /> event with the given response ID.</summary>
<param name= "response_id" > an object of type <see cref= "T:System.UInt32" /> .</param>
2003-06-15 16:44:25 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
Emits the <see cref= "E:Gtk.Dialog.Response" /> event with the given response ID.
Used to indicate that the user has responded to the <see cref= "T:Gtk.Dialog" /> in some way;
typically either you or <see cref= "M:Gtk.Dialog.Run()" /> will be monitoring the <see cref= "E:Gtk.Dialog.Response" /> event and take appropriate action.
2003-06-15 16:44:25 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "AddButton" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget AddButton (string button_text, int response_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "button_text" Type= "System.String" />
<Parameter Name= "response_id" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Adds a <see cref= "T:Gtk.Button" /> with the given text.</summary>
<param name= "button_text" > an object of type <see cref= "T:System.String" /> .</param>
<param name= "response_id" > an object of type <see cref= "T:System.UInt32" /> .</param>
<returns > an object of type <see cref= "T:Gtk.Widget" /> </returns>
2003-06-15 16:44:25 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
Adds a <see cref= "T:Gtk.Button" /> with the given text (or a stock button, if button_text is a stock ID)
and sets things up so that clicking the <see cref= "T:Gtk.Button" /> will emit a <see cref= "E:Gtk.Dialog.Response" /> with the given response_id.
The <see cref= "T:Gtk.Button" /> is appended to the end of the <see cref= "T:Gtk.Dialog.ActionArea" /> .
The <see cref= "T:Gtk.Button" /> is returned, but usually you do not need it.
2003-06-15 16:44:25 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Finalize" >
2003-10-13 22:55:58 +00:00
<MemberSignature Language= "C#" Value= "protected override void Finalize ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Disposes the resources associated with the object.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Dialog (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of Dialog, wrapping the C object.</returns>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Dialog ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-06-15 16:44:25 +00:00
<summary > Creates a new dialog box.</summary>
2003-07-17 06:38:40 +00:00
<returns > an object of type <see cref= "T:Gtk.Dialog" /> .</returns>
2003-06-15 16:44:25 +00:00
<remarks >
Creates a new dialog box.
This is an internal constructor, and should not be used by user code.
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Dialog (string title, Gtk.Window parent, Gtk.DialogFlags flags);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "title" Type= "System.String" />
<Parameter Name= "parent" Type= "Gtk.Window" />
<Parameter Name= "flags" Type= "Gtk.DialogFlags" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-06-15 16:44:25 +00:00
<summary > Creates a new dialog box.</summary>
2003-07-17 06:38:40 +00:00
<param name= "title" > an object of type <see cref= "T:System.String" /> .</param>
<param name= "parent" > an object of type <see cref= "T:Gtk.Window" /> .</param>
<param name= "flags" > an object of type <see cref= "T:Gtk.DialogFlags" /> .</param>
<returns > an object of type <see cref= "T:Gtk.Dialog" /> .</returns>
2003-06-15 16:44:25 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
Creates a new <see cref= "T:Gtk.Dialog" /> with the specified title and parent widget.
The <see cref= "T:Gtk.DialogFlags" /> argument can be used to make the dialog modal (<see cref= "F:Gtk.DialogFlags.Modal" /> )
and/or to have it destroyed along with its parent (<see cref= "F:Gtk.DialogFlags.DestroyWithParent" /> ).
2003-06-15 16:44:25 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "VBox" >
<MemberSignature Language= "C#" Value= "public Gtk.VBox VBox { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.VBox</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2003-07-17 06:38:40 +00:00
<returns > an object of type <see cref= "T:Gtk.VBox" /> .</returns>
2003-02-12 02:00:12 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "HasSeparator" >
<MemberSignature Language= "C#" Value= "public bool HasSeparator { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Whether to display a <see cref= "T:Gtk.HSeperator" /> .</summary>
<param name= "value" > an object of type <see cref= "T:System.Boolean" /> </param>
<returns > an object of type <see cref= "T:System.Boolean" /> </returns>
<remarks > Whether to display a <see cref= "T:Gtk.HSeperator" /> in the <see cref= "T:Gtk.Dialog" /> above the <see cref= "P:Gtk.Dialog.ActionArea" /> </remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Response" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.ResponseHandler Response;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.ResponseHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
<summary > To be added</summary>
2003-06-15 16:44:25 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
Emitted when an action widget is clicked, the <see cref= "T:Gtk.Dialog" />
receives a delete event, or the application programmer calls <see cref= "M:Gtk.Dialog.Respond(System.Int32)" /> .
On a delete event, the response ID is <see cref= "F:Gtk.ResponseType.None" /> .
2003-06-15 16:44:25 +00:00
Otherwise, it depends on which action widget was clicked.
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Close" >
<MemberSignature Language= "C#" Value= "public event EventHandler Close;" />
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-10-12 09:06:39 +00:00
<Member MemberName= "ActionArea" >
<MemberSignature Language= "C#" Value= "public Gtk.HButtonBox ActionArea { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.HButtonBox</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:Gtk.HButtonBox" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.Dialog" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnClose" >
<MemberSignature Language= "C#" Value= "protected virtual void OnClose ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Dialog.Close" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Dialog.Close" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Dialog (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<returns > a <see cref= "T:Gtk.Dialog" /> </returns>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2004-01-09 01:32:46 +00:00
<Member MemberName= "AddActionWidget" >
<MemberSignature Language= "C#" Value= "public void AddActionWidget (Gtk.Widget child, Gtk.ResponseType response);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "response" Type= "Gtk.ResponseType" />
</Parameters>
<Docs >
<summary > Adds an activatable widget to the <see cref= "T:Gtk.Dialog.ActionArea" /> of a <see cref= "T:Gtk.Dialog" /> .</summary>
<param name= "child" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "response" > a <see cref= "T:Gtk.ResponseType" /> </param>
<remarks >
Adds an activatable <see cref= "T:Gtk.Widget" /> to the <see cref= "T:Gtk.Dialog.ActionArea" /> of a <see cref= "T:Gtk.Dialog" /> , connecting a signal handler that will <see cref= "E:Gtk.Dialog.Response" /> on the <see cref= "T:Gtk.Dialog" /> when the <see cref= "T:Gtk.Widget" /> is activated.
The <see cref= "T:Gtk.Widget" /> is appended to the end of the <see cref= "T:Gtk.Dialog.ActionArea" /> . If you want to add a non-activatable <see cref= "T:Gtk.Widget" /> , simply pack it into the <see cref= "T:Gtk.Dialog.ActionArea" /> field of the <see cref= "T:Gtk.Dialog" /> .
</remarks>
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "AddButton" >
<MemberSignature Language= "C#" Value= "public void AddButton (string button_text, Gtk.ResponseType response);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "button_text" Type= "System.String" />
<Parameter Name= "response" Type= "Gtk.ResponseType" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "button_text" > a <see cref= "T:System.String" /> </param>
<param name= "response" > a <see cref= "T:System.Int32" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Respond" >
<MemberSignature Language= "C#" Value= "public void Respond (Gtk.ResponseType response);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "response" Type= "Gtk.ResponseType" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "response" > a <see cref= "T:System.Int32" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-05-27 19:02:19 +00:00
<Member MemberName= "DefaultResponse" >
<MemberSignature Language= "C#" Value= "public Gtk.ResponseType DefaultResponse { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ResponseType</ReturnType>
</ReturnValue>
<Docs >
2004-05-28 17:31:16 +00:00
<summary > Sets the default response_id.</summary>
2004-05-27 19:02:19 +00:00
<returns > a <see cref= "T:Gtk.ResponseType" /> </returns>
2004-05-28 17:31:16 +00:00
<remarks > Sets the default response_id.</remarks>
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
<Member MemberName= "OnResponse" >
<MemberSignature Language= "C#" Value= "protected virtual void OnResponse (Gtk.ResponseType response_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "response_id" Type= "Gtk.ResponseType" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Dialog.Response" /> event.</summary>
2004-05-27 19:02:19 +00:00
<param name= "response_id" > a <see cref= "T:System.Int32" /> </param>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Dialog.Response" /> event.</remarks>
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
<Member MemberName= "SetResponseSensitive" >
<MemberSignature Language= "C#" Value= "public void SetResponseSensitive (Gtk.ResponseType response_id, bool setting);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "response_id" Type= "Gtk.ResponseType" />
<Parameter Name= "setting" Type= "System.Boolean" />
</Parameters>
<Docs >
2004-05-28 17:31:16 +00:00
<summary > A convenient way to sensitize/desensitize dialog buttons.</summary>
2004-05-27 19:02:19 +00:00
<param name= "response_id" > a <see cref= "T:System.Int32" /> </param>
<param name= "setting" > a <see cref= "T:System.Boolean" /> </param>
2004-05-28 17:31:16 +00:00
<remarks > Sets <see cref= "P:Gtk.Widget.Sensitive" /> = <see langword= "true" /> for each widget in the <see cref= "P:Gtk.Dialog.ActionArea" /> with the given response_id. A convenient way to sensitize/desensitize dialog buttons.</remarks>
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2004-05-28 18:09:36 +00:00
</Type>