93 gtk_text_view_set_left_margin(GTK_TEXT_VIEW(text_area), 2); |
93 gtk_text_view_set_left_margin(GTK_TEXT_VIEW(text_area), 2); |
94 gtk_text_view_set_right_margin(GTK_TEXT_VIEW(text_area), 2); |
94 gtk_text_view_set_right_margin(GTK_TEXT_VIEW(text_area), 2); |
95 |
95 |
96 // add |
96 // add |
97 UiContainer *ct = uic_get_current_container(obj); |
97 UiContainer *ct = uic_get_current_container(obj); |
98 ct->add(ct, scroll_area); |
98 ct->add(ct, scroll_area, TRUE); |
99 |
99 |
100 // bind value |
100 // bind value |
101 if(value) { |
101 if(value) { |
102 GtkTextBuffer *buf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_area)); |
102 GtkTextBuffer *buf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_area)); |
103 |
103 |