step 2: Extract it in c drive creating new directory or any other place. In my case C:\GTK is the directory where I extracted the zip file.
My extracted files looks like below.
step 3: Now Open Code::Blocks , create new project , from project wizard slect GTK project. And click go.
Give project name "GTKsample" or give name of your choice. And click next.
Give path C:\GTK for GTK location where you extracted the zip file. And click Next.
And click Finish.
After creating gtk project you will see the sample program then build project, build must be successful.
step 4: This is last step, upto step 3 build project must be successful. When you try to run the project you will get message something .dll file (runtime library) missing like below image because we haven't given path for runtime library(.dll file).
For this goto the C:\GTK directories where you extracted the zip file. Open the bin folder only copy all the .dll file and paste it in your project directory GTKsample\bin\Debug\ with project executable file.
In this method every time you create the project you have to keep all the .dll file with project executable file i.e (inside project \bin\Debug\ folder). If you don't want this then copy and paste all the .dll file from bin folder to C:\windows\system32 directory.
If you completed the step 4 then the project. You must have successfully running project like below image.
Finally if you see the successfully running project like above image then you became successful to setup GTK project in Code::Blocks. If any problem occurs please comment below.