MCPcopy Create free account
hub / github.com/KLayout/klayout / navigate

Method navigate

testdata/ruby/interactive/screenshots.rb:78–83  ·  view source on GitHub ↗
( index )

Source from the content-addressed store, hash-verified

76 end
77
78 def navigate( index )
79 view = RBA::Application::instance.main_window.current_view
80 if view != nil
81 view.zoom_box( @screenshots[index].box )
82 end
83 end
84
85 def enlarged( img )
86 return "<a href=\"int:index\">Index Page</a><br/><img src=\"file:#{img}\"/>"

Callers

nothing calls this directly

Calls 5

main_windowMethod · 0.80
current_viewMethod · 0.45
instanceMethod · 0.45
zoom_boxMethod · 0.45
boxMethod · 0.45

Tested by

no test coverage detected