Gtk minimum size

Is there an easy way to request that a GTK widget have a minimum width / height? I know you can do this in a column TreeView, but is this available for general widgets?

+5
source share
1 answer

For C / C ++: gtk_widget_set_size_request ()

Sets the minimum widget size; that is, the request for the size of the widget will be the width in height.

PyGTK: def set_size_request (width, height)

+8
source

All Articles