GtkSharp/doc/en/Gtk/Init.xml

118 lines
5.5 KiB
XML
Raw Normal View History

<Type Name="Init" FullName="Gtk.Init">
<TypeSignature Language="C#" Value="public class Init" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</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>
<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>To be added</remarks>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static void Add (Gtk.Function function);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="function" Type="Gtk.Function" />
</Parameters>
<Docs>
<summary>Registers a function to be called when the mainloop is started. </summary>
<param name="function">a <see cref="T:Gtk.Function" /></param>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Init ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Default constructor</summary>
<returns>a <see cref="T:Gtk.Init" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Check">
<MemberSignature Language="C#" Value="public static bool Check (out int argc, string argv);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="argc" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="argv" Type="System.String" />
</Parameters>
<Docs>
<summary>Initializes Gtk# for operation, probes window system. </summary>
<param name="argc">The number of if arguments. Changed if any arguments were handled.</param>
<param name="argv">a <see cref="T:System.String" /></param>
<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" />. Br 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.
<block subset="none" type="note">
<para>In Gtk# 0.98, this function's second argument is of type <see cref="T:System.String" />, when it should be an "out String[]". Until corrected, this function shall not work as expected. (FIXME 1.0: is this fixed?)</para>
</block></remarks>
</Docs>
</Member>
<Member MemberName="CheckAbiCheck">
<MemberSignature Language="C#" Value="public static bool CheckAbiCheck (out int argc, string argv, int num_checks, int sizeof_GtkWindow, int sizeof_GtkBox);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="argc" Type="System.Int32&amp;" RefType="out" />
<Parameter Name="argv" Type="System.String" />
<Parameter Name="num_checks" Type="System.Int32" />
<Parameter Name="sizeof_GtkWindow" Type="System.Int32" />
<Parameter Name="sizeof_GtkBox" Type="System.Int32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="argc">a <see cref="T:System.Int32&amp;" /></param>
<param name="argv">a <see cref="T:System.String" /></param>
<param name="num_checks">a <see cref="T:System.Int32" /></param>
<param name="sizeof_GtkWindow">a <see cref="T:System.Int32" /></param>
<param name="sizeof_GtkBox">a <see cref="T:System.Int32" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="AbiCheck">
<MemberSignature Language="C#" Value="public static int AbiCheck (string argv, int num_checks, int sizeof_GtkWindow, int sizeof_GtkBox);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="argv" Type="System.String" />
<Parameter Name="num_checks" Type="System.Int32" />
<Parameter Name="sizeof_GtkWindow" Type="System.Int32" />
<Parameter Name="sizeof_GtkBox" Type="System.Int32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="argv">a <see cref="T:System.String" /></param>
<param name="num_checks">a <see cref="T:System.Int32" /></param>
<param name="sizeof_GtkWindow">a <see cref="T:System.Int32" /></param>
<param name="sizeof_GtkBox">a <see cref="T:System.Int32" /></param>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
</Members>
</Type>