GtkPreview::size

GtkPreview::size

Sets the dimensions of the preview to width pixels wide by height pixels high.

size() only sets the requested size. The actual size of the preview image depends on the size and settings of the container that encloses the widget. If the preview is allowed to expand to fill the container, it may appear larger than the dimensions requested with the size() method.

See also: set_expand()

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