rgr@m10ux.UUCP (Duke Robillard) (12/09/88)
thanks to everyone who told me to run xhosts to fix my "server not authorized" problem. I've tried to mail thank yous to you all, but as Dustin Hoffman's grandfather said "sometimes the magic works, and sometimes it doesn't" -- | Duke Robillard | | | | | ARPA: rgr@m10ux.att.com | UUCP: {backbone!}att!m10ux!rgr | | or maybe: m10ux!rgr@att.att.com | BITNET: rgr%m10ux.att.com@cunyvm |
soh@shiva.trl.oz (kam hung soh) (08/09/90)
Dear Netters, I haven't had time to reply to everyone who emailed me, so I'm using this opportunity to thank the following for telling me how to find the parent of a Widget: achan@tdd.sj.nec.com (Amy Chan) swick@athena.mit.edu (Ralph Swick) Don Dewar <don%zardoz.coral.com> Richard P. Martin <rmartin@ctt.bellcore.com> spence%snake.esd%sgi.com (Spencer Murray) cjmchale@cs.tcd.ie (Ciaran McHale) The function is named XtParent(Widget w). God knows why I didn't see it the first five times I looked through the manual. Maybe it was a tiring day. Also, thanks to the following for telling me how to change the cursor of a Widget: Jim Wight <J.K.Wight%newcastle.ac.uk> cjmchale@cs.tcd.ie (Ciaran McHale) The solution is best explained by Ciaran: --- I may be wrong but my understanding is that you need to create the cursor yourself (from the file "trek") and then pass in the cursor ID to XtSetArg. The reason you can specify the file name in the resource file (or fallback resouces) is that there is a string-to-cursor converter provided by either the Intrinsics or the Athena widget set. Perhaps it is possible to access this converter in your main program so you might do something like: cursor = StringToCursorConverter("trek"); XtSetArg(args[num_args], XtNscrollDCursor, cursor); num_args++; If you can't access the string to cursor converter (check the Intrinsics and Athena manuals) then write your own. --- Happy X-ing! --- Soh, Kam Hung email: h.soh@trl.oz.au tel: +61 03 541 6403 Telecom Research Laboratories, P.O. Box 249, Clayton, Victoria 3168, Australia
jeff@unicorn.cc.wwu.edu (Jeff Wandling) (03/19/91)
Thanks to those who sent mail and posted solutions! -- Jeff Wandling jeff@unicorn.cc.wwu.edu