argv@Eng.Sun.COM (Dan Heller) (07/03/90)
The style guide says that an optional "command line" interpreter-type widget may be made available to the user, but should be placed below the work area to be sure that it is under the MenuBar in order for the pulldown menus not to cover up the command line display. However, the MainWindow widget places the CommandWidget above the work area. Is this a bug fixed in 1.1 or is this there by design? The command widget's history display box must be set to at least 1. What's wrong with having no visible history lines? If it were possible, you could use the command widget as a one-line prompter. Using translations, you could dereference history elements even tho those items are not displayed. For example, a translation routine for ^P can make a call to XtVaGetValues to get the history text from the previously entered item set the command to that value. This would make emacs/vi style history reference possible. In these cases, it may be desireable not to display the history -- at least the option should be available to the programmer. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.
john@quonset.cfht.hawaii.edu (John Kerr) (07/13/90)
The Motif 1.0 MainWindow widget is not style guide compliant. In release 1.1, supposedly, there will be a boolean resource to specify how to position the CommandWidget. ---------------------------------------------------------------------------- John Kerr Canada-France-Hawaii Telescope Corp. INTERNET: john@cfht.hawaii.edu BITNET: john@uhcfht ----------------------------------------------------------------------------