Cursor is different after set by gtk
- From: Beast <beast i6x org>
- To: gtk-perl list <gtk-perl-list gnome org>
- Subject: Cursor is different after set by gtk
- Date: Mon, 18 Jul 2005 13:39:10 +0700
$self->{busycur} = Gtk2::Gdk::Cursor->new('GDK_WATCH');
$self->{normcur} = Gtk2::Gdk::Cursor->new('GDK_LEFT_PTR');
$self->{rootwin} = Gtk2::Gdk->get_default_root_window();
$self->{rootwin}->set_cursor($self->{busycur});
$self->redraw();
## Do some task
...
$self->{rootwin}->set_cursor($self->{normcur});
...
===
After setting cursor with GDK_LEFT_PTR, the cursor is different than
previous cursor. It turn into black left_pointer which should be white
left_pointer. What could be the problem?
--
--beast
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]