Fixed importing logic for mixins

This commit is contained in:
2020-05-07 19:38:06 -05:00
parent 4ceb32f7b7
commit 6988ce3810
7 changed files with 72 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ import threading, subprocess, os
# Gtk imports
# Application imports
from .mixins import *
def threaded(fn):
@@ -13,7 +14,7 @@ def threaded(fn):
return wrapper
class CrossClassSignals:
class Signals(DummyMixin):
def __init__(self, settings):
self.settings = settings
self.builder = self.settings.returnBuilder()

View File

@@ -1,2 +1,5 @@
"""
Gtk Bound Signal Module
"""
from .mixins import *
from . import Signals
from .Signals import Signals

View File

@@ -0,0 +1,4 @@
class DummyMixin:
"""docstring for DummyMixin"""
def printHelloWorld(self):
print("Hello World!")

View File

@@ -1 +1 @@
from . import *
from .DummyMixin import DummyMixin