{"id":1323,"date":"2013-10-08T08:15:21","date_gmt":"2013-10-08T08:15:21","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1323"},"modified":"2015-10-29T21:31:05","modified_gmt":"2015-10-29T21:31:05","slug":"color","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/gui-programming-in-c\/gtk\/color\/color","title":{"rendered":".Color General"},"content":{"rendered":"<h4>\nSet Main Window Background Colour<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tMainWindow= gtk_window_new(GTK_WINDOW_TOPLEVEL);\r\n\r\n\t\/\/Set background colour\r\n\tGdkColor color;\r\n\tgdk_color_parse(&quot;#000&quot;, &amp;color);\r\n\tgtk_widget_modify_bg(MainWindow, GTK_STATE_NORMAL, &amp;color);\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Set Main Window Background Colour MainWindow= gtk_window_new(GTK_WINDOW_TOPLEVEL); \/\/Set background colour GdkColor color; gdk_color_parse(&quot;#000&quot;, &amp;color); gtk_widget_modify_bg(MainWindow, GTK_STATE_NORMAL, &amp;color); &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[],"class_list":["post-1323","post","type-post","status-publish","format-standard","hentry","category-color"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1323","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=1323"}],"version-history":[{"count":5,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1323\/revisions"}],"predecessor-version":[{"id":2282,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1323\/revisions\/2282"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}