guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cooperating on .defs API specifications


From: Xavier Ordoquy
Subject: Re: Cooperating on .defs API specifications
Date: Tue, 30 Mar 2004 23:09:01 +0200

On Tue, 2004-03-30 at 22:27, Murray Cumming wrote:
> 
> The defs format does not split up the function name, I think. It just
> says what the name is and what object it belongs to. So, I think there's
> no problem there.

Here's an example of the use in pygtk:

(define-function accel_map_get
  (c-name "gtk_accel_map_get")
  (return-type "GtkAccelMap*")
)

accel_map_get gets in the gtk module. Note that the function is called
in Python with
 gtk.accel_map_get
instead of
 gtk.gtk_accel_map_get






reply via email to

[Prev in Thread] Current Thread [Next in Thread]