From: Marius Vollmer <mvo@zagadka.ping.de>
To: Jon Trowbridge <trow@emccta.com>
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: embedding guile-gnome
Date: Mon, 10 Jan 2000 12:51:00 -0000 [thread overview]
Message-ID: <874sclaby4.fsf@zagadka.ping.de> (raw)
In-Reply-To: <20000110003346.B28318@emccta.com>
Jon Trowbridge <trow@emccta.com> writes:
> I've run into a bit of a problem with adding gnome bindings, though.
> Poking through the source code for gnomeg in the gnome-guile CVS
> module, it isn't immediately obvious to me how to add those bindings
> to my program. Rather than being in a libguilegnome, it looks like
> some of the important code is in places like, say, gnomeg.c.
>
> Am I missing something here? Is there a nice way for me to embed
> "guile-gnome" in my app?
Hmm, there is a libguilegnome and you can bring it into action with
(use-modules (gnome gnome))
from a plain guile executable. For example
;; simple.scm
(use-modules (gnome gnome)
(gtk gtk))
(gnome-init-hack "uiinfo" #f '())
(let ((app (gnome-app-new "simple" "Simple")))
(gtk-widget-show-all app)
(gtk-standalone-main app))
% guile -s simple.scm
works for me just fine. The gnomeg executable should only be
necessary on platforms on which guile-gtk does not support dynamic
linking.
There might be some bugs in gnome-guile, tho, and I just discovered a
serious one in the UIInfo code, but basically it should be the way you
want it.
Can you be more specific as to what doesn't work for you?
parent reply other threads:[~2000-01-10 12:51 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20000110003346.B28318@emccta.com>]
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=874sclaby4.fsf@zagadka.ping.de \
--to=mvo@zagadka.ping.de \
--cc=guile-gtk@sourceware.cygnus.com \
--cc=trow@emccta.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).