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

win32-systray

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

win32-systray

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

win32-systray

ruby gems, easy to make system tray application for windows

Installation

Add this line to your application's Gemfile:

gem 'win32-systray'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install win32-systray

Usage

require "win32/systray"

Win32::Systray.run! do |sys|
  sys.tip = "pnow"
  sys.icon = File.join(__dir__, "pnow.ico")

  sys.menu do
    sys.popup "テスト1" do
      sys.item "テスト2" do
        puts "hi test2"
      end
    end
    sys.separator
    sys.item "終了" do
      sys.quit
    end
  end
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kmasa/win32-systray.

FAQs

Package last updated on 15 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