gtkContainerPropagateExpose: gtkContainerPropagateExpose

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

When a container receives an expose event, it must send synthetic expose events to all children that don't have their own GdkWindows. This function provides a convenient way of doing this. A container, when it receives an expose event, calls gtkContainerPropagateExpose once for each child, passing in the event the container received.

Usage

1
gtkContainerPropagateExpose(object, child, event)

Arguments

object

a GtkContainer

child

a child of container

event

a expose event sent to container

Details

gtkContainerPropagateExpose takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event.

In most cases, a container can simply either simply inherit the "expose" implementation from GtkContainer, or, do some drawing and then chain to the ::expose implementation from GtkContainer.

Author(s)

Derived by RGtkGen from GTK+ documentation


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