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.
source share