4
# Jason Gerard DeRose <jderose@novacut.com>
6
# dmedia: distributed media library
7
# Copyright (C) 2011 Jason Gerard DeRose <jderose@novacut.com>
9
# This file is part of `dmedia`.
11
# `dmedia` is free software: you can redistribute it and/or modify it under the
12
# terms of the GNU Affero General Public License as published by the Free
13
# Software Foundation, either version 3 of the License, or (at your option) any
16
# `dmedia` is distributed in the hope that it will be useful, but WITHOUT ANY
17
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
18
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
21
# You should have received a copy of the GNU Affero General Public License along
22
# with `dmedia`. If not, see <http://www.gnu.org/licenses/>.
27
from gi.repository import WebKit
30
window.set_title('test')
31
window.set_default_size(800, 450)
32
window.connect('destroy', gtk.main_quit)
34
view = WebKit.WebView()
37
view.load_uri(sys.argv[1])