From: "Sudarshan S Chawathe" <chaw@eip10.org>
To: Arie van Wingerden <xapwing@gmail.com>
Cc: kawa@sourceware.org
Subject: Re: JavaFX unexpected warning
Date: Wed, 31 Oct 2018 09:49:00 -0000 [thread overview]
Message-ID: <1301.1540979293@vpaur.eip10.org> (raw)
In-Reply-To: Your message of "Wed, 31 Oct 2018 10:31:09 +0100." <CADkALSGS4r7nNVO0RDOkgKCyvu+8cDDEuJ9sbuZkMRrpKhAMmA@mail.gmail.com>
> It does work, however, I get this unexpected warning:
> .\test.scm:14:29: warning - no known slot 'setStyle' in java.lang.Object
>
> Any ideas why?
Kawa cannot be sure that the Button procedure returns an object of
Button type, and so only assumes it is an Object and then wonders
whether that Object will have the required setStyle method.
> > (define button
Changing the above to something like
(define button ::javafx.scene.control.Button
should fix the problem.
Regards,
-chaw
next prev parent reply other threads:[~2018-10-31 9:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-31 9:31 Arie van Wingerden
2018-10-31 9:49 ` Sudarshan S Chawathe [this message]
2018-10-31 11:17 ` Arie van Wingerden
2018-10-31 17:23 ` Per Bothner
2018-11-01 5:32 ` Per Bothner
2018-11-01 10:21 ` Arie van Wingerden
2018-11-01 13:41 Jamison Hope
2018-11-01 15:08 ` Per Bothner
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=1301.1540979293@vpaur.eip10.org \
--to=chaw@eip10.org \
--cc=kawa@sourceware.org \
--cc=xapwing@gmail.com \
/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).