Linux init
This commit is contained in:
parent
3488848906
commit
5a6c5093a3
4 changed files with 115 additions and 0 deletions
15
Linux/PreferencesWindow.py
Normal file
15
Linux/PreferencesWindow.py
Normal 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"
|
Reference in a new issue