RE: global cursor setting?
- From: "Dugas, Alan" <alan dugas analog com>
- To: "Dugas, Alan" <alan dugas analog com>, Havoc Pennington <hp redhat com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: RE: global cursor setting?
- Date: Fri, 12 Jan 2001 14:28:23 -0500
Function gtk_file_selection_populate() is called via a callback connected to
a gtkentry contained within a gtkfileselection. The gtkfileselection window
is being displayed when I trigger this callback. In addition to this, I was
able to step through it's execution with ddd/gdb. Is it possible for
someone to independently verify this odd behavior? Any suggestion would
also be greatly appreciated.
-- Stupid Genius
----------
From: Havoc Pennington[SMTP:hp redhat com]
Sent: Friday, January 12, 2001 2:05 PM
To: Dugas, Alan
Cc: gtk-app-devel-list gnome org; gtk-list gnome org
Subject: Re: global cursor setting?
"Dugas, Alan" <alan dugas analog com> writes:
/* Changing cursor to let user know application is busy */
if ( GTK_WIDGET(fs)->window != NULL )
gdk_window_set_cursor(GTK_WIDGET(fs)->window,
gdk_cursor_new(GDK_WATCH));
Are you sure window != NULL? Maybe you need to wait and call this
after realization?
Otherwise, no real idea - certainly ought to work.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]