{"id":29979667,"url":"https://github.com/jerbaroo/threepenny-gui-contextmenu","last_synced_at":"2026-05-29T08:02:31.971Z","repository":{"id":56880444,"uuid":"75643297","full_name":"jerbaroo/threepenny-gui-contextmenu","owner":"jerbaroo","description":"Nested context menus for Threepenny-gui","archived":false,"fork":false,"pushed_at":"2017-05-04T19:42:48.000Z","size":32,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T01:35:33.348Z","etag":null,"topics":["contextmenu","haskell","right-click","threepenny-gui"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerbaroo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-05T16:13:31.000Z","updated_at":"2017-03-01T23:26:47.000Z","dependencies_parsed_at":"2022-08-20T23:10:37.394Z","dependency_job_id":null,"html_url":"https://github.com/jerbaroo/threepenny-gui-contextmenu","commit_stats":null,"previous_names":["barischj/threepenny-gui-contextmenu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jerbaroo/threepenny-gui-contextmenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerbaroo%2Fthreepenny-gui-contextmenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerbaroo%2Fthreepenny-gui-contextmenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerbaroo%2Fthreepenny-gui-contextmenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerbaroo%2Fthreepenny-gui-contextmenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerbaroo","download_url":"https://codeload.github.com/jerbaroo/threepenny-gui-contextmenu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerbaroo%2Fthreepenny-gui-contextmenu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33642318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["contextmenu","haskell","right-click","threepenny-gui"],"created_at":"2025-08-04T13:32:58.839Z","updated_at":"2026-05-29T08:02:31.892Z","avatar_url":"https://github.com/jerbaroo.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Threepenny-gui Context Menu\n\nA right-click menu simply consists of menu items. These menu items can either\nrun UI actions when clicked, or contain a nested menu which is opened on hover.\nWe provide constructors for both of these types of menu items, those with UI\nactions to run and those with a nested menu.\n\nFor the constructor of a menu item with UI actions you need to provide a title\nand a list of the UI actions to run.\n\n``` haskell\nactionMenuItem \"red\" []\n```\n\nFor the constructor of a menu item containing a nested menu item you need to\nprovide a title and a list of menu items.\n\n``` haskell\nourMenuItems = [\n    nestedMenuItem \"more\" [\n      actionMenuItem \"red\"  []\n    , actionMenuItem \"blue\" []\n    ]\n  ]\n```\n\nFinally to build a context menu we also need to know which element, when\nclicked, activates the context menu.\n\n``` haskell\nsomeElement # contextMenu ourMenuItems\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerbaroo%2Fthreepenny-gui-contextmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerbaroo%2Fthreepenny-gui-contextmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerbaroo%2Fthreepenny-gui-contextmenu/lists"}