discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep-guile example


From: Richard Frith-Macdonald
Subject: Re: GNUstep-guile example
Date: Thu, 8 May 2003 18:37:38 +0100


On Thursday, May 8, 2003, at 05:19  pm, MJ Ray wrote:

Richard Frith-Macdonald <richard@brainstorm.co.uk> wrote:
Can anyone give me an example of how to create a small GNUstep-guile
application, please?
Here you go -

Oblocks.  I'll learn to ask first time for what I want one day.

Can you give me an example of a GUI GNUstep-guile application?  I've
had no luck figuring it out from the docs.

Nope ... but you can look at some example ObjC applications and convert
to guile.  See usr-apps/examples in cvs.

Assuming you are using the latest code, you can use the (gstep-gui) or
(gstep-gdl2) procedures to load in the gui library or gdl2 library in
addition to the default base library code, thus making  gui/database
classes available for use.

Tried gstep-gui, but still couldn't make a window appear. I guess I need a "code only" intro to either the guile or objC way of doing that without
using the GUI tools.  Unless any of the GUI tools understand guile...

You do need a code-only intro (as in the example area). However, you can load in UI definitions from a gorm or renaissance file, so you don't have to
code everything.

Probably you will want to do some subclassing ... the gstep-guile Testing
directory contains some simple class creation tests.

PS. Don't write in guile unless you actually like guile ... writing code in ObjC
is a good experience.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]