~ubuntu-branches/ubuntu/hardy/ruby1.8/hardy-updates

« back to all changes in this revision

Viewing changes to ext/tk/lib/tkextlib/vu/spinbox.rb

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-03-13 22:11:58 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070313221158-h3oql37brlaf2go2
Tags: 1.8.6-1
* new upstream version, 1.8.6.
* libruby1.8 conflicts with libopenssl-ruby1.8 (< 1.8.6) (closes: #410018)
* changed packaging style to cdbs from dbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#  ::vu::spinbox widget
 
3
#                               by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
 
4
#
 
5
#  a standard spinbox (<= 8.3)
 
6
#  This is the same as the 8.4 core spinbox widget.
 
7
#
 
8
require 'tk'
 
9
 
 
10
if (Tk::TK_MAJOR_VERSION < 8 || 
 
11
    (Tk::TK_MAJOR_VERSION == 8 && Tk::TK_MINOR_VERSION < 4))
 
12
  # call setup script  --  <libdir>/tkextlib/vu.rb
 
13
  require 'tkextlib/vu.rb'
 
14
 
 
15
  Tk.tk_call('namespace', 'import', '::vu::spinbox')
 
16
end
 
17
 
 
18
module Tk
 
19
  module Vu
 
20
    Spinbox = TkSpinbox
 
21
  end
 
22
end