Develop some plugins

Discussion about CodeLite development process and patches

Develop some plugins

Postby jankup on Thu Mar 11, 2010 11:02 am

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;-)
jankup
 
Posts: 4
Joined: Wed Feb 17, 2010 5:34 pm

Re: Develop some plugins

Postby eranif on Thu Mar 11, 2010 11:32 am

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
User avatar
eranif
Site Admin
 
Posts: 1888
Joined: Wed Feb 06, 2008 7:29 pm

Re: Develop some plugins

Postby jankup on Thu Mar 11, 2010 12:45 pm

OK, its perfect.

Thanks;-)
jankup
 
Posts: 4
Joined: Wed Feb 17, 2010 5:34 pm


Return to CodeLite Development / Patches

Who is online

Users browsing this forum: No registered users and 1 guest