Linux init

This commit is contained in:
Jeena 2012-11-04 18:44:27 +01:00
parent 3488848906
commit 5a6c5093a3
4 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1,15 @@
from gi.repository import Gtk
class PreferencesWindow(Gtk.Window):
def __init__(self, app):
self.app = app
Gtk.Window.__init__(self, title="Preferences")
self.login_button = Gtk.Button(label="Login")
self.login_button.connect("clicked", self.on_login_button_clicked)
self.add(self.login_button)
def on_login_button_clicked(self, widget):
print "Login"