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

« back to all changes in this revision

Viewing changes to ext/tk/lib/tkextlib/tcllib/widget.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
#  tkextlib/tcllib/widget.rb
 
3
#                               by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
 
4
#
 
5
#   * Part of tcllib extension
 
6
#   * megawidget package that uses snit as the object system (snidgets)
 
7
#
 
8
 
 
9
require 'tk'
 
10
require 'tkextlib/tcllib.rb'
 
11
 
 
12
# TkPackage.require('widget', '3.0')
 
13
TkPackage.require('widget')
 
14
 
 
15
module Tk::Tcllib
 
16
  module Widget
 
17
    PACKAGE_NAME = 'widget'.freeze
 
18
    def self.package_name
 
19
      PACKAGE_NAME
 
20
    end
 
21
 
 
22
    def self.package_version
 
23
      begin
 
24
        TkPackage.require('widget')
 
25
      rescue
 
26
        ''
 
27
      end
 
28
    end
 
29
  end
 
30
end
 
31
 
 
32
module Tk::Tcllib::Widget
 
33
  autoload :Dialog,             'tkextlib/tcllib/dialog'
 
34
 
 
35
  autoload :Panelframe,         'tkextlib/tcllib/panelframe'
 
36
  autoload :PanelFrame,         'tkextlib/tcllib/panelframe'
 
37
 
 
38
  autoload :Ruler,              'tkextlib/tcllib/ruler'
 
39
 
 
40
  autoload :Screenruler,        'tkextlib/tcllib/screenruler'
 
41
  autoload :ScreenRuler,        'tkextlib/tcllib/screenruler'
 
42
 
 
43
  autoload :Scrolledwindow,     'tkextlib/tcllib/scrollwin'
 
44
  autoload :ScrolledWindow,     'tkextlib/tcllib/scrollwin'
 
45
 
 
46
  autoload :Superframe,         'tkextlib/tcllib/superframe'
 
47
  autoload :SuperFrame,         'tkextlib/tcllib/superframe'
 
48
end