From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.user Subject: Re: guile_gi question: gtk+ interface object? Date: Tue, 14 Jun 2022 21:42:05 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-d2AEPTEQtjNf9RylRIEJ" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38700"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Andy Tai , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Jun 14 21:43:01 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1CRI-0009sP-Kv for guile-user@m.gmane-mx.org; Tue, 14 Jun 2022 21:43:00 +0200 Original-Received: from localhost ([::1]:47426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1CRH-0006J7-FV for guile-user@m.gmane-mx.org; Tue, 14 Jun 2022 15:42:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1CQZ-0006Hq-4D for guile-user@gnu.org; Tue, 14 Jun 2022 15:42:15 -0400 Original-Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]:54076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1CQX-0003VW-3h for guile-user@gnu.org; Tue, 14 Jun 2022 15:42:14 -0400 Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id j7i92700E4UW6Th067i9jh; Tue, 14 Jun 2022 21:42:09 +0200 In-Reply-To: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1655235729; bh=mTBB5RF2W6t70pTh10NhamyU9KFDxFm+7e+NjeHvDtY=; h=Subject:From:To:Date:In-Reply-To:References; b=J0T+Ut4ezPhLxmWkc57bJACNU93BWB91sdt8DmfgIk/cjjLzKu2IUOhlS6izocwAL in53iqGaxRFZkiMcsbX9mXfRxN+9FFVV14IKoYJI9LBWZTuY/o+d3hzA06n7KFT3RH eKJpAsmkluI7Kf0OnerKsfPTLsyh6tZDwGZOsAd56BLLg7SkscbQeQtC0GEuf26t80 oixamR3DRv8GqgEuZ/lxdyBPxp3VbaPlH0LneItTfv01np+Y8UGWDa5inoUQ8qRZue j+SI30MMx6X66R1OIWmyi39yuyUvb/k8JHjjY6lrRVDGwwMhFDUMVrWLTM6X60OBdX N7S+0bY0Q5S/w== Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18308 Archived-At: --=-d2AEPTEQtjNf9RylRIEJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Andy Tai schreef op di 14-06-2022 om 11:52 [-0700]: > question: how to create object representing Gtk+ (version 3) > interfaces? For example. >=20 > (let (model (make ))) >=20 > would fail=C2=A0 because GtkTreeModel is an interface, not class derived > from GObject. By definition, you cannot instatiate interfaces, but you can instantiate classes derived from GtkTreeModel? Seems like you answered the question yourself? Maybe guile-gi even supports defining an implementation yourself in Scheme with GOOPS ... Greetings, Maxime. --=-d2AEPTEQtjNf9RylRIEJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYqjkjRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pBSAQCw67l0/lT+xCATnTrst60OkLxz usBwjoaIYydYFZnX5AD/cO9gKITXh/ywt4wlC0nI9NAAIzOTd3x8HxrC8Dq6SgE= =Khhb -----END PGP SIGNATURE----- --=-d2AEPTEQtjNf9RylRIEJ--