DrawingArea.size

Warning gtk_drawing_area_size is deprecated and should not be used in newly-written code. Use gtk_widget_set_size_request() instead. Sets the size that the drawing area 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.

class DrawingArea
void
size
(
int width
,
int height
)

Parameters

width int

the width to request

height int

the height to request

Meta