{"id":1327,"date":"2013-10-08T08:24:46","date_gmt":"2013-10-08T08:24:46","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1327"},"modified":"2015-10-27T23:05:41","modified_gmt":"2015-10-27T23:05:41","slug":"window-general","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/gui-programming-in-c\/gtk\/window\/window-general","title":{"rendered":".Window General"},"content":{"rendered":"<p>\n&nbsp;\n<\/p>\n<h4>\nMaximize The Window<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tgtk_window_maximize(GTK_WINDOW(MainWindow));\r\n<\/code><\/pre>\n<h4>\nResizable<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tgtk_window_set_resizable(GTK_WINDOW(MainWindow), FALSE);\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<h4>\nHide the title bar etc<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tgtk_window_set_decorated(GTK_WINDOW(MainWindow), false);\t\t\t\/\/Request the window title bar to be hidden, use before gtk_widget_show()\r\n<\/code><\/pre>\n<h4>\nSet Fullscreen<br \/>\n<\/h4>\n<p>\nFill entire screen, displaying over the top of the taskbar panel.\n<\/p>\n<pre>\r\n<code>\r\n\tgtk_widget_show(fixed);\r\n\r\n\t\/\/Make the window fullscreen\r\n\tgtk_window_fullscreen(GTK_WINDOW(MainWindow));\r\n<\/code><\/pre>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Maximize The Window gtk_window_maximize(GTK_WINDOW(MainWindow)); Resizable gtk_window_set_resizable(GTK_WINDOW(MainWindow), FALSE); &nbsp; Hide the title bar etc gtk_window_set_decorated(GTK_WINDOW(MainWindow), false); \/\/Request the window title bar to be hidden, use before gtk_widget_show() Set Fullscreen Fill entire screen, displaying over the top of the taskbar panel. gtk_widget_show(fixed); \/\/Make the window fullscreen gtk_window_fullscreen(GTK_WINDOW(MainWindow)); &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[104],"tags":[],"class_list":["post-1327","post","type-post","status-publish","format-standard","hentry","category-window"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1327","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=1327"}],"version-history":[{"count":8,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1327\/revisions"}],"predecessor-version":[{"id":2264,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1327\/revisions\/2264"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}