开发者

GtkTextView size

开发者 https://www.devze.com 2022-12-30 01:16 出处:网络
How do I set the size of GtKTextView? I think I can\'t use gtk_wid开发者_运维知识库get_set_usize.You cannot control size of a widget directly, instead this is done by its container.You can force a min

How do I set the size of GtKTextView? I think I can't use gtk_wid开发者_运维知识库get_set_usize.


You cannot control size of a widget directly, instead this is done by its container. You can force a minimum size by using gtk_widget_set_size_request(), it will be respected by all standard containers. There is no similar way to set maximum size in the same way, this totally depends on the container.

0

精彩评论

暂无评论...
验证码 换一张
取 消