2004-09-27 Mike Kestner <mkestner@ximian.com>
* gtk/Button.custom : add a ctor (Widget). reworked from patch by John Luke. [Fixes #66228] svn path=/trunk/gtk-sharp/; revision=34441
This commit is contained in:
parent
d75f4ef6ca
commit
1d4f5536af
3 changed files with 27 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-09-27 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/Button.custom : add a ctor (Widget). reworked from patch by
|
||||
John Luke.
|
||||
[Fixes #66228]
|
||||
|
||||
2004-09-26 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* glib/Idle.cs : proxy hash keys are uints, not ints.
|
||||
|
|
|
@ -344,7 +344,7 @@ public class ButtonApp {
|
|||
<Docs>
|
||||
<summary>Whether or not the cursor is inside the button.</summary>
|
||||
<returns>a <see cref="T:System.Boolean" />, true if the cursor is inside the button.</returns>
|
||||
<remarks/>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NewWithMnemonic">
|
||||
|
@ -491,5 +491,20 @@ public class ButtonApp {
|
|||
<remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public Button (Gtk.Widget widget);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="widget" Type="Gtk.Widget" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Constructs a button containing a specified Child widget.</summary>
|
||||
<param name="widget">a child <see cref="T:Gtk.Widget" /></param>
|
||||
<returns>a <see cref="T:Gtk.Button" /></returns>
|
||||
<remarks>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -52,3 +52,8 @@ public bool InButton {
|
|||
gtksharp_button_set_in_button (Handle, value ? 1 : 0);
|
||||
}
|
||||
}
|
||||
|
||||
public Button (Widget widget) : this ()
|
||||
{
|
||||
Add (widget);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue