From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luis Felipe Newsgroups: gmane.lisp.guile.user Subject: Guile-GI: : Setting parameter type to None or NULL Date: Sun, 25 Apr 2021 19:36:04 +0000 Message-ID: Reply-To: Luis Felipe Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29503"; mail-complaints-to="usenet@ciao.gmane.io" To: "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Apr 25 21:37:52 2021 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 1lakZj-0007ZY-NT for guile-user@m.gmane-mx.org; Sun, 25 Apr 2021 21:37:51 +0200 Original-Received: from localhost ([::1]:34968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lakZi-0001PE-Pk for guile-user@m.gmane-mx.org; Sun, 25 Apr 2021 15:37:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lakYD-0000s6-2U for guile-user@gnu.org; Sun, 25 Apr 2021 15:36:18 -0400 Original-Received: from mail-40141.protonmail.ch ([185.70.40.141]:55827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lakY9-0003Gh-Br for guile-user@gnu.org; Sun, 25 Apr 2021 15:36:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1619379370; bh=Yxc+nHrejq6cNS9r1EmLugCzt4VXKIqb5AHi3aBoaDM=; h=Date:To:From:Reply-To:Subject:From; b=t6EcqCzaS2xfYqvu6JAsyYrpiteQxTh4x1k+ifzYshju01zZL9E8qaMOE7dxVM72P TV0H8+iXaDiealxJEZIaa/f0prvS73oyTL6gs7g2O7jtXpmszX1RZ/DWfMymLUtCCf LkqElLtg9F6ojvothMDoXdPrCbuR8mHNUDkzg+gY= Received-SPF: pass client-ip=185.70.40.141; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40141.protonmail.ch X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) AC_FROM_MANY_DOTS=2.999, BAYES_05=-0.5, 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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:17457 Archived-At: Hello again, I want to add actions to an application but I can't seem to find the correc= t value to indicate that no parameter should be passed to a handler. In Python, for example, I do this: action =3D Gio.SimpleAction.new("about", None) In Guile, I'm doing it like this for now: (let [(action (make =C2=ABGSimpleAction=C2=BB #:name "about")) ...] ...) But what I need to indicate is: (make =C2=ABGSimpleAction=C2=BB #:name "about" #:parameter-type None) So what's the equivalent to None in Guile? Any help is very welcome, --- Luis Felipe L=C3=B3pez Acevedo https://luis-felipe.gitlab.io/