From: Stephen Tell <tell@cs.unc.edu>
To: Guile-Gtk List <guile-gtk@sourceware.cygnus.com>
Subject: Converting GdkEvent from C to Guile
Date: Thu, 18 Nov 1999 13:05:00 -0000 [thread overview]
Message-ID: <Pine.GHP.4.10.9911181556440.27875-100000@rukbat.cs.unc.edu> (raw)
In-Reply-To: <Pine.GHP.4.10.9911071717060.27875-100000@rukbat.cs.unc.edu>
In guile-gtk 0.17, how do I convert a pointer to a GdkEvent (or
GdkEventButton) to an SCM so it can be passed to a guile callback?
With a little rummaging around in the source, I found sgtk_wrap_gtkobj()
which does the appropriate magic for Gtk objects, but (perhaps not too
surprisingly) it coredumps when passed a (GdkEventButton *). There must
be an appropriate function in there someplace.
Thanks,
Steve
--
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill. W:919-962-1845
next prev parent reply other threads:[~1999-11-18 13:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-07 15:47 guile-gtk without dlopen (HP-UX) Stephen Tell
1999-11-08 13:27 ` Marius Vollmer
1999-11-08 19:08 ` Stephen Tell
1999-11-18 13:05 ` Stephen Tell [this message]
1999-11-18 15:14 ` Converting GdkEvent from C to Guile Marius Vollmer
1999-11-18 15:50 ` Stephen Tell
1999-11-19 13:51 ` Marius Vollmer
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=Pine.GHP.4.10.9911181556440.27875-100000@rukbat.cs.unc.edu \
--to=tell@cs.unc.edu \
--cc=guile-gtk@sourceware.cygnus.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).