[Kde-bindings] Qtruby Screenshot example program does notworkonWindows

Melton, Ryan rmelton at ball.com
Thu Aug 5 18:17:45 UTC 2010


Nevermind, I discovered the <voidpTypes> section in smokeconfig.xml.   Is there a document somewhere that describes how to configure smoke?

Thanks again,
Ryan

-----Original Message-----
From: Melton, Ryan [mailto:rmelton at ball.com] 
Sent: Thursday, August 05, 2010 11:54 AM
To: KDE bindings for other programming languages
Subject: Re: [Kde-bindings] Qtruby Screenshot example program does notworkonWindows

First, thanks for the quick answers. :)

It looks like for that to work, smokedata.cpp would have to be marking the H*__ classes as Smoke::t_voidp instead of Smoke::t_class in its types[].  

Where would that be implemented?

-----Original Message-----
From: Arno Rehn [mailto:arno at arnorehn.de] 
Sent: Thursday, August 05, 2010 10:20 AM
To: KDE bindings for other programming languages
Subject: Re: [Kde-bindings] Qtruby Screenshot example program does notworkon Windows

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
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings



This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings



This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.



More information about the Kde-bindings mailing list