[MacRuby-devel] building a GUI in macirb

Matt Aimonetti mattaimonetti at gmail.com
Thu Apr 15 09:00:33 PDT 2010


You might want to look at the HotConsole project.

- Matt

Sent from my iPhone

On Apr 15, 2010, at 2:07, Jakub Suder <jakub.suder at gmail.com> wrote:

> Hi,
>
> is it possible to build a simple GUI (window, button, textfield, etc.)
> in the console (macirb), just for demonstration purposes? I tried
> that, but first I couldn't even construct a window (I was getting some
> horrible errors), I found somewhere that I need to call
> NSApplicationLoad() once, then I was able to build a window, but if I
> add something to its contentView it doesn't appear, and the mouse
> cursor is the spinning beach ball when I hover over that window. I
> assume I need to call something to let the app process the events in
> the queue, but I have no idea how to do that... is what I want to
> achieve possible?
>
> Best regards,
> Jakub Suder
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


More information about the MacRuby-devel mailing list