Learn R Programming

RGtk2 (version 2.20.31)

gdkGetWindowSize: Obtain dimensions of a Gtk window

Description

DEPRECATED!! (compatibility wrappers for RGtk 1!)

Returns the width and height of a Gtk window.

Usage

gdkGetWindowSize(w)

Arguments

w
the object of class "GdkWindow" whose dimensions are to be queried.

Value

An integer vector with two elements:
width
the number of pixels the window spans in the horizontal dimension
height
the number of pixels the window spans in the vertical dimension

See Also

gtkWidgetSetUsize