Re: Snoopers on arbitrary events
- From: Tim Janik <timj gtk org>
- To: Elliot Lee <sopwith redhat com>
- cc: Gtk+ Developers <gtk-devel-list redhat com>
- Subject: Re: Snoopers on arbitrary events
- Date: Mon, 30 Nov 1998 10:58:16 +0100 (CET)
On Sun, 27 Sep 1998, Elliot Lee wrote:
> Long & short of it: Need to be able to filter through all the 'clicked'
> signals (and perhaps others) in order to play noises for GNOME sound
> themes, etc.
>
> Any pointers, or is this not yet possible?
hi elliot,
i just implemented signal emission hooks for gtk, there's a small
example for that in testgtk "Event Watcher" that traps enter/leave events
on widgets.
for the rest of the sound stuff, i'd like to know where (what cvs module,
e.g. "gtk-sound"?) the sound triggering is going to be setup, so i can
provide you with a basic framework for the gtk-module stuff (to follow
the idea owen proposed in late september, which is actually a very
elegant approach).
there also needs to be some consensus on how the whole thing should
be setup, e.g. whether that module will read an rc file and what
format that should be in, for example something like
sample_path "/usr/lib/samples:/home/timj/samples"
class GtkMenu {
show ("open-door.au")
hide ("close-door.au")
}
class GtkButton {
clicked ("gun-shot.au", "death-cry.au")
}
needs class iteraters/hooks for the type system.
also, the current gtkrc syntax does not feature a `module' keyword
that would load a gtk-sound module (though there's GTK_MODULES= at
least).
>
> -- Elliot
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]