C GUI in Windows Using GTK+
You have written enough console application codes. Now you want to create applications that has Graphical User Interface(GUI). The GTK+ Project can help you with that.
GTK+ is a multi-platform toolkit used for creating graphical user interfaces that supports C language. It is a free software which is part of the GNU project. For a guide, a tutorial is available.
Set up GTK+ and Code::Blocks in Windows
GTK+ can be used in other IDEs, but for this set-up Code::Blocks IDE will be used. The operating systems is Windows XP.
1. Download and install Code::Blocks
Refer to this guide for installing Code::Blocks.
2. Download GTK+
Go to the Download section of The GTK+ Project website and select the operating system you are using. (For this set-up Windows 32-bit is used.)
Extract the downloaded all-in-one bundle of GTK+. Take note of the location or directory where the bundle was extracted. This will be used later.
3. GTK+ set up in Code::Blocks
Run Code::Blocks and create new project. (Select File -> New -> Project)
Select GTK+ project in the project categories then click Go button.
A GTK+ project window will appear, just click Next.
Provide the project title then click Next
Click Finish
No comments:
Post a Comment