dynamically set options for a dropdown menu

meik michalke meik.michalke at uni-duesseldorf.de
Wed Oct 10 20:46:26 BST 2018


hi,

the call

  system("pandoc --list-output-formats")

lists the output formats your currently installed version of pandoc can write. 
given that this list of formats will vary between systems, it might be a good 
idea to not have a static dropdown menu with possible output formats, but one 
which only lists what you can actually use. so, could the above call somehow 
be used to dynamically fill a dropdown menu in a plugin dialog?

for the time being, i'll use a short list of usual candidates which should 
work for all recent pandoc installations.


viele grüße :: m.eik

-- 
  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: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20181010/f5fb4f72/attachment.sig>


More information about the rkward-devel mailing list