get_close_on_unref


Description:

public bool get_close_on_unref ()

Returns whether the file/socket/whatever associated with this will be closed when this receives its final unref and is destroyed.

The default value of this is true for channels created by g_io_channel_new_file (), and false for all other channels.

Parameters:

this

a IOChannel.

Returns:

true if the channel will be closed, false otherwise.