From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16919 invoked by alias); 5 Feb 2002 18:44:27 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 16802 invoked from network); 5 Feb 2002 18:44:15 -0000 Received: from unknown (HELO romulus.pretzelnet.org) (64.242.77.198) by sources.redhat.com with SMTP; 5 Feb 2002 18:44:15 -0000 Received: from argo.pretzelnet.org (zealot.progeny.com [216.37.46.162]) by romulus.pretzelnet.org (Postfix) with ESMTP id 7CDBAA2C7 for ; Tue, 5 Feb 2002 13:44:14 -0500 (EST) To: guile-gtk@sources.redhat.com Subject: Guile's libglade vs. Python's (was Re: [OT?] libglade, guile-gtk and glade-xml-signal-autoconnect) References: <15446.63587.961296.439727@minos.phy.bnl.gov> <1012398677.1247.62.camel@flophouse> <15448.2600.646593.129325@minos.phy.bnl.gov> <1012408302.1300.129.camel@flophouse> X-PGP: 1024D/44703332 156D 6115 C368 CDA9 81CA C892 3D39 98D2 4470 3332 From: Eric@pretzelnet.org, Gillespie@pretzelnet.org, Jr. Date: Tue, 05 Feb 2002 10:44:00 -0000 In-Reply-To: <1012408302.1300.129.camel@flophouse> (Bill Gribble's message of "30 Jan 2002 10:31:41 -0600") Message-ID: User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (bamboo, powerpc-apple-darwin1.4) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q1/txt/msg00019.txt.bz2 (I'm posting this to guile-gtk on a hunch that this is the right place to discuss the Guile libglade bindings; i couldn't find any guile-libglade list). Bill Gribble writes: > It would be nice to have a way to specify that the function name > is Scheme rather than C. Since libglade seems to silently drop > things that don't map to C functions, you could have a naming > convention that signal handlers starting with scm: are treated > as Scheme functions and invoked via a wrapper. autoconnect > could be wrapped with a little test that makes those > connections. And in a later message: > That's what I'm saying. glade-xml-signal-autoconnect is just a > wrapper that calls glade_xml_signal_autoconnect, which means > that only C function bindings are looked for. The wrapper is what the Python bindings do, i think. Having autoconnect not working like the user expects is probably a bad idea. Can this be fixed in a future release? Maybe i'll find the time to make a patch... -- Eric Gillespie, Jr. <*> epg@pretzelnet.org "When everyone has to reinvent the wheel, many people invent square wheels."