* en/Gdk/Pixbuf.xml

* en/Gdk/Pixmap.xml
	* en/Gdk/Window.xml
	* en/Gtk/Style.xml
	* en/Gtk/TargetList.xml: Update to match API fixes

svn path=/trunk/gtk-sharp/; revision=35410
This commit is contained in:
Dan Winship 2004-10-28 19:26:15 +00:00
parent fc0e7dfddf
commit 764b8ac5d8
6 changed files with 789 additions and 593 deletions

View file

@ -1,3 +1,11 @@
2004-10-28 Dan Winship <danw@novell.com>
* en/Gdk/Pixbuf.xml
* en/Gdk/Pixmap.xml
* en/Gdk/Window.xml
* en/Gtk/Style.xml
* en/Gtk/TargetList.xml: Update to match API fixes
2004-10-11 Shane Landrum <epicene@pobox.com>
* en/Gdk/AreaUpdatedArgs.xml

View file

@ -1392,7 +1392,7 @@
</Parameters>
<Docs>
<summary>Render pixbuf alpha channel as a bi-level clip mask to a <see cref="T:Gdk.Bitmap" /></summary>
<param name="bitmap">The destination object of type "Gdk.Bitmap"/></param>
<param name="bitmap">The destination object of type "Gdk.Bitmap"</param>
<param name="src_x">Source X coordinate.</param>
<param name="src_y">Source Y coordinate.</param>
<param name="dest_x">Destination X coordinate.
@ -1404,14 +1404,14 @@
</Docs>
</Member>
<Member MemberName="RenderPixmapAndMask">
<MemberSignature Language="C#" Value="public void RenderPixmapAndMask (out Gdk.Pixmap pixmap_return, out Gdk.Bitmap mask_return, int alpha_threshold);" />
<MemberSignature Language="C#" Value="public void RenderPixmapAndMask (out Gdk.Pixmap pixmap_return, out Gdk.Pixmap mask_return, int alpha_threshold);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pixmap_return" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="mask_return" Type="Gdk.Bitmap&amp;" RefType="out" />
<Parameter Name="mask_return" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="alpha_threshold" Type="System.Int32" />
</Parameters>
<Docs>
@ -1439,7 +1439,7 @@
</Docs>
</Member>
<Member MemberName="RenderPixmapAndMaskForColormap">
<MemberSignature Language="C#" Value="public void RenderPixmapAndMaskForColormap (Gdk.Colormap colormap, out Gdk.Pixmap pixmap_return, out Gdk.Bitmap mask_return, int alpha_threshold);" />
<MemberSignature Language="C#" Value="public void RenderPixmapAndMaskForColormap (Gdk.Colormap colormap, out Gdk.Pixmap pixmap_return, out Gdk.Pixmap mask_return, int alpha_threshold);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
@ -1447,7 +1447,7 @@
<Parameters>
<Parameter Name="colormap" Type="Gdk.Colormap" />
<Parameter Name="pixmap_return" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="mask_return" Type="Gdk.Bitmap&amp;" RefType="out" />
<Parameter Name="mask_return" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="alpha_threshold" Type="System.Int32" />
</Parameters>
<Docs>

View file

@ -229,29 +229,29 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
</Docs>
</Member>
<Member MemberName="CreateFromXpmD">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpmD (Gdk.Drawable drawable, out Gdk.Bitmap mask, Gdk.Color transparent_color, string data);" />
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpmD (Gdk.Drawable drawable, out Gdk.Pixmap mask, Gdk.Color transparent_color, string [] data);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
<Parameter Name="mask" Type="Gdk.Bitmap&amp;" RefType="out" />
<Parameter Name="mask" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="transparent_color" Type="Gdk.Color" />
<Parameter Name="data" Type="System.String" />
<Parameter Name="data" Type="System.String[]" />
</Parameters>
<Docs>
<summary>Create a pixmap from XPM data.</summary>
<param name="drawable">a <see cref="T:Gdk.Drawable" /></param>
<param name="mask">a <see cref="T:Gdk.Bitmap" /></param>
<param name="mask">a <see cref="T:Gdk.Pixmap" /></param>
<param name="transparent_color">a <see cref="T:Gdk.Color" /></param>
<param name="data">a <see cref="T:System.String" /></param>
<param name="data">an array of <see cref="T:System.String" />, defining an XPM image</param>
<returns>a <see cref="T:Gdk.Pixmap" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="ColormapCreateFromXpm">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap ColormapCreateFromXpm (Gdk.Drawable drawable, Gdk.Colormap colormap, out Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);" />
<MemberSignature Language="C#" Value="public static Gdk.Pixmap ColormapCreateFromXpm (Gdk.Drawable drawable, Gdk.Colormap colormap, out Gdk.Pixmap mask, Gdk.Color transparent_color, string filename);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixmap</ReturnType>
@ -259,7 +259,7 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
<Parameter Name="colormap" Type="Gdk.Colormap" />
<Parameter Name="mask" Type="Gdk.Bitmap&amp;" RefType="out" />
<Parameter Name="mask" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="transparent_color" Type="Gdk.Color" />
<Parameter Name="filename" Type="System.String" />
</Parameters>
@ -267,7 +267,7 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
<summary>Create a pixmap from an XPM file using a specific colormap.</summary>
<param name="drawable">a <see cref="T:Gdk.Drawable" /></param>
<param name="colormap">a <see cref="T:Gdk.Colormap" /></param>
<param name="mask">a <see cref="T:Gdk.Bitmap" /></param>
<param name="mask">a <see cref="T:Gdk.Pixmap" /></param>
<param name="transparent_color">a <see cref="T:Gdk.Color" /></param>
<param name="filename">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gdk.Pixmap" /></returns>
@ -275,21 +275,21 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
</Docs>
</Member>
<Member MemberName="CreateFromXpm">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpm (Gdk.Drawable drawable, out Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);" />
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpm (Gdk.Drawable drawable, out Gdk.Pixmap mask, Gdk.Color transparent_color, string filename);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
<Parameter Name="mask" Type="Gdk.Bitmap&amp;" RefType="out" />
<Parameter Name="mask" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="transparent_color" Type="Gdk.Color" />
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<summary>Create a pixmap from an XPM file.</summary>
<param name="drawable">a <see cref="T:Gdk.Drawable" /></param>
<param name="mask">a <see cref="T:Gdk.Bitmap" /></param>
<param name="mask">a <see cref="T:Gdk.Pixmap" /></param>
<param name="transparent_color">a <see cref="T:Gdk.Color" /></param>
<param name="filename">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gdk.Pixmap" /></returns>
@ -297,7 +297,7 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
</Docs>
</Member>
<Member MemberName="ColormapCreateFromXpmD">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap ColormapCreateFromXpmD (Gdk.Drawable drawable, Gdk.Colormap colormap, out Gdk.Bitmap mask, Gdk.Color transparent_color, string data);" />
<MemberSignature Language="C#" Value="public static Gdk.Pixmap ColormapCreateFromXpmD (Gdk.Drawable drawable, Gdk.Colormap colormap, out Gdk.Pixmap mask, Gdk.Color transparent_color, string [] data);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixmap</ReturnType>
@ -305,17 +305,17 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
<Parameter Name="colormap" Type="Gdk.Colormap" />
<Parameter Name="mask" Type="Gdk.Bitmap&amp;" RefType="out" />
<Parameter Name="mask" Type="Gdk.Pixmap&amp;" RefType="out" />
<Parameter Name="transparent_color" Type="Gdk.Color" />
<Parameter Name="data" Type="System.String" />
<Parameter Name="data" Type="System.String[]" />
</Parameters>
<Docs>
<summary>Create a pixmap from XPM data using a colormap.</summary>
<param name="drawable">a <see cref="T:Gdk.Drawable" /></param>
<param name="colormap">a <see cref="T:Gdk.Colormap" /></param>
<param name="mask">a <see cref="T:Gdk.Bitmap" /></param>
<param name="mask">a <see cref="T:Gdk.Pixmap" /></param>
<param name="transparent_color">a <see cref="T:Gdk.Color" /></param>
<param name="data">a <see cref="T:System.String" /></param>
<param name="data">an array of <see cref="T:System.String" />, defining an image in XPM format</param>
<returns>a <see cref="T:Gdk.Pixmap" /></returns>
<remarks>To be added</remarks>
</Docs>
@ -340,6 +340,24 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateFromXpm">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpm (Gdk.Drawable drawable, string filename);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="drawable">a <see cref="T:Gdk.Drawable" /></param>
<param name="filename">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gdk.Pixmap" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="ColormapCreateFromXpmD">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap ColormapCreateFromXpmD (Gdk.Drawable drawable, Gdk.Colormap colormap, string data);" />
<MemberType>Method</MemberType>
@ -360,24 +378,6 @@ For example in the X backend, a native pixmap handle is an Xlib XID.
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateFromXpm">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpm (Gdk.Drawable drawable, string filename);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
<Parameter Name="filename" Type="System.String" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="drawable">a <see cref="T:Gdk.Drawable" /></param>
<param name="filename">a <see cref="T:System.String" /></param>
<returns>a <see cref="T:Gdk.Pixmap" /></returns>
<remarks>To be added</remarks>
</Docs>
</Member>
<Member MemberName="CreateFromXpmD">
<MemberSignature Language="C#" Value="public static Gdk.Pixmap CreateFromXpmD (Gdk.Drawable drawable, string data);" />
<MemberType>Method</MemberType>

View file

@ -116,12 +116,10 @@
more expose events to the window, which together cover the entire
update area. An application would normally redraw the contents of
<paramref name="window" /> in response to those expose events.</p>
<p>GDK will call <see cref="M:Gdk.Window.ProcessAllUpdates" /> on your behalf
whenever your program returns to the main loop and becomes idle, so
normally there's no need to do that manually, you just need to
invalidate regions that you know should be redrawn.</p>
<p>The <paramref name="invalidate_children" /> parameter controls
whether the region of
each child window that intersects <paramref name="region" /> will
@ -213,11 +211,13 @@
<p>Lowers this window to the bottom of the Z-order (stacking order), so that
other windows with the same parent window appear above this window.
This is true whether or not the other windows are visible.
</p><p>
</p>
<p>
If this window is a toplevel, the window manager may choose to deny the
request to move the window in the Z-order, <see cref="M:Gtk.Window.Lower" /> only
requests the restack, but does not guarantee it.
</p><p>
</p>
<p>
Note that <see cref="M:Gdk.Window.Show" /> raises the window again, so don't call this
function before <see cref="M:Gdk.Window.Show" />. (Try <see cref="M:Gdk.Window.ShowUnraised" />.)
</p>
@ -302,12 +302,14 @@
current size of the window to the provided values and
constrain programatic resizing via <see cref="M:Gdk.Window.Resize" /> or
<see cref="M:Gdk.Window.MoveResize" />.
</p><p>
</p>
<p>
Note that on X11, this effect has no effect on windows
of type GDK_WINDOW_TEMP or windows where override_redirect
has been turned on via <see cref="M:Gdk.Window.SetOverrideRedirect" />
since these windows are not resizable by the user.
</p><p>
</p>
<p>
Since you can't count on the windowing system doing the
constraints for programmatic resizes, you should generally
call <see cref="M:Gdk.Window.ConstrainSize" />
@ -382,21 +384,17 @@
window, which together cover the entire update area. An
application would normally redraw the contents of the whole window
in response to those expose events.</p>
<p>GDK will call <see cref="M:Gdk.Window.ProcessAllUpdates" /> on
your behalf whenever your program returns to the main loop
and becomes idle, so normally there's no need to do that
manually, you just need to invalidate regions that you know
should be redrawn.</p>
<p>(TODO: See bugzilla.ximian.com bug # 66241, to which the following
text pertains.)
<i>The <paramref name="child_func" /> parameter controls whether the region of
each child window that intersects <paramref name="region" /> will also be invalidated.
Only children for which <paramref name="child_func" /> returns TRUE will have the area
invalidated.</i>
</p>
invalidated.</i></p>
</remarks>
</Docs>
</Member>
@ -451,7 +449,8 @@
store will be copied to this window, making it visible onscreen. Only
the part of this window contained in <paramref name="region" /> will be modified; that is,
drawing operations are clipped to <paramref name="region" />.
</p><p>
</p>
<p>
The net result of all this is to remove flicker, because the user
sees the finished product appear all at once when you call
<see cref="M:Gdk.Window.EndPaint" />. If you draw to the window directly without
@ -460,7 +459,8 @@
clipping and background-initializing features of
<see cref="M:Gdk.Window.BeginPaintRegion" /> are conveniences for the
programmer, so you can avoid doing that work yourself.
</p><p>
</p>
<p>
When using GTK+, the widget system automatically places calls to
<see cref="M:Gdk.Window.BeginPaintRegion" /> and <see cref="M:Gdk.Window.EndPaint" /> around
emissions of the expose_event signal. That is, if you're writing an
@ -471,7 +471,8 @@
<see cref="M:Gdk.Window.BeginPaintRegion" />. (You can disable the automatic
calls around expose events on a widget-by-widget basis by calling
gtk_widget_set_double_buffered().)
</p><p>
</p>
<p>
If you call this function multiple times before calling the
matching <see cref="M:Gdk.Window.EndPaint" />, the backing stores are pushed onto
a stack. <see cref="M:Gdk.Window.EndPaint" /> copies the topmost backing store
@ -699,10 +700,10 @@
"maximized"; so you can't rely on the maximization actually
happening. But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.
</p><p>
</p>
<p>
On Windows, reliably maximizes the window.
</p>
</remarks>
</Docs>
</Member>
@ -734,7 +735,8 @@ in a child).
background filled by the windowing system, instead the window will
contain whatever pixels were already in the corresponding area of
the display.
</p><p>
</p>
<p>
The windowing system will normally fill a window with its background
when the window is obscured then exposed, or when you call
<see cref="M:Gdk.Window.Clear" />.
@ -869,7 +871,8 @@ in a child).
mask, the other bits indicate which decorations should be turned off.
If <see cref="P:GFdk.WMDecoration.All" /> is not included, then the other bits indicate
which decorations should be turned on.
</p><p>
</p>
<p>
Most window managers honor a decorations hint of 0 to disable all decorations,
but very few honor all possible combinations of bits.
</p>
@ -913,7 +916,8 @@ in a child).
shape mask for this window. i.e. the union of all masks
for this window and its children will become the new mask
for this window. See <see cref="M:Gdk.Window.ShapeCombineMask" />.
</p><p>
</p>
<p>
This function is distinct from <see cref="M:Gdk.Window.SetChildShapes" />
because it includes this window's shape mask in the set of shapes to
be merged.
@ -1121,7 +1125,8 @@ in a child).
very old X servers, and occasionally the implementation will be
buggy. On servers without the shape extension, this function
will do nothing.
</p><p>
</p>
<p>
This function works on both toplevel and child windows.
</p>
</remarks>
@ -1217,7 +1222,25 @@ in a child).
<param name="attributes">A <see cref="T:Gdk.WindowAttr" /></param>
<param name="attributes_mask">A <see cref="T:System.Int32" /></param>
<returns>A <see cref="T:Gdk.Window" /></returns>
<remarks/>
<remarks>The type of the <paramref name="attributes_mask" /> parameter in this auto-generated constructor is incorrect. You would normally want to use the overloaded constructor that takes a <see cref="T:Gdk.WindowAttributesType" />.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Window (Gdk.Window parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="parent" Type="Gdk.Window" />
<Parameter Name="attributes" Type="Gdk.WindowAttr" />
<Parameter Name="attributes_mask" Type="Gdk.WindowAttributesType" />
</Parameters>
<Docs>
<summary>Basic constructor</summary>
<param name="parent">a <see cref="T:Gdk.Window" /></param>
<param name="attributes">a <see cref="T:Gdk.WindowAttr" /></param>
<param name="attributes_mask">a <see cref="T:Gdk.WindowAttributesType" /></param>
<returns>a <see cref="T:Gdk.Window" /></returns>
<remarks></remarks>
</Docs>
</Member>
<Member MemberName="DebugUpdates">

View file

@ -1,13 +1,7 @@
<Type Name="Style" FullName="Gtk.Style">
<TypeSignature Language="C#" Value="public class Style : GLib.Object, IWrapper, IDisposable" Maintainer="Hector Gomez M" />
<AssemblyInfo>:
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyCulture>neutral</AssemblyCulture>
<Attributes />
</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>Methods for drawing widget parts.</summary>
@ -445,7 +439,7 @@ color or pixmap specified by this style for <paramref name="state"/>.</summary>
</Parameters>
<Docs>
<summary>Returns the base graphics context for the widget.</summary>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to get the style for</param>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to get the GC for</param>
<returns>a <see cref="T:Gdk.GC" /></returns>
<remarks />
</Docs>
@ -462,7 +456,7 @@ color or pixmap specified by this style for <paramref name="state"/>.</summary>
</Parameters>
<Docs>
<summary>Sets the graphics context for the background.</summary>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to set the style for</param>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to set the GC for</param>
<param name="gc">a <see cref="T:Gdk.GC" /></param>
<remarks />
</Docs>
@ -478,7 +472,7 @@ color or pixmap specified by this style for <paramref name="state"/>.</summary>
</Parameters>
<Docs>
<summary>Returns the graphics context for the widget's text.</summary>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to get the style for</param>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to get the GC for</param>
<returns>a <see cref="T:Gdk.GC" /></returns>
<remarks />
</Docs>
@ -495,7 +489,7 @@ color or pixmap specified by this style for <paramref name="state"/>.</summary>
</Parameters>
<Docs>
<summary>Sets the graphics context for text.</summary>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to set the style for</param>
<param name="state">a <see cref="T:Gtk.StateType" />, the state of the widget to set the GC for</param>
<param name="gc">a <see cref="T:Gdk.GC" /></param>
<remarks />
</Docs>
@ -1291,5 +1285,137 @@ color or pixmap specified by this style for <paramref name="state"/>.</summary>
</remarks>
</Docs>
</Member>
<Member MemberName="TextAAGC">
<MemberSignature Language="C#" Value="public Gdk.GC TextAAGC (Gtk.StateType state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.GC</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
</Parameters>
<Docs>
<summary>Returns the graphics context for anti-aliased text.</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to get the GC for</param>
<returns>a <see cref="T:Gdk.GC" /></returns>
<remarks/>
</Docs>
</Member>
<Member MemberName="SetTextAAGC">
<MemberSignature Language="C#" Value="public void SetTextAAGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="gc" Type="Gdk.GC" />
</Parameters>
<Docs>
<summary>Set the graphics context for anti-aliased text.</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to set the GC for</param>
<param name="gc">a <see cref="T:Gdk.GC" /></param>
<remarks/>
</Docs>
</Member>
<Member MemberName="LightGC">
<MemberSignature Language="C#" Value="public Gdk.GC LightGC (Gtk.StateType state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.GC</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
</Parameters>
<Docs>
<summary>Returns a graphics context for light-colored drawing</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to get the GC for</param>
<returns>a <see cref="T:Gdk.GC" /></returns>
<remarks/>
</Docs>
</Member>
<Member MemberName="SetLightGC">
<MemberSignature Language="C#" Value="public void SetLightGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="gc" Type="Gdk.GC" />
</Parameters>
<Docs>
<summary>Set the graphics context for light-colored drawing</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to set the GC for</param>
<param name="gc">a <see cref="T:Gdk.GC" /></param>
<remarks/>
</Docs>
</Member>
<Member MemberName="DarkGC">
<MemberSignature Language="C#" Value="public Gdk.GC DarkGC (Gtk.StateType state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.GC</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
</Parameters>
<Docs>
<summary>Returns a graphics context for dark-colored drawing</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to get the GC for</param>
<returns>a <see cref="T:Gdk.GC" /></returns>
<remarks/>
</Docs>
</Member>
<Member MemberName="SetDarkGC">
<MemberSignature Language="C#" Value="public void SetDarkGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="gc" Type="Gdk.GC" />
</Parameters>
<Docs>
<summary>Set the graphics context for dark-colored drawing</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to set the GC for</param>
<param name="gc">a <see cref="T:Gdk.GC" /></param>
<remarks/>
</Docs>
</Member>
<Member MemberName="MidGC">
<MemberSignature Language="C#" Value="public Gdk.GC MidGC (Gtk.StateType state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gdk.GC</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
</Parameters>
<Docs>
<summary>Returns a graphics context for medium-colored drawing</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to get the GC for</param>
<returns>a <see cref="T:Gdk.GC" /></returns>
<remarks/>
</Docs>
</Member>
<Member MemberName="SetMidGC">
<MemberSignature Language="C#" Value="public void SetMidGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="state" Type="Gtk.StateType" />
<Parameter Name="gc" Type="Gdk.GC" />
</Parameters>
<Docs>
<summary>Set the graphics context for medium-colored drawing</summary>
<param name="state">a <see cref="T:System.Int32" />, the state of the widget to set the GC for</param>
<param name="gc">a <see cref="T:Gdk.GC" /></param>
<remarks/>
</Docs>
</Member>
</Members>
</Type>

View file

@ -1,5 +1,5 @@
<Type Name="TargetList" FullName="Gtk.TargetList">
<TypeSignature Language="C#" Value="public sealed struct TargetList;" Maintainer="auto" />
<TypeSignature Language="C#" Value="public class TargetList : GLib.Opaque;" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
@ -10,70 +10,65 @@
</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>A list of potential targets for a drag-and-drop operation.</summary>
<summary>A list of potential targets for a paste or drag-and-drop operation.</summary>
<remarks />
</Docs>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
<BaseTypeName>Glib.Opaque</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<Member MemberName="Zero">
<MemberSignature Language="C#" Value="public static Gtk.TargetList Zero;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Gtk.TargetList</ReturnType>
</ReturnValue>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TargetList ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>To be added</summary>
<summary>Basic constructor</summary>
<returns>an empty <see cref="T:Gtk.TargetList" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="New">
<MemberSignature Language="C#" Value="public static Gtk.TargetList New (Gtk.TargetEntry targets, uint ntargets);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TargetList</ReturnType>
</ReturnValue>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TargetList (Gtk.TargetEntry[] targets);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="targets" Type="Gtk.TargetEntry" />
<Parameter Name="ntargets" Type="System.UInt32" />
<Parameter Name="targets" Type="Gtk.TargetEntry[]" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="targets">To be added: an object of type 'Gtk.TargetEntry'</param>
<param name="ntargets">To be added: an object of type 'uint'</param>
<returns>To be added: an object of type 'Gtk.TargetList'</returns>
<summary>Constructor</summary>
<param name="targets">an array of <see cref="T:Gtk.TargetEntry" /></param>
<returns>a <see cref="T:Gtk.TargetList" /> initialized from <paramref name="targets" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="New">
<MemberSignature Language="C#" Value="public static Gtk.TargetList New (IntPtr raw);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Gtk.TargetList</ReturnType>
</ReturnValue>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TargetList (IntPtr raw);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="raw">To be added: an object of type 'IntPtr'</param>
<returns>To be added: an object of type 'Gtk.TargetList'</returns>
<remarks/>
<summary>Internal constructor</summary>
<param name="raw">a <see cref="T:System.IntPtr" /></param>
<returns>a <see cref="T:Gtk.TargetList" /> wrapping <paramref name="raw" /></returns>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Ref">
<MemberSignature Language="C#" Value="public void Ref ();" />
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<summary>Disposes the resources associated with the object.</summary>
<remarks />
</Docs>
</Member>
@ -89,26 +84,33 @@
<Parameter Name="info" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="target">To be added: an object of type 'Gdk.Atom'</param>
<param name="flags">To be added: an object of type 'uint'</param>
<param name="info">To be added: an object of type 'uint'</param>
<summary>Add a target type to the target list</summary>
<param name="target">the target type, as a <see cref="T:Gdk.Atom" /></param>
<param name="flags">target flags (for a drag-and-drop target, this is a <see cref="T:Gtk.TargetFlags" /> value)</param>
<param name="info">application-defined ID for this target type</param>
<remarks />
</Docs>
</Member>
<Member MemberName="Unref">
<MemberSignature Language="C#" Value="public void Unref ();" />
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (string target, uint flags, uint info);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Parameters>
<Parameter Name="target" Type="System.String" />
<Parameter Name="flags" Type="System.UInt32" />
<Parameter Name="info" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<summary>Add a target type to the target list</summary>
<param name="target">the target type, as a string</param>
<param name="flags">target flags (for a drag-and-drop target, this is a <see cref="T:Gtk.TargetFlags" /> value)</param>
<param name="info">application-defined ID for this target type</param>
<remarks />
</Docs>
</Member>
<Member MemberName="AddTable">
<Member MemberName="AddTable" Deprecated="true">
<MemberSignature Language="C#" Value="public void AddTable (Gtk.TargetEntry targets, uint ntargets);" />
<MemberType>Method</MemberType>
<ReturnValue>
@ -119,24 +121,24 @@
<Parameter Name="ntargets" Type="System.UInt32" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="targets">To be added: an object of type 'Gtk.TargetEntry'</param>
<param name="ntargets">To be added: an object of type 'uint'</param>
<remarks/>
<summary>Add an entry to the target list</summary>
<param name="targets">a <see cref="T:Gtk.TargetEntry" /></param>
<param name="ntargets">the "length" of <paramref name="targets" />. Must be 1.</param>
<remarks>This auto-generated method is incorrect, and exists only for backward-compatibility. Use the overloaded version instead.</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (Gdk.Atom target);" />
<Member MemberName="AddTable">
<MemberSignature Language="C#" Value="public void AddTable (Gtk.TargetEntry[] targets);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="Gdk.Atom" />
<Parameter Name="targets" Type="Gtk.TargetEntry[]" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="target">To be added: an object of type 'Gdk.Atom'</param>
<summary>Add entries to the target list</summary>
<param name="targets">an array of <see cref="T:Gtk.TargetEntry" /></param>
<remarks />
</Docs>
</Member>
@ -151,23 +153,60 @@
<Parameter Name="info" Type="System.UInt32&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>To be added</summary>
<param name="target">a <see cref="T:Gdk.Atom" /></param>
<param name="info">a <see cref="T:System.UInt32&amp;" /></param>
<returns>a <see cref="T:System.Boolean" /></returns>
<summary>Find a given target type</summary>
<param name="target">the target type to find, as a <see cref="T:Gdk.Atom" /></param>
<param name="info">on output, will contain the target's application-defined ID</param>
<returns>
<see langword="true" /> if the target was found</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="RefCount">
<MemberSignature Language="C#" Value="public uint RefCount;" />
<MemberType>Field</MemberType>
<Member MemberName="Find">
<MemberSignature Language="C#" Value="public bool Find (string target, out uint info);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.UInt32</ReturnType>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="System.String" />
<Parameter Name="info" Type="System.UInt32&amp;" RefType="out" />
</Parameters>
<Docs>
<summary>To be added</summary>
<summary>Find a given target type</summary>
<param name="target">the target type to find, as a string</param>
<param name="info">on output, will contain the target's application-defined ID</param>
<returns>
<see langword="true" /> if the target was found</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (Gdk.Atom target);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="Gdk.Atom" />
</Parameters>
<Docs>
<summary>Remove an entry from the target list</summary>
<param name="target">the target to remove, as a <see cref="T:Gdk.Atom" /></param>
<remarks />
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (string target);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="System.String" />
</Parameters>
<Docs>
<summary>Remove an entry from the target list</summary>
<param name="target">the target to remove, as a string</param>
<remarks />
</Docs>
</Member>