#include <toolbarcust/toolbarcust.h>
Public Member Functions | |
wxToolBarCustomisationManager () | |
~wxToolBarCustomisationManager () | |
void | Init () |
Initialises the class. | |
void | Clear () |
Clears the items. | |
void | Add (wxToolBarCustomisationInfo *info) |
Adds information about a toolbar. | |
wxToolBarCustomisationInfo * | Find (const wxString &name) const |
Finds information about a toolbar. | |
int | FindIndex (const wxString &name) const |
Finds the nth info for the given name. | |
wxToolBarCustomisationInfo * | GetNth (int n) const |
Gets the nth record. | |
int | GetCount () const |
Gets the number of toolbar customisation records. | |
bool | Save (const wxString &path, wxConfigBase &config) |
Saves enabled status to config. | |
bool | Load (const wxString &path, wxConfigBase &config) |
Load enabled status from config. | |
Protected Attributes | |
wxList | m_infos |
wxToolBarCustomisationManager::wxToolBarCustomisationManager | ( | ) |
wxToolBarCustomisationManager manages multiple customisation information.
wxToolBarCustomisationManager::~wxToolBarCustomisationManager | ( | ) |
void wxToolBarCustomisationManager::Add | ( | wxToolBarCustomisationInfo * | info | ) |
Adds information about a toolbar.
void wxToolBarCustomisationManager::Clear | ( | ) |
Clears the items.
wxToolBarCustomisationInfo * wxToolBarCustomisationManager::Find | ( | const wxString & | name | ) | const |
Finds information about a toolbar.
int wxToolBarCustomisationManager::FindIndex | ( | const wxString & | name | ) | const |
Finds the nth info for the given name.
int wxToolBarCustomisationManager::GetCount | ( | ) | const [inline] |
Gets the number of toolbar customisation records.
wxToolBarCustomisationInfo * wxToolBarCustomisationManager::GetNth | ( | int | n | ) | const |
Gets the nth record.
void wxToolBarCustomisationManager::Init | ( | ) |
Initialises the class.
bool wxToolBarCustomisationManager::Load | ( | const wxString & | path, | |
wxConfigBase & | config | |||
) |
Load enabled status from config.
bool wxToolBarCustomisationManager::Save | ( | const wxString & | path, | |
wxConfigBase & | config | |||
) |
Saves enabled status to config.
wxList wxToolBarCustomisationManager::m_infos [protected] |