Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

GTK+ tutorial 1 - hello world (part 1)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,303
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 7, 2011

In this tutorial I want to introduce you to the GTK+, I will show you, how you can download it, and we'll write the hello world program which is just a black window.
With GTK+ you can make GUI (graphical user interface).

I had to cut the tutorial to 2 part.
http://www.gtk.org/

GTK+ 2.0 tutorial:
http://developer.gnome.org/gtk-tutorial/stable/book1.html

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (thecplusplusguy)

  • how do u download it!?

  • @rotsebanotman

    If you're using Linux, you can download as you can see in the video with sudo (or other package manager), if you are using Mac or Windows go the the GTK (gtk dot org) website, go to download, choose your OS, download the devs (all), and don't forget link it with your IDE (in Code::blocks go to project properties, in linker settings give all flags, that libs wrote at 07:07, and browse the libraries too, where the files extracted)

  • @thecplusplusguy hello, i have a question.  i am running ubuntu 10.04 and i already have gtk+ 2.20. how can i upgrade it to gtk+ 2.24? is there any terminal commands or an easy way to do this? i do not want to go through the whole install process that is listed on the website because it longs very long and unecessary for just a versioin upgrade nor do i want to upgrade my ubuntu version. please help.

  • @lucirz

    I checked the Ubuntu repository, but it seems, that it only contain an older version (else it would be as simple as: sudo apt-get install libgtk2.4-dev), so I think there is no easier way to setup a newer version, then what is on the wesite :(

    Actually it should be enough, to load the source, and just copy all of the termianal command into a terminal, I don't thing, you need those other "special options". But I agree, install from source is hard.

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • @thecplusplusguy problem with install from source is that not only is it annoying, but i also have to do the same for all the dependencies, and there are alot of them lol

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more