{"id":5,"date":"2008-04-01T11:25:00","date_gmt":"2008-04-01T16:25:00","guid":{"rendered":"http:\/\/coherentpdf.com\/blog\/?p=5"},"modified":"2008-07-29T04:01:06","modified_gmt":"2008-07-29T09:01:06","slug":"a-proper-gui-for-ocaml-part-two","status":"publish","type":"post","link":"https:\/\/coherentpdf.com\/blog\/?p=5","title":{"rendered":"A Proper GUI for OCaml (Part Two)"},"content":{"rendered":"<p><a href=\"http:\/\/www.coherentgraphics.co.uk\/shot.png\"><img decoding=\"async\" style=\"display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 355px;\" src=\"http:\/\/www.coherentgraphics.co.uk\/shot.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>I&#8217;ve packaged up the basic libraries described last time and you can get them <a href=\"http:\/\/www.coherentgraphics.co.uk\/camlpy-0.1.tar.bz2\">here<\/a>, together with a little example.<\/p>\n<p>It should work on any platform \/ toolchain where OCaml and Python and WxPython can be installed. It allows you to build standalone windows exes and mac applications out of the box.<\/p>\n<p>As I mentioned <a href=\"http:\/\/www.coherentpdf.com\/blog\/?p=4\">before<\/a>, this is just a proof of concept.  I  have no intention of writing a generic GUI library for my <a href=\"http:\/\/www.coherentgraphics.co.uk\/\">renderer<\/a>, instead sticking with the specialised one I&#8217;m using already.<\/p>\n<p>That means I&#8217;m using a different (specialised) wxgui.ml and main.ml and main.py, but the same mltalk.py, pytalk.ml, camlpy.ml and pycaml.py &#8212; and I&#8217;ll only be keeping those basic four files up to date.<\/p>\n<p>I&#8217;ve put it under the BSD license, so have fun.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve packaged up the basic libraries described last time and you can get them here, together with a little example. It should work on any platform \/ toolchain where OCaml and Python and WxPython can be installed. It allows you &hellip; <a href=\"https:\/\/coherentpdf.com\/blog\/?p=5\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13,5,14],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-gui","tag-ocaml","tag-wxpython"],"_links":{"self":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":0,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}