two or more objects into a signal handler
- From: Gonzalo Aguilar <gad reymad com>
- To: GTK desarrollo <gtk-app-devel-list gnome org>
- Subject: two or more objects into a signal handler
- Date: Sat, 10 Feb 2001 19:36:46 +0100
How can I pass two objects to a signal?
I'm trying to make a button unclickable if a entry text box is empty, so
I use the change event on the entry box to
check if the entry box is empty and if so, then I make the button
unclickable...
But then I need the entry box and the button in the signal handler, but
I only can pass one argument...
The entry box to check if it's empty, and the button to make it
unclickable...
How can I make this operation?
Should I use a structure to pass the pointers to the objects?
Thanks for your help...
Please answer to my e-mail too.
--
Gonzalo Aguilar. Madrid, España (Spain) |
Reymad Studios | gad reymad com |
Privado | eshero airtel net |
----------------------------------------+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]