* Guile/Tk?
@ 2009-11-15 16:19 Josef Wolf
2009-11-15 18:16 ` Guile/Tk? Andy Wingo
2009-11-15 20:28 ` Guile/Tk? Neil Jerram
0 siblings, 2 replies; 6+ messages in thread
From: Josef Wolf @ 2009-11-15 16:19 UTC (permalink / raw)
To: guile-user
Hello,
I would like to try some GUI stuff with guile. Since I have some experience
with Tk (with perl and ruby), I tried Tk following
http://www.galassi.org/mark/mydocs/guile-programmer_2.html:
(require 'Gwish)
(use-library tcl)
(use-interface tcl)
(use-interface tclhack)
(tk-main-loop)
(quit)
But I keep getting errors like
ERROR: Unbound variable: require
ERROR: Unbound variable: use-library
or something.
Any hints?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Guile/Tk?
2009-11-15 16:19 Guile/Tk? Josef Wolf
@ 2009-11-15 18:16 ` Andy Wingo
2009-11-16 20:30 ` Guile/Tk? Josef Wolf
2009-11-15 20:28 ` Guile/Tk? Neil Jerram
1 sibling, 1 reply; 6+ messages in thread
From: Andy Wingo @ 2009-11-15 18:16 UTC (permalink / raw)
To: Josef Wolf; +Cc: guile-user
On Sun 15 Nov 2009 17:19, Josef Wolf <jw@raven.inka.de> writes:
> Hello,
>
> I would like to try some GUI stuff with guile. Since I have some experience
> with Tk (with perl and ruby), I tried Tk following
> http://www.galassi.org/mark/mydocs/guile-programmer_2.html:
>
> (require 'Gwish)
From http://www.galassi.org/mark/mydocs/guile-programmer_toc.html:
Guile Programmer's Manual
For use with Cygnus Guile 1.0
Last updated 6 July 1996
We do have some tk bindings bitrotten somewhere, but they would need
some love to work with Guile 1.8 (or 1.4 for that matter).
> (use-library tcl)
> (use-interface tcl)
> (use-interface tclhack)
This was back in the days when you couldn't have tk without tcl... ouch
:)
Try guile-gnome if you're on 1.8. You should be able to install from
packages in e.g. Debian.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Guile/Tk?
2009-11-15 16:19 Guile/Tk? Josef Wolf
2009-11-15 18:16 ` Guile/Tk? Andy Wingo
@ 2009-11-15 20:28 ` Neil Jerram
1 sibling, 0 replies; 6+ messages in thread
From: Neil Jerram @ 2009-11-15 20:28 UTC (permalink / raw)
To: Josef Wolf; +Cc: guile-user
Josef Wolf <jw@raven.inka.de> writes:
> Hello,
>
> I would like to try some GUI stuff with guile. Since I have some experience
> with Tk (with perl and ruby), I tried Tk following
> http://www.galassi.org/mark/mydocs/guile-programmer_2.html:
>
> (require 'Gwish)
>
> (use-library tcl)
> (use-interface tcl)
> (use-interface tclhack)
>
> (tk-main-loop)
> (quit)
>
> But I keep getting errors like
>
> ERROR: Unbound variable: require
> ERROR: Unbound variable: use-library
>
> or something.
>
> Any hints?
I'm afraid Guile's Tk support is years out of date. There might be a
way of getting some of it working again, but I'm afraid I have no idea
in detail.
Anyone else?
Neil
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Guile/Tk?
2009-11-15 18:16 ` Guile/Tk? Andy Wingo
@ 2009-11-16 20:30 ` Josef Wolf
2009-11-16 21:08 ` Guile/Tk? Linas Vepstas
2009-11-17 17:51 ` Guile/Tk? David Pirotte
0 siblings, 2 replies; 6+ messages in thread
From: Josef Wolf @ 2009-11-16 20:30 UTC (permalink / raw)
To: guile-user
On Sun, Nov 15, 2009 at 07:16:10PM +0100, Andy Wingo wrote:
> On Sun 15 Nov 2009 17:19, Josef Wolf <jw@raven.inka.de> writes:
> > I would like to try some GUI stuff with guile. Since I have some experience
> > with Tk (with perl and ruby), I tried Tk following
> > http://www.galassi.org/mark/mydocs/guile-programmer_2.html:
> > [ ... ]
>
> We do have some tk bindings bitrotten somewhere, but they would need
> some love to work with Guile 1.8 (or 1.4 for that matter).
[ ... ]
> This was back in the days when you couldn't have tk without tcl... ouch
> :)
>
> Try guile-gnome if you're on 1.8. You should be able to install from
> packages in e.g. Debian.
Thanks for the quick answer, Andy!
gnome seems to be much more complicated than Tk, I guess? Further, there
seem to be lots of confusion about a canvas widget in guile-gnome.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Guile/Tk?
2009-11-16 20:30 ` Guile/Tk? Josef Wolf
@ 2009-11-16 21:08 ` Linas Vepstas
2009-11-17 17:51 ` Guile/Tk? David Pirotte
1 sibling, 0 replies; 6+ messages in thread
From: Linas Vepstas @ 2009-11-16 21:08 UTC (permalink / raw)
To: Josef Wolf, guile-user
2009/11/16 Josef Wolf <jw@raven.inka.de>:
> gnome seems to be much more complicated than Tk, I guess?
Well, certainly a lot prettier and more powerful.
I would have thought that the basic-usage examples
would have been quite simple, thought ...
--linas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Guile/Tk?
2009-11-16 20:30 ` Guile/Tk? Josef Wolf
2009-11-16 21:08 ` Guile/Tk? Linas Vepstas
@ 2009-11-17 17:51 ` David Pirotte
1 sibling, 0 replies; 6+ messages in thread
From: David Pirotte @ 2009-11-17 17:51 UTC (permalink / raw)
To: Josef Wolf; +Cc: guile-user
Le Mon, 16 Nov 2009 21:30:50 +0100,
Josef Wolf <jw@raven.inka.de> a écrit :
> On Sun, Nov 15, 2009 at 07:16:10PM +0100, Andy Wingo wrote:
> > On Sun 15 Nov 2009 17:19, Josef Wolf <jw@raven.inka.de> writes:
> > > I would like to try some GUI stuff with guile. Since I have some experience
> > > with Tk (with perl and ruby), I tried Tk following
> > > http://www.galassi.org/mark/mydocs/guile-programmer_2.html:
> > > [ ... ]
> >
> > We do have some tk bindings bitrotten somewhere, but they would need
> > some love to work with Guile 1.8 (or 1.4 for that matter).
> [ ... ]
> > This was back in the days when you couldn't have tk without tcl... ouch
> > :)
> >
> > Try guile-gnome if you're on 1.8. You should be able to install from
> > packages in e.g. Debian.
>
> Thanks for the quick answer, Andy!
>
> gnome seems to be much more complicated than Tk, I guess? Further, there
> seem to be lots of confusion about a canvas widget in guile-gnome.
Hello Josef,
guile-gnome is fantastic, give it a try! [as time allows, being very busy, can help
with the basics if you need]
Cheers,
David
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-17 17:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-15 16:19 Guile/Tk? Josef Wolf
2009-11-15 18:16 ` Guile/Tk? Andy Wingo
2009-11-16 20:30 ` Guile/Tk? Josef Wolf
2009-11-16 21:08 ` Guile/Tk? Linas Vepstas
2009-11-17 17:51 ` Guile/Tk? David Pirotte
2009-11-15 20:28 ` Guile/Tk? Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).