Page 1 of 1

Develop some plugins

Posted: Thu Mar 11, 2010 1:02 pm
by jankup
Hi,
I am Peter and I want to develop some codelite plugins, then i have one qustion. If i was looking for interfaces and some object witch I can use for comunicate with codelite, I found functions GetWorkspacePaneNotebook and GetOutputPaneNotebook. Thats OK. But is there any way to add some tabs into main widnow (Editor) and my wxPanel into thsi the tab? I would like to made plugin witch large graphic interface witch sould be placed in tab like clasic source file.

Thanks for reply;-)

Re: Develop some plugins

Posted: Thu Mar 11, 2010 1:32 pm
by eranif
Each plugin has a member named:

m_mgr of type IManager.

To add any window to the main editor:

Code: Select all

m_mgr->AddPage(new wxPanel(m_mgr->GetTheApp()->GetTopWindow()), wxT("My Panel"));
Eran

Re: Develop some plugins

Posted: Thu Mar 11, 2010 2:45 pm
by jankup
OK, its perfect.

Thanks;-)