Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!rsiatl!meo From: meo@rsiatl.UUCP (Miles ONeal) Newsgroups: comp.windows.x Subject: Re: Calling Actions, List Widget Message-ID: <4649@rsiatl.UUCP> Date: 4 Nov 90 04:49:28 GMT Organization: Systems & Software Solutions, Inc. Lines: 24 ems@aristotle.JPL.NASA.gov (Eric Slimko) 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? Are you writing a widget or a client? It's possible, but is it really what you want to do? Why not send the event? And depending on what you want to do it may be very, very ugly. All the normal internals are available through the widgetP.h header files. Of course, using them may void the warranty (as it were no warranty is implied or expressed, etc) for dropin replacements of future releases of the toolkit/widget set. Finally, if said "arbitrary action " is a static routine, you will have to do something about that. Miles O'Neal {uunet | emory}!rsiatl!meo (home) meo@sware.com (work) {uunet | emory}!sware!meo (work)