一些窗口在 gdb-many-windows-mode 的标题上有可点击的按钮或选项卡,例如“本地/寄存器”或“断点/线程”。它们是标签吗?我可以在它们旁边添加新的吗?
最佳答案
纽扣。
When gdb-many-windows is non-nil, the GDB Breakpoints buffer shares its window with the GDB Threads buffer. To switch from one to the other click with Mouse-1 on the relevant button in the header line. If gdb-show-threads-by-default is non-nil, the GDB Threads buffer is the one shown by default.Source
如果您想尝试添加按钮,您可能必须扩展 gdb-mi.el。我不确定这是否可以轻松实现。
关于emacs - 它是 Emacs gdb-many-windows-mode 中标题上的按钮还是选项卡?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11731814/