gtkWidgetGetSizeRequest: gtkWidgetGetSizeRequest

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

Description

Gets the size request that was explicitly set for the widget using gtkWidgetSetSizeRequest. A value of -1 stored in width or height indicates that that dimension has not been set explicitly and the natural requisition of the widget will be used intead. See gtkWidgetSetSizeRequest. To get the size a widget will actually use, call gtkWidgetSizeRequest instead of this function.

Usage

1

Arguments

object

a GtkWidget

Value

A list containing the following elements:

width

(out): return location for width, or NULL. [ allow-none ]

height

(out): return location for height, or NULL. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.