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 a
good one. But yes you can create custom signals and emit them.
http://developer.gnome.org/gtk/stable/gtk-Signals.html
http://stackoverflow.com/questions/1557025/create-and-emit-gtk-signal
Aren't there two separate issue here? Using gio channels is a way to
deal with communicating with the COM channel.
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 attaching a
call-back routine?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list