From: Luis Felipe <luis.felipe.la@protonmail.com>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: "guile-user@gnu.org" <guile-user@gnu.org>
Subject: Re: guile-gi: Using Gtk.show_uri and application:get-active-window
Date: Sun, 13 Mar 2022 00:50:05 +0000 [thread overview]
Message-ID: <ckzj6ZNFCtSyKvFC9rrm1R_6gzZEdh9uUKkcaUM9ubUB2Bgg69JfhqBj47E6mesB29kJpxULJAou-kHtBXWc0bNrjNmxjud6n1m6T4d4OaE=@protonmail.com> (raw)
In-Reply-To: <fX0sYkGVGGTqb2TbjHTkMm2whP197qGNzKDXQh2fSzmaCiME5KZLT8WVNmMZK9Isz4MXLFdIZcABEgHvnxPIkC_guHR74dhv9l2Y-wOELwA=@protonmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]
On Friday, March 11th, 2022 at 11:59 PM, Luis Felipe <luis.felipe.la@protonmail.com> wrote:
> Hi, I want to display the help of an application on Yelp when users click on "MenuButton → Help" or when they press F1. I already have the relevant actions connected to a procedure that looks like this:
>
> (define (on-help action app)
>
> #| Show application manual in Yelp. |#
>
> (let [(window (get-active-window app))]
>
> (show-uri window "help:geteka" CURRENT_TIME)))
>
> [...]
>
> Also, I don't know whether I'm using the CURRENT_TIME constant correctly. It is part of GDK 4 (GDK_CURRENT_TIME),² which I also required in my module.
Not only CURRENT_TIME, but also "show_uri", which is a GTK function. How do I use these symbols? Just like that, without any prefix?
[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]
next prev parent reply other threads:[~2022-03-13 0:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 23:59 guile-gi: Using Gtk.show_uri and application:get-active-window Luis Felipe
2022-03-13 0:50 ` Luis Felipe [this message]
2022-03-24 12:44 ` Luis Felipe
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='ckzj6ZNFCtSyKvFC9rrm1R_6gzZEdh9uUKkcaUM9ubUB2Bgg69JfhqBj47E6mesB29kJpxULJAou-kHtBXWc0bNrjNmxjud6n1m6T4d4OaE=@protonmail.com' \
--to=luis.felipe.la@protonmail.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).