Re: Draw on top of a window



Il giorno Fri, 12 Mar 2010 10:41:04 +0800
Richard Kung <richardkung linpus com> ha scritto:

> I want to use cairo to draw on top of a window but don't know how to 
> achieve it.
> [...]
>    g_signal_connect(window, "expose-event", G_CALLBACK 
> (on_expose_event), NULL);

Using g_signal_connect_after() instead of g_signal_connect() should
call your callback after the default handler.

Ciao.
-- 
Nicola


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]