unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Michele Lindroos <keelefi@gmail.com>
To: guile-user@gnu.org
Subject: Re: G-Golf - Help with ListView needed
Date: Tue, 7 Mar 2023 20:55:02 +0200	[thread overview]
Message-ID: <CAEvXz3R2PSx8BRqwXcoC4kP=onWp9giRcL68E-v_8-yL5_2iiA@mail.gmail.com> (raw)
In-Reply-To: <20230306190939.49a8085e@aicha>

Hi David,

> In this particular situation, the property exists since 4.10, but most
> distributions still have 4.8.xx ... As soon as you have access to gtk
> 4.10 or later, you may revert your code to use the prefered scheme
> idiomatic way

You are right, I'm linking against gtk-4 shipped by the distribution
I'm using. In this case, I'm on Ubuntu 22.04 which, at the time of
writing this email, ships gtk-4 version 4.6.6.

This leads me to a few follow-up questions:

1) I did build G-Golf using automake which should figure out all
versions of the libraries I'm linking against. Should an error have
been raised when I called the incompatible constructor? Or maybe a
print in the console log?

2) Assuming I want to write shippable code, is it possible to know
which gtk-4 version is being used and which constructor to call?

3) Is gtk-string-list unique in this regard, or are there also other
classes which need to be instantiated using the non-idiomatic way?

Thanks a lot for all the help!

BR,
Michele



  reply	other threads:[~2023-03-07 18:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04  9:09 G-Golf - Help with ListView needed Michele Lindroos
2023-03-05  2:35 ` David Pirotte
2023-03-06  4:07 ` David Pirotte
2023-03-06 15:50   ` Michele Lindroos
2023-03-06 22:09     ` David Pirotte
2023-03-07 18:55       ` Michele Lindroos [this message]
2023-03-09 22:08         ` 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='CAEvXz3R2PSx8BRqwXcoC4kP=onWp9giRcL68E-v_8-yL5_2iiA@mail.gmail.com' \
    --to=keelefi@gmail.com \
    --cc=guile-user@gnu.org \
    /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).