bbtk::WxGUITextEditorWindow Class Reference

Editor in a frame. More...

#include <bbtkWxGUITextEditor.h>

List of all members.

Public Member Functions

 WxGUITextEditorWindow (wxWindow *parent, wxString title, wxSize size)
 ~WxGUITextEditorWindow ()
void Open (const std::string &filename)

Private Attributes

WxGUITextEditormEditor


Detailed Description

Editor in a frame.

Definition at line 189 of file bbtkWxGUITextEditor.h.


Constructor & Destructor Documentation

bbtk::WxGUITextEditorWindow::WxGUITextEditorWindow ( wxWindow *  parent,
wxString  title,
wxSize  size 
)

Definition at line 703 of file bbtkWxGUITextEditor.cxx.

00706     : wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size)
00707   {     
00708     
00709     
00710     wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
00711 
00712     mEditor = new WxGUITextEditor(this);
00713     sizer->Add(mEditor,1,wxGROW);
00714     
00715     //    WxGUICommand* com = new WxGUICommand(this,this);
00716     //    sizer->Add(com);
00717     
00718     SetSizer(sizer);
00719 
00720     // parent window of all bbtk windows will be a child of this
00721     Wx::SetTopWindowParent(this);
00722     // Add the method OnWxSignal as a Wx::Signal observer 
00723     //bbtkAddWxSignalObserver(WxGUITextEditorWindow::OnWxSignal);
00724     
00725    
00726     SetAutoLayout(true);
00727     Layout();
00728   }

bbtk::WxGUITextEditorWindow::~WxGUITextEditorWindow (  ) 

Definition at line 732 of file bbtkWxGUITextEditor.cxx.

00733   {
00734   }


Member Function Documentation

void bbtk::WxGUITextEditorWindow::Open ( const std::string &  filename  )  [inline]

Definition at line 195 of file bbtkWxGUITextEditor.h.

00195 { mEditor->Open(filename); }


Member Data Documentation

WxGUITextEditor* bbtk::WxGUITextEditorWindow::mEditor [private]

Definition at line 201 of file bbtkWxGUITextEditor.h.


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

Generated on Wed Nov 12 11:39:07 2008 for BBTK by  doxygen 1.5.6