How to use GTK signals?

How long would it take to learn and use GTK+?

  • I'm familiar with C (though I haven't written any real applications yet and just know most of the fundamental bits of C) and want to write applications for my gnome. How long would it take to learn GTK+ in C programming language? Please point me to some tutorials or manuals. Something that can help me start writing quickly. I would want to learn as I go.

  • Answer:

    To be honest, you might want to learn QT instead, it is lightyears ahead of GTK As far as I know, Gnome/GTK has a very peculiar way of doing things since it started out as C rather than C++ I've used a number of GUI frameworks MFC, Win32, wxWidgets, VCL, WTL, Cocoa, but frankly QT kicks everything else to the dustbin in terms of flexibility and design. Learn C++ or else learn python and use pyqt

Vivek Nagarajan at Quora Visit the source

Was this solution helpful to you?

Other answers

Off-topic: It will be quicker to use Python with GTK+.

NguyỠn Hồng Quân

Completely agree with Nguyen. Python will be easier. You sound like a beginner in programming, learning basic python will take around 5-6 days at max(invest your time in some awesome MOOC like http://www.edx.org or http://www.Udacity.com) PyGtk+(http://www.pygtk.org/pygtk2tutorial/index.html) . Python(http://www.python.org/doc/) As you want to contribute in Gnome, finding any project with Python + GTK  combination will be easier.All project on Gnome site(https://wiki.gnome.org/Apps) and there source code will be available either on http://github.com or https://git.gnome.org/browse/  Hail Open Source..!!

Pratibha Chhimpa

A2A! Its great that you want to learn GTK+. There are a few things you should keep in mind: 1. In C, creating any kind of software is more challenging as compared to writing it in any OOPS language. 2. In C, you can also do Object Oriented Programming though C doesn't have constructs which could allow you to do OOP easily. 3. It will be good to learn some GUI concepts before starting GTK+. 4. You must be good with handling pointers. As said. There are many tutorials available. Three I found best are: https://developer.gnome.org/ http://www.zetcode.com http://scentric.net/tutorial Go through each of these tutorials and you will have a good knowledge of GTK+. You can also found GTK+ Reference Manual on https://developer.gnome.org/ . Reference Manual or API Reference is very helpful, as you will not always remember each and every function. This book is also very good : Apress Foundations of GTK+ Development You may have a problem that most of the tutorials are of GTK+ 2.0 while latest of GTK+ 3.x. Well, still GTK+ 2.0 is being used and I think has been the most popular version of GTK+ so far. Go, with anyone. The basics of both the versions are same. Mostly tutorials of GTK+ 2.0 will be compatible with GTK+ 3.0. I think no time is enough to learn GTK+ completely. It is a very big framework. All you can do is, learn while you develop. This is the approach I have followed and has been very great. At last, try to develop something which uses GTK+ heavily. Also, try to learn how to do OOP with C it will be very helpful in the long run.

Abhinav Jangda

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.