Develop some plugins

Discussion about CodeLite development process and patches
jankup
CodeLite Curious
Posts: 4
Joined: Wed Feb 17, 2010 7:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

Develop some plugins

Post 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;-)
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Develop some plugins

Post 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
Make sure you have read the HOW TO POST thread
jankup
CodeLite Curious
Posts: 4
Joined: Wed Feb 17, 2010 7:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Develop some plugins

Post by jankup »

OK, its perfect.

Thanks;-)
Post Reply