public SignalsEditorEditSession GetSignalsWidget(SignalsEditorFrontend frontend) { if (signalsWidget == null) { signalsWidget = new SignalsEditorEditSession(frontend); signalsWidget.ProjectBackend = activeProject; signalsWidget.Editor.TargetObject = targetViewerObject; } return(signalsWidget); }
public SignalsEditorEditSession CreateSignalsWidgetPlug(SignalsEditorFrontend frontend, uint socketId) { Gtk.Plug plug = new Gtk.Plug(socketId); plug.Decorated = false; // Gtk.Window plug = new Gtk.Window (""); SignalsEditorEditSession session = GetSignalsWidget(frontend); plug.Add(session.Editor); plug.Show(); return(session); }
protected override Gtk.Widget OnCreateWidget() { session = app.Backend.GetSignalsWidget(frontend); return(session.Editor); }
protected override void OnCreatePlug(uint socketId) { session = app.Backend.CreateSignalsWidgetPlug(frontend, socketId); }
protected override Gtk.Widget OnCreateWidget () { session = app.Backend.GetSignalsWidget (frontend); return session.Editor; }
protected override void OnCreatePlug (uint socketId) { session = app.Backend.CreateSignalsWidgetPlug (frontend, socketId); }
public SignalsEditorEditSession GetSignalsWidget (SignalsEditorFrontend frontend) { if (signalsWidget == null) { signalsWidget = new SignalsEditorEditSession (frontend); signalsWidget.ProjectBackend = activeProject; signalsWidget.Editor.TargetObject = targetViewerObject; } return signalsWidget; }