6

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?

karlphillip
  • 92,053
  • 36
  • 243
  • 426
Claudiu
  • 224,032
  • 165
  • 485
  • 680

1 Answers1

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.

PyGTK: def set_size_request(width, height)

karlphillip
  • 92,053
  • 36
  • 243
  • 426