gtkWidgetSetWindow: gtkWidgetSetWindow

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Sets a widget's window. This function should only be used in a widget's GtkWidget::realize() implementation. The window passed is usually either new window created with gdkWindowNew, or the window of its parent widget as returned by gtkWidgetGetParentWindow.

Usage

1

Arguments

object

a GtkWidget

window

a GdkWindow

Details

Widgets must indicate whether they will create their own GdkWindow by calling gtkWidgetSetHasWindow. This is usually done in the widget's init() function. Since 2.18

Author(s)

Derived by RGtkGen from GTK+ documentation


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