Path: utzoo!attcan!uunet!samsung!usc!snorkelwacker!paperboy!mitch From: mitch@edsvcs.osf.org (Mitch Trachtenberg) Newsgroups: comp.windows.x Subject: Re: Motif Command widget question Message-ID: Date: 7 Jun 90 13:52:00 GMT Sender: news@OSF.ORG Distribution: comp Organization: Open Software Foundation Lines: 19 > ...How is the Motif Command widget typically used? One typical use is to place the command widget at the bottom of a Motif main window (or, in Motif 1.0, just under the menubar) and use it in addition to the menu system as a way of entering commands into your application. You can register a callback which will be called whenever the enter key is pressed, or when an item in the command history list is double clicked. This widget may be of more interest to those porting preexisting command-line oriented applications than to those developing Motif apps from scratch. (The Motif command widget provides a text entry field grouped with a list, with the list automatically maintaining a command "history.") -- Mitch Trachtenberg, OSF (mitch@osf.org) (617) 621-8895