Posts

Showing posts with the label Code Blocks

How to create a GUI(Graphical User Interface) using C programming Language.. (part 5)

Image
Hi, everyone it's been a long time., yes, ok now I'm back with some Tech things. As promised , today I'm going to blog about how to create Mini-Calculator with C language GUI. So before get started I thing it's better to read past articles on this topic, because some guys informed they didn't get it very clear. I think that happens because they didn't go through the past articles related to this one before read the fresh one :D . [caption id="attachment_286" align="aligncenter" width="300" caption="Mini Calculator v 1.0"] [/caption] So here is related articles .... read them first 1) How to create a GUI(Graphical User Interface) using C programming Language.. 2) How to create a GUI(Graphical User Interface) using C programming Language.. (part 2) 3) How to create a GUI(Graphical User Interface) using C programming Language.. (part 3) 4) How to create a GUI(Graphical User Interface) using C programming Language.. (part 4) ...

How to create a GUI(Graphical User Interface) using C programming Language.. (part 4)

Image
Hi,  after a long time I was able to find a time to write the blog, because these days I'm very busy with my exam and it will end 29 th   September. So until that I doubt I'd be able to write much. So sorry for that my all friends who read this. Related articles.. 1) How to create a GUI(Graphical User Interface) using C programming Language.. 2) How to create a GUI(Graphical User Interface) using C programming Language.. (part 2) 3) How to create a GUI(Graphical User Interface) using C programming Language.. (part 3) And this article focus on   how to use a Text Entry with button action signals.   And the purpose of this program is display the string in the label,which user enter in the text entry. Contents... 1) Open a Code Blocks projects 2) Open a Glade Project 3) Set properties for the components 4) Code the C Gtk project 5) Run the project Components 1) Window= mainWindow 2) Label= displayLabel 3) Text Entry= textEntry 4) Button= displayButton 5) Button= exitButton Set pro...

How to create a GUI(Graphical User Interface) using C programming Language.. (part 3)

Image
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 ...

How to create a GUI(Graphical User Interface) using C programming Language..

Image
How to create a GUI(Graphical User Interface) using C programming Language???  That was a big problem to me when I'm in the University first year. I knew Java GUI Designing, but couldn't find way to do it in C language. I spent many time to learn that. I think now it's time to share those knowledge :D. But since there are lot to discuss on that topic, I'm going to spelt the whole tutorial into several posts.  In this post I'll discuss how to set up the development environment. Setting up the development environment for C language GUI designing. Ok let's begin. First we need to have several tools for that. 1) Code Blocks IDE 2) Glade IDE 3) Gtk+ 4) Libglade library So install those things on your computer. I'll give a hint to get it much easier. If you are Ubuntu user, go to Ubuntu software center or Synaptic package manager. Find code blocks and install. Then Find for Glade and before install, check all the Add-ons then install. In this way it will automatic...