GtkPreview::set_expand

GtkPreview::set_expand

Sets the behavior of the preview when the allocated size is larget than the requested size. If expand is false then the preview will not be larger than the dimensions set with size() . If the container enclosing the preview is larger than the requested dimensions, the preview will be centered in the container. If expand is true, the preview will expand to fill the container. The application is responsible providing data of the correct dimensions.

See also: size()

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.