Main¶
- class tagit.controller.main.CMainWindow(widget, settings, parent=None)[source]¶
Bases: tagit.controller.controller.Controller
MainWindow controller.
Receives the key events and passes them on.
- class tagit.view.main.VMainWindow(settings, model, **kwargs)[source]¶
Bases: kivy.uix.boxlayout.BoxLayout
Collection of all widgets makes this the root for the tagit UI.
If you want the tagit UI, create an app that loads this widget.
>>> settings = ... >>> model = ... >>> from tagit.view import VMainWindow >>> class MyApp(App): >>> def build(self): >>> return VMainWindow(settings, model) >>> app = MyApp() >>> app.run()
Holds the MainWidget and Sidebar. Handles keyboard events.