Skip to content

Instantly share code, notes, and snippets.

Navjot Singh stoic1979

View GitHub Profile
@stoic1979
stoic1979 / pybrowser.py
Created Mar 31, 2017 — forked from kklimonda/pybrowser.py
A minimal Gtk+/Webkit based browser in Python
View pybrowser.py
import sys
from gi.repository import Gtk, Gdk, WebKit
class BrowserTab(Gtk.VBox):
def __init__(self, *args, **kwargs):
super(BrowserTab, self).__init__(*args, **kwargs)
go_button = Gtk.Button("go to...")
go_button.connect("clicked", self._load_url)
self.url_bar = Gtk.Entry()
You can’t perform that action at this time.