[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to use [gtk-object-]destroy ?
From: |
Andreas Rottmann |
Subject: |
Re: how to use [gtk-object-]destroy ? |
Date: |
Sun, 13 Jun 2004 13:29:37 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Jan Nieuwenhuizen <address@hidden> writes:
> I can't seem to use (destroy) on a <gnome-canvas-text>. Yet it
> derives from <gnome-canvas-item>, which derives from <gtk-object>,
> which has a destroy method defined, gtk.defs says
>
> (define-method destroy
> (of-object "GtkObject")
> (c-name "gtk_object_destroy")
> (return-type "none")
> )
>
[snip]
> This may be more of a goops question than a guile-gnome one: how do I
> find out what methods are available for ITEM above,
>
(generic-function-methods ITEM)
> why is guile trying
> #<<GENERIC> rather than using gtk-object-destroy?
>
'Cause destroy is a generic, which should have gtk-object-destroy as a
method.
Andy
--
Andreas Rottmann | address@hidden | address@hidden | address@hidden
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
I have a truly elegant proof of the above, but it is too long to
fit into this .signature file.