Attaching a callback to *all* buttons in an application
- From: Lance Capser <lmcapser bigfoot com>
- To: gnome-devel-list gnome org
- Subject: Attaching a callback to *all* buttons in an application
- Date: 08 May 2001 09:07:44 -0600
Greetings, Programs!
I'm looking for a way to generically attach a callback routine to
all the buttons in my app. Specifically, I would like to play a
sound to provide audible feedback that a button was pressed (for a
touchscreen application). I see that GNOME does this (sortof) in
the audio preferences but I'm not quite sure how it's being done -
it seems to narrow down specific types of widgets (toggle buttons,
"Action" buttons, menu activation, etc). Could anyone out there
please provide a small explanation on how this works and how to
implement it in my own program?
Thanks in advance
Lance
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]