Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!Eng.Sun.COM!argv From: argv@Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: MainWindow and CommandWidget questions Message-ID: <9007030051.AA10135@turnpike.Eng.Sun.COM> Date: 3 Jul 90 00:51:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 24 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.