Add card view to search page.

This commit is contained in:
luxick
2018-02-17 17:22:02 +01:00
parent f1485db748
commit d61f48fa27
10 changed files with 292 additions and 56 deletions

View File

@@ -0,0 +1,44 @@
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
class MenuBarHandlers:
"""
Class for handling signals from the menu bar
"""
def __init__(self, app):
"""
Constructor
:param app: Reference to a CardvaultGTK object
"""
self.app = app
def do_save_library(self, menu_item):
pass
def do_export_library(self, menu_item):
pass
def do_import_library(self, menu_item):
pass
def do_delete_user_library(self, menu_item):
pass
def do_delete_card_data(self, menu_item):
pass
def do_change_view(self, menu_item):
pass
def do_prefs_open(self, manu_item):
pass
@staticmethod
def do_delete_event(*args):
"""
Signal will be sent when app should close
:param args: Arguments to the delete event
"""
Gtk.main_quit()