WxGUIHelp Class Reference

List of all members.

Public Member Functions

 WxGUIHelp (wxWindow *parent, wxString title, wxSize size)
 ~WxGUIHelp ()
void OnButtonRun (wxCommandEvent &WXUNUSED(event))
void OnButtonQuit (wxCommandEvent &WXUNUSED(event))
 DECLARE_EVENT_TABLE ()

Public Attributes

WxGUIPackageBrowser2mWxGUIPackageBrowser
wxButton * mwxButtonQuit


Detailed Description

Definition at line 17 of file bbPackageBrowser.cxx.


Constructor & Destructor Documentation

WxGUIHelp::WxGUIHelp ( wxWindow *  parent,
wxString  title,
wxSize  size 
)

Definition at line 43 of file bbPackageBrowser.cxx.

References ID_Button_Quit, bbtk::WxGUIPackageBrowser2::IncludeAll(), mwxButtonQuit, and mWxGUIPackageBrowser.

00044   : wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size)
00045 //                                         InterpreterUser()  
00046 { 
00047   wxBoxSizer *helpsizer = new wxBoxSizer(wxVERTICAL);
00048   // mWxGUIHtmlBrowser = new WxGUIHtmlBrowser(this,wxSize(200,0));
00049   //  helpsizer->Add (mWxGUIHtmlBrowser,1, wxGROW|wxLEFT|wxRIGHT|wxTOP, 5  );
00050   mWxGUIPackageBrowser = new WxGUIPackageBrowser2(this);
00051   helpsizer->Add (mWxGUIPackageBrowser,1, wxGROW|wxLEFT|wxRIGHT|wxTOP, 5  );
00052 
00053   wxBoxSizer *btnsizer = new wxBoxSizer(wxHORIZONTAL);
00054   /*
00055   wxBitmap bmp_run(cc_run_xpm);
00056   mwxButtonRun = new wxBitmapButton(this,ID_Button_Run,bmp_run);
00057   btnsizer->Add( mwxButtonRun, 0, wxALL, 5  );
00058   */
00059   wxBitmap bmp_quit(cc_exit_xpm);
00060   mwxButtonQuit = new wxBitmapButton(this,ID_Button_Quit,bmp_quit);
00061   btnsizer->Add( mwxButtonQuit, 0, wxALL, 5  );
00062 
00063   helpsizer->Add( btnsizer );
00064 
00065   // Creates and sets the parent window of all bbtk windows
00066   /*
00067   wxWindow* top = new wxPanel(this,-1);//,_T("top"));
00068   top->Hide();
00069   Wx::SetTopWindow(top);
00070   */
00071 
00072   SetSizer(helpsizer);
00073   SetAutoLayout(true);
00074   Layout();
00075 
00076   // mWxGUIHtmlBrowser->GoHome();
00077   mWxGUIPackageBrowser->IncludeAll();
00078 }

Here is the call graph for this function:

WxGUIHelp::~WxGUIHelp (  ) 

Definition at line 80 of file bbPackageBrowser.cxx.

00080 {}


Member Function Documentation

void WxGUIHelp::OnButtonRun ( wxCommandEvent &  WXUNUSEDevent  ) 

void WxGUIHelp::OnButtonQuit ( wxCommandEvent &  WXUNUSEDevent  ) 

Definition at line 127 of file bbPackageBrowser.cxx.

00128 {
00129   Close();
00130 }

WxGUIHelp::DECLARE_EVENT_TABLE (  ) 


Member Data Documentation

Definition at line 27 of file bbPackageBrowser.cxx.

Referenced by WxGUIHelp().

Definition at line 29 of file bbPackageBrowser.cxx.

Referenced by WxGUIHelp().


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

Generated on Wed Nov 12 11:38:16 2008 for BBTK by  doxygen 1.5.6