mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-02 11:21:01 +00:00
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : correct return value for AddButton overload. [Fixes #70121] svn path=/trunk/gtk-sharp/; revision=37043
This commit is contained in:
parent
cad68e5b66
commit
5f9a153c7f
|
@ -1,3 +1,8 @@
|
||||||
|
2004-12-03 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* gtk/Dialog.custom : correct return value for AddButton overload.
|
||||||
|
[Fixes #70121]
|
||||||
|
|
||||||
2004-12-03 Mike Kestner <mkestner@novell.com>
|
2004-12-03 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor.
|
* gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor.
|
||||||
|
|
|
@ -455,10 +455,10 @@ namespace GtkDialogSample
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="AddButton">
|
<Member MemberName="AddButton">
|
||||||
<MemberSignature Language="C#" Value="public void AddButton (string button_text, Gtk.ResponseType response);" />
|
<MemberSignature Language="C#" Value="public Gtk.Widget AddButton (string button_text, Gtk.ResponseType response);" />
|
||||||
<MemberType>Method</MemberType>
|
<MemberType>Method</MemberType>
|
||||||
<ReturnValue>
|
<ReturnValue>
|
||||||
<ReturnType>System.Void</ReturnType>
|
<ReturnType>Gtk.Widget</ReturnType>
|
||||||
</ReturnValue>
|
</ReturnValue>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter Name="button_text" Type="System.String" />
|
<Parameter Name="button_text" Type="System.String" />
|
||||||
|
@ -467,7 +467,8 @@ namespace GtkDialogSample
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>Adds a new response button to the dialog.</summary>
|
<summary>Adds a new response button to the dialog.</summary>
|
||||||
<param name="button_text">a <see cref="T:System.String" />, text for the button</param>
|
<param name="button_text">a <see cref="T:System.String" />, text for the button</param>
|
||||||
<param name="response">a <see cref="T:System.Int32" />, the numeric response code associated with the button.</param>
|
<param name="response">a <see cref="T:Gtk.ResponseType" />, the numeric response code emitted when the button is pressed.</param>
|
||||||
|
<returns>a <see cref="T:Gtk.Widget" />representing the button added.</returns>
|
||||||
<remarks />
|
<remarks />
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
|
|
@ -65,9 +65,9 @@ public void AddActionWidget (Widget child, ResponseType response)
|
||||||
this.AddActionWidget (child, (int) response);
|
this.AddActionWidget (child, (int) response);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddButton (string button_text, ResponseType response)
|
public Gtk.Widget AddButton (string button_text, ResponseType response)
|
||||||
{
|
{
|
||||||
this.AddButton (button_text, (int) response);
|
return this.AddButton (button_text, (int) response);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Respond (ResponseType response)
|
public void Respond (ResponseType response)
|
||||||
|
|
Loading…
Reference in a new issue