How to create a GUI(Graphical User Interface) using C programming Language.. (part 3)
Hi, this is the third part of the How to create a GUI(Graphical User Interface) using C programming Language.. (part 2) post as I promised. In today’s post I’m going to tell you how to create and run Simple hello world GUI program. And it includes how display a message when click a button. Ok now open a new glade project and draw a GUI like above image. You have three components one label and two buttons. Then set properties like this. For the main Window General--> Name= mainWindow General-->Resizable= No Common-->Height request = 400 Common-->Width request=200 For Display Label General-->Name=displayLabel General-->Label=Display For Display Button General-->Name=displayButton General-->Label=Display Signals-->Clicked=on_displayButton_clicked For Exit Button General-->Name=exitButton General-->Label=Exit Signals-->Clicked=on_exitButton_clicked Then save it as hello.glade in libglade format. Now open CodeBlock's Gtk+ project. When you ...