bbtk::WxGUITextEditorWindow Class Reference

Editor in a frame. More...

#include <bbtkWxGUITextEditor.h>

Collaboration diagram for bbtk::WxGUITextEditorWindow:

Collaboration graph
[legend]

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 199 of file bbtkWxGUITextEditor.h.


Constructor & Destructor Documentation

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

Definition at line 745 of file bbtkWxGUITextEditor.cxx.

References bbtk::Wx::SetTopWindow().

00748     : wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size)
00749   {     
00750     
00751     
00752     wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
00753 
00754     mEditor = new WxGUITextEditor(this);
00755     sizer->Add(mEditor,1,wxGROW);
00756     
00757     //    WxGUICommand* com = new WxGUICommand(this,this);
00758     //    sizer->Add(com);
00759     
00760     SetSizer(sizer);
00761 
00762     // parent window of all bbtk windows will be a child of this
00763     //    Wx::SetTopWindowParent(this);
00764     Wx::SetTopWindow(this);
00765     // Add the method OnWxSignal as a Wx::Signal observer 
00766     //bbtkAddWxSignalObserver(WxGUITextEditorWindow::OnWxSignal);
00767     
00768    
00769     SetAutoLayout(true);
00770     Layout();
00771   }

Here is the call graph for this function:

bbtk::WxGUITextEditorWindow::~WxGUITextEditorWindow (  ) 

Definition at line 775 of file bbtkWxGUITextEditor.cxx.

00776   {
00777   }


Member Function Documentation

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

Definition at line 205 of file bbtkWxGUITextEditor.h.

00205 { mEditor->Open(filename); }


Member Data Documentation

Definition at line 211 of file bbtkWxGUITextEditor.h.


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

Generated on Thu May 31 14:15:43 2012 for BBTK by  doxygen 1.5.7.1