{"id":714,"date":"2012-10-24T07:12:01","date_gmt":"2012-10-24T07:12:01","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=714"},"modified":"2015-11-05T09:05:05","modified_gmt":"2015-11-05T09:05:05","slug":"gtk-general","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/gui-programming-in-c\/gtk\/gtk-general","title":{"rendered":".GTK General"},"content":{"rendered":"<p>\nGTK+ is a library for creating graphical user interfaces. The GTK+ library is also called the GIMP Toolkit.&nbsp;\n<\/p>\n<p>\nGTK application need to run within the GUI environment (startx).\n<\/p>\n<p>\nThe GTK library is, well, kinda basic. &nbsp;It you&#39;re coming from a windows or mac environment then be prepared for a shock, gtk is no where near their league. &nbsp;The GTK documentation is also not great. &nbsp;The documentation exists, but its formal, there&#39;s quite a lot&nbsp;of depreciated things within it to trip you up \/ waste your time and there doesn&#39;t seem to be any really good resources we have found yet out there to tell you simply if you want to do this then here&#39;s the best way to do it and a block of working example code. &nbsp;\n<\/p>\n<h4>\nGTK Resources<br \/>\n<\/h4>\n<p>\n<a href=\"https:\/\/developer.gnome.org\/gdk3\/stable\/\" target=\"_blank\">https:\/\/developer.gnome.org\/gdk3\/stable\/<\/a>&nbsp; &nbsp; &nbsp;&lt;&lt;&lt;The API reference manual\n<\/p>\n<p>\n<a href=\"http:\/\/www.gtk.org\/\" target=\"_blank\">http:\/\/www.gtk.org\/<\/a>\n<\/p>\n<p>\n<a href=\"http:\/\/glade.gnome.org\/\" target=\"_blank\">http:\/\/glade.gnome.org\/<\/a>\n<\/p>\n<p>\n<a href=\"http:\/\/www.micahcarrick.com\/gtk-glade-tutorial-part-1.html\" target=\"_blank\">http:\/\/www.micahcarrick.com\/gtk-glade-tutorial-part-1.html<\/a>\n<\/p>\n<p>\n<a href=\"http:\/\/zetcode.com\/tutorials\/gtktutorial\/\" target=\"_blank\">http:\/\/zetcode.com\/tutorials\/gtktutorial\/<\/a>\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GTK+ is a library for creating graphical user interfaces. The GTK+ library is also called the GIMP Toolkit.&nbsp; GTK application need to run within the GUI environment (startx). The GTK library is, well, kinda basic. &nbsp;It you&#39;re coming from a windows or mac environment then be prepared for a shock, gtk is no where near [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"class_list":["post-714","post","type-post","status-publish","format-standard","hentry","category-gtk"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=714"}],"version-history":[{"count":13,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/714\/revisions"}],"predecessor-version":[{"id":2333,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/714\/revisions\/2333"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}