Re: ROOT Windows and Cursor :o)

From: Date: Tue, 26 Mar 2002 17:31:22 +0000
Subject: Re: ROOT Windows and Cursor :o)
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1647@lists.php.net to get a copy of this message
Questions like these are best asked on the user mailing list. I am copying the list on this. On Tue, 26 Mar 2002, Escuder Nicolas wrote: > Hello, > > i just want to know if this C code : > > type=GDK_LEFT_PTR > GdkCursor *cursor = gdk_cursor_new (type); > gdk_window_set_cursor (GDK_ROOT_PARENT (), cursor); > gdk_cursor_destroy (cursor); > > and this C code : > > gdk_color_parse ("#363047", &color); > > colormap = gdk_window_get_colormap (GDK_ROOT_PARENT ()); > if (colormap != NULL) { > gdk_error_trap_push (); > > gdk_color_alloc (colormap, &color); > gdk_window_set_background (GDK_ROOT_PARENT (), &color); > gdk_window_clear (GDK_ROOT_PARENT ()); > > gdk_flush (); > gdk_error_trap_pop (); > } > > can be done in php-gtk, because i search but i don't find ... > i'm sorry if this question is stupid if this exist but i don't find ... > > Thanks for answer > > see you > > Nicolas -Andrei "Freedom comes when you learn to let go. Creation comes when you learn to say no." -madonna

« previous php.gtk.general (#1647) next »