User forums > Using Code::Blocks

Misc questions around CB and wxWidgets integration

(1/4) > >>

eranon:
Hello,

I'm an independent developer and just switching from Windows specific development (I'm using VC6 intensively since some years until now) to cross-platforms one. So, I've tested several IDE/GUI-lib pairs these last weeks and finally choosen to adopt Code::Blocks/wxWidgets :)

Well, so, I've well built wxWidgets libs I need w/ compiler I'm choosen (ie. TDM-GCC) and binded both to CB environment. Also, these last days I've followed the official wxSmith tutorial (discovering the sizers realm - lol).

At this step, I'm wondering some basic questions. Here they are (w/o special order) :

- How to quickly reach an implementation method from the events list of an item ? Should I do a text search every time or is there a quick way (knowing double-click or right-click doesn't seems to do anything ; from my test) ? Maybe a plugin ?

- Is there a way to have wxWidgets autocompletion ?
- Is there a way to have a quick view of any wxWidgets class, method or property pointed by mouse in current code ? I've configured the help plugin to launch wxwidgets.chm when I hit F1, but it just fill-in the index field in the help window ; so, not a direct and smart access as done with MSDN and VC IDE).

Well, so, as you can see just some stuffs about comfort, but it's important to stay concentrated on code (and even more when we - me in this occurence - have to learn the wxWidgets architecture) :)

All your lighted tips and tricks are obviously welcome ;)

MortenMacFly:
You forgot to provide any platform/version information, so answers are general.


--- Quote from: eanon on May 10, 2012, 02:51:22 pm ---- How to quickly reach an implementation method from the events list of an item ? Should I do a text search every time or is there a quick way (knowing double-click or right-click doesn't seems to do anything ; from my test) ? Maybe a plugin ?

--- End quote ---
Double-click on the item in the wxSmith UI editor


--- Quote from: eanon on May 10, 2012, 02:51:22 pm ---- Is there a way to have wxWidgets autocompletion ?

--- End quote ---
Yes, works well in recent nightlies and fine here.


--- Quote from: eanon on May 10, 2012, 02:51:22 pm ---- Is there a way to have a quick view of any wxWidgets class, method or property pointed by mouse in current code ?

--- End quote ---
Yes, works well in recent nightlies and fine here.

eranon:
Thanx for your accurate reply, MortenMacFly. Effectively, you're right (forgotten to indicate my environment) : I'm currently under Windows using Code::Blocks 10.05 (so last stable one, unless error) and wxWidgets 2.8.12.0. So, if I understand, I just have to get the last nightly C::B and all will become marvellous :)


--- Quote ---Double-click on the item in the wxSmith UI editor
--- End quote ---
Hmm, OK when it's about control with default event. But how when it's about a menu item or not-default event, for example ?

-
EDIT : OK, installed nightly build svn 7932 and I've now nice autocompletion and quick tip on mouse hover. So, It just remains to find a smart way to reach every no-default event handlers from resource browser and UI editor ::)

MortenMacFly:

--- Quote from: eanon on May 10, 2012, 05:59:20 pm ---EDIT : OK, installed nightly build svn 7932 and I've now nice autocompletion and quick tip on mouse hover. So, It just remains to find a smart way to reach every no-default event handlers from resource browser and UI editor ::)

--- End quote ---
Use the CC toolbar - it offers quick access to all methods in/of that file.

eranon:
OK, thanks, I'm starting to enter in the C::B spirit ^^

Navigation

[0] Message Index

[#] Next page

Go to full version