public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Ariel Rios <ariel@arcavia.com>
To: Vladimir Tsyshevsky <wowa@jet.msk.su>
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: about boolean types
Date: Tue, 11 Jan 2000 08:37:00 -0000	[thread overview]
Message-ID: <387B5AE8.3EF20A65@arcavia.com> (raw)
In-Reply-To: <E12822W-00054e-00@goliath.service.jet.msk.su>

Vladimir Tsyshevsky wrote:
> 
> Hi,
> 
> many parameters in gtk+ have formal integer type, but are booleans
> really. Nevertheless, all they are mentioned as integer in Scheme
> prototypes. I think, if is not very difficult to introduce 'bool' type
> in guile-gtk to fix this problem.
Boolena types are already included on guile-gtk. Eg,

(define-func gtk_widget_set_sensitive
  none
  ((GtkWidget widget)
   (bool sensitive)))

However bool expects scheme values (#t #f) instead of C.

Ariel

  reply	other threads:[~2000-01-11  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-11  6:13 Vladimir Tsyshevsky
2000-01-11  8:37 ` Ariel Rios [this message]
2000-01-12  0:10   ` ÷ÌÁÄÉÍÉÒ ãÉÛÅ×ÓËÉÊ

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=387B5AE8.3EF20A65@arcavia.com \
    --to=ariel@arcavia.com \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=wowa@jet.msk.su \
    /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).