wxOptionListCtrl Class Reference

List of all members.

Public Member Functions

 wxOptionListCtrl ()
 wxOptionListCtrl (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("wxOptionListCtrl"))
bool Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("wxOptionListCtrl"))
bool Load (wxConfigBase *, const wxString &path)
void Save (wxConfigBase *, const wxString &path) const
bool SetOptions (const wxPackageCommandOptionArray &opt)
void SetBuildSystemType (wxPackageBuildSystemType type)
void SetStages (long stages)
void SetCompilerFormats (long formats)
wxPackageCommandOptionArrayGetOptions ()
bool IsDirty () const
bool TransferDataFromWindow ()
bool TransferDataToWindow ()
void DeleteSelected ()
wxString GetSelectedOptName () const
void OnItemActivated (wxTreeEvent &ev)

Protected Attributes

wxPackageCommandOptionArray m_arr
wxPackageBuildSystemType m_buildsys
long m_stages
long m_formats

Detailed Description

Definition at line 24 of file optlistctrl.h.


Member Function Documentation

bool wxOptionListCtrl::Load ( wxConfigBase *  ,
const wxString &  path 
)

Loads from given path the strings previously saved by a Save call. All previous contents are cleared.

void wxOptionListCtrl::Save ( wxConfigBase *  ,
const wxString &  path 
) const

Saves in given path all the currently contained strings. Order will be preserved by Load.

bool wxOptionListCtrl::SetOptions ( const wxPackageCommandOptionArray opt  )  [inline]

Sets the options associated to this control and the stage it controls. Only the options which can be used with the given format & given stage are shown. The value wxPCF_INVALID means that the check on the compiler is skipped.

Definition at line 60 of file optlistctrl.h.

References m_arr, wxPackageCommandOptionArray::SetDirty(), and TransferDataToWindow().

Referenced by wxPackagePropertiesPanel::DoSetBuildSystemPackageInfo(), and wxPackagePropertiesPanel::OnBuildSystemButton().

wxPackageCommandOptionArray& wxOptionListCtrl::GetOptions (  )  [inline]

Returns all options with the values currently set in this control. Note that if you modify the returned array, in order to make the changes appear in the control you have to call TransferDataToWindow().

Definition at line 73 of file optlistctrl.h.

References m_arr.

Referenced by wxPackagePropertiesPanel::GetBuildSystemPackageInfo(), wxPackagePropertiesPanel::IsBuildSystemPageOk(), wxPackagePropertiesPanel::IsUserOption(), wxPackagePropertiesPanel::OnBuildSystemButton(), wxPackagePropertiesPanel::OnOptionDClick(), and wxPackagePropertiesPanel::UpdateOptions().

bool wxOptionListCtrl::IsDirty (  )  const [inline]

Returns true if the options have been changed by the user since last call to SetOptions().

Definition at line 78 of file optlistctrl.h.

References wxPackageCommandOptionArray::IsDirty(), and m_arr.


The documentation for this class was generated from the following files:
Generated on Thu Feb 1 22:14:32 2007 for wxWidgets Package Manager by  doxygen 1.5.1-p1