gtkWidgetDraw: gtkWidgetDraw

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

Description

In GTK+ 1.2, this function would immediately render the region area of a widget, by invoking the virtual draw method of a widget. In GTK+ 2.0, the draw method is gone, and instead gtkWidgetDraw simply invalidates the specified region of the widget, then updates the invalid region of the widget immediately. Usually you don't want to update the region immediately for performance reasons, so in general gtkWidgetQueueDrawArea is a better choice if you want to draw a region of a widget. WARNING: gtk_widget_draw is deprecated and should not be used in newly-written code.

Usage

1
gtkWidgetDraw(object, area)

Arguments

object

a GtkWidget

area

area to draw

Author(s)

Derived by RGtkGen from GTK+ documentation


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

Related to gtkWidgetDraw in RGtk2...