Question about Gio::Socket



Hello,

I'm trying to get familiar with Gio::Socket and so far I found, that it's impossible to request Glib::Source for instances of Gio::Socket (it's possible in original Glib). Why function create_source() is unavailable? I want to handle Gio::Socket with Glib::MainLoop so using Glib::Source is the easiest way to do that. Otherwise I'm forced to deal with Gio::Socket::property_fd() etc. on my own.

What was the reason to omit wrapper for Gio::Socket::create_source() (Maybe you simply missed it :P)? If there's no particular reason I'd like to implement it (otherwise please retain me from wasting my time).

Bye,
Tomek


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]