Author Topic: Adding a new tab in the Management Window  (Read 6028 times)

Offline puneet_m

  • Multiple posting newcomer
  • *
  • Posts: 73
Adding a new tab in the Management Window
« on: February 26, 2008, 07:26:53 pm »
Which xrc file is adding the tabs Projects,Symbols and Resources on the left hand side Management window.

Thanks,
Puneet

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Adding a new tab in the Management Window
« Reply #1 on: February 26, 2008, 10:34:03 pm »
None.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline puneet_m

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: Adding a new tab in the Management Window
« Reply #2 on: February 26, 2008, 10:36:31 pm »
Then what file is adding these tabs? Basically I want to add a new tab to this Management window pane. So I am looking for the code(filename) which does the addition of the tab.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Adding a new tab in the Management Window
« Reply #3 on: February 26, 2008, 10:55:57 pm »
Several ones, for example projectmanager.cpp
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline puneet_m

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: Adding a new tab in the Management Window
« Reply #4 on: February 26, 2008, 11:00:33 pm »
Thanks for your reply. I see the following line adding Projects tab
m_pNotebook->AddPage(m_pTreed, _("Projects"));

But where are the Symbols and Resources tab getting added?

Thanks,
Puneet

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Adding a new tab in the Management Window
« Reply #5 on: February 26, 2008, 11:01:50 pm »
In some other files that belong to the code completion plugin and wxSmith. They look the same.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline puneet_m

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: Adding a new tab in the Management Window
« Reply #6 on: February 26, 2008, 11:42:36 pm »
Thanks for the help :)