MCPcopy Create free account
hub / github.com/BuddySirJava/SSH-Studio / _setup_split_view

Method _setup_split_view

src/ui/main_window.py:148–162  ·  view source on GitHub ↗

Set up the split view between host list and editor.

(self)

Source from the content-addressed store, hash-verified

146 self.show_toast(message)
147
148 def _setup_split_view(self):
149 """Set up the split view between host list and editor."""
150 self.host_list = HostList()
151 self.host_editor = HostEditor()
152 try:
153 self.host_editor.set_app(self.app)
154 except Exception:
155 return
156
157 paned = Gtk.Paned(orientation=Gtk.Orientation.HORIZONTAL)
158 paned.set_start_child(self.host_list)
159 paned.set_end_child(self.host_editor)
160 paned.set_position(400)
161
162 self.main_box.append(paned)
163
164 def _connect_signals(self):
165 """Connect all the signal handlers."""

Callers

nothing calls this directly

Calls 3

HostListClass · 0.85
HostEditorClass · 0.85
set_appMethod · 0.80

Tested by

no test coverage detected