gtkPreviewSize

Description

Set the size that the preview widget will request in response to a "size_request" signal. The drawing area may actually be allocated a size larger than this depending on how it is packed within the enclosing containers. The effect of this is determined by whether the preview is set to expand or not (see gtkPreviewExpand()) WARNING: gtk_preview_size is deprecated and should not be used in newly-written code.

Usage

1

Arguments

object

a GtkPreview.

width

the new width.

height

the new height.

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.