Sha256: 935acdc03f87416d1ba68d783a83657a099c9bf29e86031393258a0b753d3c05

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

# Copyright (c) 2010 Paolo Capriotti <p.capriotti@gmail.com>
# 
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.

require 'rui'

RUI::Application.init('signals') do |app|
  button = RUI::PushButton.new("Quit")
  button.on(:clicked) { app.exit }
  button.show
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rui-0.1.2 examples/signals/main.rb
rui-0.1.0 examples/signals/main.rb