Method: Tk::HTML_Widget::ClippingWindow#initialize

Defined in:
ext/lib/tkextlib/tkHTML/htmlwidget.rb

#initialize(parent) ⇒ ClippingWindow

Returns a new instance of ClippingWindow.



85
86
87
88
89
90
91
92
# File 'ext/lib/tkextlib/tkHTML/htmlwidget.rb', line 85

def initialize(parent)
  @parent = parent
  @ppath = parent.path
  @path = @id = @ppath + '.x'
  HtmlClip_TBL.mutex.synchronize{
    HtmlClip_TBL[@ppath] = self
  }
end