Channel


Description:

[ CCode ( cname = "xfconf_channel_new" , has_construct_function = false ) ]
public Channel (string channel_name)

Creates a new channel using name as the channel's identifier.

This function always returns a valid object; no checking is done to see if the channel exists or has a valid name.

Note: use of this function is not recommended, in favor of Channel.get , which returns a singleton object and saves a little memory. However, Channel can be useful in some cases where you want to tie an Channel's lifetime (and thus the lifetime of connected signals and bound Object properties) to the lifetime of another object.

Also note that each channel has its own cache, so if you create 2 new channels with the same name, it will double the dbus traffic, so in this cases it is highly recommended to use Channel.get.

Parameters:

channel_name

A channel name.

Returns:

A new Channel. Release with unref when no longer needed.