~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to ext/tk/lib/tk/panedwindow.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
require 'tk'
5
5
 
6
 
class TkPanedWindow<TkWindow
 
6
class Tk::PanedWindow<TkWindow
7
7
  TkCommandNames = ['panedwindow'.freeze].freeze
8
8
  WidgetClassName = 'Panedwindow'.freeze
9
9
  WidgetClassNames[WidgetClassName] = self
229
229
    list(tk_send_without_enc('panes'))
230
230
  end
231
231
end
232
 
TkPanedwindow = TkPanedWindow
 
232
 
 
233
Tk::Panedwindow = Tk::PanedWindow
 
234
TkPanedWindow = Tk::PanedWindow unless Object.const_defined? :TkPanedWindow
 
235
TkPanedwindow = Tk::Panedwindow unless Object.const_defined? :TkPanedwindow