A basic application skeleton for a ruby-gnome2 (ruby-gtk2) application.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
MIT_LICENSE
README.textile
Rakefile
runner.rb

README.textile

This is a MVC ruby-gnome2 application skeleton

The skeleton demonstrates basic usage of

  • actions,
  • menus,
  • toolbars,
  • menus,
  • statusbar,
  • dialogs,
  • images

I’ve also included the start of a horizontal flow widget

  • hflowbox

Prerequisites

ruby-gnome2 from http://ruby-gnome2.sourceforge.jp/

gems:

  • log4r
  • ruby-prof
  • launchy

Currently controllers/database.rb is setup for using DataMapper with sqlite3 so these gems are required:

  • dm-core
  • dm-more
  • do_sqlite3

database.rb is just an example so you can easily replace it with your favorite backend.

Quick Demo Usage

git clone git://github.com/royw/ruby-gnome2-app-skeleton.git
cd ruby-gnome2-app-skeleton
lib/my-app.rb

Basic steps to get started on your application

  1. copy the lib directory
  2. edit lib/my-app.rb to tailor it for your application.
  3. rename lib/my-app.rb to your app’s name.
  4. explore the code
  5. have fun