reset_property


Description:

[ CCode ( cname = "xfconf_channel_reset_property" ) ]
[ Version ( since = "4.5.91" ) ]
public void reset_property (string property_base, bool recursive)

Resets properties starting at (and including) property_base.

If recursive is true, will also reset all properties that are under property_base in the property hierarchy.

A bit of an explanation as to what this function actually does: Since Xfconf backends are expected to support setting defaults via what you might call "optional schema," you can't really "remove" properties. Since the client library can't know if a channel provides default values (or even if the backend supports it!), at best it can only reset properties to their default values.

The property_base parameter can be null or the empty string (""), in which case the channel root ("/") will be assumed. Of course, true must be passed for recursive in this case.

Parameters:

this

An Channel.

property_base

A property tree root or property name.

recursive

Whether to reset properties recursively.