Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Gtk Wait Cursor

Reply
Thread Tools

Gtk Wait Cursor

 
 
WoodHacker
Guest
Posts: n/a
 
      03-19-2007
Can anyone explain how to create a Wait Cursor in Gtk? I can't seem
to find an example and the docs are not clear.

Thanks

 
Reply With Quote
 
 
 
 
Detlef Reichl
Guest
Posts: n/a
 
      03-19-2007
Am Montag, den 19.03.2007, 21:05 +0900 schrieb WoodHacker:
> Can anyone explain how to create a Wait Cursor in Gtk? I can't seem
> to find an example and the docs are not clear.
>
> Thanks
>


YourWidget.window.cursor = Gdk::Cursor.new Gdk::Cursor::WATCH

Cheers
detlef


 
Reply With Quote
 
 
 
 
WoodHacker
Guest
Posts: n/a
 
      03-19-2007
On Mar 19, 12:10 pm, Detlef Reichl <(E-Mail Removed)> wrote:
> Am Montag, den 19.03.2007, 21:05 +0900 schrieb WoodHacker:
>
> > Can anyone explain how to create a Wait Cursor in Gtk? I can't seem
> > to find an example and the docs are not clear.

>
> > Thanks

>
> YourWidget.window.cursor = Gdk::Cursor.new Gdk::Cursor::WATCH
>
> Cheers
> detlef


Thanks. Works like a charm.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to tell if cursor is sqlite.Cursor or psycopg2.Cursor dmaziuk Python 3 01-25-2011 04:52 AM
Ruby GTK Fortune Cookies (gtk-fortune-0.1.1) Alex Shulgin Ruby 1 11-21-2007 01:05 AM
GTK+, segmentation fault in gtK-editable_get_chars zombek@gmail.com C Programming 2 05-29-2007 03:27 PM
Changing DEFAULT cursor to WAIT cursor in ASP =?Utf-8?B?VG9tYXMgS2VwaWM=?= ASP .Net 1 04-05-2005 07:42 PM
compiling ruby under windows (+ gtk stuff, is the gtk list dead?) Gergely Kontra Ruby 2 06-18-2004 10:20 PM



Advertisments