Description Usage Arguments Details Author(s)
Sends an event to a widget, propagating the event to parent widgets
if the event remains unhandled. Events received by GTK+ from GDK
normally begin in gtkMainDoEvent
. Depending on the type of
event, existence of modal dialogs, grabs, etc., the event may be
propagated; if so, this function is used. gtkPropagateEvent
calls gtkWidgetEvent
on each widget it decides to send the
event to. So gtkWidgetEvent
is the lowest-level function; it
simply emits the "event" and possibly an event-specific signal on a
widget. gtkPropagateEvent
is a bit higher-level, and
gtkMainDoEvent
is the highest level.
1 | gtkPropagateEvent(object, event)
|
|
a |
|
an event |
All that said, you most likely don't want to use any of these
functions; synthesizing events is rarely needed. Consider asking on
the mailing list for better ways to achieve your goals. For
example, use gdkWindowInvalidateRect
or
gtkWidgetQueueDraw
instead of making up expose events.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.