ttsTypeOption Class Reference

#include <OptionCustom.h>

Inheritance diagram for ttsTypeOption:

Inheritance graph
[legend]
Collaboration diagram for ttsTypeOption:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ttsTypeOption (const wxString &configValueName, const wxString &description, const wxString &defaultValue)
void DoDisplay (wxOptionSizer *sizer, wxWindow *parent)
 you should override the following functions:
void OnTest (wxCommandEvent &event)
bool Enable (bool enable)
 Enable/disable any controls that need to be enabled/disabled.

Private Attributes

wxButton * m_testButton
wxTextCtrl * m_testText


Detailed Description

Definition at line 70 of file OptionCustom.h.


Constructor & Destructor Documentation

ttsTypeOption::ttsTypeOption ( const wxString &  configValueName,
const wxString &  description,
const wxString &  defaultValue 
)

Definition at line 57 of file OptionCustom.cpp.


Member Function Documentation

void ttsTypeOption::DoDisplay ( wxOptionSizer sizer,
wxWindow *  parent 
) [virtual]

you should override the following functions:

This is called when the option is going to be displayed. You should add your controls to a sizer, and then wait for OnWindowDestroy() to be called. If you need to get the value of a control (ie, a textbox), then you should keep pointers to them around. However, do not delete the controls, since they are owned by the parent dialog and will be automatically deleted.

Parameters:
sizer is a wxOptionSizer that has two columns that your controls should be added to
parent is a reference to the parent window that you should pass to your child controls.

Reimplemented from wxComboBoxOption.

Definition at line 74 of file OptionCustom.cpp.

void ttsTypeOption::OnTest ( wxCommandEvent &  event  ) 

Definition at line 89 of file OptionCustom.cpp.

bool ttsTypeOption::Enable ( bool  enable  )  [inline, virtual]

Enable/disable any controls that need to be enabled/disabled.

Don't bother doing this with static labels, that just seems like it would be annoying and useless.

Reimplemented from wxComboBoxOption.

Definition at line 75 of file OptionCustom.h.


Member Data Documentation

wxButton* ttsTypeOption::m_testButton [private]

Definition at line 79 of file OptionCustom.h.

wxTextCtrl* ttsTypeOption::m_testText [private]

Definition at line 83 of file OptionCustom.h.


The documentation for this class was generated from the following files:

Generated on Sun Jul 27 17:26:21 2008 for Roadnav by  doxygen 1.5.5