Registry / other / gtk2
library3.4.3rbrubygemsunverified

Ruby/GTK2 is a Ruby binding of GTK+-2.x.

gem install gtk2
INSTALL
IMPORT
SIG · GTK2
G
gtk2
otherrubyv3.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gtk
require 'gtk2'

Create and display a basic GTK2 window.

require 'gtk2' Gtk.init window = Gtk::Window.new window.signal_connect('destroy') { Gtk.main_quit } window.show_all Gtk.main
Debug
Known issues
gotchaGTK2 is based on GTK+ 2.x, which is deprecated in favor of GTK3/GTK4.
fix
Consider using gtk3 gem for modern GTK bindings.
affects: >= 0
Upgrade
Version history
3.4.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
gtk2 — gem install gtk2 · libregistry