c - GtkTextView can't wrap line -


hello i'm using gtk on c, need have gtktextview in middle of window many other widgets, can't make widget wrap lines. annoying behavior, have idea of missing? code i'm using set it's properties:

gtk_text_view_set_left_margin(gtk_text_view(commentstextview),20); gtk_text_view_set_right_margin(gtk_text_view(commentstextview),290); gtk_text_view_set_wrap_mode(gtk_text_view(commentstextview),gtk_wrap_word); gtk_text_view_set_pixels_inside_wrap(gtk_text_view(commentstextview),0); gtk_widget_set_size_request(commentstextview,300,300); 

edit:

i solved in different way, still problem remains unsolved :s

did put text view gtkscrolledwindow?


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

c++ - Update and multiple console windows -