Method: TkHTML_File_Viewer#clear_screen

Defined in:
sample/tkextlib/tkHTML/ss.rb

#clear_screenObject

Clear the screen.



260
261
262
263
264
265
266
267
268
269
270
271
272
# File 'sample/tkextlib/tkHTML/ss.rb', line 260

def clear_screen
  if @html_fs && @html_fs.exist?
    w = @html_fs
  else
    w = @html
  end
  w.clear
  @old_imgs.clear
  @big_imgs.clear
  @hotkey.clear
  @images.each{|k, v| @old_imgs[k] = v }
  @images.clear
end