gtkWidgetGetSizeRequest {RGtk2}R Documentation

gtkWidgetGetSizeRequest

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

gtkWidgetGetSizeRequest(object)

Arguments

object [GtkWidget] a GtkWidget

Value

A list containing the following elements:

width [integer] return location for width, or NULL
height [integer] return location for height, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]