[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile-GI: <GSimpleAction>: Setting parameter type to None or NULL
From: |
Luis Felipe |
Subject: |
Guile-GI: <GSimpleAction>: Setting parameter type to None or NULL |
Date: |
Sun, 25 Apr 2021 19:36:04 +0000 |
Hello again,
I want to add actions to an application but I can't seem to find the correct
value to indicate that no parameter should be passed to a handler.
In Python, for example, I do this:
action = Gio.SimpleAction.new("about", None)
In Guile, I'm doing it like this for now:
(let [(action (make «GSimpleAction» #:name "about"))
...]
...)
But what I need to indicate is:
(make «GSimpleAction» #:name "about" #:parameter-type None)
So what's the equivalent to None in Guile?
Any help is very welcome,
---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
- Guile-GI: <GSimpleAction>: Setting parameter type to None or NULL,
Luis Felipe <=