From: Andreas Rottmann <a.rottmann@gmx.at>
To: "José Roberto B. de A. Monteiro" <jrm@autsens.com>
Cc: guile-user@gnu.org, guile-gtk@sources.redhat.com
Subject: Re: GtkObject to Guile
Date: Fri, 08 Aug 2003 20:04:00 -0000 [thread overview]
Message-ID: <87u18rsyok.fsf@alice.rotty.yi.org> (raw)
In-Reply-To: <20030808135901.GA3778@milla.autsens.localnet> ( =?iso-8859-1?q?Jos=E9_Roberto_B._de_A._Monteiro's_message_of?= "Fri, 8 Aug 2003 10:59:01 -0300")
José Roberto B. de A. Monteiro <jrm@autsens.com> writes:
> I am using the package gnome-guile, which provides guile-gtk (version
> GTK+ 1.2) and guile-gnome. I have my main window written in C, and I
> want to access it in my scheme code. I thing that a function, which its
> prototype is as follows, would do the job:
>
> SCM gh_GtkWindow2scm(GtkWindow * window);
>
What 'is' your main window? Is it a derived GTK widget? If so, you
probably just need a function like this:
GtkWindow *get_my_main_window(void);
And run that prototype thru whatever wrapper generator gnome-guile
uses -- can't help here, since I only care about guile-gobject (the
bindings for GTK+ 1.2 are obsolete, at least in the long term).
Also, note that there is a guile-gtk mailing list, so this thread
belongs there (CC'ed).
Regards, Andy
--
Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
It's GNU/Linux dammit!
next parent reply other threads:[~2003-08-08 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030807202552.GA3016@milla.autsens.localnet>
[not found] ` <87k79pf6ds.fsf@alice.rotty.yi.org>
[not found] ` <20030808135901.GA3778@milla.autsens.localnet>
2003-08-08 20:04 ` Andreas Rottmann [this message]
2003-08-09 0:10 ` Kevin Ryde
[not found] ` <20030814193842.GA880@milla.autsens.localnet>
2003-08-14 21:01 ` Andreas Rottmann
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=87u18rsyok.fsf@alice.rotty.yi.org \
--to=a.rottmann@gmx.at \
--cc=guile-gtk@sources.redhat.com \
--cc=guile-user@gnu.org \
--cc=jrm@autsens.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).