get_enabled


Description:

public bool get_enabled ()

Returns true if this is enabled.

An application should try to honor this setting if at all possible, even if it does not provide a way to change the setting through its user interface. Disabled data sources should generally be hidden.

Note:

This function does not take into account this's ancestors in the Source hierarchy, each of which have their own enabled state. If any of this's ancestors are disabled, then this itself should be treated as disabled. Use check_enabled to easily check for this.

Parameters:

this

an Source

Returns:

whether this is enabled