Method: Tk::Frame.bind

Defined in:
lib/tk/frame.rb

.bind(*args, &b) ⇒ Object



101
102
103
104
105
106
107
# File 'lib/tk/frame.rb', line 101

def self.bind(*args, &b)
  if self == WidgetClassNames[WidgetClassName] || self.name == ''
    super(*args, &b)
  else
    TkDatabaseClass.new(self.name).bind(*args, &b)
  end
end