How do I use the Event driven system to...
- From: Douglas Phillipson <dougp intermind net>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: How do I use the Event driven system to...
- Date: Sat, 28 Feb 2004 15:59:17 -0800
Ive gotten to know and use GTK pretty well so far, but I haven't seen
how to do things that aren't event driven. For example, how would one
monitor the serial port or uSB port for incomming data to display on the
graphics area as it comes in. Can I somehow attach a GTK event to the
serial port and get dropped in a callback routine to grab data when I
see a byte? I don't need to know how to monitor the serial port, I can
do that already but if GTK sits in an event loop, how do you get input
from non GTK stuff to use and display with GTK?
Thanks
Doug P
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]