Wiring plugins to controller messages; importing plugin controller to code base; fixed VTE widget adding to bash history
This commit is contained in:
@@ -6,15 +6,20 @@ gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk
|
||||
|
||||
# Application imports
|
||||
from libs.dto.base_event import BaseEvent
|
||||
|
||||
from plugins.plugin_base import PluginBase
|
||||
|
||||
|
||||
|
||||
class Plugin(PluginBase):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
super(Plugin, self).__init__()
|
||||
|
||||
|
||||
def _controller_message(self, event: BaseEvent):
|
||||
...
|
||||
|
||||
def load(self):
|
||||
ui_element = self.requests_ui_element("plugin_control_list")
|
||||
ui_element.add( self.generate_plugin_element() )
|
||||
|
||||
Reference in New Issue
Block a user