User forums > Help
GTK+ with C - code completation not for all functions
Meiner:
Hi,
i started learning GTK+ last week using the CodeBlocks Nightly Build 7671, GCC and the GTK project with a modified script for gtk 2.2. Anything works fine but the code completation. Only a small amount of gtk-functions are available in the completation context menu, e.g. i can't select the gtk_window_new() function. Adding the GTK folder to the additional search paths in the C/C++ parser options had no effect. Am i doing something wrong?
I would be grateful if someone can help me.
(Sorry for mistakes, i'm not a native speaker).
ollydbg:
It looks like our parser failed to parse the header file containing the "gtk_window_new()" function declaration. Can you show this header files, then I can test the parser to see whether it works OK.
Meiner:
Thanks for your answer. I attached the main header file gtk.h and the gtkwindow.h which contains gtk_windows_new().
When there is a need I can give more examples or header files.
Jenna:
And please, please, please tell us which version of C::B you use.
Otherwise a usefule hel can not be given, because cc changed a lot since release 10.05 .
Meiner:
Oh sorry forgot the exact version. I'm using C::B SVN 7671.
EDIT: I've just seen that there is an newer Nightly Build. I will try this later.
Navigation
[0] Message Index
[#] Next page
Go to full version