public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/32162] New: Add visible/hidden callbacks to Python TUI windows
@ 2024-09-10 20:16 peacemakerctf at gmail dot com
  2024-09-11 14:02 ` [Bug python/32162] " tromey at sourceware dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: peacemakerctf at gmail dot com @ 2024-09-10 20:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=32162

            Bug ID: 32162
           Summary: Add visible/hidden callbacks to Python TUI windows
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: peacemakerctf at gmail dot com
  Target Milestone: ---

A Python TuiWindow does not have a callback to react to the TUI mode getting
enabled or disabled. This would be useful to allow to change settings when the
window is actually displayed and reset them when switching to CLI mode. Right
now the lifecycle of a TuiWindow isn't fully covered by events and you have to
check `self.is_valid()` every time to see if the window is currently displayed
or not.

This could be implemented by adding a `hidden` and `visible` function to the
Window protocol which would be called when tui mode is disabled/enabled.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-12-18 15:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-10 20:16 [Bug python/32162] New: Add visible/hidden callbacks to Python TUI windows peacemakerctf at gmail dot com
2024-09-11 14:02 ` [Bug python/32162] " tromey at sourceware dot org
2024-09-11 14:03 ` tromey at sourceware dot org
2024-09-11 14:18 ` ssbssa at sourceware dot org
2024-09-11 14:19 ` ssbssa at sourceware dot org
2024-09-11 16:05 ` tromey at sourceware dot org
2024-09-11 16:11 ` ssbssa at sourceware dot org
2024-09-11 20:48 ` tromey at sourceware dot org
2024-09-11 21:47 ` peacemakerctf at gmail dot com
2024-09-24 17:23 ` tromey at sourceware dot org
2024-09-24 17:24 ` tromey at sourceware dot org
2024-09-24 17:55 ` ssbssa at sourceware dot org
2024-09-25 16:39 ` tromey at sourceware dot org
2024-09-27 19:42 ` tromey at sourceware dot org
2024-09-27 19:48 ` tromey at sourceware dot org
2024-11-01 17:11 ` cvs-commit at gcc dot gnu.org
2024-11-01 17:12 ` tromey at sourceware dot org
2024-12-17 15:27 ` oleg.tolmatcev at gmail dot com
2024-12-18 15:37 ` cvs-commit at gcc dot gnu.org
2024-12-18 15:38 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).