[webkit-dev] when is expose_event fired
Kalle Vahlman
kalle.vahlman at gmail.com
Thu Oct 21 22:21:00 PDT 2010
2010/10/22 Aneesh Bhasin <contact.aneesh at gmail.com>:
> However, I wanted to know where and how is the
> webkit_web_view_expose_event function triggered internally - as I
> understand it could either be triggered from the windowing system if
> there is some movement /scrolling dragging of window or internally if
> something has changed and the page needs to be repainted - this second
> invocation path I am unable to find. Could someone point me to the
> right direction here ?
You can invalidate an area of the widget with
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-queue-draw-area
or invalidate the whole widget with gtk_widget_queue_draw().
This will (eventually, not immediately) result in the widget receiving
an expose event for the invalid area.
--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.com
Interesting stuff at http://sandbox.movial.com
See also http://syslog.movial.fi
More information about the webkit-dev
mailing list