From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9060 invoked by alias); 12 May 2003 00:05:49 -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 8958 invoked from network); 12 May 2003 00:05:48 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 12 May 2003 00:05:48 -0000 Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.3) with ESMTP id h4C05iPc000315; Mon, 12 May 2003 10:05:44 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4C05iQg015777; Mon, 12 May 2003 10:05:44 +1000 (EST) Received: from localhost (ppp12.dyn228.pacific.net.au [203.143.228.12]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4C05gYZ008163; Mon, 12 May 2003 10:05:43 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19F0oz-0001nH-00; Mon, 12 May 2003 10:05:37 +1000 To: Marko Rauhamaa Cc: guile-gtk@sources.redhat.com Subject: Re: Completed GdkFont support References: From: Kevin Ryde Mail-Copies-To: never Date: Mon, 12 May 2003 00:05:00 -0000 In-Reply-To: (Marko Rauhamaa's message of "09 May 2003 00:50:48 -0700") Message-ID: <87he813u7k.fsf@zip.com.au> User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q2/txt/msg00046.txt.bz2 Marko Rauhamaa writes: > > +(define-func gdk_char_width > + int > + ((GdkFont font) > + (char character))) This seems to end up requiring an integer parameter. Is that right? (use-modules (gtk gdk)) (gdk-char-width "fixed" #\A) :3:1: In procedure gdk-char-width in expression (gdk-char-width "fixed" #\A): :3:1: Wrong type argument in position 2: #\A I might have hoped to pass a scheme character to gdk_char functions. I think that'd work better with normal scheme string and character stuff.