[ Version ( since = "1.4" ) ]
public void set_use_layout_size (bool use_layout_size)
Changes the way this requests size.
If use_layout_size
is true
, the this widget will request the size that the
LayoutManager reports as the preferred size. This means that a Gtk+ window will automatically get the natural and minimum toplevel window
sizes. This is useful when the contents of the clutter stage is similar to a traditional UI.
If use_layout_size
is false
(which is the default) then this will not request
any size and its up to the embedder to make sure there is some size (by setting a custom size on the widget or a default size on the
toplevel. This makes more sense when using the this as a viewport into a potentially unlimited clutter
space.
this |
a Embed |
use_layout_size |
a boolean |