[ Version ( since = "3.8" ) ]
public bool check_enabled (Source source)
Determines whether source
is "effectively" enabled by examining its own
enabled property as well as those of its ancestors in the Source hierarchy.
If all examined enabled properties are true
, then the function returns
true
. If any are false
, then the function returns false
.
Use this function instead of get_enabled to determine things like whether to display an Source in a user interface or whether to act on the data set described by the Source.
this | |
source |
an Source |
whether |