.Installing GTK

  Installing GTK sudo apt-get install libgtk-3-dev Using In Your Project Update your makefile to use the gtk libs and cflags: LIBS = `pkg-config –libs gtk+-3.0` CFLAGS = `pkg-config –cflags gtk+-3.0` Include gtk and get programming – see here. #include <gtk/gtk.h> Using In A NetBeans For Windows Project Go to: Project Properties > Build > Linker > Compilation Line > […]

Read More

.Creating A GTK Applicaiton

  Header FIles #include <gtk/gtk.h> In The Main Function GTK replaces the normal main loop to make your application become event driven. This is an example of a basic main function, but you add to this all of the widgets etc your application needs before finally calling gtk_main(), which takes over running the application from […]

Read More

.GTK General

GTK+ is a library for creating graphical user interfaces. The GTK+ library is also called the GIMP Toolkit.  GTK application need to run within the GUI environment (startx). The GTK library is, well, kinda basic.  It you're coming from a windows or mac environment then be prepared for a shock, gtk is no where near […]

Read More