Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitbucket.org/EScottDaniels/menu

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket.org/EScottDaniels/menu

  • v1.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

The Menu package provides for simple menus built on top of sketch.

A "menu set" is created and the user programme can add one or more menus to the set. Each menu may be anchored by a button which is always visible (akin to the 'file' pull down on many popular GUI applications), or can be 'popped up' at the desire of the user programme.

Each menu is a set of 3-D buttons. When the mouse pointer is positioned on a button, and a mouse button is depressed and released, and event percolates through the menu system to generate an event structure onto the channel whch has been associated with the button.

The user application can associate one channel per menu, one channel for all menus, or even one channel per button as is desired. Each menu button is given a unique ID when created, so any combination of the above is possible.

Menu buttons can be a set of radio buttons, sticky (click once to depress, click a second time to release), or spring buttons (button never stays depressed). The buttons in a single menu may be a combination of these variouse types (though only one group of radio buttons per menu is permitted).

The property menu is an extension to a normal menu which allows the user programme to define the menu with a set of Json, and then can query the state of each of the properties maintains. Properties are simple boolean (on or off) settings and are represnted in the list by sticky buttons which can be set to on/off when the menu is created; allowing the user programme the ability to load and set the initial state.

FAQs

Package last updated on 02 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc