GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Nov 27, 2014 5:31 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Looking for tutorials
PostPosted: Fri Mar 14, 2014 2:15 pm 
Offline

Joined: Sat Mar 01, 2014 12:17 pm
Posts: 4
Hello, I'm looking for reference of tutorials that will guide me with creating an application menu in GTK C.
I want to create a simple menu with buttons and icons that will launch applications on the computer.

Thank you.


Top
 Profile  
 
 Post subject: Re: Looking for tutorials
PostPosted: Sat Mar 15, 2014 6:04 am 
Offline
GTK+ Guru

Joined: Fri Mar 25, 2011 5:16 pm
Posts: 177
Location: USA
Menus:
In the zetcode example, replace gtk_vbox_new with gtk_grid_new, since vbox has been since deprecated since gtk+-3.2
http://zetcode.com/tutorials/gtktutorial/menusandtoolbars/
https://developer.gnome.org/gtk3/stable/GtkGrid.html
https://developer.gnome.org/gtk3/3.2/GtkVBox.html
http://www.gtkforums.com/viewtopic.php?f=3&t=988&p=196157=Changing+menubar+content%2C+by+selecting+a+notebook+tab#p196157

Icons:
http://stackoverflow.com/questions/10979412/how-to-add-an-icon-to-an-ubuntu-app/10981921#10981921
http://ptomato.name/advanced-gtk-techniques/html/desktop-file.html
https://developer.gnome.org/integration-guide/stable/desktop-files.html.en
https://developer.gnome.org/integration-guide/stable/desktop-files.html.en
https://developer.gnome.org/desktop-entry-spec/
http://www.micahcarrick.com/application-launchers-in-gnome-3.html
https://github.com/MicahCarrick/desktop-entry-editor


Top
 Profile  
 
 Post subject: Re: Looking for tutorials
PostPosted: Tue Jun 03, 2014 2:01 pm 
Offline
Familiar Face

Joined: Thu Aug 20, 2009 1:54 pm
Posts: 42
Location: Belgium
For GLib and GTK+:
http://www.gtk.org/documentation.php

In the GTK+ API reference, there is also a tutorial:
https://developer.gnome.org/gtk3/unstable/gtk-getting-started.html

See also the HowDoI series on the gnome wiki:
https://wiki.gnome.org/HowDoI

And the developer center for more tutorials and resources:
https://developer.gnome.org/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group