Re: gdk_gc_predraw error
- From: Markus Fischer <mfischer guru josefine at>
- To: Sven Neumann <sven gimp org>
- Cc: Flavio Alberto Lopes Soares <engenharia3 maqplas com br>, John Cupitt <john cupitt ng-london org uk>, yy <yynuaa 163 com>, gtk-list gnome org
- Subject: Re: gdk_gc_predraw error
- Date: Thu, 23 Aug 2001 16:59:25 +0200
On Thu, Aug 23, 2001 at 04:49:30PM +0200, Sven Neumann wrote :
> Hi,
>
> Markus Fischer <mfischer guru josefine at> writes:
>
> > A GtkWindow is derived from GtkWidget which provides ->window .
> > ->window is always its associated GdkWindow (or its parent
> > GdkWindow in some cases). Your widget needs to be realize'd so
> > you can access its GdkWindow:
> >
> > window_edit = gtk_window_new();
> > gtk_widget_realize(GTK_WIDGET(window_edit));
> > [...]
> >
> > gdk_window_set_cursor(window_edit->window, ...
>
> explicitely realizing the window is ugly, try:
Why?
I had the need for connect_after only ever when building widgets
on my own.
- Markus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]