Tuesday, 30 September 2014

now we are all set with gtk and codeblocks.

i will be using snippets of code from my project to show you how things work in gtk.

there are two ways to work with gtk. either you use glade user interface designer tool or you can directly code in gtk to design user interface.

i will recommend you to use glade because by using it:-  
  • Less code needs to be written.
  • UI changes can be seen more quickly, so UIs are able to improve.
  • Designers without programming skills can create and edit UIs.
  • The description of the user interface is independent from the programming language being used.

The user interfaces designed in Glade are saved as XML, and by using the GtkBuilder GTK+ object these can be loaded by applications dynamically as needed.so no extra memory load will be generated.

By using GtkBuilder, Glade XML files can be used in numerous programming languages including C, C++, C#, Vala, Java, Perl, Python,and others.

i will be using c language, if you have read the last post, i have mentioned that.

my project was completed on time and i got good marks. :)


for more information about glade and gtk you can prefer glade.gnome.org and www.gtk.org .


this post was only for introduction. in the next post i will show how to make a log in window.

until happy coding. :)
 
 

No comments:

Post a Comment