Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!yale!cmcl2!phri!marob!slhisc!sky!jerry From: jerry@slhisc.uucp (Jerry Liebelson) Newsgroups: comp.windows.x Subject: Re: Calling Actions, List Widget Message-ID: Date: 5 Nov 90 14:39:39 GMT References: <1990Nov2.191421.19731@elroy.jpl.nasa.gov> <28536@bellcore.bellcore.com> Sender: jerry@slhisc.uucp (Jerry Liebelson) Organization: Shearson Lehman Brothers, Inc. (ISC) Lines: 18 In-Reply-To: aw@cellar.uucp's message of 4 Nov 90 04:08:45 GMT Reply-To: uunet!slcpi!slhisc!jerry Organization: Shearson Lehman Brothers, Inc. ------------------------------------------------------------------------------ In article <1990Nov2.191421.19731@elroy.jpl.nasa.gov> ems@socrates.jpl.nasa.gov writes: > > Is it possible to call an arbitrary action of a given widget >without sending an artificial event? For example, based on >a return in a Text Widget, I want to be able to call the >"ListNextElement()" action of a list widget. Is this possible? If you are using X11 Rel 4, try XtCallActionProc(). I don't think it is documented in earlier versions of O'Reilly, so check the MIT documentation. -- Jerry Liebelson uunet!slcpi!slhisc!jerry Distributed Infrastructure rutgers!marob!slhisc!jerry Shearson Lehman Brothers, Inc. (212) 341-3166 FAX: (212) 528-0101