Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!decwrl!shelby!bloom-beacon!eru!luth!sunic!mcsun!ukc!harrier.ukc.ac.uk!rlh2 From: rlh2@ukc.ac.uk (Richard Hesketh) Newsgroups: comp.windows.x Subject: Re: Getting a list of a widgets resources at run-time? Message-ID: <5194@harrier.ukc.ac.uk> Date: 28 Jul 90 08:27:25 GMT References: Reply-To: rlh2@ukc.ac.uk (Richard Hesketh) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 16 Summary: Expires: Sender: Followup-To: In article montanaro@crdgw1.ge.com (Skip Montanaro) writes: >At the C level is there a way to get a list of resources a widget >understands at run-time, or query a widget to see if it knows about a >specific resource? Try using XtGetResourceList() and (in R4 only) XtGetConstraintResourceList(). (use XtClass() to get the widget's class). >Skip (montanaro@crdgw1.ge.com) Richard Hesketh : @nsfnet-relay.ac.uk:rlh2@ukc.ac.uk : rlh2@ukc.ac.uk ..!mcsun!ukc!rlh2 --- Computing Lab., University of Kent at Canterbury, Canterbury, Kent, CT2 7NF, United Kingdom. Tel: +44 227 764000 ext 7620/3682