unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Lee Thomas <leet22303be@gmail.com>
To: David Pirotte <david@altosw.be>
Cc: Jessica Tallon <tsyesika@tsyesika.se>, 57379@debbugs.gnu.org
Subject: bug#57379: GUI toolkit for Guile 3.0?
Date: Wed, 24 Aug 2022 14:49:12 -0700	[thread overview]
Message-ID: <CANYin9VtwNCbZu1z_tPfn70XhzOgag4boj5wosVcZX+a3U=Y0w@mail.gmail.com> (raw)
In-Reply-To: <20220824170318.70af5603@aicha>

[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]

Thank you both!!

Jessica, when I invoked the guix shell as you showed, it worked in that
"(use-modules (gi))" succeeded. I need to learn more about including
packages with the guix shell command. It's odd that I can get the latest
guile to run without specifying it for guix, but I must have the other
packages for gi to work .. . .

David, I was able to install G-Golf via guix, and that also worked with the
"use-modules" portion of your "Hello, World!" example.

HOWEVER (alas), both examples fail on the "use-typelibs" line, with:
Typelib file for namespace 'Gtk', version '4.0' not found

In trying to resolve that error myself, I found that the guile manual has
no entry for "use-typelib" in the Procedures Index. :-/  I'll submit that
bug in a new email, after confirming there's not already a thread.

Oh, and David, https://www.gnu.org/software/g-golf/index.html has a link
for Typelib that 404s. I would suggest a fix, but I couldn't easily find
one, sorry.

But both of you have shown me that what I originally wanted to do is, in
fact, doable. Thanks again!


On Wed, Aug 24, 2022 at 1:03 PM David Pirotte <david@altosw.be> wrote:

> Hello,
>
> > > ... I'm trying to at least prototype a GUI in the same way that
> > > in Python I can write "import gi" and proceed to create a GTK
> > > window, add buttons and menubars and toolbars, etc.
>
> You might also try G-Golf - disclaimer, I am the G-Golf maintainer, I
> was hoping/waiting that some answer(s) would point to both solutions,
> but as it didn't happen, here is the link [1].
>
> David
>
> [1]     https://www.gnu.org/software/g-golf/index.html
>

[-- Attachment #2: Type: text/html, Size: 2634 bytes --]

  reply	other threads:[~2022-08-24 21:49 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  2:35 bug#57379: GUI toolkit for Guile 3.0? Lee Thomas
2022-08-24 12:29 ` Jessica Tallon
2022-08-24 16:05   ` Lee Thomas
2022-08-24 18:55     ` Jessica Tallon
2022-08-24 20:03   ` David Pirotte
2022-08-24 21:49     ` Lee Thomas [this message]
2022-08-26  2:27       ` David Pirotte
2022-08-26 20:03         ` Lee Thomas
2022-08-26 20:35           ` Ricardo Wurmus
2022-08-26 21:11             ` Lee Thomas
2022-08-27  8:30               ` Ricardo Wurmus
2022-08-28 23:04                 ` David Pirotte
2022-08-28 22:42           ` David Pirotte
2022-08-29  2:32             ` Lee Thomas
2022-08-29  9:11               ` Ricardo Wurmus
2022-08-29  9:12               ` Ricardo Wurmus
2022-08-29 16:54               ` David Pirotte
2022-08-29 18:22                 ` Lee Thomas
2022-08-29 23:23                   ` David Pirotte
2022-08-30 18:33                     ` Lee Thomas
2022-09-01  7:17                       ` adriano
2022-09-03  4:26                       ` David Pirotte
2022-08-29 19:55                 ` Ricardo Wurmus
2022-08-30 18:24                   ` Lee Thomas
2022-09-03  4:15                     ` David Pirotte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANYin9VtwNCbZu1z_tPfn70XhzOgag4boj5wosVcZX+a3U=Y0w@mail.gmail.com' \
    --to=leet22303be@gmail.com \
    --cc=57379@debbugs.gnu.org \
    --cc=david@altosw.be \
    --cc=tsyesika@tsyesika.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).