arnaud++at++pobox.oleane.com
Tue, 29 Jul 1997 11:46:44 +0200
Bonjour Melanie
Si vous avez une version suffisamment recente de Rapidapp, la palette
windows doit contenir un widget nomme Color Dialog qui rend les memes
services que le Color Editor de Inventor.
Sinon vous pouvez aller voir les sources normalement situes sous
/usr/share/src/Inventor/samples/widgets si Inventor est correctement
installe sur votre machine.
Ces sources correspondent a tous les widget un peu speciaux que vous
avez dans l'utilitaire SceneViewer.
Regardez en particulier le fichier MyColEd.c++ qui devrait contenir ce
que vous cherchez.
Enfin, pour rendre inaccessible un widget comme un PushButton ou un
Scale, il suffit d'appeler :
XtVaSetValues(widget, XmNsensitive, False, NULL);
si "widget" est le pointeur sur le widget a devalider.
Bon courage !
And now in (poor) english :
Hi Melanie
If you've got a release of RapidApp recent enough, you can find a Color
Dialog widget in Windows Palette, which is similar in terms of
functionality with the color editor of Inventor.
If not, take a look at the directory
/usr/share/src/Inventor/samples/widgets if Inventor is correctly
installed on your host.
The sources correspond to all special widgets that you can see in
SceneViewer and MyColEd.c++ should contain all relevant information for
your color editor.
To invalidate a widget like a pushbutton or a scale, just call :
XtVaSetValues(widget, XmNsensitive, False, NULL);
with "widget" being the pointer on the widget you want to invalidate.
Philippe Poutignat
Thomson Training & Simulation
ZA Les Boutries
78703 Conflans Sainte Honorine
FRANCE
=======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:40 PDT