{ "info": { "author": "The Grok community", "author_email": "grok-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Zope3", "License :: OSI Approved :: Zope Public License", "Programming Language :: Python" ], "description": "This package allows you to register browser menus and menu items for\nbrowser views in Grok.\n\nA menu is easily registered by creating a subclass of ``megrok.menu.Menu``::\n\n import megrok.menu.Menu\n\n class Tabs(megrok.menu.Menu):\n grok.name('tabs')\n grok.title('Tabs')\n grok.description('')\n\nA view can then placed on a menu with the ``menuitem`` directive::\n\n class Edit(grok.View):\n grok.title('Edit')\n grok.description(\"Change this object's data.\")\n megrok.menu.menuitem('tabs')\n\n ...\n\nThe ``title`` and ``description`` directives used here specifie the\nmenu item's label and description. The ``menuitem`` directive takes\nat least one argument, the menu that the item is registered to be for.\nThis can either be an identifier string or the menu class\nitself. Other optional parameters include ``icon``, ``filter``, ``order``\nand ``extra``.\n\nFor more use cases and examples, take a look to tests/test_functional.py\n\n\nChangelog\n=========\n\n0.4.1 (2016-02-16)\n------------------\n\n* Update tests.\n\n\n0.4 (2010-03-06)\n----------------\n\n* Cleaned the tests module. Now, we only use the ZTK packages to test.\n\n* The dependencies have been cleared. We no longer depend on zope.app\n packages.\n\n* Updated the security grokking in the menu items grokker. We don't\n need the protect_getattr, as the view security grokker already does\n it for us.\n\n* Fixed the dependencies in the package requires. All dependencies are\n now clearly declared.\n\n* Added a LICENSE.txt file for the ZPL 2.1.\n\n\n0.3 (2009-11-02)\n----------------\n\n* Added the support of the grokcore.viewlet 'order' directive to\n reorder the menu items and sub menus. This permits to have a\n baseclass defining the basic menu and to keep the ordering\n possibility in the sublasses. We probably should do that for the\n different arguments of the menuitem directive. That would allow more\n genericity and reusability. Note : this change is 100% backward\n compatible. Simply added tests to show the behavior. [trollfot]\n\n* Get rid of the grok dependency. Now depends only on grokcore.* packages\n\n* Updated the build process\n\n\n0.2 (2009-03-02)\n----------------\n\n* Compatible with grok1.0a1\n\n* Add the SubMenuItem base class and it's grokker SubMenuItemGrokker\n\n* Add the `extra` parameter to the menuitem directive\n\n* Tests for added functionality\n\n* Remove version.cfg\n\n\n0.1 (2008-07-12)\n----------------\n\nInitial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/megrok.menu", "keywords": "", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "megrok.menu", "package_url": "https://pypi.org/project/megrok.menu/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/megrok.menu/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/megrok.menu" }, "release_url": "https://pypi.org/project/megrok.menu/0.4.1/", "requires_dist": null, "requires_python": null, "summary": "Grok extension to configure browser menus", "version": "0.4.1" }, "last_serial": 1958853, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9806343a9536f2834fc6a8f9327f4004", "sha256": "722d84f902d1e2a245bfafbe83004f849228eee8d1b84f36b27f59964c86988d" }, "downloads": -1, "filename": "megrok.menu-0.1.tar.gz", "has_sig": false, "md5_digest": "9806343a9536f2834fc6a8f9327f4004", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5752, "upload_time": "2008-07-12T15:48:53", "url": "https://files.pythonhosted.org/packages/9e/c7/89129cb093b8bcaec413b74c44f56bd61a63379c4dab92cd796845c3d1d7/megrok.menu-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "190422b521996c594ce20730d54c77f7", "sha256": "3a5fb05d05a44769fc56d8bd15bedd571cc948602ec165cea292b96db831d976" }, "downloads": -1, "filename": "megrok.menu-0.2.tar.gz", "has_sig": false, "md5_digest": "190422b521996c594ce20730d54c77f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5692, "upload_time": "2009-03-02T16:57:09", "url": "https://files.pythonhosted.org/packages/ee/05/1c95fb1d323a487647eeb46a72bd0f5d366669fe3572727c18c44f65a8be/megrok.menu-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "9ec3a3764b327fc88b6357e27453d83c", "sha256": "3c0dbb781ced832b5aaa2ed11a92442727a30e95a7199df764570ac0dfa18091" }, "downloads": -1, "filename": "megrok.menu-0.3.tar.gz", "has_sig": false, "md5_digest": "9ec3a3764b327fc88b6357e27453d83c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9010, "upload_time": "2009-11-02T14:54:34", "url": "https://files.pythonhosted.org/packages/94/23/adbd2e442934197b08b125de5aa8bcb0a4535736524d47ec75e1deae30b7/megrok.menu-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "3103f1c44edfbc70e7378981f6eb2baf", "sha256": "66a334d4a513a64f2de303ff8beb6ebda984cfbc64f67df8cbd4cc87f325bf76" }, "downloads": -1, "filename": "megrok.menu-0.4.tar.gz", "has_sig": false, "md5_digest": "3103f1c44edfbc70e7378981f6eb2baf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10431, "upload_time": "2010-03-06T19:17:42", "url": "https://files.pythonhosted.org/packages/49/db/0eab3554e30b699e9b6d4cfce5944cc09526934e205c7c0f6dcfa56824af/megrok.menu-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "50d9299f0b690b32e5d6d14bcd871cc1", "sha256": "111fabaa0fccf88096cd33ab7cd5e1b336c35cbf1d7598a3348ad5fb1831519e" }, "downloads": -1, "filename": "megrok.menu-0.4.1.tar.gz", "has_sig": false, "md5_digest": "50d9299f0b690b32e5d6d14bcd871cc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11242, "upload_time": "2016-02-16T08:38:03", "url": "https://files.pythonhosted.org/packages/25/fb/1ea562fe4be5be37b07e24c52e057e60fd99b035d3133275920ab8063d2b/megrok.menu-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "50d9299f0b690b32e5d6d14bcd871cc1", "sha256": "111fabaa0fccf88096cd33ab7cd5e1b336c35cbf1d7598a3348ad5fb1831519e" }, "downloads": -1, "filename": "megrok.menu-0.4.1.tar.gz", "has_sig": false, "md5_digest": "50d9299f0b690b32e5d6d14bcd871cc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11242, "upload_time": "2016-02-16T08:38:03", "url": "https://files.pythonhosted.org/packages/25/fb/1ea562fe4be5be37b07e24c52e057e60fd99b035d3133275920ab8063d2b/megrok.menu-0.4.1.tar.gz" } ] }