Is there an easy way to request that a GTK widget have a minimum width/height? I know you can do it on the column of a TreeView
, but is it available for general widgets?
Asked
Active
Viewed 7,182 times
1 Answers
10
For C/C++: gtk_widget_set_size_request()
Sets the minimum size of a widget; that is, the widget's size request will be width by height.

karlphillip
- 92,053
- 36
- 243
- 426
-
2At the time of the post (12 Oct 2010), it was the way to do it. – karlphillip Feb 17 '13 at 03:30
-
Is there a better way now? – john01dav Jun 22 '20 at 03:23
-
This continues to be the better way. – karlphillip Jun 22 '20 at 10:14