Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2676

Re: Creating a full application with Ruby

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 <jakekaiden@yahoo.com>
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> (permalink)
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

Show key headers only | View raw


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/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-11 15:52 -0500
  Re: Creating a full application with Ruby 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-11 18:38 -0500
  Re: Creating a full application with Ruby jake kaiden <jakekaiden@yahoo.com> - 2011-04-11 19:03 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-11 20:33 -0500
    Re: Creating a full application with Ruby jake kaiden <jakekaiden@yahoo.com> - 2011-04-12 07:16 -0500
      Re: Creating a full application with Ruby ashbb <ashbbb@gmail.com> - 2011-04-12 07:55 -0500
        Re: Creating a full application with Ruby jake kaiden <jakekaiden@yahoo.com> - 2011-04-12 08:35 -0500
    Re: Creating a full application with Ruby ashbb <ashbbb@gmail.com> - 2011-04-12 07:48 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-12 09:09 -0500
    Re: Creating a full application with Ruby 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-12 13:54 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-12 15:10 -0500
    Re: Creating a full application with Ruby Steve Klabnik <steve@steveklabnik.com> - 2011-04-12 15:27 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-12 20:12 -0500
    Re: Creating a full application with Ruby ashbb <ashbbb@gmail.com> - 2011-04-13 09:45 -0500
    Re: Creating a full application with Ruby Steve Klabnik <steve@steveklabnik.com> - 2011-04-13 09:58 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-13 12:03 -0500
    Re: Creating a full application with Ruby Steve Klabnik <steve@steveklabnik.com> - 2011-04-13 13:37 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-13 20:31 -0500
    Re: Creating a full application with Ruby Steve Klabnik <steve@steveklabnik.com> - 2011-04-13 21:03 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-14 07:07 -0500
    Re: Creating a full application with Ruby ashbb <ashbbb@gmail.com> - 2011-04-14 08:41 -0500
  Re: Creating a full application with Ruby Fily Salas <fs_tigre@hotmail.com> - 2011-04-14 10:53 -0500

csiph-web