{ "info": { "author": "C. Ecker", "author_email": "textmodelview@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "WXTextView\r\n==========\r\n\r\nWxtextview is widget for the wx toolkit and is written completely in\r\npython. It has the functionality of a rich text editor and can handle\r\neven very long texts without beeing slow. All layout and editor logic\r\nis implemented in python. Only basic drawing commands are used from\r\nthe wx toolkit. It is therefore easy to adapt it to other\r\nGUI-toolkits.\r\n\r\nThere are two demos showing advanced possibilities of WXTextView:\r\n\r\n:notebook.py:\r\n\r\n A notebook interface similar to mathematica / ipython\r\n\r\n:math_demo.py:\r\n \r\n A demonstration of editing math equations\r\n\r\n\r\n1. USAGE\r\n========\r\n\r\n\r\nRunning the demos:\r\n------------------\r\n\r\nJust cd to the demo directory and execute the scripts. No installation\r\nis needed. External dependencies are `textmodel\r\n`_ (all demos), wxpython (all\r\ndemos) and matplotlib (notebook). The demos were tested on linux,\r\nwindows and mac platforms.\r\n\r\n::\r\n\r\n $ cd demo/\r\n $ python demo1.py\r\n\r\n\r\nUsing the wxtextview-widget:\r\n----------------------------\r\n\r\n::\r\n\r\n from wxtextview import WXTextView\r\n from textmodel import TextModel\r\n\r\n import wx\r\n app = wx.App()\r\n\r\n\r\n model = TextModel(u'Hello World!')\r\n model.set_properties(6, 11, fontsize=14)\r\n model.set_properties(6, 11, bgcolor='yellow')\r\n\r\n # display the texmodel in a view \r\n frame = wx.Frame(None)\r\n view = WXTextView(frame, -1)\r\n view.model = model\r\n frame.Show()\r\n\r\n # set cursor and selection\r\n view.index = 5\r\n view.selection = 0, 5\r\n\r\n # display the same textmodel in a second view\r\n frame2 = wx.Frame(None)\r\n view2 = WXTextView(frame2, -1)\r\n view2.model = model\r\n frame2.Show()\r\n\r\n app.MainLoop()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/wxtextview/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "wxtextview", "package_url": "https://pypi.org/project/wxtextview/", "platform": "any", "project_url": "https://pypi.org/project/wxtextview/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://pypi.python.org/pypi/wxtextview/" }, "release_url": "https://pypi.org/project/wxtextview/0.3.6/", "requires_dist": null, "requires_python": null, "summary": "A styled text widget for wxpython.", "version": "0.3.6" }, "last_serial": 1942229, "releases": { "0.3.2": [ { "comment_text": "", "digests": { "md5": "8a1d2bb4e46ad37aa392c44de9212ba7", "sha256": "80bb3c66162b0a9c5088916b335517583410b6b9e4d8564b734bc5d6b9cd13d5" }, "downloads": -1, "filename": "wxtextview-0.3.2.tar.gz", "has_sig": false, "md5_digest": "8a1d2bb4e46ad37aa392c44de9212ba7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29665, "upload_time": "2015-05-12T20:15:41", "url": "https://files.pythonhosted.org/packages/c0/ba/095c41e984043ae1776dbc7519db313435aa4841388e17c9ce4313666af1/wxtextview-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "356795bdbeedd99e79c6d5ac1233f137", "sha256": "2c70ea2b46a108ba1019d855fe6bfe38166253ac1c46e5a4c4ebf51c8c0da048" }, "downloads": -1, "filename": "wxtextview-0.3.3.tar.gz", "has_sig": false, "md5_digest": "356795bdbeedd99e79c6d5ac1233f137", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30245, "upload_time": "2015-06-20T17:33:09", "url": "https://files.pythonhosted.org/packages/84/07/c990ea4822a3cce9f763065ac1271872e259d93b660a626fb0385d039d60/wxtextview-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "dddf7b08c1cd67cdee21d5e5afbe1906", "sha256": "d721c5e4f225702d58c5dd4d68440efc8580f3e16bed3f14d1ed4d6f2854a958" }, "downloads": -1, "filename": "wxtextview-0.3.4.tar.gz", "has_sig": false, "md5_digest": "dddf7b08c1cd67cdee21d5e5afbe1906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31771, "upload_time": "2015-06-22T17:52:21", "url": "https://files.pythonhosted.org/packages/43/82/1df5dd8d8b7b8bd3d4a15de58361398e33bbb3f104380585ed87fb7524ba/wxtextview-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "d9208b26431b1284130682805444fcd7", "sha256": "7383dd8b373862eeb4ef54cf3b12846d4530b38ab2f4b13d17be7842fc8b31ce" }, "downloads": -1, "filename": "wxtextview-0.3.5.tar.gz", "has_sig": false, "md5_digest": "d9208b26431b1284130682805444fcd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31723, "upload_time": "2015-12-05T18:24:19", "url": "https://files.pythonhosted.org/packages/f1/97/bc3a1eb9b58355889cbf0358eb7a3d21ab9bc6dc0b6a33e11446f0255688/wxtextview-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "70ba4085e25136229073c03f536cb369", "sha256": "b20acc1132db3d85d8a2463f24a210edf8c41fba20b46643ed964ee1f718b70d" }, "downloads": -1, "filename": "wxtextview-0.3.6.tar.gz", "has_sig": false, "md5_digest": "70ba4085e25136229073c03f536cb369", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35738, "upload_time": "2016-02-05T20:46:05", "url": "https://files.pythonhosted.org/packages/f1/0e/813e12b97946f407b7789dbab70566dfbaca0daf76df2a7a3ff673d24c76/wxtextview-0.3.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "70ba4085e25136229073c03f536cb369", "sha256": "b20acc1132db3d85d8a2463f24a210edf8c41fba20b46643ed964ee1f718b70d" }, "downloads": -1, "filename": "wxtextview-0.3.6.tar.gz", "has_sig": false, "md5_digest": "70ba4085e25136229073c03f536cb369", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35738, "upload_time": "2016-02-05T20:46:05", "url": "https://files.pythonhosted.org/packages/f1/0e/813e12b97946f407b7789dbab70566dfbaca0daf76df2a7a3ff673d24c76/wxtextview-0.3.6.tar.gz" } ] }