Thanks it works now.
Greets,
Luka
Dne 08.06.2007 (pet) ob 19:14 +0200 je Jonathan Winterflood zapisal(a):
> Hi,
>
> Using g_signal_connect(), make your callback return false, so that
> the original callback (that obviously
> renders the text) will then be called also.
>
> Jonathan
>
> On 6/8/0
Hi,
Using g_signal_connect(), make your callback return false, so that
the original callback (that obviously
renders the text) will then be called also.
Jonathan
On 6/8/07, Luka Napotnik <[EMAIL PROTECTED]> wrote:
>
> I now connected the expose-event signal to a callback function that
> draws a
I now connected the expose-event signal to a callback function that
draws a rectangle to the widget. The problem is that the font is under
the rect. if I call g_signal_connect_after() and no text appears if I
call g_signal_connect() but the rect is visible.
I get the GdkWindow of the textview using
Luka,
Sounds like an expose event needs to be signaled. I use GDK only and
not GTK so I am not sure
how much of GTK is doing event processing.
Chris
> Hello. I'm trying to draw a rectangle of a textview's background
> GdkWindow. First I get the gdk_window of the textview and and then try
> ot