new handling of previews in rkwarddev

meik michalke Meik.Michalke at uni-duesseldorf.de
Fri Jan 29 15:46:23 UTC 2016


hi again,

the rkwarddev package in the develop branch already deals with the new preview 
features, and the new approach of defining previews in JavaScript[1,2]. old 
plugin code should still run, but you will get begging warnings to move away 
from "doPrintout" and only use "printout" from now on. in many cases it should 
be enough to change the argument name accordingly in rk.JS.doc(), 
rk.plugin.component() or rk.plugin.skeleton().

if you're currently using "if(full)..." controls in your JavaScript code, that 
needs to changed into "if(!is_preview)...". let me know if you're running into 
trouble.


viele grüße :: m.eik


[1] http://api.kde.org/doc/rkwardplugins/ch10s02.html
[2] 
http://api.kde.org/doc/rkwardplugins/specialized_plugins.html#preview_plots
-- 
  dipl. psych. meik michalke
  institut f"ur experimentelle psychologie
  abt. f"ur diagnostik und differentielle psychologie
  heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20160129/68732443/attachment.sig>


More information about the rkward-devel mailing list