From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8883 invoked by alias); 26 May 2003 02:42:16 -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 8876 invoked from network); 26 May 2003 02:42:15 -0000 Received: from unknown (HELO lumo.pacujo.net) (209.77.185.85) by sources.redhat.com with SMTP; 26 May 2003 02:42:15 -0000 Received: (from marko@localhost) by lumo.pacujo.net (8.11.6/8.11.6/SuSE Linux 0.5) id h4Q2XMj15252; Sun, 25 May 2003 19:33:22 -0700 To: guile-gtk@sources.redhat.com Subject: Re: texinfo documentation References: <87llxd2c59.fsf@zip.com.au> <874r3lmifw.fsf@zip.com.au> <87of1tjjwy.fsf@zip.com.au> <87znldi1wl.fsf@zip.com.au> <87el2mmymo.fsf@zip.com.au> <87smr2lgge.fsf@zip.com.au> From: Marko Rauhamaa Date: Mon, 26 May 2003 02:42:00 -0000 In-Reply-To: <87smr2lgge.fsf@zip.com.au> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q2/txt/msg00116.txt.bz2 Kevin Ryde : > I think the function called gdk-gc-set-clip-rectangle should be the > same as the corresponding C function. I have now changed all the rectangle-inputting procedures to input GdkRectangle's instead of (x,y,w,h). > By all means add some extra routine if the basic way is too painful, > but I think variations between C and scheme functions (of the same > name) will only serve to cause confusion. Here are examples of the few remaining discrepancies: - C: gboolean gdk_rectangle_intersect (GdkRectangle *r1, GdkRectangle *r2, GdkRectangle *dest); guile-gtk: (gdk-rectangle-intersect rect1 rect2) => rect or #f instead of: (gdk-rectangle-intersect rect1 rect2) => (bool rect) - C: void gdk_rectangle_union (GdkRectangle *src1, GdkRectangle *src2, GdkRectangle *dest); guile-gtk: (gdk-rectangle-union rect1 rect2) => rect instead of: (gdk-rectangle-union rect1 rect2) => (rect) - C: gint gdk_string_to_compound_text (const gchar *str, GdkAtom *encoding, gint *format, guchar **ctext, gint *length); (where the return value is 0 on success) guile-gtk: (gdk-string-to-compound str) => (string or #f encoding format) instead of: (gdk-string-to-compound str) => (int encoding format (cvecr uint)) Marko -- Marko Rauhamaa mailto:marko@pacujo.net http://pacujo.net/marko/