GtkSharp/Source/OldStuff/doc/en/Gtk/Init.xml

50 lines
2.4 KiB
XML
Raw Normal View History

<Type Name="Init" FullName="Gtk.Init">
<TypeSignature Language="C#" Value="public class Init" Maintainer="auto" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Init extends System.Object" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
</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>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>An object that gets invoked at the beginning of an application but before the application main loop starts. It's used largely for application setup--- for example, reading RC files.</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Init ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Default constructor</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Check">
<MemberSignature Language="C#" Value="public static bool Check (ref string[] argv);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Check(string[] argv) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="argv" Type="System.String[]&amp;" RefType="ref" />
</Parameters>
<Docs>
<param name="argv">The command line arguments passed in. Changed if any arguments were handled.</param>
<summary>Initializes Gtk# for operation, probes window system.</summary>
<returns>True if the toolkit initialized correctly, false otherwise. </returns>
<remarks>Aside from the arguments, this function behaves in the same way as <see cref="T:Gtk.Application.InitCheck" />. By returning whether or not the toolkit initialized correctly, it allows the application to fall back to a non-GUI interface, should the developer be so inclined to write one.
</remarks>
</Docs>
</Member>
</Members>
</Type>