🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24222

Re: Binding events in one widget to another

#24222
From: Paul Asente
Date: Fri, 28 Jun 1991 20:29
14 lines
1039 bytes
In article <11935@ncar.ucar.edu> morreale@bierstadt.scd.ucar.edu (Peter Morreale) writes:
>Suppose I have a Command button and asciitext widget in an app.  I'd
>like to bind a RETURN in the text widget to a Button1 press in the
>command widget....

This is exactly what accelerators do.  Read up on accelerators.

	-paul asente
		asente@adobe.com	...decwrl!adobe!asente

    Ratz put a bucket of liquid in front of me.
   "I wanted a glass of docs, Ratz.  What the hell is this?" I barked.
   "Motif don't fit in a glass anymore," he barked back.
    I looked at the liquid.  It was totally opaque to me.
Technical Details
Message-ID: <17107@adobe.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!adobe!asente
References: <11935@ncar.ucar.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!adobe!asente
From: asente@adobe.com (Paul Asente)
Newsgroups: comp.windows.x
Subject: Re: Binding events in one widget to another
Keywords: Command, asciiText Xt widgets...
Message-ID: <17107@adobe.UUCP>
Date: 28 Jun 91 20:29:50 GMT
References: <11935@ncar.ucar.edu>
Sender: news@adobe.COM
Organization: Adobe Systems Inc.
Lines: 14