lua-users home
lua-l archive

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

On Tue, Jan 4, 2011 at 5:14 PM, Alexander Gladysh <> wrote:
On Tue, Jan 4, 2011 at 16:11, Gaspard Bucher <> wrote:

> Ok, here is my pitch: why not make a book on multimedia Lua with Rubyk ?
> People get to learn Lua in an easy to use environment (all libraries are
> provided in a single binary install) and they can directly create GUI
> applications that look nice (Qt) and work everywhere Rubyk is installable
> (Mac, Linux, Windows) ? They can even use Rubyk to create embedded
> applications.

Sorry to sound negative, but wouldn't it be a book about Rubyk, not
about Lua in general?

Yes and no: Rubyk is an environment to program in Lua with lots of libraries and stuff that just work together well. There are some things that would be Rubyk specific:

1. properties that notify on value change and can be changed through the network
2. remote editing of embedded scripts

But these aspects do not need to be used all the time (or at all). For example, this creates a window with a quit button:

require 'rubyk'
app = mimas.Application()
win = mimas.Widget()
layout = mimas.VBoxLayout(win)
label = mimas.Label("If you thouch the button, I die...")
button = mimas.PushButton("don't touch me")
local callback = mimas.Callback(function()

callback:connect(button, 'clicked')

Screen shot 2011-01-04 at 17.28.50.png

And you did not even provide a link to your project.