Re: Are there such tings like custom signals?

2012-01-23 Thread Manuel Ferrero
Il 20/01/2012 18.08, Jack ha scritto: However, that is separate from knowing that the button has been pushed, so you can then start the communications. For this, is there any reason to use a custom signal? Wouldn't it be easier to catch the standard signal emitted when a button is pushed, by

Re: Are there such tings like custom signals?

2012-01-23 Thread Michael Torrie
On 01/23/2012 02:18 AM, Manuel Ferrero wrote: Il 20/01/2012 18.08, Jack ha scritto: However, that is separate from knowing that the button has been pushed, so you can then start the communications. For this, is there any reason to use a custom signal? Wouldn't it be easier to catch the

Re: Are there such tings like custom signals?

2012-01-23 Thread Chris Vine
On Mon, 23 Jan 2012 08:41:22 -0700 Michael Torrie torr...@gmail.com wrote: On 01/23/2012 02:18 AM, Manuel Ferrero wrote: Il 20/01/2012 18.08, Jack ha scritto: However, that is separate from knowing that the button has been pushed, so you can then start the communications. For this, is

Are there such tings like custom signals?

2012-01-20 Thread Manuel Ferrero
I'm learning GTK+ and I was able to write, compile and run a simple code on my win32 PC to create a window with a button in it and monitor with a callback if the user presses the button. I learned that GTK+ reacts to user events signalling on the object that received the event. Now I'd like

Re: Are there such tings like custom signals?

2012-01-20 Thread Igor Chetverovod
Hi Manuel, Please see glibGIOChannel. It is unified way to make I/O data from files, sockets an so on. I am using it for Ethernet sockets under win32. Best regars, Igor 2012/1/20, Manuel Ferrero mferr...@reer.it: I'm learning GTK+ and I was able to write, compile and run a simple

Re: Are there such tings like custom signals?

2012-01-20 Thread Michael Torrie
On 01/20/2012 06:42 AM, Manuel Ferrero wrote: I was wondering if there is some custom signal I can use to keep the same event-driven philosophy to exchange messages between process. Of course. Though the other poster's idea of using gio channels is a good one. But yes you can create custom

Re: Are there such tings like custom signals?

2012-01-20 Thread Jack
On 2012.01.20 11:36, Michael Torrie wrote: On 01/20/2012 06:42 AM, Manuel Ferrero wrote: I was wondering if there is some custom signal I can use to keep the same event-driven philosophy to exchange messages between process. Of course. Though the other poster's idea of using gio channels is