Re: question about cursor



I ended up using cursor #150 for the wait cursor and #68
for the standard arrow.  Its not quite an hourglass, but rather
a clock (non-animated).  Its close enough for me...

  my $cursor_wait = new Gtk::Gdk::Cursor 150;
  my $cursor_normal = new Gtk::Gdk::Cursor 68;
  $vbox_main->window->set_cursor($cursor_wait);
  ....
  $vbox_main->window->set_cursor($cursor_normal);

Andrew

How do I change the pointer to an hourglass in a window
using gtk-perl?

I found the set_cursor method, which takes a cursor object,
but what I am wondering is if
I have to supply my own hourglass bitmap or is
there one built into gtk?


thanks...

Ken

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


-- 

Andrew Schretter
Systems Programmer, Duke University
Dept. of Mathematics (919) 660-2866






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]