{"id":20880493,"url":"https://github.com/andsve/def-mnu","last_synced_at":"2025-05-12T16:32:17.649Z","repository":{"id":46829047,"uuid":"99406021","full_name":"andsve/def-mnu","owner":"andsve","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-25T10:56:57.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-10T03:03:25.142Z","etag":null,"topics":["defold","defold-library"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andsve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-05T07:11:08.000Z","updated_at":"2024-10-10T04:34:49.000Z","dependencies_parsed_at":"2022-09-03T20:12:34.650Z","dependency_job_id":null,"html_url":"https://github.com/andsve/def-mnu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsve%2Fdef-mnu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsve%2Fdef-mnu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsve%2Fdef-mnu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andsve%2Fdef-mnu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andsve","download_url":"https://codeload.github.com/andsve/def-mnu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253776983,"owners_count":21962606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defold","defold-library"],"created_at":"2024-11-18T07:20:41.800Z","updated_at":"2025-05-12T16:32:17.320Z","avatar_url":"https://github.com/andsve.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Def-Mnu\nSimpe cross-platform (OSX + Windows) native context and app menu library for Defold.\n\n(Uses public domain sea_menu.h v0.2)\n\n### Usage\n```\nmnu.begin()\nmnu.label(1, false, \"Disabled root item...\")\nmnu.label(2, true, \"Enabled root item...\")\nmnu.separator()\nmnu.label(3, true, \"Sub menu item 1\")\nmnu.sub_begin(\"File\")\nmnu.label(4, false, \"Sub menu item 2 (disabled)\")\nmnu.sub_finish()\nmnu.finish()\n\nprint(mnu.show(action.screen_x, sys.get_config(\"display.height\") - action.screen_y))\n\n```\nSee `main/example.script` for app menu example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandsve%2Fdef-mnu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandsve%2Fdef-mnu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandsve%2Fdef-mnu/lists"}