« Return to Thread: hwnd on win32

Re: hwnd on win32

by Torsten Schoenfeld :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@...
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

 « Return to Thread: hwnd on win32

LightInTheBox - Buy quality products at wholesale price