Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_2_180) is shown here.
start(encoding = 'utf8')
public
# File ext/json/lib/json/editor.rb, line 1352
def start(encoding = 'utf8') # :yield: window
Gtk.init
@window = Editor::MainWindow.new(encoding)
@window.icon_list = [ Editor.fetch_icon('json') ]
yield @window if block_given?
@window.show_all
Gtk.main
end