* gdk/Window.custom: add a new constructor that takes a

Gdk.WindowAttributesType rather than an int for attributes_mask.

svn path=/trunk/gtk-sharp/; revision=35182
This commit is contained in:
Dan Winship 2004-10-20 18:39:05 +00:00
parent 5e9eb345d5
commit a54009c47a
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-10-20 Dan Winship <danw@novell.com>
* gdk/Window.custom: add a new constructor that takes a
Gdk.WindowAttributesType rather than an int for attributes_mask.
2004-10-18 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor

View File

@ -22,6 +22,9 @@
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA.
public Window (Gdk.Window parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask) : this (parent, attributes, (int)attributes_mask) {}
[DllImport("libgdk-win32-2.0-0.dll")]
static extern IntPtr gdk_window_get_children(IntPtr raw);