MCPcopy Create free account
hub / github.com/TabViewer/tabview / show_cell

Method show_cell

tabview/tabview.py:307–316  ·  view source on GitHub ↗

Display current cell in a pop-up window

(self)

Source from the content-addressed store, hash-verified

305 self.goto_x(end)
306
307 def show_cell(self):
308 "Display current cell in a pop-up window"
309 yp = self.y + self.win_y
310 xp = self.x + self.win_x
311 s = "\n" + self.data[yp][xp]
312 if not s:
313 # Only display pop-up if cells have contents
314 return
315 TextBox(self.scr, data=s, title=self.location_string(yp, xp))()
316 self.resize()
317
318 def show_info(self):
319 """Display data information in a pop-up window

Callers

nothing calls this directly

Calls 3

location_stringMethod · 0.95
resizeMethod · 0.95
TextBoxClass · 0.85

Tested by

no test coverage detected