Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail From: jake kaiden Newsgroups: comp.lang.ruby Subject: Re: Creating a full application with Ruby Date: Tue, 12 Apr 2011 07:16:19 -0500 Organization: Service de news de lacave.net Lines: 47 Message-ID: <87b367ae97c68d243dbb08a0d60bcd8a@ruby-forum.com> References: <8e0e0842a3439de88c0617cc8e5553a7@ruby-forum.com> <24192d008f7229f15b9292ee00d12689@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1302610626 11669 65.111.164.187 (12 Apr 2011 12:17:06 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Tue, 12 Apr 2011 12:17:06 +0000 (UTC) In-Reply-To: <24192d008f7229f15b9292ee00d12689@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 381340 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <87b367ae97c68d243dbb08a0d60bcd8a@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:2676 Fily Salas wrote in post #992195: > is it possible to make small animations with > Ruby? If yes, is this what the GUI is for? > hi fily - simple animations are easy with gtk2... http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gdk::PixbufAnimation for example: require 'gtk2' win = Gtk::Window.new() anim = Gdk::PixbufAnimation.new("TradyBlix.gif") image = Gtk::Image.new(anim) win.add(image) win.show_all win.signal_connect("destroy"){Gtk.main_quit} Gtk.main "TradyBlix.gif" is a simple animation i made in gimp. i don't know about animations with wxRuby, as i don't use it, but it's probably also possible. > Do I need a separate program to package the application? ruby apps can be made executable (so you don't have to type "ruby" before the app name to run it... how you do that depends on your system, and the target system - there's plenty of info with a google search. have fun... -j -- Posted via http://www.ruby-forum.com/.