* en/Gtk/FSButton.xml: Removed the constructor, per the custom

file update and added documentation.

* gtk/FileSelection.custom (FSButton): Mark the constructor as
'internal', instead of 'public'.

svn path=/trunk/gtk-sharp/; revision=16513
This commit is contained in:
Duncan Mak 2003-07-22 04:38:13 +00:00
parent 9d0a50175b
commit 05172d9599
4 changed files with 35 additions and 24 deletions

View file

@ -1,3 +1,8 @@
2003-07-22 Duncan Mak <duncan@ximian.com>
* gtk/FileSelection.custom (FSButton): Mark the constructor as
'internal', instead of 'public'.
2003-07-15 Duncan Mak <duncan@ximian.com> 2003-07-15 Duncan Mak <duncan@ximian.com>
* sources/makefile (get-source-code): make it go a bit faster by * sources/makefile (get-source-code): make it go a bit faster by

View file

@ -1,3 +1,8 @@
2003-07-22 Duncan Mak <duncan@ximian.com>
* en/Gtk/FSButton.xml: Removed the constructor, per the custom
file update and added documentation.
2003-07-20 John Luke <jluke@cfl.rr.com> 2003-07-20 John Luke <jluke@cfl.rr.com>
* en/Gtk/FileSelection.xml: update and add example * en/Gtk/FileSelection.xml: update and add example

View file

@ -1,5 +1,5 @@
<Type Name="FSButton" FullName="Gtk.FileSelection+FSButton"> <Type Name="FSButton" FullName="Gtk.FileSelection+FSButton">
<TypeSignature Language="C#" Value="public class FSButton : Gtk.Button, Implementor, IWrapper, IWrapper, IDisposable" Maintainer="auto" /> <TypeSignature Language="C#" Value="public class FSButton : Gtk.Button, Implementor, IWrapper, IWrapper, IDisposable" Maintainer="duncan" />
<AssemblyInfo> <AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName> <AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey /> <AssemblyPublicKey />
@ -9,8 +9,17 @@
</AssemblyInfo> </AssemblyInfo>
<ThreadSafetyStatement>To be added</ThreadSafetyStatement> <ThreadSafetyStatement>To be added</ThreadSafetyStatement>
<Docs> <Docs>
<summary>To be added</summary> <summary>
<remarks>To be added</remarks> Helper class for <see cref="T:Gtk.Button" />s embedded inside a <see cref="T:Gtk.FileSelection" />
</summary>
<remarks>
<para>
This class is used as a wrapper around buttons embedded inside
a <see cref="T:Gtk.FileSelection" />. This class exposes an
additional property, <see cref="T:Gtk.FileSelection+FSButton.FileSelection" />, which
can be used to get back to the parent <see cref="T:Gtk.FileSelection" /> dialog.
</para>
</remarks>
</Docs> </Docs>
<Base> <Base>
<BaseTypeName>Gtk.Button</BaseTypeName> <BaseTypeName>Gtk.Button</BaseTypeName>
@ -31,22 +40,6 @@
</Interfaces> </Interfaces>
<Attributes /> <Attributes />
<Members> <Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public FSButton (Gtk.FileSelection fs, IntPtr raw);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="fs" Type="Gtk.FileSelection" />
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="fs">To be added: an object of type 'Gtk.FileSelection'</param>
<param name="raw">To be added: an object of type 'IntPtr'</param>
<returns>To be added: an object of type 'Gtk.FileSelection+FSButton'</returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="FileSelection"> <Member MemberName="FileSelection">
<MemberSignature Language="C#" Value="public Gtk.FileSelection FileSelection { get; };" /> <MemberSignature Language="C#" Value="public Gtk.FileSelection FileSelection { get; };" />
<MemberType>Property</MemberType> <MemberType>Property</MemberType>
@ -54,9 +47,17 @@
<ReturnType>Gtk.FileSelection</ReturnType> <ReturnType>Gtk.FileSelection</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added</summary> <summary>Returns the parent <see cref="T:Gtk.FileSelection" /></summary>
<returns>To be added: an object of type 'Gtk.FileSelection'</returns> <returns>The parent <see cref="T:Gtk.FileSelection" /></returns>
<remarks>To be added</remarks> <remarks>
<para>
This class is only used to by
<see cref="T:Gtk.Button"/>s embedded inside a
<see cref="T:Gtk.FileSelection" />. From the
<see cref="P:Gtk.FileSelection.OKButton" />, you can use
this property to get back to the parent dialog box.
</para>
</remarks>
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View file

@ -16,7 +16,7 @@ public class FSButton : Gtk.Button {
get { return file_sel; } get { return file_sel; }
} }
public FSButton (FileSelection fs, IntPtr raw) : base (raw) { internal FSButton (FileSelection fs, IntPtr raw) : base (raw) {
file_sel = fs; file_sel = fs;
} }
} }