Opened 9 years ago
Closed 9 years ago
#418 closed defect (fixed)
problems with help command new-viewer option
Reported by: | Elaine Meng | Owned by: | Greg Couch |
---|---|---|---|
Priority: | major | Milestone: | Alpha Release |
Component: | Help System | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Would be better to change the “help” option “new_viewer” to avoid underscores, say to newViewer, newWindow, or something like that. It doesn't allow truncation either. As I understood it, we were going to camelCase all options and allow them to be truncated.
Also, the option doesn’t work in Qt, as far as I can tell. Maybe it worked in Wx. At first I thought it put the new window exactly on top of the old one, but I tried moving it aside and there wasn't anything underneath.
Note:
See TracTickets
for help on using tickets.
'new_viewer' doesn't do anything right now, and thus should not be documented. At a chimera meeting we decided to remove the new_viewer functionality for now, and revisit how to simultaneouly show multiple help items at a later date. Most likely as a single window with tabs. Once implemented, using target="_blank" in a html link would open a new tab instead of a web browser. And the option name would be changed.
With my other thought that the open command should open help URLs, and the help command would only take command names, or "help tool <toolname>", then the option would turn into a 'target' keyword argument to the open command.