public weak TimeoutSource g_pollable_source_new (Object pollable_stream)
Warning: g_pollable_source_new is deprecated since "vala-0.16". Use GLib.PollableSource.
Creates a new SocketSource that expects a callback of type PollableSourceFunc. The new source does not actually do anything on its own; use add_child_source to add other sources to it to cause it to trigger.
the stream associated with the new source
the new SocketSource.