mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-26 05:11:00 +00:00
Finish documentation for Glade.XML.
svn path=/trunk/gtk-sharp/; revision=16823
This commit is contained in:
parent
1244613484
commit
a5594020a2
|
@ -218,8 +218,16 @@
|
||||||
</ReturnValue>
|
</ReturnValue>
|
||||||
<Parameters />
|
<Parameters />
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Automatically connect signals</summary>
|
||||||
<remarks>To be added</remarks>
|
<remarks>
|
||||||
|
<para>
|
||||||
|
This method uses gmodule's introspective features to look
|
||||||
|
at the application's symbol table. From here it tries to
|
||||||
|
match the signal handler names given in the interface
|
||||||
|
description with symbols in the application and connects
|
||||||
|
the signals.
|
||||||
|
</para>
|
||||||
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="Construct">
|
<Member MemberName="Construct">
|
||||||
|
@ -234,12 +242,16 @@
|
||||||
<Parameter Name="domain" Type="System.String" />
|
<Parameter Name="domain" Type="System.String" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="fname">To be added: an object of type 'string'</param>
|
This routine can be used by bindings (such as gtk--) to help
|
||||||
<param name="root">To be added: an object of type 'string'</param>
|
construct a <see cref="T:Glade.XML" /> object, if it is
|
||||||
<param name="domain">To be added: an object of type 'string'</param>
|
needed.
|
||||||
<returns>To be added: an object of type 'bool'</returns>
|
</summary>
|
||||||
<remarks>To be added</remarks>
|
<param name="fname">the XML filename</param>
|
||||||
|
<param name="root">the root widget node, or <see langword="null" /> </param>
|
||||||
|
<param name="domain">the translation domain, or <see langword="null" /></param>
|
||||||
|
<returns><see langword="true" /> if construction succeeded</returns>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="EnsureAccel">
|
<Member MemberName="EnsureAccel">
|
||||||
|
@ -250,9 +262,14 @@
|
||||||
</ReturnValue>
|
</ReturnValue>
|
||||||
<Parameters />
|
<Parameters />
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<returns>To be added: an object of type 'Gtk.AccelGroup'</returns>
|
This function is used to get the current
|
||||||
<remarks>To be added</remarks>
|
<see cref="T:Gtk.AccelGroup" />. If there isn't one, a new one
|
||||||
|
is created and bound to the current toplevel window (if a
|
||||||
|
toplevel has been set).
|
||||||
|
</summary>
|
||||||
|
<returns>the current <see cref="T:Gtk.AccelGroup" /></returns>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="SetPackingProperty">
|
<Member MemberName="SetPackingProperty">
|
||||||
|
@ -268,12 +285,14 @@
|
||||||
<Parameter Name="value" Type="System.String" />
|
<Parameter Name="value" Type="System.String" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="parent">To be added: an object of type 'Gtk.Widget'</param>
|
This sets the packing property on container <see paramref="parent" /> of widget <see paramref="child" /> with
|
||||||
<param name="child">To be added: an object of type 'Gtk.Widget'</param>
|
<see paramref="name" /> to <see paramref="value" /></summary>
|
||||||
<param name="name">To be added: an object of type 'string'</param>
|
<param name="parent">the container widget.</param>
|
||||||
<param name="value">To be added: an object of type 'string'</param>
|
<param name="child">the contained child</param>
|
||||||
<remarks>To be added</remarks>
|
<param name="name">the name of the property</param>
|
||||||
|
<param name="value">its stringified value</param>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="BuildWidget">
|
<Member MemberName="BuildWidget">
|
||||||
|
@ -286,10 +305,30 @@
|
||||||
<Parameter Name="info" Type="Glade.WidgetInfo" />
|
<Parameter Name="info" Type="Glade.WidgetInfo" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="info">To be added: an object of type 'Glade.WidgetInfo'</param>
|
This function is not intended for people who just use
|
||||||
<returns>To be added: an object of type 'Gtk.Widget'</returns>
|
libglade.
|
||||||
<remarks>To be added</remarks>
|
</summary>
|
||||||
|
<param name="info">the <see cref="T:Glade.WidgetInfo" /> structure for the widget.</param>
|
||||||
|
<returns>the newly created widget.</returns>
|
||||||
|
<remarks>
|
||||||
|
<para>
|
||||||
|
This function is not intended for people who just use
|
||||||
|
libglade. Instead it is for people extending it (it is
|
||||||
|
designed to be called in the child build routine defined
|
||||||
|
for the parent widget). It first checks the type of the
|
||||||
|
widget from the class tag, then calls the corresponding
|
||||||
|
widget creation routine. This routine sets up all the
|
||||||
|
settings specific to that type of widget. Then general
|
||||||
|
widget settings are performed on the widget. Then it sets
|
||||||
|
up accelerators for the widget, and extracts any signal
|
||||||
|
information for the widget. Then it checks to see if
|
||||||
|
there are any child widget nodes for this widget, and if
|
||||||
|
so calls the widget's build routine, which will create the
|
||||||
|
children with this function and add them to the widget in
|
||||||
|
the appropriate way. Finally it returns the widget.
|
||||||
|
</para>
|
||||||
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="RelativeFile">
|
<Member MemberName="RelativeFile">
|
||||||
|
@ -302,10 +341,19 @@
|
||||||
<Parameter Name="filename" Type="System.String" />
|
<Parameter Name="filename" Type="System.String" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="filename">To be added: an object of type 'string'</param>
|
This function resolves a relative pathname, using the
|
||||||
<returns>To be added: an object of type 'string'</returns>
|
directory of the XML file as a base.
|
||||||
<remarks>To be added</remarks>
|
</summary>
|
||||||
|
<param name="filename">a filename</param>
|
||||||
|
<returns>The absolute filename</returns>
|
||||||
|
<remarks>
|
||||||
|
<para>
|
||||||
|
This function resolves a relative pathname, using the
|
||||||
|
directory of the XML file as a base. If the pathname is
|
||||||
|
absolute, then the original filename is returned.
|
||||||
|
</para>
|
||||||
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="SignalAutoconnectFull">
|
<Member MemberName="SignalAutoconnectFull">
|
||||||
|
@ -318,9 +366,16 @@
|
||||||
<Parameter Name="func" Type="Glade.XMLConnectFunc" />
|
<Parameter Name="func" Type="Glade.XMLConnectFunc" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="func">To be added: an object of type 'Glade.XMLConnectFunc'</param>
|
This function is similar to <see cref="M:Glade.XML.SignalConnectFull(System.String,Glade.XMLConnectFunc)" />
|
||||||
<remarks>To be added</remarks>
|
except that it will try to connect all signals in the
|
||||||
|
interface, not just a single named handler. It can be
|
||||||
|
thought of the interpeted language binding version of
|
||||||
|
<see cref="M:Glade.XML.SignalAutoconnect" />, except that it does not
|
||||||
|
require gmodule to function correctly.
|
||||||
|
</summary>
|
||||||
|
<param name="func">the function used to connect the signals.</param>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="HandleWidgetProp">
|
<Member MemberName="HandleWidgetProp">
|
||||||
|
@ -335,11 +390,24 @@
|
||||||
<Parameter Name="value_name" Type="System.String" />
|
<Parameter Name="value_name" Type="System.String" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Used to set properties on <see cref="T:Gtk.Widget" />s</summary>
|
||||||
<param name="widget">To be added: an object of type 'Gtk.Widget'</param>
|
<param name="widget">the property the widget to set the property on.</param>
|
||||||
<param name="prop_name">To be added: an object of type 'string'</param>
|
<param name="prop_name">the name of the property.</param>
|
||||||
<param name="value_name">To be added: an object of type 'string'</param>
|
<param name="value_name">the name of the widget used as the value for the property.</param>
|
||||||
<remarks>To be added</remarks>
|
<remarks>
|
||||||
|
<para>
|
||||||
|
Some widgets have properties of type <see cref="T:Gtk.Widget" />. These are
|
||||||
|
represented as the widget name in the glade file. When
|
||||||
|
constructing the interface, the widget specified as the
|
||||||
|
value for a property may not exist yet.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Rather than setting the property directly, this function
|
||||||
|
should be used. It will perform the name to <see cref="T:Gtk.Widget" /> conversion,
|
||||||
|
and if the widget is yet to be constructed, defer setting the
|
||||||
|
property until the widget is constructed.
|
||||||
|
</para>
|
||||||
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="GetWidgetPrefix">
|
<Member MemberName="GetWidgetPrefix">
|
||||||
|
@ -359,8 +427,7 @@
|
||||||
<param name="name">the beginning of a widget name</param>
|
<param name="name">the beginning of a widget name</param>
|
||||||
<returns>
|
<returns>
|
||||||
a <see cref="T:GLib.List" /> of widgets whose name starts
|
a <see cref="T:GLib.List" /> of widgets whose name starts
|
||||||
with <see paramref="name" />
|
with <see paramref="name" /></returns>
|
||||||
</returns>
|
|
||||||
<remarks></remarks>
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -397,7 +464,7 @@
|
||||||
<Parameter Name="value" Type="GLib.Value" />
|
<Parameter Name="value" Type="GLib.Value" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>GParamSpec needs to be wrapped</summary>
|
||||||
<param name="pspec">To be added: an object of type 'IntPtr'</param>
|
<param name="pspec">To be added: an object of type 'IntPtr'</param>
|
||||||
<param name="str1ng">To be added: an object of type 'string'</param>
|
<param name="str1ng">To be added: an object of type 'string'</param>
|
||||||
<param name="value">To be added: an object of type 'GLib.Value'</param>
|
<param name="value">To be added: an object of type 'GLib.Value'</param>
|
||||||
|
@ -416,10 +483,17 @@
|
||||||
<Parameter Name="func" Type="Glade.XMLConnectFunc" />
|
<Parameter Name="func" Type="Glade.XMLConnectFunc" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="handler_name">To be added: an object of type 'string'</param>
|
This function is similar to <see cref="M:Glade.XML.SignalAutoConnect" />, except
|
||||||
<param name="func">To be added: an object of type 'Glade.XMLConnectFunc'</param>
|
that it allows you to give an arbitrary function that will
|
||||||
<remarks>To be added</remarks>
|
be used for actually connecting the signals. This is mainly
|
||||||
|
useful for writers of interpreted language bindings, or
|
||||||
|
applications where you need more control over the signal
|
||||||
|
connection process.
|
||||||
|
</summary>
|
||||||
|
<param name="handler_name">the name of the signal handler that we want to connect.</param>
|
||||||
|
<param name="func">the function to use to connect the signals.</param>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="Finalize">
|
<Member MemberName="Finalize">
|
||||||
|
@ -529,18 +603,6 @@
|
||||||
<remarks />
|
<remarks />
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="Item">
|
|
||||||
<MemberSignature Language="C#" Value="public Gtk.Widget Item { get; };" />
|
|
||||||
<MemberType>Property</MemberType>
|
|
||||||
<ReturnValue>
|
|
||||||
<ReturnType>Gtk.Widget</ReturnType>
|
|
||||||
</ReturnValue>
|
|
||||||
<Docs>
|
|
||||||
<summary>To be added</summary>
|
|
||||||
<returns>To be added: an object of type 'Gtk.Widget'</returns>
|
|
||||||
<remarks>To be added</remarks>
|
|
||||||
</Docs>
|
|
||||||
</Member>
|
|
||||||
<Member MemberName="Filename">
|
<Member MemberName="Filename">
|
||||||
<MemberSignature Language="C#" Value="public string Filename { get; };" />
|
<MemberSignature Language="C#" Value="public string Filename { get; };" />
|
||||||
<MemberType>Property</MemberType>
|
<MemberType>Property</MemberType>
|
||||||
|
@ -561,10 +623,20 @@
|
||||||
</ReturnValue>
|
</ReturnValue>
|
||||||
<Parameters></Parameters>
|
<Parameters></Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
|
This is used while the tree is being built to set the toplevel window that
|
||||||
|
is currently being built.
|
||||||
|
</summary>
|
||||||
<param name="value">To be added: an object of type 'Gtk.Window'</param>
|
<param name="value">To be added: an object of type 'Gtk.Window'</param>
|
||||||
<returns>To be added: an object of type 'Gtk.Window'</returns>
|
<returns>To be added: an object of type 'Gtk.Window'</returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>
|
||||||
|
<para>
|
||||||
|
This is used while the tree is being built to set the
|
||||||
|
toplevel window that is currently being built. It is
|
||||||
|
mainly used to enable <see cref="T:Gtk.AccelGroup" />'s to be bound to the
|
||||||
|
correct window, but could have other uses.
|
||||||
|
</para>
|
||||||
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName=".ctor">
|
<Member MemberName=".ctor">
|
||||||
|
@ -593,12 +665,22 @@
|
||||||
<Parameter Name="domain" Type="System.String" />
|
<Parameter Name="domain" Type="System.String" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
|
Creates an <see cref="T:Glade.XML" /> object from a
|
||||||
|
<see cref="T:System.IO.Stream" /></summary>
|
||||||
<param name="s">a <see cref="T:System.IO.Stream" /></param>
|
<param name="s">a <see cref="T:System.IO.Stream" /></param>
|
||||||
<param name="root">a <see cref="T:System.String" /></param>
|
<param name="root">
|
||||||
<param name="domain">a <see cref="T:System.String" /></param>
|
the widget node to start building from, or <see langword="null" />.
|
||||||
<returns>a <see cref="T:Glade.XML" /></returns>
|
</param>
|
||||||
<remarks>To be added</remarks>
|
<param name="domain">
|
||||||
|
the translation domain for the XML file
|
||||||
|
(<see langword="null" /> is the default)
|
||||||
|
</param>
|
||||||
|
<returns>
|
||||||
|
the newly created <see cref="T:Glade.XML" /> object, or
|
||||||
|
<see langword="null" /> if the operation failed.
|
||||||
|
</returns>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName=".ctor">
|
<Member MemberName=".ctor">
|
||||||
|
@ -612,13 +694,27 @@
|
||||||
<Parameter Name="domain" Type="System.String" />
|
<Parameter Name="domain" Type="System.String" />
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>
|
||||||
<param name="assembly">a <see cref="T:System.Reflection.Assembly" /></param>
|
Creates an <see cref="T:Glade.XML" /> object from an
|
||||||
<param name="resource_name">a <see cref="T:System.String" /></param>
|
<see cref="T:System.Reflection.Assembly" />
|
||||||
<param name="root">a <see cref="T:System.String" /></param>
|
</summary>
|
||||||
<param name="domain">a <see cref="T:System.String" /></param>
|
<param name="assembly">
|
||||||
<returns>a <see cref="T:Glade.XML" /></returns>
|
an <see cref="T:System.Reflection.Assembly" />, or
|
||||||
<remarks>To be added</remarks>
|
<see langword="null" /> to use the current assembly
|
||||||
|
</param>
|
||||||
|
<param name="resource_name">the name of the resource in <see paramref="assembly" /></param>
|
||||||
|
<param name="root">
|
||||||
|
the widget node to start building from, or <see langword="null" />.
|
||||||
|
</param>
|
||||||
|
<param name="domain">
|
||||||
|
the translation domain for the XML file
|
||||||
|
(<see langword="null" /> is the default)
|
||||||
|
</param>
|
||||||
|
<returns>
|
||||||
|
the newly created <see cref="T:Glade.XML" /> object, or
|
||||||
|
<see langword="null" /> if the operation failed.
|
||||||
|
</returns>
|
||||||
|
<remarks></remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
</Members>
|
</Members>
|
||||||
|
|
Loading…
Reference in a new issue