GtkTextView Size

How to set the size of a GtKTextView? I think I can not use gtk_widget_set_usize.

+4
source share
1 answer

You cannot directly control the size of the widget, and this is done by its container. You can force the minimum size using gtk_widget_set_size_request() , it will be respected by all standard containers. A similar way to set the maximum size is similar, it completely depends on the container.

+4
source

Source: https://habr.com/ru/post/1309729/


All Articles