[806] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Gtk and the scripting languages of the world

daemon@ATHENA.MIT.EDU (Kenneth Albanowski)
Fri Aug 22 18:08:26 1997

Date: Fri, 22 Aug 1997 18:08:11 -0400 (EDT)
From: Kenneth Albanowski <kjahds@kjahds.com>
To: gtk-list@redhat.com
In-Reply-To: <87hgci5zuq.fsf@zagadka.ping.de>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

On 22 Aug 1997, Marius Vollmer wrote:

> Do signal handlers have deletion notification?  There are the global
> `destroy' and `marshal' functions, but I would prefer to have
> individual deletion callbacks for each signal handler I install.

Only through the destroy function, which I found to be sufficient. Since
you can store any data in the gpointer, I stored a Perl AV* (an array
variable) that contains all the arguments the callback is to be invoked
with, and sufficient information to delete the callback.

> I think accessing foreign data is not important.  But we could couple
> the object_data mechanism with the the type system, so that every
> datum also stores a type.

This may not be feasible for the mechanisms that use Xlib directly.

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)


--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post