This class defines a user inteface entity that allows the user to control some attribute/data within the system.
![]() | PNamedControl ( PInteractor * parent ) Create a named control with the specified name. |
![]() | PNamedControl ( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & func, void * valuePtr ) Create control from interactor layout with the specified control ID. |
![]() | ~PNamedControl () Destroy the named control. |
![]() | GetName () const Get the name that is currently used by the control. |
![]() | SetName ( const PString & name ) Set the name that is to be next to the control. |
![]() | New functions for class |
PNotifier codes
Overrides from class PInteractor
Overrides from class PInteractor
Member variables
Overrides from class PObject
System callback functions.
This class defines a user inteface entity that allows the user to control some attribute/data within the system.In addition to the standard PControl functionality a named control also has a title or name associated with it, eg a check box has a text string next to the graphic.
PNamedControl( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & func, void * valuePtr )
ctlID - Identifier for the control in the layout.
func - Function to call when control changes state.
valuePtr - Variable to change to the controls state.virtual ~PNamedControl()
New functions for class
PString GetName() const
void SetName( const PString & name )
Alphabetic index HTML hierarchy of classes or Java