Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/blt/busy.rb

Parent

Class/Module Index [+]

Quicksearch

Tk::BLT::Busy::Shield

Public Class Methods

new(win) click to toggle source
 
               # File tk/lib/tkextlib/blt/busy.rb, line 29
def initialize(win)
  @path = self.class.shield_path(win)
end
            
shield_path(win) click to toggle source
 
               # File tk/lib/tkextlib/blt/busy.rb, line 20
def self.shield_path(win)
  win = window(win) unless win.kind_of?(TkWindow)
  if win.kind_of?(Tk::Toplevel)
    win.path + '._Busy'
  else
    win.path + '_Busy'
  end
end