[Kde-bindings] Qtruby Screenshot example program does not workon Windows
Arno Rehn
arno at arnorehn.de
Thu Aug 5 16:20:08 UTC 2010
On Thursday 05 August 2010 18:11:18 Melton, Ryan wrote:
> I think the HWND__* is kind of like a file descriptor where the user just
> passes it between function calls and doesn't actually use its contents
> directly.
>
> Simply returning the pointer value to ruby and providing no support for the
> actual HWND__ class sounds like the right thing to do. Where would that
> be implemented?
handlers.cpp (qtgui I guess, because afaik hwnd is only used for windows).
Just add a marshaller for HWND__* and return it to ruby/convert from ruby with
NUM2LONG / LONG2NUM (or whatever these macros are called).
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list