PDA

View Full Version : Please help, What's the dif between Signals and Events? (GTK+)



systemintheglitch
December 25th, 2006, 10:39 AM
Please help as a Christmas present! :D

slavik
December 26th, 2006, 06:41 AM
a signal is something you send when an event occurs.

one of the easiest examples is if you are standing outside watching for the cops while your friends are opening the bank safe. when the cops show up (event) you alert them by sending a signal (flashing lights or something).

or when you run away and get hitched (event), you send a text message (signal) to your parents.

NOTE: I have done either of the above :P

systemintheglitch
December 28th, 2006, 12:42 AM
a signal is something you send when an event occurs.

one of the easiest examples is if you are standing outside watching for the cops while your friends are opening the bank safe. when the cops show up (event) you alert them by sending a signal (flashing lights or something).

or when you run away and get hitched (event), you send a text message (signal) to your parents.

NOTE: I have done either of the above :P


Wow, that was easy thanks.

Wybiral
December 28th, 2006, 12:59 AM
lol, nice very nice analogies.