Xref: utzoo comp.windows.x:13522 comp.sys.hp:2928 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!think!bloom-beacon!eru!luth!sunic!bmc!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.windows.x,comp.sys.hp Subject: Re: HP List widget callback. How? Message-ID: <1173@kuling.UUCP> Date: 17 Sep 89 15:11:57 GMT References: <1172@kuling.UUCP> Reply-To: irf@kuling.UUCP (Bo Thide') Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 15 In article <1172@kuling.UUCP> irf@kuling.UUCP (Bo Thide') writes: > [text deleted] >An ordinary XtAddCallback(.., XtNselect,..,..) for the list widget itself will >result in "X Toolkit Warning: Cannot find callback list in XtAddCallbacks". >If instead I add the callback to the individual widgets in the list (in >my case static text widgets) nothing happens after a normal (Button1) select. > Adding callbacks to individual list items is the correct way of doing it. I just found that out (after removing a nasty little bug -- shame on me). Sorry that I wasted net bandwidth with this one. On the other hand, I am sure I wouldn't have solved the problem without asking for help on the net :-) Sometimes you get very blind. -Bo