Learn R Programming

RGtk2 (version 2.20.31)

gtkWidgetSetHasWindow: gtkWidgetSetHasWindow

Description

Specifies whether widget has a GdkWindow of its own. Note that all realized widgets have a non-NULL "window" pointer (gtkWidgetGetWindow never returns a NULL window when a widget is realized), but for many of them it's actually the GdkWindow of one of its parent widgets. Widgets that create a window for themselves in GtkWidget::realize() however must announce this by calling this function with has.window = TRUE.

Usage

gtkWidgetSetHasWindow(object, has.window)

Arguments

object
has.window
whether or not widget has a window.

Details

This function should only be called by widget implementations, and they should call it in their init() function. Since 2.18