Simple way to get a fd polled in glib?
- From: Steven Brown <swbrown variadic org>
- To: gtk-list gnome org
- Subject: Simple way to get a fd polled in glib?
- Date: Sun, 04 Jun 2006 16:27:05 -0700
I've been going through the glib docs trying to find a simple way to get
my fd polled by glib's main loop and call me back, but I've not found
anything near simple. Is there such a way? E.g., something like
gdk_input_add (which says it's deprecated but doesn't say by what).
I see that it could be implemented by a custom g_source_new and such,
but doing so is a pretty huge amount of code for what should be a
one-liner. I must be missing something obvious.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]