{"id":3142,"date":"2020-03-25T03:28:45","date_gmt":"2020-03-25T03:28:45","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=3142"},"modified":"2020-03-25T03:28:47","modified_gmt":"2020-03-25T03:28:47","slug":"text-view","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/gui-programming-in-c\/gtk\/text\/text-view","title":{"rendered":"Text View"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Create New Text View<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>GtkWidget *txtMyTextBox;\n\tGtkTextBuffer *tbMyTextBox;\n\n\ttxtMyTextBox = gtk_text_view_new();\n\ttbMyTextBox = gtk_text_view_get_buffer (GTK_TEXT_VIEW (txtMyTextBox));\n\tgtk_widget_set_size_request(txtMyTextBox, 200, 20);\n\tgtk_fixed_put(GTK_FIXED(fixed), txtMyTextBox, 100, 100);\t\t\t\t\/\/x, y from top left\n\tgtk_text_buffer_set_text (tbMyTextBox, \"Hello\", -1);<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Create New Text View<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[],"class_list":["post-3142","post","type-post","status-publish","format-standard","hentry","category-text"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3142","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=3142"}],"version-history":[{"count":1,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3142\/revisions"}],"predecessor-version":[{"id":3143,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3142\/revisions\/3143"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=3142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=3142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=3142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}