[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: hwnd on win32
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: hwnd on win32
- Date: Sun, 01 Jun 2008 15:38:42 +0200
T.J. Ferraro wrote:
> I tried the following in a separate file GdkWin32.xs and instructed
> Makefile.PL to add this file to the xs list if the platform was win32.
> It compiles, but neither get_handle or gdk_win32_drawable_get_handle
> appear as a Gtk2::Gdk::Drawable method...
>
> #include "gtk2perl.h"
> #include <gdk/gdkwin32.h>
>
> MODULE = Gtk2::Gdk::Win32 PACKAGE = Gtk2::Gdk::Drawable PREFIX =
> gdk_win32_drawable_
>
> ## HGDIOBJ gdk_win32_drawable_get_handle (GdkDrawable *drawable)
> gpointer
> gdk_win32_drawable_get_handle (drawable)
> GdkDrawable *drawable
That looks alright and should work. Can you show us the complete patch?
--
Bye,
-Torsten
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]