Examples of configure and expose event functions
have a mysterious GtkWidget for the first arg.
I cannot seem to discern what it is.
Please explain...
Here is an example of an expose event function:
gint middleMassTimeSeriesPlotPatch(GtkWidget* widget, GdkEventExpose* event) {
gdk_draw_pixm
>Examples of configure and expose event functions
>have a mysterious GtkWidget for the first arg.
>I cannot seem to discern what it is.
often, a signal is emitted because of an event occuring in/on the
widget. the handler(s) for the signal receive a pointer to the widget
as their first argument.
On Wed, Feb 06, 2002 at 10:06:24AM -0500, Paul Davis wrote:
> >Examples of configure and expose event functions
> >have a mysterious GtkWidget for the first arg.
> >I cannot seem to discern what it is.
>
> often, a signal is emitted because of an event occuring in/on the
> widget. the handler(s)
>This widget that is the first argument seems to be the window
>that _contains_ the pixmap drawing from what you are saying.
no. its the widget for which the event took place and for which the
signal is being emitted. this mistake has caused you much later
confusion.
>I'm confused because some