From: David Pirotte <david@altosw.be>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: GNU G-Golf 0.8.0-rc6 available for testing
Date: Thu, 19 Sep 2024 19:20:06 -0300 [thread overview]
Message-ID: <20240919192006.14b2af40@tintin> (raw)
In-Reply-To: <874j6bsyqx.fsf@pelzflorian.de>
[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]
Hello Florian,
> G-Golf works great.
Excellent! Note that you'll need to update your configuration and
use/grab 0.8.0-rc7 - which fixes a 'missing some distributed files',
necessary to be able to run the newly added
examples/gtk-4/layout-manager.scm
[ a g-golf port of the upstream gtk4-demo layout manager
[ (transition) example
> Now I can embed GTK programs within the Guix Home
> configurations ...
I am glad that you (finally) can happily use the distro of your dream.
Your config example certainly should help other guixers willing to use
g-golf.
> All that is left is that I do not understand why
> (gdk-display-get-default) returns #f in G-Golf but
> gdk_display_get_default () in C returns 0x1c0e36c0.
You need to have initialized either Gtk or Adw, otherwise it returns #f
(as expected).
scheme@(guile-user)> ,use (g-golf)
scheme@(guile-user)> (gi-import-by-name "Gdk" "Display")
$5 = #<<gobject-class> <gdk-display> 7fee0e488c30>
scheme@(guile-user)> (gdk-display-get-default)
$6 = #f
scheme@(guile-user)> (gi-import-by-name "Gtk" "init")
$7 = #<<function> 7fee075cb480>
scheme@(guile-user)> (gtk-init)
scheme@(guile-user)> (gdk-display-get-default)
$8 = #<<gdk-wayland-display> 7fee0f054a10>
David
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-09-19 22:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 2:49 GNU G-Golf 0.8.0-rc6 available for testing David Pirotte
2024-09-18 22:39 ` David Pirotte
2024-09-18 23:21 ` Greg Troxel
2024-09-19 23:00 ` David Pirotte
2024-09-20 22:46 ` David Pirotte
2024-09-19 10:51 ` pelzflorian (Florian Pelz)
2024-09-19 22:20 ` David Pirotte [this message]
2024-09-20 13:08 ` pelzflorian (Florian Pelz)
2024-09-20 21:40 ` David Pirotte
2024-09-23 7:27 ` pelzflorian (Florian Pelz)
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=20240919192006.14b2af40@tintin \
--to=david@altosw.be \
--cc=guile-user@gnu.org \
--cc=pelzflorian@pelzflorian.de \
/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).