Hi Manuel,

Please see  glib    GIOChannel.  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 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 to execute some custom code when the button is pressed,
> i.e. I'd like to open a COM port and send some strings on it and then
> wait for an answer.
> I was wondering if there is some custom signal I can use to keep the
> same event-driven philosophy to exchange messages between process.
>
> Maybe the question is not well placed, I'm really newbie on this
> programmation style, I'm an embedded C developer so I don't know a lot
> about GUI and OSes...
>
> TIA
>
> GTK+ 2.24.8
> Windows XP
> --
> Regards,
> Manuel Ferrero
> R&D department
>
> Reer SpA      
> Tel.  +39 011 2482215
> Fax. +39 011 859867
>
> L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe
> costituire reato.
> Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non deve
> essere considerato
> come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati
> se, via e-mail,
> ce ne comunicasse l'errata ricezione.
>
> The unauthorized use of this e-mail is prohibited and could constitute an
> offence.
> If you are not the intended recipient of this message its contents shall be
> understood as neither
> given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail immediately
> in that case.
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to