Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ObjCryst::WXFieldChoice Class Reference

Class to pick one choice... Choice change/update is handled by the WXCrystObj owner, who should grab the incoming event. Useful, for example, to change the scattering power associated to an atom. More...

#include <wxCryst.h>

Inheritance diagram for ObjCryst::WXFieldChoice::

ObjCryst::WXField ObjCryst::WXCrystObjBasic List of all members.

Public Methods

 WXFieldChoice (wxWindow *parent, const int field_id, const string &name, const int hsize=80)
 Constructor.

bool Layout ()
 Redo the layout of the field.

void OnUpdateUI (wxUpdateUIEvent &WXUNUSED(event))
 UpdateUI does not grab new values in the underlying object, but only updates the values which have been supplied.

virtual void CrystUpdate ()
 Does nothing.

void Revert ()
 Does nothing.

void SetValue (const string &)
 Used by the owner to change the name of the choice.


Protected Attributes

wxButton * mpButton
 The button to be clicked to change the value.


Detailed Description

Class to pick one choice... Choice change/update is handled by the WXCrystObj owner, who should grab the incoming event. Useful, for example, to change the scattering power associated to an atom.


The documentation for this class was generated from the following file:
Generated on Wed Nov 14 19:48:38 2001 for ObjCryst++ by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001