gtkWidgetSetHasWindow: gtkWidgetSetHasWindow

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

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

1
gtkWidgetSetHasWindow(object, has.window)

Arguments

object

a GtkWidget

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

Author(s)

Derived by RGtkGen from GTK+ documentation


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