This repository has been archived on 2025-08-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Bungloo/Linux/PreferencesWindow.py
2012-11-04 18:44:27 +01:00

15 lines
No EOL
370 B
Python

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"